@intlayer/docs 6.1.6 → 7.0.0-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +14 -0
- package/blog/en/{intlayer_with_next-i18next.mdx → _intlayer_with_next-i18next.md} +69 -72
- package/blog/en/{intlayer_with_next-intl.mdx → _intlayer_with_next-intl.md} +52 -56
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +14 -0
- package/dist/cjs/_virtual/rolldown_runtime.cjs +25 -0
- package/dist/cjs/blog.cjs +20 -45
- package/dist/cjs/blog.cjs.map +1 -1
- package/dist/cjs/common.cjs +60 -136
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/doc.cjs +20 -45
- package/dist/cjs/doc.cjs.map +1 -1
- package/dist/cjs/frequentQuestions.cjs +20 -45
- package/dist/cjs/frequentQuestions.cjs.map +1 -1
- package/dist/cjs/generated/blog.entry.cjs +438 -407
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +1407 -1134
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs +286 -254
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
- package/dist/cjs/generated/legal.entry.cjs +58 -78
- package/dist/cjs/generated/legal.entry.cjs.map +1 -1
- package/dist/cjs/index.cjs +33 -29
- package/dist/cjs/legal.cjs +20 -45
- package/dist/cjs/legal.cjs.map +1 -1
- package/dist/esm/blog.mjs +7 -17
- package/dist/esm/blog.mjs.map +1 -1
- package/dist/esm/common.mjs +45 -102
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/doc.mjs +7 -17
- package/dist/esm/doc.mjs.map +1 -1
- package/dist/esm/frequentQuestions.mjs +7 -17
- package/dist/esm/frequentQuestions.mjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs +433 -382
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +1402 -1109
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/esm/generated/frequentQuestions.entry.mjs +281 -229
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
- package/dist/esm/generated/legal.entry.mjs +53 -53
- package/dist/esm/generated/legal.entry.mjs.map +1 -1
- package/dist/esm/index.mjs +6 -5
- package/dist/esm/legal.mjs +7 -17
- package/dist/esm/legal.mjs.map +1 -1
- package/dist/types/blog.d.ts +17 -12
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/common.d.ts +30 -25
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/doc.d.ts +17 -12
- package/dist/types/doc.d.ts.map +1 -1
- package/dist/types/frequentQuestions.d.ts +17 -12
- package/dist/types/frequentQuestions.d.ts.map +1 -1
- package/dist/types/generated/blog.entry.d.ts +28 -24
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +79 -70
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts +20 -15
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
- package/dist/types/generated/legal.entry.d.ts +8 -4
- package/dist/types/generated/legal.entry.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/legal.d.ts +17 -12
- package/dist/types/legal.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -6
- package/docs/ar/autoFill.md +10 -8
- package/docs/ar/configuration.md +16 -10
- package/docs/ar/dictionary/content_file.md +7 -7
- package/docs/ar/dictionary/enumeration.md +4 -4
- package/docs/ar/dictionary/file.md +4 -4
- package/docs/ar/dictionary/function_fetching.md +4 -4
- package/docs/ar/dictionary/gender.md +4 -6
- package/docs/ar/dictionary/insertion.md +4 -4
- package/docs/ar/dictionary/translation.md +4 -4
- package/docs/ar/formatters.md +19 -33
- package/docs/ar/how_works_intlayer.md +5 -5
- package/docs/ar/index.md +4 -4
- package/docs/ar/interest_of_intlayer.md +7 -7
- package/docs/ar/intlayer_CMS.md +10 -8
- package/docs/ar/intlayer_cli.md +7 -7
- package/docs/ar/intlayer_visual_editor.md +5 -5
- package/docs/ar/intlayer_with_angular.md +6 -6
- package/docs/ar/intlayer_with_astro.md +6 -8
- package/docs/ar/intlayer_with_create_react_app.md +6 -6
- package/docs/ar/intlayer_with_express.md +6 -6
- package/docs/ar/intlayer_with_lynx+react.md +6 -6
- package/docs/ar/intlayer_with_nestjs.md +6 -8
- package/docs/ar/intlayer_with_nextjs_14.md +2 -2
- package/docs/ar/intlayer_with_nextjs_15.md +7 -6
- package/docs/ar/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ar/intlayer_with_nuxt.md +6 -6
- package/docs/ar/intlayer_with_react_native+expo.md +6 -6
- package/docs/ar/intlayer_with_react_router_v7.md +9 -9
- package/docs/ar/intlayer_with_tanstack.md +6 -8
- package/docs/ar/intlayer_with_vite+preact.md +6 -6
- package/docs/ar/intlayer_with_vite+react.md +7 -7
- package/docs/ar/intlayer_with_vite+solid.md +6 -6
- package/docs/ar/intlayer_with_vite+svelte.md +6 -6
- package/docs/ar/intlayer_with_vite+vue.md +6 -6
- package/docs/ar/introduction.md +4 -4
- package/docs/ar/locale_mapper.md +4 -6
- package/docs/ar/mcp_server.md +13 -9
- package/docs/ar/packages/express-intlayer/t.md +4 -4
- package/docs/ar/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ar/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ar/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ar/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ar/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ar/packages/intlayer/getTranslation.md +4 -4
- package/docs/ar/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ar/packages/next-intlayer/t.md +4 -4
- package/docs/ar/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ar/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ar/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ar/packages/react-intlayer/t.md +4 -4
- package/docs/ar/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ar/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ar/per_locale_file.md +4 -4
- package/docs/ar/roadmap.md +7 -5
- package/docs/ar/testing.md +4 -7
- package/docs/ar/vs_code_extension.md +13 -9
- package/docs/de/CI_CD.md +4 -6
- package/docs/de/autoFill.md +10 -8
- package/docs/de/configuration.md +16 -10
- package/docs/de/dictionary/content_file.md +7 -7
- package/docs/de/dictionary/enumeration.md +4 -4
- package/docs/de/dictionary/file.md +4 -4
- package/docs/de/dictionary/function_fetching.md +4 -4
- package/docs/de/dictionary/gender.md +4 -6
- package/docs/de/dictionary/insertion.md +4 -4
- package/docs/de/dictionary/translation.md +4 -4
- package/docs/de/formatters.md +25 -57
- package/docs/de/how_works_intlayer.md +5 -7
- package/docs/de/index.md +4 -4
- package/docs/de/interest_of_intlayer.md +7 -7
- package/docs/de/intlayer_CMS.md +10 -8
- package/docs/de/intlayer_cli.md +7 -7
- package/docs/de/intlayer_visual_editor.md +5 -6
- package/docs/de/intlayer_with_angular.md +6 -6
- package/docs/de/intlayer_with_astro.md +6 -8
- package/docs/de/intlayer_with_create_react_app.md +2 -2
- package/docs/de/intlayer_with_express.md +6 -6
- package/docs/de/intlayer_with_lynx+react.md +6 -6
- package/docs/de/intlayer_with_nestjs.md +6 -8
- package/docs/de/intlayer_with_nextjs_14.md +2 -2
- package/docs/de/intlayer_with_nextjs_15.md +7 -6
- package/docs/de/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/de/intlayer_with_nuxt.md +6 -6
- package/docs/de/intlayer_with_react_native+expo.md +6 -6
- package/docs/de/intlayer_with_react_router_v7.md +9 -9
- package/docs/de/intlayer_with_tanstack.md +6 -8
- package/docs/de/intlayer_with_vite+preact.md +6 -6
- package/docs/de/intlayer_with_vite+react.md +7 -6
- package/docs/de/intlayer_with_vite+solid.md +6 -6
- package/docs/de/intlayer_with_vite+svelte.md +6 -6
- package/docs/de/intlayer_with_vite+vue.md +6 -6
- package/docs/de/introduction.md +4 -4
- package/docs/de/locale_mapper.md +4 -6
- package/docs/de/mcp_server.md +13 -9
- package/docs/de/packages/express-intlayer/t.md +4 -4
- package/docs/de/packages/intlayer/getConfiguration.md +4 -4
- package/docs/de/packages/intlayer/getEnumeration.md +4 -4
- package/docs/de/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/de/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/de/packages/intlayer/getLocaleName.md +4 -4
- package/docs/de/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/de/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/de/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/de/packages/intlayer/getTranslation.md +4 -4
- package/docs/de/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/de/packages/next-intlayer/t.md +4 -4
- package/docs/de/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/de/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/de/packages/next-intlayer/useLocale.md +4 -4
- package/docs/de/packages/react-intlayer/t.md +4 -4
- package/docs/de/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/de/packages/react-intlayer/useI18n.md +4 -4
- package/docs/de/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/de/packages/react-intlayer/useLocale.md +4 -4
- package/docs/de/per_locale_file.md +4 -4
- package/docs/de/roadmap.md +7 -5
- package/docs/de/testing.md +4 -7
- package/docs/de/vs_code_extension.md +13 -9
- package/docs/en/CI_CD.md +4 -6
- package/docs/en/autoFill.md +75 -28
- package/docs/en/configuration.md +214 -56
- package/docs/en/dictionary/condition.md +4 -6
- package/docs/en/dictionary/content_file.md +25 -17
- package/docs/en/dictionary/enumeration.md +4 -6
- package/docs/en/dictionary/file.md +16 -8
- package/docs/en/dictionary/function_fetching.md +4 -6
- package/docs/en/dictionary/gender.md +4 -6
- package/docs/en/dictionary/insertion.md +4 -6
- package/docs/en/dictionary/markdown.md +4 -6
- package/docs/en/dictionary/nesting.md +4 -6
- package/docs/en/dictionary/translation.md +4 -6
- package/docs/en/formatters.md +23 -50
- package/docs/en/how_works_intlayer.md +5 -7
- package/docs/en/index.md +4 -6
- package/docs/en/interest_of_intlayer.md +7 -7
- package/docs/en/intlayer_CMS.md +12 -12
- package/docs/en/intlayer_cli.md +96 -13
- package/docs/en/intlayer_visual_editor.md +14 -10
- package/docs/en/intlayer_with_angular.md +6 -8
- package/docs/en/intlayer_with_astro.md +6 -8
- package/docs/en/intlayer_with_create_react_app.md +6 -8
- package/docs/en/intlayer_with_express.md +6 -8
- package/docs/en/intlayer_with_lynx+react.md +6 -8
- package/docs/en/intlayer_with_nestjs.md +6 -8
- package/docs/en/intlayer_with_next-i18next.md +627 -0
- package/docs/en/intlayer_with_next-intl.md +446 -0
- package/docs/en/intlayer_with_nextjs_14.md +53 -27
- package/docs/en/intlayer_with_nextjs_15.md +68 -31
- package/docs/en/intlayer_with_nextjs_16.md +1586 -0
- package/docs/en/intlayer_with_nextjs_page_router.md +18 -10
- package/docs/en/intlayer_with_nuxt.md +6 -8
- package/docs/en/intlayer_with_react_native+expo.md +9 -9
- package/docs/en/intlayer_with_react_router_v7.md +9 -9
- package/docs/en/intlayer_with_tanstack.md +9 -9
- package/docs/en/intlayer_with_vite+preact.md +6 -8
- package/docs/en/intlayer_with_vite+react.md +56 -305
- package/docs/en/intlayer_with_vite+solid.md +6 -8
- package/docs/en/intlayer_with_vite+svelte.md +6 -8
- package/docs/en/intlayer_with_vite+vue.md +6 -8
- package/docs/en/introduction.md +4 -6
- package/docs/en/locale_mapper.md +4 -6
- package/docs/en/mcp_server.md +13 -9
- package/docs/en/packages/express-intlayer/t.md +4 -6
- package/docs/en/packages/intlayer/getConfiguration.md +4 -6
- package/docs/en/packages/intlayer/getEnumeration.md +4 -6
- package/docs/en/packages/intlayer/getHTMLTextDir.md +4 -6
- package/docs/en/packages/intlayer/getLocaleLang.md +4 -6
- package/docs/en/packages/intlayer/getLocaleName.md +4 -6
- package/docs/en/packages/intlayer/getLocalizedUrl.md +4 -6
- package/docs/en/packages/intlayer/getMultilingualUrls.md +4 -6
- package/docs/en/packages/intlayer/getPathWithoutLocale.md +4 -6
- package/docs/en/packages/intlayer/getTranslation.md +4 -6
- package/docs/en/packages/intlayer/getTranslationContent.md +4 -6
- package/docs/en/packages/next-intlayer/t.md +4 -6
- package/docs/en/packages/next-intlayer/useDictionary.md +4 -6
- package/docs/en/packages/next-intlayer/useIntlayer.md +4 -6
- package/docs/en/packages/next-intlayer/useLocale.md +41 -8
- package/docs/en/packages/react-intlayer/t.md +4 -6
- package/docs/en/packages/react-intlayer/useDictionary.md +4 -6
- package/docs/en/packages/react-intlayer/useI18n.md +4 -4
- package/docs/en/packages/react-intlayer/useIntlayer.md +4 -6
- package/docs/en/packages/react-intlayer/useLocale.md +4 -6
- package/docs/en/per_locale_file.md +4 -6
- package/docs/en/plugins/sync-json.md +244 -0
- package/docs/en/releases/v6.md +6 -0
- package/docs/en/releases/v7.md +486 -0
- package/docs/en/roadmap.md +10 -8
- package/docs/en/testing.md +13 -11
- package/docs/en/vs_code_extension.md +13 -9
- package/docs/en-GB/CI_CD.md +4 -6
- package/docs/en-GB/autoFill.md +10 -8
- package/docs/en-GB/configuration.md +16 -10
- package/docs/en-GB/dictionary/condition.md +4 -4
- package/docs/en-GB/dictionary/content_file.md +7 -7
- package/docs/en-GB/dictionary/enumeration.md +4 -4
- package/docs/en-GB/dictionary/file.md +4 -4
- package/docs/en-GB/dictionary/gender.md +4 -6
- package/docs/en-GB/dictionary/insertion.md +4 -4
- package/docs/en-GB/dictionary/markdown.md +4 -4
- package/docs/en-GB/dictionary/nesting.md +4 -4
- package/docs/en-GB/dictionary/translation.md +4 -4
- package/docs/en-GB/formatters.md +19 -33
- package/docs/en-GB/how_works_intlayer.md +5 -5
- package/docs/en-GB/index.md +4 -4
- package/docs/en-GB/interest_of_intlayer.md +7 -7
- package/docs/en-GB/intlayer_CMS.md +15 -13
- package/docs/en-GB/intlayer_cli.md +7 -7
- package/docs/en-GB/intlayer_visual_editor.md +5 -6
- package/docs/en-GB/intlayer_with_angular.md +5 -5
- package/docs/en-GB/intlayer_with_astro.md +5 -7
- package/docs/en-GB/intlayer_with_create_react_app.md +6 -6
- package/docs/en-GB/intlayer_with_express.md +6 -6
- package/docs/en-GB/intlayer_with_lynx+react.md +5 -5
- package/docs/en-GB/intlayer_with_nestjs.md +5 -7
- package/docs/en-GB/intlayer_with_nextjs_14.md +6 -6
- package/docs/en-GB/intlayer_with_nextjs_15.md +6 -5
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +5 -5
- package/docs/en-GB/intlayer_with_nuxt.md +5 -5
- package/docs/en-GB/intlayer_with_react_native+expo.md +5 -5
- package/docs/en-GB/intlayer_with_react_router_v7.md +8 -8
- package/docs/en-GB/intlayer_with_tanstack.md +8 -8
- package/docs/en-GB/intlayer_with_vite+preact.md +5 -5
- package/docs/en-GB/intlayer_with_vite+react.md +6 -5
- package/docs/en-GB/intlayer_with_vite+solid.md +5 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +5 -5
- package/docs/en-GB/intlayer_with_vite+vue.md +5 -5
- package/docs/en-GB/introduction.md +4 -4
- package/docs/en-GB/locale_mapper.md +4 -6
- package/docs/en-GB/mcp_server.md +13 -9
- package/docs/en-GB/packages/express-intlayer/t.md +4 -4
- package/docs/en-GB/packages/intlayer/getConfiguration.md +4 -4
- package/docs/en-GB/packages/intlayer/getEnumeration.md +4 -4
- package/docs/en-GB/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/en-GB/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/en-GB/packages/intlayer/getLocaleName.md +4 -4
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/en-GB/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/en-GB/packages/intlayer/getTranslation.md +4 -4
- package/docs/en-GB/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/en-GB/packages/next-intlayer/t.md +4 -4
- package/docs/en-GB/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/en-GB/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/en-GB/packages/next-intlayer/useLocale.md +4 -4
- package/docs/en-GB/packages/react-intlayer/t.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useI18n.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useLocale.md +4 -4
- package/docs/en-GB/per_locale_file.md +4 -4
- package/docs/en-GB/roadmap.md +7 -5
- package/docs/en-GB/testing.md +4 -7
- package/docs/en-GB/vs_code_extension.md +13 -9
- package/docs/es/CI_CD.md +4 -6
- package/docs/es/autoFill.md +10 -8
- package/docs/es/configuration.md +16 -10
- package/docs/es/dictionary/content_file.md +7 -7
- package/docs/es/dictionary/enumeration.md +4 -4
- package/docs/es/dictionary/file.md +4 -4
- package/docs/es/dictionary/function_fetching.md +4 -4
- package/docs/es/dictionary/gender.md +4 -6
- package/docs/es/dictionary/insertion.md +4 -4
- package/docs/es/dictionary/translation.md +4 -4
- package/docs/es/formatters.md +25 -57
- package/docs/es/how_works_intlayer.md +5 -5
- package/docs/es/index.md +4 -4
- package/docs/es/interest_of_intlayer.md +7 -7
- package/docs/es/intlayer_CMS.md +10 -8
- package/docs/es/intlayer_cli.md +7 -7
- package/docs/es/intlayer_visual_editor.md +5 -7
- package/docs/es/intlayer_with_angular.md +6 -6
- package/docs/es/intlayer_with_astro.md +6 -8
- package/docs/es/intlayer_with_create_react_app.md +6 -6
- package/docs/es/intlayer_with_express.md +6 -6
- package/docs/es/intlayer_with_lynx+react.md +6 -6
- package/docs/es/intlayer_with_nestjs.md +6 -8
- package/docs/es/intlayer_with_nextjs_14.md +6 -6
- package/docs/es/intlayer_with_nextjs_15.md +7 -6
- package/docs/es/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/es/intlayer_with_nuxt.md +6 -6
- package/docs/es/intlayer_with_react_native+expo.md +6 -6
- package/docs/es/intlayer_with_react_router_v7.md +9 -9
- package/docs/es/intlayer_with_tanstack.md +6 -8
- package/docs/es/intlayer_with_vite+preact.md +6 -6
- package/docs/es/intlayer_with_vite+react.md +7 -6
- package/docs/es/intlayer_with_vite+solid.md +6 -6
- package/docs/es/intlayer_with_vite+svelte.md +6 -6
- package/docs/es/intlayer_with_vite+vue.md +6 -6
- package/docs/es/introduction.md +4 -4
- package/docs/es/locale_mapper.md +4 -6
- package/docs/es/mcp_server.md +13 -9
- package/docs/es/packages/express-intlayer/t.md +4 -4
- package/docs/es/packages/intlayer/getConfiguration.md +4 -4
- package/docs/es/packages/intlayer/getEnumeration.md +4 -4
- package/docs/es/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/es/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/es/packages/intlayer/getLocaleName.md +4 -4
- package/docs/es/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/es/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/es/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/es/packages/intlayer/getTranslation.md +4 -4
- package/docs/es/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/es/packages/next-intlayer/index.md +4 -4
- package/docs/es/packages/next-intlayer/t.md +4 -4
- package/docs/es/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/es/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/es/packages/next-intlayer/useLocale.md +4 -4
- package/docs/es/packages/react-intlayer/index.md +4 -4
- package/docs/es/packages/react-intlayer/t.md +4 -4
- package/docs/es/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/es/packages/react-intlayer/useI18n.md +4 -4
- package/docs/es/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/es/packages/react-intlayer/useLocale.md +4 -4
- package/docs/es/per_locale_file.md +4 -4
- package/docs/es/roadmap.md +7 -5
- package/docs/es/testing.md +4 -7
- package/docs/es/vs_code_extension.md +13 -9
- package/docs/fr/CI_CD.md +4 -4
- package/docs/fr/autoFill.md +10 -8
- package/docs/fr/configuration.md +19 -22
- package/docs/fr/dictionary/content_file.md +7 -7
- package/docs/fr/dictionary/enumeration.md +4 -4
- package/docs/fr/dictionary/file.md +4 -4
- package/docs/fr/dictionary/function_fetching.md +4 -4
- package/docs/fr/dictionary/gender.md +4 -6
- package/docs/fr/dictionary/insertion.md +4 -4
- package/docs/fr/dictionary/translation.md +4 -4
- package/docs/fr/formatters.md +25 -57
- package/docs/fr/how_works_intlayer.md +5 -5
- package/docs/fr/index.md +4 -4
- package/docs/fr/interest_of_intlayer.md +7 -7
- package/docs/fr/intlayer_CMS.md +10 -8
- package/docs/fr/intlayer_cli.md +7 -7
- package/docs/fr/intlayer_visual_editor.md +5 -6
- package/docs/fr/intlayer_with_angular.md +6 -6
- package/docs/fr/intlayer_with_astro.md +6 -8
- package/docs/fr/intlayer_with_create_react_app.md +6 -6
- package/docs/fr/intlayer_with_express.md +6 -6
- package/docs/fr/intlayer_with_lynx+react.md +6 -6
- package/docs/fr/intlayer_with_nestjs.md +6 -8
- package/docs/fr/intlayer_with_nextjs_14.md +2 -2
- package/docs/fr/intlayer_with_nextjs_15.md +7 -6
- package/docs/fr/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/fr/intlayer_with_nuxt.md +6 -6
- package/docs/fr/intlayer_with_react_native+expo.md +6 -6
- package/docs/fr/intlayer_with_react_router_v7.md +9 -9
- package/docs/fr/intlayer_with_tanstack.md +6 -8
- package/docs/fr/intlayer_with_vite+preact.md +6 -6
- package/docs/fr/intlayer_with_vite+react.md +6 -6
- package/docs/fr/intlayer_with_vite+solid.md +6 -6
- package/docs/fr/intlayer_with_vite+svelte.md +6 -6
- package/docs/fr/intlayer_with_vite+vue.md +6 -6
- package/docs/fr/introduction.md +4 -4
- package/docs/fr/locale_mapper.md +4 -6
- package/docs/fr/mcp_server.md +13 -9
- package/docs/fr/packages/express-intlayer/t.md +4 -4
- package/docs/fr/packages/intlayer/getConfiguration.md +4 -4
- package/docs/fr/packages/intlayer/getEnumeration.md +4 -4
- package/docs/fr/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/fr/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/fr/packages/intlayer/getLocaleName.md +4 -4
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/fr/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/fr/packages/intlayer/getTranslation.md +4 -4
- package/docs/fr/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/fr/packages/next-intlayer/t.md +4 -4
- package/docs/fr/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/fr/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/fr/packages/next-intlayer/useLocale.md +4 -4
- package/docs/fr/packages/react-intlayer/index.md +4 -4
- package/docs/fr/packages/react-intlayer/t.md +4 -4
- package/docs/fr/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/fr/packages/react-intlayer/useI18n.md +4 -4
- package/docs/fr/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/fr/packages/react-intlayer/useLocale.md +4 -4
- package/docs/fr/per_locale_file.md +4 -4
- package/docs/fr/roadmap.md +7 -5
- package/docs/fr/testing.md +4 -7
- package/docs/fr/vs_code_extension.md +13 -9
- package/docs/hi/CI_CD.md +4 -6
- package/docs/hi/autoFill.md +10 -8
- package/docs/hi/configuration.md +16 -10
- package/docs/hi/dictionary/content_file.md +7 -7
- package/docs/hi/dictionary/enumeration.md +4 -4
- package/docs/hi/dictionary/file.md +4 -4
- package/docs/hi/dictionary/function_fetching.md +4 -4
- package/docs/hi/dictionary/gender.md +4 -6
- package/docs/hi/dictionary/insertion.md +4 -4
- package/docs/hi/dictionary/translation.md +4 -4
- package/docs/hi/formatters.md +19 -33
- package/docs/hi/how_works_intlayer.md +5 -5
- package/docs/hi/index.md +4 -4
- package/docs/hi/interest_of_intlayer.md +7 -7
- package/docs/hi/intlayer_CMS.md +10 -8
- package/docs/hi/intlayer_cli.md +7 -7
- package/docs/hi/intlayer_visual_editor.md +5 -6
- package/docs/hi/intlayer_with_angular.md +6 -6
- package/docs/hi/intlayer_with_astro.md +6 -8
- package/docs/hi/intlayer_with_create_react_app.md +2 -2
- package/docs/hi/intlayer_with_express.md +6 -6
- package/docs/hi/intlayer_with_lynx+react.md +6 -6
- package/docs/hi/intlayer_with_nestjs.md +6 -8
- package/docs/hi/intlayer_with_nextjs_14.md +2 -2
- package/docs/hi/intlayer_with_nextjs_15.md +7 -6
- package/docs/hi/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/hi/intlayer_with_nuxt.md +6 -6
- package/docs/hi/intlayer_with_react_native+expo.md +6 -6
- package/docs/hi/intlayer_with_react_router_v7.md +9 -9
- package/docs/hi/intlayer_with_tanstack.md +9 -9
- package/docs/hi/intlayer_with_vite+preact.md +6 -6
- package/docs/hi/intlayer_with_vite+react.md +7 -6
- package/docs/hi/intlayer_with_vite+solid.md +6 -6
- package/docs/hi/intlayer_with_vite+svelte.md +6 -6
- package/docs/hi/intlayer_with_vite+vue.md +6 -6
- package/docs/hi/introduction.md +4 -4
- package/docs/hi/locale_mapper.md +4 -6
- package/docs/hi/mcp_server.md +13 -9
- package/docs/hi/packages/express-intlayer/t.md +4 -4
- package/docs/hi/packages/intlayer/getConfiguration.md +4 -4
- package/docs/hi/packages/intlayer/getEnumeration.md +4 -4
- package/docs/hi/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/hi/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/hi/packages/intlayer/getLocaleName.md +4 -4
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/hi/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/hi/packages/intlayer/getTranslation.md +4 -4
- package/docs/hi/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/hi/packages/intlayer/index.md +4 -4
- package/docs/hi/packages/next-intlayer/t.md +4 -4
- package/docs/hi/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/hi/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/hi/packages/next-intlayer/useLocale.md +4 -4
- package/docs/hi/packages/react-intlayer/t.md +4 -4
- package/docs/hi/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/hi/packages/react-intlayer/useLocale.md +4 -4
- package/docs/hi/per_locale_file.md +4 -4
- package/docs/hi/roadmap.md +7 -5
- package/docs/hi/testing.md +4 -7
- package/docs/hi/vs_code_extension.md +13 -9
- package/docs/it/CI_CD.md +4 -6
- package/docs/it/autoFill.md +10 -8
- package/docs/it/configuration.md +16 -10
- package/docs/it/dictionary/content_file.md +7 -7
- package/docs/it/dictionary/enumeration.md +4 -4
- package/docs/it/dictionary/file.md +4 -4
- package/docs/it/dictionary/function_fetching.md +4 -4
- package/docs/it/dictionary/gender.md +4 -6
- package/docs/it/dictionary/insertion.md +4 -4
- package/docs/it/dictionary/translation.md +4 -4
- package/docs/it/formatters.md +19 -55
- package/docs/it/how_works_intlayer.md +5 -5
- package/docs/it/index.md +4 -4
- package/docs/it/interest_of_intlayer.md +7 -7
- package/docs/it/intlayer_CMS.md +10 -8
- package/docs/it/intlayer_cli.md +7 -7
- package/docs/it/intlayer_visual_editor.md +5 -6
- package/docs/it/intlayer_with_angular.md +6 -6
- package/docs/it/intlayer_with_astro.md +6 -8
- package/docs/it/intlayer_with_create_react_app.md +6 -6
- package/docs/it/intlayer_with_express.md +6 -6
- package/docs/it/intlayer_with_lynx+react.md +6 -6
- package/docs/it/intlayer_with_nestjs.md +6 -8
- package/docs/it/intlayer_with_nextjs_14.md +2 -2
- package/docs/it/intlayer_with_nextjs_15.md +7 -6
- package/docs/it/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/it/intlayer_with_nuxt.md +6 -6
- package/docs/it/intlayer_with_react_native+expo.md +6 -6
- package/docs/it/intlayer_with_react_router_v7.md +9 -9
- package/docs/it/intlayer_with_tanstack.md +9 -9
- package/docs/it/intlayer_with_vite+preact.md +6 -6
- package/docs/it/intlayer_with_vite+react.md +7 -6
- package/docs/it/intlayer_with_vite+solid.md +6 -6
- package/docs/it/intlayer_with_vite+svelte.md +6 -6
- package/docs/it/intlayer_with_vite+vue.md +6 -6
- package/docs/it/introduction.md +4 -4
- package/docs/it/locale_mapper.md +4 -6
- package/docs/it/mcp_server.md +13 -9
- package/docs/it/packages/express-intlayer/t.md +4 -4
- package/docs/it/packages/intlayer/getConfiguration.md +4 -4
- package/docs/it/packages/intlayer/getEnumeration.md +4 -4
- package/docs/it/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/it/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/it/packages/intlayer/getLocaleName.md +4 -4
- package/docs/it/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/it/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/it/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/it/packages/intlayer/getTranslation.md +4 -4
- package/docs/it/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/it/packages/next-intlayer/t.md +4 -4
- package/docs/it/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/it/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/it/packages/next-intlayer/useLocale.md +4 -4
- package/docs/it/packages/react-intlayer/t.md +4 -4
- package/docs/it/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/it/packages/react-intlayer/useI18n.md +4 -4
- package/docs/it/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/it/packages/react-intlayer/useLocale.md +4 -4
- package/docs/it/per_locale_file.md +4 -4
- package/docs/it/roadmap.md +7 -5
- package/docs/it/testing.md +4 -7
- package/docs/it/vs_code_extension.md +13 -9
- package/docs/ja/CI_CD.md +4 -6
- package/docs/ja/autoFill.md +10 -8
- package/docs/ja/configuration.md +19 -22
- package/docs/ja/dictionary/content_file.md +7 -7
- package/docs/ja/dictionary/enumeration.md +4 -4
- package/docs/ja/dictionary/file.md +5 -5
- package/docs/ja/dictionary/function_fetching.md +4 -4
- package/docs/ja/dictionary/gender.md +4 -6
- package/docs/ja/dictionary/insertion.md +4 -4
- package/docs/ja/dictionary/translation.md +4 -4
- package/docs/ja/formatters.md +25 -57
- package/docs/ja/how_works_intlayer.md +5 -5
- package/docs/ja/index.md +4 -4
- package/docs/ja/interest_of_intlayer.md +7 -7
- package/docs/ja/intlayer_CMS.md +10 -9
- package/docs/ja/intlayer_cli.md +7 -7
- package/docs/ja/intlayer_visual_editor.md +5 -6
- package/docs/ja/intlayer_with_angular.md +6 -6
- package/docs/ja/intlayer_with_astro.md +6 -8
- package/docs/ja/intlayer_with_create_react_app.md +6 -6
- package/docs/ja/intlayer_with_express.md +6 -6
- package/docs/ja/intlayer_with_lynx+react.md +6 -6
- package/docs/ja/intlayer_with_nestjs.md +6 -8
- package/docs/ja/intlayer_with_nextjs_14.md +6 -6
- package/docs/ja/intlayer_with_nextjs_15.md +7 -6
- package/docs/ja/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ja/intlayer_with_nuxt.md +6 -6
- package/docs/ja/intlayer_with_react_native+expo.md +6 -6
- package/docs/ja/intlayer_with_react_router_v7.md +9 -9
- package/docs/ja/intlayer_with_tanstack.md +6 -8
- package/docs/ja/intlayer_with_vite+preact.md +6 -6
- package/docs/ja/intlayer_with_vite+react.md +7 -6
- package/docs/ja/intlayer_with_vite+solid.md +6 -6
- package/docs/ja/intlayer_with_vite+svelte.md +6 -6
- package/docs/ja/intlayer_with_vite+vue.md +6 -6
- package/docs/ja/introduction.md +4 -4
- package/docs/ja/locale_mapper.md +4 -6
- package/docs/ja/mcp_server.md +13 -9
- package/docs/ja/packages/express-intlayer/t.md +4 -4
- package/docs/ja/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ja/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ja/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ja/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ja/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ja/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/ja/packages/intlayer/getTranslation.md +4 -4
- package/docs/ja/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ja/packages/next-intlayer/t.md +4 -4
- package/docs/ja/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ja/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ja/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ja/packages/react-intlayer/t.md +4 -4
- package/docs/ja/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ja/packages/react-intlayer/useI18n.md +4 -4
- package/docs/ja/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/ja/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ja/per_locale_file.md +4 -4
- package/docs/ja/roadmap.md +7 -5
- package/docs/ja/testing.md +4 -7
- package/docs/ja/vs_code_extension.md +13 -9
- package/docs/ko/CI_CD.md +4 -6
- package/docs/ko/autoFill.md +10 -8
- package/docs/ko/configuration.md +19 -22
- package/docs/ko/dictionary/content_file.md +7 -7
- package/docs/ko/dictionary/enumeration.md +4 -4
- package/docs/ko/dictionary/file.md +4 -4
- package/docs/ko/dictionary/function_fetching.md +4 -4
- package/docs/ko/dictionary/gender.md +4 -6
- package/docs/ko/dictionary/insertion.md +4 -4
- package/docs/ko/dictionary/translation.md +4 -4
- package/docs/ko/formatters.md +19 -33
- package/docs/ko/how_works_intlayer.md +5 -5
- package/docs/ko/index.md +4 -4
- package/docs/ko/interest_of_intlayer.md +7 -7
- package/docs/ko/intlayer_CMS.md +10 -8
- package/docs/ko/intlayer_cli.md +7 -7
- package/docs/ko/intlayer_visual_editor.md +5 -6
- package/docs/ko/intlayer_with_angular.md +6 -6
- package/docs/ko/intlayer_with_astro.md +6 -8
- package/docs/ko/intlayer_with_create_react_app.md +6 -6
- package/docs/ko/intlayer_with_express.md +6 -6
- package/docs/ko/intlayer_with_lynx+react.md +6 -10
- package/docs/ko/intlayer_with_nestjs.md +6 -8
- package/docs/ko/intlayer_with_nextjs_14.md +6 -6
- package/docs/ko/intlayer_with_nextjs_15.md +7 -6
- package/docs/ko/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ko/intlayer_with_nuxt.md +6 -6
- package/docs/ko/intlayer_with_react_native+expo.md +6 -6
- package/docs/ko/intlayer_with_react_router_v7.md +9 -9
- package/docs/ko/intlayer_with_tanstack.md +6 -8
- package/docs/ko/intlayer_with_vite+preact.md +6 -6
- package/docs/ko/intlayer_with_vite+react.md +8 -7
- package/docs/ko/intlayer_with_vite+solid.md +6 -6
- package/docs/ko/intlayer_with_vite+svelte.md +6 -6
- package/docs/ko/intlayer_with_vite+vue.md +6 -6
- package/docs/ko/introduction.md +4 -4
- package/docs/ko/locale_mapper.md +4 -6
- package/docs/ko/mcp_server.md +13 -9
- package/docs/ko/packages/express-intlayer/t.md +4 -4
- package/docs/ko/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ko/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ko/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ko/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ko/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +7 -16
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ko/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/ko/packages/intlayer/getTranslation.md +4 -4
- package/docs/ko/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ko/packages/next-intlayer/t.md +4 -4
- package/docs/ko/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ko/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ko/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ko/packages/react-intlayer/t.md +4 -4
- package/docs/ko/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ko/packages/react-intlayer/useI18n.md +4 -4
- package/docs/ko/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/ko/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ko/per_locale_file.md +4 -4
- package/docs/ko/roadmap.md +7 -5
- package/docs/ko/testing.md +4 -7
- package/docs/ko/vs_code_extension.md +13 -9
- package/docs/pt/CI_CD.md +4 -6
- package/docs/pt/autoFill.md +10 -8
- package/docs/pt/configuration.md +16 -22
- package/docs/pt/dictionary/content_file.md +7 -7
- package/docs/pt/dictionary/enumeration.md +4 -4
- package/docs/pt/dictionary/file.md +4 -4
- package/docs/pt/dictionary/function_fetching.md +4 -4
- package/docs/pt/dictionary/gender.md +4 -6
- package/docs/pt/dictionary/insertion.md +4 -4
- package/docs/pt/dictionary/translation.md +4 -4
- package/docs/pt/formatters.md +19 -33
- package/docs/pt/how_works_intlayer.md +5 -5
- package/docs/pt/index.md +4 -4
- package/docs/pt/interest_of_intlayer.md +7 -7
- package/docs/pt/intlayer_CMS.md +10 -8
- package/docs/pt/intlayer_cli.md +7 -7
- package/docs/pt/intlayer_visual_editor.md +5 -6
- package/docs/pt/intlayer_with_angular.md +6 -6
- package/docs/pt/intlayer_with_astro.md +6 -8
- package/docs/pt/intlayer_with_create_react_app.md +6 -6
- package/docs/pt/intlayer_with_express.md +6 -6
- package/docs/pt/intlayer_with_lynx+react.md +6 -6
- package/docs/pt/intlayer_with_nestjs.md +6 -8
- package/docs/pt/intlayer_with_nextjs_14.md +2 -2
- package/docs/pt/intlayer_with_nextjs_15.md +7 -6
- package/docs/pt/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/pt/intlayer_with_nuxt.md +6 -6
- package/docs/pt/intlayer_with_react_native+expo.md +6 -6
- package/docs/pt/intlayer_with_react_router_v7.md +6 -8
- package/docs/pt/intlayer_with_tanstack.md +6 -8
- package/docs/pt/intlayer_with_vite+preact.md +6 -6
- package/docs/pt/intlayer_with_vite+react.md +7 -6
- package/docs/pt/intlayer_with_vite+solid.md +6 -6
- package/docs/pt/intlayer_with_vite+svelte.md +6 -6
- package/docs/pt/intlayer_with_vite+vue.md +6 -6
- package/docs/pt/introduction.md +4 -5
- package/docs/pt/locale_mapper.md +4 -6
- package/docs/pt/mcp_server.md +13 -9
- package/docs/pt/packages/express-intlayer/t.md +4 -4
- package/docs/pt/packages/intlayer/getConfiguration.md +4 -4
- package/docs/pt/packages/intlayer/getEnumeration.md +4 -4
- package/docs/pt/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/pt/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/pt/packages/intlayer/getLocaleName.md +4 -4
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/pt/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/pt/packages/intlayer/getTranslation.md +4 -4
- package/docs/pt/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/pt/packages/next-intlayer/t.md +4 -4
- package/docs/pt/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/pt/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/pt/packages/next-intlayer/useLocale.md +4 -4
- package/docs/pt/packages/react-intlayer/t.md +4 -4
- package/docs/pt/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/pt/packages/react-intlayer/useI18n.md +4 -4
- package/docs/pt/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/pt/packages/react-intlayer/useLocale.md +4 -4
- package/docs/pt/per_locale_file.md +4 -4
- package/docs/pt/roadmap.md +7 -5
- package/docs/pt/testing.md +4 -7
- package/docs/pt/vs_code_extension.md +13 -9
- package/docs/ru/CI_CD.md +4 -6
- package/docs/ru/autoFill.md +10 -8
- package/docs/ru/configuration.md +16 -10
- package/docs/ru/dictionary/content_file.md +7 -7
- package/docs/ru/dictionary/enumeration.md +4 -4
- package/docs/ru/dictionary/file.md +4 -4
- package/docs/ru/dictionary/function_fetching.md +4 -4
- package/docs/ru/dictionary/gender.md +4 -6
- package/docs/ru/dictionary/insertion.md +4 -4
- package/docs/ru/dictionary/translation.md +4 -4
- package/docs/ru/formatters.md +20 -77
- package/docs/ru/how_works_intlayer.md +5 -5
- package/docs/ru/index.md +4 -4
- package/docs/ru/interest_of_intlayer.md +7 -7
- package/docs/ru/intlayer_CMS.md +10 -8
- package/docs/ru/intlayer_cli.md +7 -7
- package/docs/ru/intlayer_visual_editor.md +5 -5
- package/docs/ru/intlayer_with_angular.md +6 -6
- package/docs/ru/intlayer_with_astro.md +6 -8
- package/docs/ru/intlayer_with_create_react_app.md +6 -6
- package/docs/ru/intlayer_with_express.md +6 -6
- package/docs/ru/intlayer_with_lynx+react.md +6 -6
- package/docs/ru/intlayer_with_nestjs.md +6 -8
- package/docs/ru/intlayer_with_nextjs_14.md +2 -2
- package/docs/ru/intlayer_with_nextjs_15.md +7 -6
- package/docs/ru/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ru/intlayer_with_nuxt.md +6 -6
- package/docs/ru/intlayer_with_react_native+expo.md +6 -6
- package/docs/ru/intlayer_with_react_router_v7.md +9 -9
- package/docs/ru/intlayer_with_tanstack.md +6 -8
- package/docs/ru/intlayer_with_vite+preact.md +6 -6
- package/docs/ru/intlayer_with_vite+react.md +7 -6
- package/docs/ru/intlayer_with_vite+solid.md +6 -6
- package/docs/ru/intlayer_with_vite+svelte.md +6 -6
- package/docs/ru/intlayer_with_vite+vue.md +6 -6
- package/docs/ru/introduction.md +4 -4
- package/docs/ru/locale_mapper.md +4 -6
- package/docs/ru/mcp_server.md +13 -9
- package/docs/ru/packages/express-intlayer/t.md +4 -4
- package/docs/ru/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ru/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ru/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ru/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ru/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ru/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/ru/packages/intlayer/getTranslation.md +4 -4
- package/docs/ru/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ru/packages/next-intlayer/t.md +4 -4
- package/docs/ru/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ru/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ru/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ru/packages/react-intlayer/t.md +4 -4
- package/docs/ru/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ru/packages/react-intlayer/useI18n.md +4 -4
- package/docs/ru/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/ru/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ru/per_locale_file.md +4 -4
- package/docs/ru/roadmap.md +7 -5
- package/docs/ru/testing.md +4 -7
- package/docs/ru/vs_code_extension.md +13 -9
- package/docs/tr/CI_CD.md +4 -6
- package/docs/tr/autoFill.md +10 -8
- package/docs/tr/configuration.md +19 -22
- package/docs/tr/dictionary/condition.md +4 -10
- package/docs/tr/dictionary/content_file.md +7 -7
- package/docs/tr/dictionary/enumeration.md +4 -10
- package/docs/tr/dictionary/file.md +4 -10
- package/docs/tr/dictionary/function_fetching.md +4 -10
- package/docs/tr/dictionary/gender.md +4 -10
- package/docs/tr/dictionary/insertion.md +4 -10
- package/docs/tr/dictionary/markdown.md +4 -10
- package/docs/tr/dictionary/nesting.md +4 -10
- package/docs/tr/dictionary/translation.md +4 -10
- package/docs/tr/formatters.md +19 -33
- package/docs/tr/how_works_intlayer.md +5 -7
- package/docs/tr/index.md +4 -6
- package/docs/tr/interest_of_intlayer.md +7 -7
- package/docs/tr/intlayer_CMS.md +10 -8
- package/docs/tr/intlayer_cli.md +7 -7
- package/docs/tr/intlayer_visual_editor.md +5 -7
- package/docs/tr/intlayer_with_angular.md +6 -8
- package/docs/tr/intlayer_with_astro.md +6 -8
- package/docs/tr/intlayer_with_create_react_app.md +6 -8
- package/docs/tr/intlayer_with_express.md +6 -8
- package/docs/tr/intlayer_with_lynx+react.md +6 -8
- package/docs/tr/intlayer_with_nestjs.md +6 -8
- package/docs/tr/intlayer_with_nextjs_14.md +9 -9
- package/docs/tr/intlayer_with_nextjs_15.md +10 -9
- package/docs/tr/intlayer_with_nextjs_page_router.md +9 -9
- package/docs/tr/intlayer_with_nuxt.md +6 -8
- package/docs/tr/intlayer_with_react_native+expo.md +6 -8
- package/docs/tr/intlayer_with_react_router_v7.md +9 -9
- package/docs/tr/intlayer_with_tanstack.md +9 -9
- package/docs/tr/intlayer_with_vite+preact.md +6 -12
- package/docs/tr/intlayer_with_vite+react.md +6 -12
- package/docs/tr/intlayer_with_vite+solid.md +6 -12
- package/docs/tr/intlayer_with_vite+svelte.md +6 -12
- package/docs/tr/intlayer_with_vite+vue.md +6 -12
- package/docs/tr/introduction.md +4 -6
- package/docs/tr/locale_mapper.md +4 -6
- package/docs/tr/mcp_server.md +13 -9
- package/docs/tr/packages/express-intlayer/t.md +4 -6
- package/docs/tr/packages/intlayer/getConfiguration.md +4 -10
- package/docs/tr/packages/intlayer/getEnumeration.md +4 -10
- package/docs/tr/packages/intlayer/getHTMLTextDir.md +4 -10
- package/docs/tr/packages/intlayer/getLocaleLang.md +4 -10
- package/docs/tr/packages/intlayer/getLocaleName.md +4 -10
- package/docs/tr/packages/intlayer/getLocalizedUrl.md +4 -10
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +4 -10
- package/docs/tr/packages/intlayer/getPathWithoutLocale.md +4 -10
- package/docs/tr/packages/intlayer/getTranslation.md +4 -10
- package/docs/tr/packages/intlayer/getTranslationContent.md +4 -10
- package/docs/tr/packages/next-intlayer/t.md +4 -6
- package/docs/tr/packages/next-intlayer/useDictionary.md +4 -6
- package/docs/tr/packages/next-intlayer/useIntlayer.md +4 -6
- package/docs/tr/packages/next-intlayer/useLocale.md +4 -6
- package/docs/tr/packages/react-intlayer/t.md +4 -6
- package/docs/tr/packages/react-intlayer/useDictionary.md +10 -273
- package/docs/tr/packages/react-intlayer/useI18n.md +4 -4
- package/docs/tr/packages/react-intlayer/useIntlayer.md +4 -6
- package/docs/tr/packages/react-intlayer/useLocale.md +4 -6
- package/docs/tr/per_locale_file.md +4 -6
- package/docs/tr/roadmap.md +10 -8
- package/docs/tr/testing.md +4 -7
- package/docs/tr/vs_code_extension.md +13 -9
- package/docs/zh/CI_CD.md +4 -6
- package/docs/zh/autoFill.md +10 -8
- package/docs/zh/configuration.md +19 -22
- package/docs/zh/dictionary/content_file.md +7 -7
- package/docs/zh/dictionary/enumeration.md +4 -4
- package/docs/zh/dictionary/file.md +4 -4
- package/docs/zh/dictionary/function_fetching.md +4 -4
- package/docs/zh/dictionary/gender.md +4 -6
- package/docs/zh/dictionary/insertion.md +4 -4
- package/docs/zh/dictionary/translation.md +4 -4
- package/docs/zh/formatters.md +19 -55
- package/docs/zh/how_works_intlayer.md +5 -5
- package/docs/zh/index.md +4 -4
- package/docs/zh/interest_of_intlayer.md +7 -7
- package/docs/zh/intlayer_CMS.md +10 -9
- package/docs/zh/intlayer_cli.md +7 -7
- package/docs/zh/intlayer_visual_editor.md +5 -6
- package/docs/zh/intlayer_with_angular.md +6 -6
- package/docs/zh/intlayer_with_astro.md +6 -8
- package/docs/zh/intlayer_with_create_react_app.md +6 -6
- package/docs/zh/intlayer_with_express.md +6 -6
- package/docs/zh/intlayer_with_lynx+react.md +6 -6
- package/docs/zh/intlayer_with_nestjs.md +6 -8
- package/docs/zh/intlayer_with_nextjs_14.md +6 -6
- package/docs/zh/intlayer_with_nextjs_15.md +7 -6
- package/docs/zh/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/zh/intlayer_with_nuxt.md +6 -6
- package/docs/zh/intlayer_with_react_native+expo.md +6 -6
- package/docs/zh/intlayer_with_react_router_v7.md +9 -9
- package/docs/zh/intlayer_with_tanstack.md +6 -8
- package/docs/zh/intlayer_with_vite+preact.md +6 -6
- package/docs/zh/intlayer_with_vite+react.md +7 -6
- package/docs/zh/intlayer_with_vite+solid.md +6 -6
- package/docs/zh/intlayer_with_vite+svelte.md +6 -6
- package/docs/zh/intlayer_with_vite+vue.md +6 -6
- package/docs/zh/introduction.md +4 -4
- package/docs/zh/locale_mapper.md +4 -6
- package/docs/zh/mcp_server.md +13 -9
- package/docs/zh/packages/express-intlayer/t.md +4 -4
- package/docs/zh/packages/intlayer/getConfiguration.md +4 -4
- package/docs/zh/packages/intlayer/getEnumeration.md +4 -4
- package/docs/zh/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/zh/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/zh/packages/intlayer/getLocaleName.md +4 -4
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +7 -16
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/zh/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/zh/packages/intlayer/getTranslation.md +4 -4
- package/docs/zh/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/zh/packages/next-intlayer/t.md +4 -4
- package/docs/zh/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/zh/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/zh/packages/next-intlayer/useLocale.md +4 -4
- package/docs/zh/packages/react-intlayer/t.md +4 -4
- package/docs/zh/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/zh/packages/react-intlayer/useI18n.md +4 -4
- package/docs/zh/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/zh/packages/react-intlayer/useLocale.md +4 -4
- package/docs/zh/per_locale_file.md +4 -4
- package/docs/zh/roadmap.md +7 -5
- package/docs/zh/testing.md +4 -7
- package/docs/zh/vs_code_extension.md +13 -9
- package/frequent_questions/ar/bun_set_up.md +54 -0
- package/frequent_questions/de/bun_set_up.md +54 -0
- package/frequent_questions/en/bun_set_up.md +54 -0
- package/frequent_questions/en-GB/bun_set_up.md +54 -0
- package/frequent_questions/es/bun_set_up.md +54 -0
- package/frequent_questions/fr/bun_set_up.md +54 -0
- package/frequent_questions/hi/bun_set_up.md +55 -0
- package/frequent_questions/it/bun_set_up.md +55 -0
- package/frequent_questions/ja/bun_set_up.md +54 -0
- package/frequent_questions/ko/bun_set_up.md +54 -0
- package/frequent_questions/pt/bun_set_up.md +55 -0
- package/frequent_questions/ru/bun_set_up.md +55 -0
- package/frequent_questions/tr/bun_set_up.md +55 -0
- package/frequent_questions/zh/bun_set_up.md +54 -0
- package/package.json +42 -47
- package/src/blog.ts +16 -8
- package/src/common.ts +7 -8
- package/src/doc.ts +18 -8
- package/src/frequentQuestions.ts +23 -8
- package/src/generated/blog.entry.ts +152 -84
- package/src/generated/docs.entry.ts +523 -222
- package/src/generated/frequentQuestions.entry.ts +122 -56
- package/src/generated/legal.entry.ts +32 -24
- package/src/legal.ts +16 -8
- package/LICENSE +0 -202
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/docs/de/packages/@intlayer/api/index.md +0 -56
- package/docs/de/packages/@intlayer/chokidar/index.md +0 -56
- package/docs/de/packages/@intlayer/cli/index.md +0 -45
- package/docs/de/packages/@intlayer/config/index.md +0 -140
- package/docs/de/packages/@intlayer/core/index.md +0 -49
- package/docs/de/packages/@intlayer/design-system/index.md +0 -45
- package/docs/de/packages/@intlayer/dictionary-entry/index.md +0 -45
- package/docs/de/packages/@intlayer/editor/index.md +0 -45
- package/docs/de/packages/@intlayer/editor-react/index.md +0 -45
- package/docs/de/packages/@intlayer/webpack/index.md +0 -59
- package/docs/de/packages/angular-intlayer/index.md +0 -53
- package/docs/de/packages/express-intlayer/index.md +0 -284
- package/docs/de/packages/intlayer/index.md +0 -500
- package/docs/de/packages/intlayer-cli/index.md +0 -65
- package/docs/de/packages/intlayer-editor/index.md +0 -137
- package/docs/de/packages/lynx-intlayer/index.md +0 -83
- package/docs/de/packages/next-intlayer/index.md +0 -285
- package/docs/de/packages/nuxt-intlayer/index.md +0 -53
- package/docs/de/packages/preact-intlayer/index.md +0 -53
- package/docs/de/packages/react-intlayer/index.md +0 -280
- package/docs/de/packages/react-native-intlayer/index.md +0 -83
- package/docs/de/packages/react-scripts-intlayer/index.md +0 -80
- package/docs/de/packages/solid-intlayer/index.md +0 -54
- package/docs/de/packages/svelte-intlayer/index.md +0 -53
- package/docs/de/packages/vite-intlayer/index.md +0 -76
- package/docs/de/packages/vue-intlayer/index.md +0 -53
- package/docs/es/packages/angular-intlayer/index.md +0 -53
package/docs/en/autoFill.md
CHANGED
|
@@ -15,13 +15,68 @@ slugs:
|
|
|
15
15
|
- doc
|
|
16
16
|
- concept
|
|
17
17
|
- auto-fill
|
|
18
|
+
history:
|
|
19
|
+
- version: 7.0.0
|
|
20
|
+
date: 2025-10-23
|
|
21
|
+
changes: Rename `autoFill` to `fill` and update behavior
|
|
22
|
+
- version: 6.0.0
|
|
23
|
+
date: 2025-09-20
|
|
24
|
+
changes: Add global configuration
|
|
25
|
+
- version: 6.0.0
|
|
26
|
+
date: 2025-09-17
|
|
27
|
+
changes: Add `{{fileName}}` variable
|
|
28
|
+
- version: 5.5.10
|
|
29
|
+
date: 2025-06-29
|
|
30
|
+
changes: Init history
|
|
18
31
|
---
|
|
19
32
|
|
|
20
|
-
#
|
|
33
|
+
# Fill Content Declaration File Translations
|
|
21
34
|
|
|
22
|
-
**Autofill content declaration files** are a way to speed up your development workflow.
|
|
35
|
+
**Autofill content declaration files** in your CI are a way to speed up your development workflow.
|
|
23
36
|
|
|
24
|
-
|
|
37
|
+
## Default Behavior
|
|
38
|
+
|
|
39
|
+
By default, `fill` is set to `true` globally, which means Intlayer will automatically fill all content files and edit the file itself. This behavior can be customized in several ways:
|
|
40
|
+
|
|
41
|
+
### Global Configuration Options
|
|
42
|
+
|
|
43
|
+
1. **`fill: true` (default)** - Automatically fill all locales and edit the current file
|
|
44
|
+
2. **`fill: false`** - Disable auto-fill for this content file
|
|
45
|
+
3. **`fill: "path/to/file"`** - Create/update the specified file without editing the current one
|
|
46
|
+
4. **`fill: { [key in Locales]?: string }`** - Create/update the specified file for each locale
|
|
47
|
+
|
|
48
|
+
### v7 Behavior Changes
|
|
49
|
+
|
|
50
|
+
In v7, the `fill` command behavior has been updated:
|
|
51
|
+
|
|
52
|
+
- **`fill: true`** - Rewrites the current file with filled content for all locales
|
|
53
|
+
- **`fill: "path/to/file"`** - Fills the specified file without modifying the current file
|
|
54
|
+
- **`fill: false`** - Disables auto-fill completely
|
|
55
|
+
|
|
56
|
+
When using a path option to write to another file, the fill mechanism works through a _master-slave_ relationship between content declaration files. The main (master) file serves as the source of truth, and when it's updated, Intlayer will automatically apply those changes to the derived (filled) declaration files specified by the path.
|
|
57
|
+
|
|
58
|
+
### Per-Locale Customization
|
|
59
|
+
|
|
60
|
+
You can also customize the behavior for each locale by using an object:
|
|
61
|
+
|
|
62
|
+
```ts fileName="intlayer.config.ts"
|
|
63
|
+
const config: IntlayerConfig = {
|
|
64
|
+
content: {
|
|
65
|
+
internationalization: {
|
|
66
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.POLISH],
|
|
67
|
+
defaultLocale: Locales.ENGLISH,
|
|
68
|
+
requiredLocales: [Locales.ENGLISH], // Recommended to avoid Property 'pl' is missing in type '{ en: string; xxx } on your t function if
|
|
69
|
+
},
|
|
70
|
+
fill: {
|
|
71
|
+
en: true, // Fill and edit the current file for English
|
|
72
|
+
fr: "./translations/fr.json", // Create separate file for French
|
|
73
|
+
es: false, // Disable fill for Spanish
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
This allows you to have different fill behaviors for different locales within the same project.
|
|
25
80
|
|
|
26
81
|
```ts fileName="src/components/example/example.content.ts"
|
|
27
82
|
import { Locales, type Dictionary } from "intlayer";
|
|
@@ -29,7 +84,7 @@ import { Locales, type Dictionary } from "intlayer";
|
|
|
29
84
|
const exampleContent = {
|
|
30
85
|
key: "example",
|
|
31
86
|
locale: Locales.ENGLISH,
|
|
32
|
-
|
|
87
|
+
fill: "./example.content.json",
|
|
33
88
|
content: {
|
|
34
89
|
contentExample: "This is an example of content",
|
|
35
90
|
},
|
|
@@ -38,7 +93,7 @@ const exampleContent = {
|
|
|
38
93
|
export default exampleContent;
|
|
39
94
|
```
|
|
40
95
|
|
|
41
|
-
Here is a [per-locale content declaration file](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/per_locale_file.md) using the `
|
|
96
|
+
Here is a [per-locale content declaration file](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/per_locale_file.md) using the `fill` instruction.
|
|
42
97
|
|
|
43
98
|
Then, when you run the following command:
|
|
44
99
|
|
|
@@ -80,13 +135,13 @@ const config: IntlayerConfig = {
|
|
|
80
135
|
},
|
|
81
136
|
content: {
|
|
82
137
|
// Auto-generate missing translations for all dictionaries
|
|
83
|
-
|
|
138
|
+
fill: "./{{fileName}}Filled.content.ts",
|
|
84
139
|
//
|
|
85
|
-
//
|
|
140
|
+
// fill: "/messages/{{locale}}/{{key}}/{{fileName}}.content.json",
|
|
86
141
|
//
|
|
87
|
-
//
|
|
142
|
+
// fill: true, // auto-generate missing translations for all dictionaries like using "./{{fileName}}.content.json"
|
|
88
143
|
//
|
|
89
|
-
//
|
|
144
|
+
// fill: {
|
|
90
145
|
// en: "./{{fileName}}.en.content.json",
|
|
91
146
|
// fr: "./{{fileName}}.fr.content.json",
|
|
92
147
|
// es: "./{{fileName}}.es.content.json",
|
|
@@ -97,7 +152,7 @@ const config: IntlayerConfig = {
|
|
|
97
152
|
export default config;
|
|
98
153
|
```
|
|
99
154
|
|
|
100
|
-
You can still fine‑tune per dictionary using the `
|
|
155
|
+
You can still fine‑tune per dictionary using the `fill` field in content files. Intlayer will first consider the per dictionary configuration and then fallback to the global configuration.
|
|
101
156
|
|
|
102
157
|
## Autofilled File Format
|
|
103
158
|
|
|
@@ -106,7 +161,7 @@ The recommended format for autofilled declaration files is **JSON**, which helps
|
|
|
106
161
|
```ts fileName="src/components/example/example.content.ts"
|
|
107
162
|
const exampleContent = {
|
|
108
163
|
key: "example",
|
|
109
|
-
|
|
164
|
+
fill: "./example.filled.content.ts",
|
|
110
165
|
content: {
|
|
111
166
|
// Your content
|
|
112
167
|
},
|
|
@@ -126,12 +181,12 @@ src/components/example/example.filled.content.ts
|
|
|
126
181
|
|
|
127
182
|
## Absolute Paths
|
|
128
183
|
|
|
129
|
-
The `
|
|
184
|
+
The `fill` field also supports absolute paths.
|
|
130
185
|
|
|
131
186
|
```ts fileName="src/components/example/example.content.ts"
|
|
132
187
|
const exampleContent = {
|
|
133
188
|
key: "example",
|
|
134
|
-
|
|
189
|
+
fill: "/messages/example.content.json",
|
|
135
190
|
content: {
|
|
136
191
|
// Your content
|
|
137
192
|
},
|
|
@@ -146,12 +201,12 @@ This will generate the file at:
|
|
|
146
201
|
|
|
147
202
|
## Autogenerate Per-Locale Content Declaration Files
|
|
148
203
|
|
|
149
|
-
The `
|
|
204
|
+
The `fill` field also supports generation of **per-locale** content declaration files.
|
|
150
205
|
|
|
151
206
|
```ts fileName="src/components/example/example.content.ts"
|
|
152
207
|
const exampleContent = {
|
|
153
208
|
key: "example",
|
|
154
|
-
|
|
209
|
+
fill: {
|
|
155
210
|
fr: "./example.fr.content.json",
|
|
156
211
|
es: "./example.es.content.json",
|
|
157
212
|
},
|
|
@@ -170,12 +225,12 @@ This will generate two separate files:
|
|
|
170
225
|
|
|
171
226
|
## Filter Specific Locale Autofill
|
|
172
227
|
|
|
173
|
-
Using an object for the `
|
|
228
|
+
Using an object for the `fill` field allows you to apply filters and generate only specific locale files.
|
|
174
229
|
|
|
175
230
|
```ts fileName="src/components/example/example.content.ts"
|
|
176
231
|
const exampleContent = {
|
|
177
232
|
key: "example",
|
|
178
|
-
|
|
233
|
+
fill: {
|
|
179
234
|
fr: "./example.fr.content.json",
|
|
180
235
|
},
|
|
181
236
|
content: {
|
|
@@ -188,7 +243,7 @@ This will only generate the French translation file.
|
|
|
188
243
|
|
|
189
244
|
## Path Variables
|
|
190
245
|
|
|
191
|
-
You can use variables inside the `
|
|
246
|
+
You can use variables inside the `fill` path to dynamically resolve the target paths for the generated files.
|
|
192
247
|
|
|
193
248
|
**Available variables:**
|
|
194
249
|
|
|
@@ -199,7 +254,7 @@ You can use variables inside the `autoFill` path to dynamically resolve the targ
|
|
|
199
254
|
```ts fileName="src/components/example/index.content.ts"
|
|
200
255
|
const exampleContent = {
|
|
201
256
|
key: "example",
|
|
202
|
-
|
|
257
|
+
fill: "/messages/{{locale}}/{{key}}.content.json",
|
|
203
258
|
content: {
|
|
204
259
|
// Your content
|
|
205
260
|
},
|
|
@@ -214,7 +269,7 @@ This will generate:
|
|
|
214
269
|
```ts fileName="src/components/example/index.content.ts"
|
|
215
270
|
const exampleContent = {
|
|
216
271
|
key: "example",
|
|
217
|
-
|
|
272
|
+
fill: "./{{fileName}}.content.json",
|
|
218
273
|
content: {
|
|
219
274
|
// Your content
|
|
220
275
|
},
|
|
@@ -225,11 +280,3 @@ This will generate:
|
|
|
225
280
|
|
|
226
281
|
- `./index.content.json`
|
|
227
282
|
- `./index.content.json`
|
|
228
|
-
|
|
229
|
-
## Doc History
|
|
230
|
-
|
|
231
|
-
| Version | Date | Changes |
|
|
232
|
-
| ------- | ---------- | --------------------------- |
|
|
233
|
-
| 6.0.0 | 2025-09-20 | Add global configuration |
|
|
234
|
-
| 6.0.0 | 2025-09-17 | Add `{{fileName}}` variable |
|
|
235
|
-
| 5.5.10 | 2025-06-29 | Init history |
|
package/docs/en/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2025-
|
|
3
|
+
updatedAt: 2025-10-21
|
|
4
4
|
title: Configuration
|
|
5
5
|
description: Learn how to configure Intlayer for your application. Understand the various settings and options available to customize Intlayer to your needs.
|
|
6
6
|
keywords:
|
|
@@ -13,6 +13,37 @@ slugs:
|
|
|
13
13
|
- doc
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
|
+
history:
|
|
17
|
+
- version: 7.0.0
|
|
18
|
+
date: 2025-10-21
|
|
19
|
+
changes: Replace `middleware` by `routing` configuration
|
|
20
|
+
- version: 7.0.0
|
|
21
|
+
date: 2025-10-12
|
|
22
|
+
changes: Add `formatCommand` option
|
|
23
|
+
- version: 6.2.0
|
|
24
|
+
date: 2025-10-12
|
|
25
|
+
changes: Update `excludedPath` option
|
|
26
|
+
- version: 6.0.2
|
|
27
|
+
date: 2025-09-23
|
|
28
|
+
changes: Add `outputFormat` option
|
|
29
|
+
- version: 6.0.0
|
|
30
|
+
date: 2025-09-21
|
|
31
|
+
changes: Remove `dictionaryOutput` field and `i18nextResourcesDir` field
|
|
32
|
+
- version: 6.0.0
|
|
33
|
+
date: 2025-09-16
|
|
34
|
+
changes: Add `live` import mode
|
|
35
|
+
- version: 6.0.0
|
|
36
|
+
date: 2025-09-04
|
|
37
|
+
changes: Replace `hotReload` field by `liveSync` and add `liveSyncPort` and `liveSyncURL` fields
|
|
38
|
+
- version: 5.6.1
|
|
39
|
+
date: 2025-07-25
|
|
40
|
+
changes: Replace `activateDynamicImport` with `importMode` option
|
|
41
|
+
- version: 5.6.0
|
|
42
|
+
date: 2025-07-13
|
|
43
|
+
changes: Change default contentDir from `['src']` to `['.']`
|
|
44
|
+
- version: 5.5.11
|
|
45
|
+
date: 2025-06-29
|
|
46
|
+
changes: Add `docs` commands
|
|
16
47
|
---
|
|
17
48
|
|
|
18
49
|
# Intlayer Configuration Documentation
|
|
@@ -256,12 +287,72 @@ Defines settings related to the integrated editor, including server port and act
|
|
|
256
287
|
- _Example_: `'https://example.com'`
|
|
257
288
|
- _Note_: Point to localhost by default but can be changed to any URL in the case of a remote live sync server.
|
|
258
289
|
|
|
259
|
-
|
|
290
|
+
- **formatCommand**:
|
|
291
|
+
- _Type_: `string`
|
|
292
|
+
- _Default_: `undefined`
|
|
293
|
+
- _Description_: The command to format the content. When intlayer write your .content files locally, this command will be used to format the content.
|
|
294
|
+
- _Example_: `'npx prettier --write "{{file}}" --log-level silent'` Using Prettier
|
|
295
|
+
- _Example_: `'npx biome format "{{file}}" --write --log-level none'` Using Biome
|
|
296
|
+
- _Example_: `'npx eslint --fix "{{file}}" --quiet'` Using ESLint
|
|
297
|
+
- _Note_: Intlayer will replace the {{file}} with the path of the file to format.
|
|
260
298
|
|
|
261
|
-
|
|
299
|
+
### Routing Configuration
|
|
300
|
+
|
|
301
|
+
Settings that control routing behavior, including URL structure, locale storage, and middleware handling.
|
|
262
302
|
|
|
263
303
|
#### Properties
|
|
264
304
|
|
|
305
|
+
- **mode**:
|
|
306
|
+
- _Type_: `'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params'`
|
|
307
|
+
- _Default_: `'prefix-no-default'`
|
|
308
|
+
- _Description_: URL routing mode for locale handling.
|
|
309
|
+
- _Examples_:
|
|
310
|
+
- `'prefix-no-default'`: `/dashboard` (en) or `/fr/dashboard` (fr)
|
|
311
|
+
- `'prefix-all'`: `/en/dashboard` (en) or `/fr/dashboard` (fr)
|
|
312
|
+
- `'no-prefix'`: `/dashboard` (locale handled via other means)
|
|
313
|
+
- `'search-params'`: `/dashboard?locale=fr`
|
|
314
|
+
- _Note_: This setting does not impact cookie or locale storage management.
|
|
315
|
+
|
|
316
|
+
- **storage**:
|
|
317
|
+
- _Type_: `false | 'cookie' | 'localStorage' | 'sessionStorage' | CookiesAttributes | LocaleStorageAttributes | Array`
|
|
318
|
+
- _Default_: `'localStorage'`
|
|
319
|
+
- _Description_: Configuration for storing the locale in the client.
|
|
320
|
+
- _Examples_:
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
// Disable storage
|
|
324
|
+
storage: false
|
|
325
|
+
|
|
326
|
+
// Simple storage types
|
|
327
|
+
storage: 'cookie'
|
|
328
|
+
storage: 'localStorage'
|
|
329
|
+
storage: 'sessionStorage'
|
|
330
|
+
|
|
331
|
+
// Cookie with custom attributes
|
|
332
|
+
storage: {
|
|
333
|
+
type: 'cookie',
|
|
334
|
+
name: 'custom-locale',
|
|
335
|
+
domain: '.example.com',
|
|
336
|
+
secure: true,
|
|
337
|
+
sameSite: 'strict'
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// localStorage with custom key
|
|
341
|
+
storage: {
|
|
342
|
+
type: 'localStorage',
|
|
343
|
+
name: 'custom-locale'
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// Multiple storage types
|
|
347
|
+
storage: ['cookie', 'localStorage']
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
- _Note_:
|
|
351
|
+
- If `false`, the locale will not be stored by the middleware
|
|
352
|
+
- Check GDPR compliance for cookies. See https://gdpr.eu/cookies/
|
|
353
|
+
- Recommendation: Configure both localStorage and cookies for GDPR compliance
|
|
354
|
+
- Disable cookie storage by default on the useLocale hook until user consent
|
|
355
|
+
|
|
265
356
|
- **headerName**:
|
|
266
357
|
- _Type_: `string`
|
|
267
358
|
- _Default_: `'x-intlayer-locale'`
|
|
@@ -269,22 +360,6 @@ Settings that control middleware behavior, including how the application handles
|
|
|
269
360
|
- _Example_: `'x-custom-locale'`
|
|
270
361
|
- _Note_: This is useful for API-based locale determination.
|
|
271
362
|
|
|
272
|
-
- **cookieName**:
|
|
273
|
-
- _Type_: `string`
|
|
274
|
-
- _Default_: `'intlayer-locale'`
|
|
275
|
-
- _Description_: The name of the cookie used to store the locale.
|
|
276
|
-
- _Example_: `'custom-locale'`
|
|
277
|
-
- _Note_: Used to persist the locale across sessions.
|
|
278
|
-
|
|
279
|
-
- **prefixDefault**:
|
|
280
|
-
- _Type_: `boolean`
|
|
281
|
-
- _Default_: `false`
|
|
282
|
-
- _Description_: Whether to include the default locale in the URL.
|
|
283
|
-
- _Example_: `true`
|
|
284
|
-
- _Note_:
|
|
285
|
-
- If `true` and `defaultLocale = 'en'`: path = `/en/dashboard` or `/fr/dashboard`
|
|
286
|
-
- If `false` and `defaultLocale = 'en'`: path = `/dashboard` or `/fr/dashboard`
|
|
287
|
-
|
|
288
363
|
- **basePath**:
|
|
289
364
|
- _Type_: `string`
|
|
290
365
|
- _Default_: `''`
|
|
@@ -296,26 +371,6 @@ Settings that control middleware behavior, including how the application handles
|
|
|
296
371
|
- The URL will be `https://example.com/my-app/en`
|
|
297
372
|
- If the base path is not set, the URL will be `https://example.com/en`
|
|
298
373
|
|
|
299
|
-
- **serverSetCookie**:
|
|
300
|
-
- _Type_: `string`
|
|
301
|
-
- _Default_: `'always'`
|
|
302
|
-
- _Description_: Rule for setting the locale cookie on the server.
|
|
303
|
-
- _Options_: `'always'`, `'never'`
|
|
304
|
-
- _Example_: `'never'`
|
|
305
|
-
- _Note_: Controls whether the locale cookie is set on every request or never.
|
|
306
|
-
|
|
307
|
-
- **noPrefix**:
|
|
308
|
-
- _Type_: `boolean`
|
|
309
|
-
- _Default_: `false`
|
|
310
|
-
- _Description_: Whether to omit the locale prefix from URLs.
|
|
311
|
-
- _Example_: `true`
|
|
312
|
-
- _Note_:
|
|
313
|
-
- If `true`: No prefix in the URL
|
|
314
|
-
- If `false`: Prefix in the URL
|
|
315
|
-
- Example with `basePath = '/my-app'`:
|
|
316
|
-
- If `noPrefix = false`: URL will be `https://example.com/my-app/en`
|
|
317
|
-
- If `noPrefix = true`: URL will be `https://example.com`
|
|
318
|
-
|
|
319
374
|
- **detectLocaleOnPrefetchNoPrefix**:
|
|
320
375
|
- _Type_: `boolean`
|
|
321
376
|
- _Default_: `false`
|
|
@@ -340,6 +395,120 @@ Settings that control middleware behavior, including how the application handles
|
|
|
340
395
|
- You want to optimize prefetching performance
|
|
341
396
|
- You want to avoid potential redirect loops
|
|
342
397
|
|
|
398
|
+
#### Cookie Attributes
|
|
399
|
+
|
|
400
|
+
When using cookie storage, you can configure additional cookie attributes:
|
|
401
|
+
|
|
402
|
+
- **name**: Cookie name (default: `'INTLAYER_LOCALE'`)
|
|
403
|
+
- **domain**: Cookie domain (default: undefined)
|
|
404
|
+
- **path**: Cookie path (default: undefined)
|
|
405
|
+
- **secure**: Require HTTPS (default: undefined)
|
|
406
|
+
- **httpOnly**: HTTP-only flag (default: undefined)
|
|
407
|
+
- **sameSite**: SameSite policy (`'strict' | 'lax' | 'none'`)
|
|
408
|
+
- **expires**: Expiration date or days (default: undefined)
|
|
409
|
+
|
|
410
|
+
#### Locale Storage Attributes
|
|
411
|
+
|
|
412
|
+
When using localStorage or sessionStorage:
|
|
413
|
+
|
|
414
|
+
- **type**: Storage type (`'localStorage' | 'sessionStorage'`)
|
|
415
|
+
- **name**: Storage key name (default: `'INTLAYER_LOCALE'`)
|
|
416
|
+
|
|
417
|
+
#### Configuration Examples
|
|
418
|
+
|
|
419
|
+
Here are some common configuration examples for the new v7 routing structure:
|
|
420
|
+
|
|
421
|
+
**Basic Configuration (Default)**:
|
|
422
|
+
|
|
423
|
+
```typescript
|
|
424
|
+
// intlayer.config.ts
|
|
425
|
+
export default defineConfig({
|
|
426
|
+
internationalization: {
|
|
427
|
+
locales: ["en", "fr", "es"],
|
|
428
|
+
defaultLocale: "en",
|
|
429
|
+
},
|
|
430
|
+
routing: {
|
|
431
|
+
mode: "prefix-no-default",
|
|
432
|
+
storage: "localStorage",
|
|
433
|
+
headerName: "x-intlayer-locale",
|
|
434
|
+
basePath: "",
|
|
435
|
+
detectLocaleOnPrefetchNoPrefix: false,
|
|
436
|
+
},
|
|
437
|
+
});
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
**GDPR Compliant Configuration**:
|
|
441
|
+
|
|
442
|
+
```typescript
|
|
443
|
+
// intlayer.config.ts
|
|
444
|
+
export default defineConfig({
|
|
445
|
+
internationalization: {
|
|
446
|
+
locales: ["en", "fr", "es"],
|
|
447
|
+
defaultLocale: "en",
|
|
448
|
+
},
|
|
449
|
+
routing: {
|
|
450
|
+
mode: "prefix-no-default",
|
|
451
|
+
storage: [
|
|
452
|
+
{
|
|
453
|
+
type: "localStorage",
|
|
454
|
+
name: "user-locale",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
type: "cookie",
|
|
458
|
+
name: "user-locale",
|
|
459
|
+
secure: true,
|
|
460
|
+
sameSite: "strict",
|
|
461
|
+
httpOnly: false,
|
|
462
|
+
},
|
|
463
|
+
],
|
|
464
|
+
headerName: "x-intlayer-locale",
|
|
465
|
+
basePath: "",
|
|
466
|
+
detectLocaleOnPrefetchNoPrefix: false,
|
|
467
|
+
},
|
|
468
|
+
});
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**Search Parameters Mode**:
|
|
472
|
+
|
|
473
|
+
```typescript
|
|
474
|
+
// intlayer.config.ts
|
|
475
|
+
export default defineConfig({
|
|
476
|
+
internationalization: {
|
|
477
|
+
locales: ["en", "fr", "es"],
|
|
478
|
+
defaultLocale: "en",
|
|
479
|
+
},
|
|
480
|
+
routing: {
|
|
481
|
+
mode: "search-params",
|
|
482
|
+
storage: "localStorage",
|
|
483
|
+
headerName: "x-intlayer-locale",
|
|
484
|
+
basePath: "",
|
|
485
|
+
detectLocaleOnPrefetchNoPrefix: false,
|
|
486
|
+
},
|
|
487
|
+
});
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
**No Prefix Mode with Custom Storage**:
|
|
491
|
+
|
|
492
|
+
```typescript
|
|
493
|
+
// intlayer.config.ts
|
|
494
|
+
export default defineConfig({
|
|
495
|
+
internationalization: {
|
|
496
|
+
locales: ["en", "fr", "es"],
|
|
497
|
+
defaultLocale: "en",
|
|
498
|
+
},
|
|
499
|
+
routing: {
|
|
500
|
+
mode: "no-prefix",
|
|
501
|
+
storage: {
|
|
502
|
+
type: "sessionStorage",
|
|
503
|
+
name: "app-locale",
|
|
504
|
+
},
|
|
505
|
+
headerName: "x-custom-locale",
|
|
506
|
+
basePath: "/my-app",
|
|
507
|
+
detectLocaleOnPrefetchNoPrefix: true,
|
|
508
|
+
},
|
|
509
|
+
});
|
|
510
|
+
```
|
|
511
|
+
|
|
343
512
|
---
|
|
344
513
|
|
|
345
514
|
### Content Configuration
|
|
@@ -348,7 +517,7 @@ Settings related to content handling within the application, including directory
|
|
|
348
517
|
|
|
349
518
|
#### Properties
|
|
350
519
|
|
|
351
|
-
- **
|
|
520
|
+
- **fill**:
|
|
352
521
|
- _Type_: `boolean | string | { [key in Locales]?: string }`
|
|
353
522
|
- _Default_: `undefined`
|
|
354
523
|
- _Description_: Indicate how the content should be automatically filled using AI. Can be declared globally in the `intlayer.config.ts` file.
|
|
@@ -356,9 +525,10 @@ Settings related to content handling within the application, including directory
|
|
|
356
525
|
- _Example_: `'./{{fileName}}.content.json'`
|
|
357
526
|
- _Example_: `{ fr: './{{fileName}}.fr.content.json', es: './{{fileName}}.es.content.json' }`
|
|
358
527
|
- _Note_: The auto fill configuration. It can be:
|
|
359
|
-
-
|
|
360
|
-
-
|
|
361
|
-
-
|
|
528
|
+
- `true`: Rewrites the current file with filled content for all locales
|
|
529
|
+
- `false`: Disables auto-fill completely
|
|
530
|
+
- `string`: Path to a single file or template with variables (fills the specified file without modifying the current one)
|
|
531
|
+
- `object`: Per-locale file paths
|
|
362
532
|
|
|
363
533
|
- **watch**:
|
|
364
534
|
- _Type_: `boolean`
|
|
@@ -423,7 +593,7 @@ Settings related to content handling within the application, including directory
|
|
|
423
593
|
|
|
424
594
|
- **excludedPath**:
|
|
425
595
|
- _Type_: `string[]`
|
|
426
|
-
- _Default_: `['node_modules']`
|
|
596
|
+
- _Default_: `['**/node_modules/**', '**/dist/**', '**/build/**', '**/.intlayer/**', '**/.next/**', '**/.nuxt/**', '**/.expo/**', '**/.vercel/**', '**/.turbo/**', '**/.tanstack/**']`
|
|
427
597
|
- _Description_: Directories excluded from content search.
|
|
428
598
|
- _Note_: This setting is not yet used, but planned for future implementation.
|
|
429
599
|
|
|
@@ -556,15 +726,3 @@ Build options apply to the `@intlayer/babel` and `@intlayer/swc` plugins.
|
|
|
556
726
|
- _Note_: Use this to limit optimization to relevant code files and improve build performance.
|
|
557
727
|
- _Note_: This option will be ignored if `optimize` is disabled.
|
|
558
728
|
- _Note_: Use glob pattern.
|
|
559
|
-
|
|
560
|
-
## Doc History
|
|
561
|
-
|
|
562
|
-
| Version | Date | Changes |
|
|
563
|
-
| ------- | ---------- | --------------------------------------------------------------------------------------- |
|
|
564
|
-
| 6.0.2 | 2025-09-23 | Add `outputFormat` option |
|
|
565
|
-
| 6.0.0 | 2025-09-21 | Remove `dictionaryOutput` field and `i18nextResourcesDir` field |
|
|
566
|
-
| 6.0.0 | 2025-09-16 | Add `live` import mode |
|
|
567
|
-
| 6.0.0 | 2025-09-04 | Replace `hotReload` field by `liveSync` and add `liveSyncPort` and `liveSyncURL` fields |
|
|
568
|
-
| 5.6.1 | 2025-07-25 | Replace `activateDynamicImport` with `importMode` option |
|
|
569
|
-
| 5.6.0 | 2025-07-13 | Change default contentDir from `['src']` to `['.']` |
|
|
570
|
-
| 5.5.11 | 2025-06-29 | Add `docs` commands |
|
|
@@ -16,6 +16,10 @@ slugs:
|
|
|
16
16
|
- concept
|
|
17
17
|
- content
|
|
18
18
|
- condition
|
|
19
|
+
history:
|
|
20
|
+
- version: 5.5.10
|
|
21
|
+
date: 2025-06-29
|
|
22
|
+
changes: Init history
|
|
19
23
|
---
|
|
20
24
|
|
|
21
25
|
# Conditional Content / Condition in Intlayer
|
|
@@ -231,9 +235,3 @@ For more detailed information on configuration and usage, refer to the following
|
|
|
231
235
|
- [Next Intlayer Documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_15.md)
|
|
232
236
|
|
|
233
237
|
These resources offer further insights into the setup and usage of Intlayer across various environments and frameworks.
|
|
234
|
-
|
|
235
|
-
## Doc History
|
|
236
|
-
|
|
237
|
-
| Version | Date | Changes |
|
|
238
|
-
| ------- | ---------- | ------------ |
|
|
239
|
-
| 5.5.10 | 2025-06-29 | Init history |
|
|
@@ -11,6 +11,16 @@ slugs:
|
|
|
11
11
|
- doc
|
|
12
12
|
- concept
|
|
13
13
|
- content
|
|
14
|
+
history:
|
|
15
|
+
- version: 7.0.0
|
|
16
|
+
date: 2025-10-23
|
|
17
|
+
changes: Rename `autoFill` to `fill`
|
|
18
|
+
- version: 6.0.0
|
|
19
|
+
date: 2025-09-20
|
|
20
|
+
changes: Add fields documentation
|
|
21
|
+
- version: 5.5.10
|
|
22
|
+
date: 2025-06-29
|
|
23
|
+
changes: Init history
|
|
14
24
|
---
|
|
15
25
|
|
|
16
26
|
# Content File
|
|
@@ -402,32 +412,33 @@ Transforms the dictionary into a per-locale dictionary where each field declared
|
|
|
402
412
|
}
|
|
403
413
|
```
|
|
404
414
|
|
|
405
|
-
#### `
|
|
415
|
+
#### `fill` (Fill)
|
|
406
416
|
|
|
407
417
|
Instructions for automatically filling dictionary content from external sources. This can be configured globally in `intlayer.config.ts` or per-dictionary. Supports multiple formats:
|
|
408
418
|
|
|
409
|
-
- **`true`**: Enable
|
|
419
|
+
- **`true`**: Enable filling for all locales
|
|
420
|
+
- **`false`**: Disable filling for all locales
|
|
410
421
|
- **`string`**: Path to a single file or template with variables
|
|
411
422
|
- **`object`**: Per-locale file paths
|
|
412
423
|
|
|
413
424
|
**Examples:**
|
|
414
425
|
|
|
415
426
|
```json
|
|
416
|
-
//
|
|
427
|
+
// Disable filling
|
|
417
428
|
{
|
|
418
|
-
"
|
|
429
|
+
"fill": false
|
|
419
430
|
}
|
|
420
431
|
// Single file
|
|
421
432
|
{
|
|
422
|
-
"
|
|
433
|
+
"fill": "./translations/aboutPage.content.json"
|
|
423
434
|
}
|
|
424
435
|
// Template with variables
|
|
425
436
|
{
|
|
426
|
-
"
|
|
437
|
+
"fill": "/messages/{{locale}}/{{key}}/{{fileName}}.content.json"
|
|
427
438
|
}
|
|
428
439
|
// Fine per-locale configuration
|
|
429
440
|
{
|
|
430
|
-
"
|
|
441
|
+
"fill": {
|
|
431
442
|
"en": "./translations/en/aboutPage.content.json",
|
|
432
443
|
"fr": "./translations/fr/aboutPage.content.json",
|
|
433
444
|
"es": "./translations/es/aboutPage.content.json"
|
|
@@ -441,7 +452,7 @@ Instructions for automatically filling dictionary content from external sources.
|
|
|
441
452
|
- `{{fileName}}` – File name (e.g. `example`)
|
|
442
453
|
- `{{key}}` – Dictionary key (e.g. `example`)
|
|
443
454
|
|
|
444
|
-
> See [Auto-Fill Configuration in Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/
|
|
455
|
+
> See [Auto-Fill Configuration in Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/fill.md) for more information.
|
|
445
456
|
|
|
446
457
|
##### `priority` (number)
|
|
447
458
|
|
|
@@ -494,6 +505,10 @@ JSON schema used for validation of the dictionary structure. Automatically added
|
|
|
494
505
|
|
|
495
506
|
For remote dictionaries, this is the unique identifier of the dictionary in the remote server. Used for fetching and managing remote content.
|
|
496
507
|
|
|
508
|
+
##### `projectIds` (string[])
|
|
509
|
+
|
|
510
|
+
For remote dictionaries, this array contains the IDs of the projects that can use this dictionary. A remote dictionary can be shared between multiple projects.
|
|
511
|
+
|
|
497
512
|
##### `localId` (LocalDictionaryId)
|
|
498
513
|
|
|
499
514
|
Unique identifier for local dictionaries. Auto-generated by Intlayer to help identify the dictionary and determine if it's local or remote, along with its location.
|
|
@@ -510,7 +525,7 @@ The file path of the local dictionary, indicating which `.content` file the dict
|
|
|
510
525
|
|
|
511
526
|
For remote dictionaries, this array contains all available versions of the dictionary. Helps track which versions are available for use.
|
|
512
527
|
|
|
513
|
-
##### `
|
|
528
|
+
##### `filled` (true)
|
|
514
529
|
|
|
515
530
|
Indicates whether the dictionary has been auto-filled from external sources. In case of conflicts, base dictionaries will override auto-filled dictionaries.
|
|
516
531
|
|
|
@@ -1039,16 +1054,9 @@ module.exports = {
|
|
|
1039
1054
|
- Keep related content together in the same dictionary
|
|
1040
1055
|
- Use nested objects to organize complex content structures
|
|
1041
1056
|
- Leverage tags for categorization
|
|
1042
|
-
- Use the `
|
|
1057
|
+
- Use the `fill` to automatically fill the missing translations
|
|
1043
1058
|
|
|
1044
1059
|
3. **Performance**:
|
|
1045
1060
|
- Ajust the content configuration to limit the scope of watched files
|
|
1046
1061
|
- Use live dictionaries only when real-time updates are necessary, (e.g. A/B testing, etc.)
|
|
1047
1062
|
- Ensure the build transformation plugin (`@intlayer/swc`, or `@intlayer/babel`) is enabled to optimize the dictionary at build time
|
|
1048
|
-
|
|
1049
|
-
## Doc History
|
|
1050
|
-
|
|
1051
|
-
| Version | Date | Changes |
|
|
1052
|
-
| ------- | ---------- | ------------------------ |
|
|
1053
|
-
| 6.0.0 | 2025-09-20 | Add fields documentation |
|
|
1054
|
-
| 5.5.10 | 2025-06-29 | Init history |
|
|
@@ -16,6 +16,10 @@ slugs:
|
|
|
16
16
|
- concept
|
|
17
17
|
- content
|
|
18
18
|
- enumeration
|
|
19
|
+
history:
|
|
20
|
+
- version: 5.5.10
|
|
21
|
+
date: 2025-06-29
|
|
22
|
+
changes: Init history
|
|
19
23
|
---
|
|
20
24
|
|
|
21
25
|
# Enumeration / Plurielisation
|
|
@@ -239,9 +243,3 @@ For more detailed information on configuration and usage, refer to the following
|
|
|
239
243
|
- [Next Intlayer Documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_15.md)
|
|
240
244
|
|
|
241
245
|
These resources provide further insights into the setup and usage of Intlayer in different environments and with various frameworks.
|
|
242
|
-
|
|
243
|
-
## Doc History
|
|
244
|
-
|
|
245
|
-
| Version | Date | Changes |
|
|
246
|
-
| ------- | ---------- | ------------ |
|
|
247
|
-
| 5.5.10 | 2025-06-29 | Init history |
|