@intlayer/docs 9.3.2 → 9.4.0-canary.0
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/README.md +1 -1
- package/blog/ar/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/de/nextjs-multilingual-seo-comparison.md +9 -9
- package/blog/en/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/en-GB/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/es/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/fr/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/hi/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/id/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/it/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/ja/nextjs-multilingual-seo-comparison.md +9 -9
- package/blog/ko/nextjs-multilingual-seo-comparison.md +9 -9
- package/blog/pl/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/pt/nextjs-multilingual-seo-comparison.md +9 -9
- package/blog/ru/nextjs-multilingual-seo-comparison.md +9 -9
- package/blog/tr/nextjs-multilingual-seo-comparison.md +9 -9
- package/blog/uk/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/vi/nextjs-multilingual-seo-comparison.md +10 -10
- package/blog/zh/nextjs-multilingual-seo-comparison.md +10 -10
- package/docs/ar/agent_skills.md +7 -7
- package/docs/ar/analytics.md +28 -5
- package/docs/ar/bundle_optimization.md +3 -3
- package/docs/ar/configuration.md +44 -18
- package/docs/ar/dictionary/content_file.md +0 -22
- package/docs/ar/dictionary/function_fetching.md +23 -0
- package/docs/ar/eslint.md +9 -9
- package/docs/ar/interest_of_intlayer.md +1 -1
- package/docs/ar/intlayer_with_analog.md +1 -1
- package/docs/ar/intlayer_with_angular_19.md +1 -1
- package/docs/ar/intlayer_with_angular_21.md +1 -1
- package/docs/ar/intlayer_with_astro.md +1 -1
- package/docs/ar/intlayer_with_astro_lit.md +1 -1
- package/docs/ar/intlayer_with_astro_preact.md +1 -1
- package/docs/ar/intlayer_with_astro_react.md +1 -1
- package/docs/ar/intlayer_with_astro_solid.md +1 -1
- package/docs/ar/intlayer_with_astro_svelte.md +1 -1
- package/docs/ar/intlayer_with_astro_vanilla.md +1 -1
- package/docs/ar/intlayer_with_astro_vue.md +1 -1
- package/docs/ar/intlayer_with_lynx+react.md +1 -1
- package/docs/ar/intlayer_with_nextjs_14.md +1 -1
- package/docs/ar/intlayer_with_nextjs_15.md +1 -1
- package/docs/ar/intlayer_with_nextjs_16.md +1 -1
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/ar/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/ar/intlayer_with_nuxt.md +1 -1
- package/docs/ar/intlayer_with_react_native+expo.md +1 -1
- package/docs/ar/intlayer_with_react_router_v7.md +1 -1
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/ar/intlayer_with_solid_start.md +1 -1
- package/docs/ar/intlayer_with_storybook.md +1 -1
- package/docs/ar/intlayer_with_svelte_kit.md +1 -1
- package/docs/ar/intlayer_with_tanstack+solid.md +1 -1
- package/docs/ar/intlayer_with_tanstack.md +1 -1
- package/docs/ar/intlayer_with_vanilla.md +1 -1
- package/docs/ar/intlayer_with_vite+lit.md +1 -1
- package/docs/ar/intlayer_with_vite+preact.md +1 -1
- package/docs/ar/intlayer_with_vite+react.md +1 -1
- package/docs/ar/intlayer_with_vite+solid.md +1 -1
- package/docs/ar/intlayer_with_vite+svelte.md +1 -1
- package/docs/ar/intlayer_with_vite+vanilla.md +1 -1
- package/docs/ar/intlayer_with_vite+vue.md +1 -1
- package/docs/ar/introduction.md +1 -1
- package/docs/ar/mcp_server.md +34 -21
- package/docs/ar/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/ar/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/ar/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/ar/packages/vite-intlayer/intlayerPrune.md +8 -2
- package/docs/bn/bundle_optimization.md +2 -2
- package/docs/bn/configuration.md +46 -18
- package/docs/bn/eslint.md +9 -9
- package/docs/cs/bundle_optimization.md +3 -3
- package/docs/cs/configuration.md +45 -18
- package/docs/cs/eslint.md +9 -9
- package/docs/de/analytics.md +28 -5
- package/docs/de/bundle_optimization.md +3 -3
- package/docs/de/configuration.md +46 -18
- package/docs/de/dictionary/content_file.md +0 -22
- package/docs/de/dictionary/function_fetching.md +23 -0
- package/docs/de/eslint.md +9 -9
- package/docs/de/intlayer_with_analog.md +1 -1
- package/docs/de/intlayer_with_angular_19.md +1 -1
- package/docs/de/intlayer_with_angular_21.md +1 -1
- package/docs/de/intlayer_with_astro.md +1 -1
- package/docs/de/intlayer_with_astro_lit.md +1 -1
- package/docs/de/intlayer_with_astro_preact.md +1 -1
- package/docs/de/intlayer_with_astro_react.md +1 -1
- package/docs/de/intlayer_with_astro_solid.md +1 -1
- package/docs/de/intlayer_with_astro_svelte.md +1 -1
- package/docs/de/intlayer_with_astro_vanilla.md +1 -1
- package/docs/de/intlayer_with_astro_vue.md +1 -1
- package/docs/de/intlayer_with_lynx+react.md +1 -1
- package/docs/de/intlayer_with_nextjs_14.md +1 -1
- package/docs/de/intlayer_with_nextjs_15.md +1 -1
- package/docs/de/intlayer_with_nextjs_16.md +1 -1
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/de/intlayer_with_nuxt.md +1 -1
- package/docs/de/intlayer_with_react_native+expo.md +1 -1
- package/docs/de/intlayer_with_react_router_v7.md +1 -1
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/de/intlayer_with_solid_start.md +1 -1
- package/docs/de/intlayer_with_storybook.md +1 -1
- package/docs/de/intlayer_with_svelte_kit.md +1 -1
- package/docs/de/intlayer_with_tanstack+solid.md +1 -1
- package/docs/de/intlayer_with_tanstack.md +1 -1
- package/docs/de/intlayer_with_vanilla.md +1 -1
- package/docs/de/intlayer_with_vite+lit.md +1 -1
- package/docs/de/intlayer_with_vite+preact.md +1 -1
- package/docs/de/intlayer_with_vite+react.md +1 -1
- package/docs/de/intlayer_with_vite+solid.md +1 -1
- package/docs/de/intlayer_with_vite+svelte.md +1 -1
- package/docs/de/intlayer_with_vite+vanilla.md +1 -1
- package/docs/de/intlayer_with_vite+vue.md +1 -1
- package/docs/de/introduction.md +1 -1
- package/docs/de/mcp_server.md +34 -21
- package/docs/de/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/de/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/de/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/de/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/de/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/de/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/en/analytics.md +29 -6
- package/docs/en/bundle_optimization.md +3 -3
- package/docs/en/configuration.md +46 -18
- package/docs/en/dictionary/content_file.md +0 -22
- package/docs/en/dictionary/function_fetching.md +23 -0
- package/docs/en/dynamic_dictionaries/variants.md +41 -18
- package/docs/en/eslint.md +9 -9
- package/docs/en/formatters.md +5 -2
- package/docs/en/intlayer_with_nextjs_14.md +101 -1
- package/docs/en/intlayer_with_nextjs_15.md +105 -1
- package/docs/en/intlayer_with_nextjs_16.md +105 -1
- package/docs/en/intlayer_with_nextjs_compiler.md +39 -14
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +121 -1
- package/docs/en/mcp_server.md +34 -19
- package/docs/en/packages/intlayer/getLocalizedPath.md +70 -19
- package/docs/en/packages/next-intlayer/exports.md +13 -10
- package/docs/en/packages/next-intlayer/t.md +35 -9
- package/docs/en/packages/next-intlayer/useDictionary.md +5 -2
- package/docs/en/packages/next-intlayer/useIntlayer.md +36 -1
- package/docs/en/packages/react-intlayer/exports.md +14 -11
- package/docs/en/packages/react-intlayer/useI18n.md +35 -1
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/en-GB/analytics.md +28 -5
- package/docs/en-GB/bundle_optimization.md +2 -2
- package/docs/en-GB/configuration.md +45 -18
- package/docs/en-GB/dictionary/content_file.md +0 -22
- package/docs/en-GB/dictionary/function_fetching.md +23 -0
- package/docs/en-GB/eslint.md +9 -9
- package/docs/en-GB/interest_of_intlayer.md +1 -1
- package/docs/en-GB/intlayer_with_analog.md +1 -1
- package/docs/en-GB/intlayer_with_angular_19.md +1 -1
- package/docs/en-GB/intlayer_with_angular_21.md +1 -1
- package/docs/en-GB/intlayer_with_astro.md +1 -1
- package/docs/en-GB/intlayer_with_astro_lit.md +1 -1
- package/docs/en-GB/intlayer_with_astro_preact.md +1 -1
- package/docs/en-GB/intlayer_with_astro_react.md +1 -1
- package/docs/en-GB/intlayer_with_astro_solid.md +1 -1
- package/docs/en-GB/intlayer_with_astro_svelte.md +1 -1
- package/docs/en-GB/intlayer_with_astro_vanilla.md +1 -1
- package/docs/en-GB/intlayer_with_astro_vue.md +1 -1
- package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_15.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_16.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/en-GB/intlayer_with_nuxt.md +1 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
- package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/en-GB/intlayer_with_solid_start.md +1 -1
- package/docs/en-GB/intlayer_with_storybook.md +1 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +1 -1
- package/docs/en-GB/intlayer_with_tanstack+solid.md +1 -1
- package/docs/en-GB/intlayer_with_tanstack.md +1 -1
- package/docs/en-GB/intlayer_with_vanilla.md +1 -1
- package/docs/en-GB/intlayer_with_vite+lit.md +1 -1
- package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
- package/docs/en-GB/intlayer_with_vite+react.md +1 -1
- package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
- package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
- package/docs/en-GB/intlayer_with_vite+vanilla.md +1 -1
- package/docs/en-GB/intlayer_with_vite+vue.md +1 -1
- package/docs/en-GB/mcp_server.md +34 -21
- package/docs/en-GB/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/en-GB/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/es/agent_skills.md +7 -7
- package/docs/es/analytics.md +28 -5
- package/docs/es/bundle_optimization.md +3 -3
- package/docs/es/configuration.md +47 -18
- package/docs/es/dictionary/content_file.md +0 -22
- package/docs/es/dictionary/function_fetching.md +23 -0
- package/docs/es/eslint.md +9 -9
- package/docs/es/intlayer_with_analog.md +1 -1
- package/docs/es/intlayer_with_angular_19.md +1 -1
- package/docs/es/intlayer_with_angular_21.md +1 -1
- package/docs/es/intlayer_with_astro.md +1 -1
- package/docs/es/intlayer_with_astro_lit.md +1 -1
- package/docs/es/intlayer_with_astro_preact.md +1 -1
- package/docs/es/intlayer_with_astro_react.md +1 -1
- package/docs/es/intlayer_with_astro_solid.md +1 -1
- package/docs/es/intlayer_with_astro_svelte.md +1 -1
- package/docs/es/intlayer_with_astro_vanilla.md +1 -1
- package/docs/es/intlayer_with_astro_vue.md +1 -1
- package/docs/es/intlayer_with_lynx+react.md +1 -1
- package/docs/es/intlayer_with_nextjs_14.md +1 -1
- package/docs/es/intlayer_with_nextjs_15.md +1 -1
- package/docs/es/intlayer_with_nextjs_16.md +1 -1
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/es/intlayer_with_nuxt.md +1 -1
- package/docs/es/intlayer_with_react_native+expo.md +1 -1
- package/docs/es/intlayer_with_react_router_v7.md +1 -1
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/es/intlayer_with_solid_start.md +1 -1
- package/docs/es/intlayer_with_storybook.md +1 -1
- package/docs/es/intlayer_with_svelte_kit.md +1 -1
- package/docs/es/intlayer_with_tanstack+solid.md +1 -1
- package/docs/es/intlayer_with_tanstack.md +1 -1
- package/docs/es/intlayer_with_vanilla.md +1 -1
- package/docs/es/intlayer_with_vite+lit.md +1 -1
- package/docs/es/intlayer_with_vite+preact.md +1 -1
- package/docs/es/intlayer_with_vite+react.md +1 -1
- package/docs/es/intlayer_with_vite+solid.md +1 -1
- package/docs/es/intlayer_with_vite+svelte.md +1 -1
- package/docs/es/intlayer_with_vite+vanilla.md +1 -1
- package/docs/es/intlayer_with_vite+vue.md +1 -1
- package/docs/es/mcp_server.md +34 -19
- package/docs/es/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/es/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/es/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/es/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/es/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/es/packages/vite-intlayer/intlayerPrune.md +8 -2
- package/docs/fr/agent_skills.md +7 -7
- package/docs/fr/analytics.md +28 -5
- package/docs/fr/bundle_optimization.md +3 -3
- package/docs/fr/configuration.md +47 -18
- package/docs/fr/dictionary/content_file.md +0 -22
- package/docs/fr/dictionary/function_fetching.md +23 -0
- package/docs/fr/eslint.md +9 -9
- package/docs/fr/intlayer_with_react_native+expo.md +1 -1
- package/docs/fr/intlayer_with_solid_start.md +1 -1
- package/docs/fr/mcp_server.md +34 -19
- package/docs/fr/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/fr/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/fr/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/fr/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/hi/agent_skills.md +7 -7
- package/docs/hi/analytics.md +28 -5
- package/docs/hi/bundle_optimization.md +2 -2
- package/docs/hi/configuration.md +47 -18
- package/docs/hi/dictionary/content_file.md +0 -22
- package/docs/hi/dictionary/function_fetching.md +23 -0
- package/docs/hi/eslint.md +9 -9
- package/docs/hi/interest_of_intlayer.md +1 -1
- package/docs/hi/intlayer_with_analog.md +1 -1
- package/docs/hi/intlayer_with_angular_19.md +1 -1
- package/docs/hi/intlayer_with_angular_21.md +1 -1
- package/docs/hi/intlayer_with_astro.md +1 -1
- package/docs/hi/intlayer_with_astro_lit.md +4 -4
- package/docs/hi/intlayer_with_astro_preact.md +1 -1
- package/docs/hi/intlayer_with_astro_react.md +1 -1
- package/docs/hi/intlayer_with_astro_solid.md +1 -1
- package/docs/hi/intlayer_with_astro_svelte.md +1 -1
- package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
- package/docs/hi/intlayer_with_astro_vue.md +1 -1
- package/docs/hi/intlayer_with_lynx+react.md +1 -1
- package/docs/hi/intlayer_with_nextjs_14.md +1 -1
- package/docs/hi/intlayer_with_nextjs_15.md +1 -1
- package/docs/hi/intlayer_with_nextjs_16.md +1 -1
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/hi/intlayer_with_nuxt.md +1 -1
- package/docs/hi/intlayer_with_react_native+expo.md +1 -1
- package/docs/hi/intlayer_with_react_router_v7.md +1 -1
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/hi/intlayer_with_solid_start.md +1 -1
- package/docs/hi/intlayer_with_storybook.md +1 -1
- package/docs/hi/intlayer_with_svelte_kit.md +1 -1
- package/docs/hi/intlayer_with_tanstack+solid.md +1 -1
- package/docs/hi/intlayer_with_tanstack.md +1 -1
- package/docs/hi/intlayer_with_vanilla.md +1 -1
- package/docs/hi/intlayer_with_vite+lit.md +1 -1
- package/docs/hi/intlayer_with_vite+preact.md +1 -1
- package/docs/hi/intlayer_with_vite+react.md +1 -1
- package/docs/hi/intlayer_with_vite+solid.md +1 -1
- package/docs/hi/intlayer_with_vite+svelte.md +1 -1
- package/docs/hi/intlayer_with_vite+vanilla.md +1 -1
- package/docs/hi/intlayer_with_vite+vue.md +1 -1
- package/docs/hi/mcp_server.md +34 -21
- package/docs/hi/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/hi/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/id/agent_skills.md +6 -6
- package/docs/id/analytics.md +28 -5
- package/docs/id/bundle_optimization.md +2 -2
- package/docs/id/configuration.md +47 -18
- package/docs/id/dictionary/content_file.md +0 -22
- package/docs/id/dictionary/function_fetching.md +23 -0
- package/docs/id/eslint.md +9 -9
- package/docs/id/interest_of_intlayer.md +1 -1
- package/docs/id/intlayer_with_analog.md +1 -1
- package/docs/id/intlayer_with_angular_19.md +1 -1
- package/docs/id/intlayer_with_angular_21.md +1 -1
- package/docs/id/intlayer_with_astro.md +1 -1
- package/docs/id/intlayer_with_astro_lit.md +1 -1
- package/docs/id/intlayer_with_astro_preact.md +1 -1
- package/docs/id/intlayer_with_astro_react.md +1 -1
- package/docs/id/intlayer_with_astro_solid.md +1 -1
- package/docs/id/intlayer_with_astro_svelte.md +1 -1
- package/docs/id/intlayer_with_astro_vanilla.md +1 -1
- package/docs/id/intlayer_with_astro_vue.md +1 -1
- package/docs/id/intlayer_with_lynx+react.md +1 -1
- package/docs/id/intlayer_with_nextjs_14.md +1 -1
- package/docs/id/intlayer_with_nextjs_15.md +1 -1
- package/docs/id/intlayer_with_nextjs_16.md +1 -1
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/id/intlayer_with_nuxt.md +1 -1
- package/docs/id/intlayer_with_react_native+expo.md +1 -1
- package/docs/id/intlayer_with_react_router_v7.md +1 -1
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/id/intlayer_with_solid_start.md +1 -1
- package/docs/id/intlayer_with_storybook.md +1 -1
- package/docs/id/intlayer_with_svelte_kit.md +1 -1
- package/docs/id/intlayer_with_tanstack+solid.md +1 -1
- package/docs/id/intlayer_with_tanstack.md +1 -1
- package/docs/id/intlayer_with_vanilla.md +1 -1
- package/docs/id/intlayer_with_vite+lit.md +1 -1
- package/docs/id/intlayer_with_vite+preact.md +1 -1
- package/docs/id/intlayer_with_vite+react.md +1 -1
- package/docs/id/intlayer_with_vite+solid.md +1 -1
- package/docs/id/intlayer_with_vite+svelte.md +1 -1
- package/docs/id/intlayer_with_vite+vanilla.md +1 -1
- package/docs/id/intlayer_with_vite+vue.md +1 -1
- package/docs/id/introduction.md +1 -1
- package/docs/id/mcp_server.md +34 -21
- package/docs/id/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/id/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/it/agent_skills.md +6 -6
- package/docs/it/analytics.md +28 -5
- package/docs/it/bundle_optimization.md +3 -3
- package/docs/it/configuration.md +47 -18
- package/docs/it/dictionary/content_file.md +0 -22
- package/docs/it/dictionary/function_fetching.md +23 -0
- package/docs/it/eslint.md +9 -9
- package/docs/it/intlayer_with_analog.md +1 -1
- package/docs/it/intlayer_with_angular_19.md +1 -1
- package/docs/it/intlayer_with_angular_21.md +1 -1
- package/docs/it/intlayer_with_astro.md +1 -1
- package/docs/it/intlayer_with_astro_lit.md +1 -1
- package/docs/it/intlayer_with_astro_preact.md +1 -1
- package/docs/it/intlayer_with_astro_react.md +1 -1
- package/docs/it/intlayer_with_astro_solid.md +1 -1
- package/docs/it/intlayer_with_astro_svelte.md +1 -1
- package/docs/it/intlayer_with_astro_vanilla.md +1 -1
- package/docs/it/intlayer_with_astro_vue.md +1 -1
- package/docs/it/intlayer_with_lynx+react.md +1 -1
- package/docs/it/intlayer_with_nextjs_14.md +1 -1
- package/docs/it/intlayer_with_nextjs_15.md +1 -1
- package/docs/it/intlayer_with_nextjs_16.md +1 -1
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/it/intlayer_with_nuxt.md +1 -1
- package/docs/it/intlayer_with_react_native+expo.md +1 -1
- package/docs/it/intlayer_with_react_router_v7.md +1 -1
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/it/intlayer_with_solid_start.md +1 -1
- package/docs/it/intlayer_with_storybook.md +1 -1
- package/docs/it/intlayer_with_svelte_kit.md +1 -1
- package/docs/it/intlayer_with_tanstack+solid.md +1 -1
- package/docs/it/intlayer_with_tanstack.md +1 -1
- package/docs/it/intlayer_with_vanilla.md +1 -1
- package/docs/it/intlayer_with_vite+lit.md +1 -1
- package/docs/it/intlayer_with_vite+preact.md +1 -1
- package/docs/it/intlayer_with_vite+react.md +1 -1
- package/docs/it/intlayer_with_vite+solid.md +1 -1
- package/docs/it/intlayer_with_vite+svelte.md +1 -1
- package/docs/it/intlayer_with_vite+vanilla.md +1 -1
- package/docs/it/intlayer_with_vite+vue.md +1 -1
- package/docs/it/introduction.md +1 -1
- package/docs/it/mcp_server.md +34 -21
- package/docs/it/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/it/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/it/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/it/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/it/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/it/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/ja/agent_skills.md +6 -6
- package/docs/ja/analytics.md +28 -5
- package/docs/ja/bundle_optimization.md +2 -2
- package/docs/ja/configuration.md +42 -18
- package/docs/ja/dictionary/content_file.md +0 -22
- package/docs/ja/dictionary/function_fetching.md +23 -0
- package/docs/ja/eslint.md +9 -9
- package/docs/ja/interest_of_intlayer.md +1 -1
- package/docs/ja/intlayer_with_analog.md +1 -1
- package/docs/ja/intlayer_with_angular_19.md +1 -1
- package/docs/ja/intlayer_with_angular_21.md +1 -1
- package/docs/ja/intlayer_with_astro.md +1 -1
- package/docs/ja/intlayer_with_astro_lit.md +1 -1
- package/docs/ja/intlayer_with_astro_preact.md +1 -1
- package/docs/ja/intlayer_with_astro_react.md +1 -1
- package/docs/ja/intlayer_with_astro_solid.md +1 -1
- package/docs/ja/intlayer_with_astro_svelte.md +1 -1
- package/docs/ja/intlayer_with_astro_vanilla.md +1 -1
- package/docs/ja/intlayer_with_astro_vue.md +1 -1
- package/docs/ja/intlayer_with_lynx+react.md +1 -1
- package/docs/ja/intlayer_with_nextjs_14.md +1 -1
- package/docs/ja/intlayer_with_nextjs_15.md +1 -1
- package/docs/ja/intlayer_with_nextjs_16.md +1 -1
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/ja/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/ja/intlayer_with_nuxt.md +1 -1
- package/docs/ja/intlayer_with_react_native+expo.md +1 -1
- package/docs/ja/intlayer_with_react_router_v7.md +1 -1
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/ja/intlayer_with_solid_start.md +1 -1
- package/docs/ja/intlayer_with_storybook.md +1 -1
- package/docs/ja/intlayer_with_svelte_kit.md +1 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +1 -1
- package/docs/ja/intlayer_with_tanstack.md +1 -1
- package/docs/ja/intlayer_with_vanilla.md +1 -1
- package/docs/ja/intlayer_with_vite+lit.md +1 -1
- package/docs/ja/intlayer_with_vite+preact.md +1 -1
- package/docs/ja/intlayer_with_vite+react.md +1 -1
- package/docs/ja/intlayer_with_vite+solid.md +1 -1
- package/docs/ja/intlayer_with_vite+svelte.md +1 -1
- package/docs/ja/intlayer_with_vite+vanilla.md +1 -1
- package/docs/ja/intlayer_with_vite+vue.md +1 -1
- package/docs/ja/introduction.md +1 -1
- package/docs/ja/mcp_server.md +34 -19
- package/docs/ja/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/ja/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/ja/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/ja/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/ko/agent_skills.md +7 -7
- package/docs/ko/analytics.md +28 -5
- package/docs/ko/bundle_optimization.md +2 -2
- package/docs/ko/configuration.md +43 -18
- package/docs/ko/dictionary/content_file.md +0 -22
- package/docs/ko/dictionary/function_fetching.md +23 -0
- package/docs/ko/eslint.md +9 -9
- package/docs/ko/intlayer_with_analog.md +1 -1
- package/docs/ko/intlayer_with_angular_19.md +1 -1
- package/docs/ko/intlayer_with_angular_21.md +1 -1
- package/docs/ko/intlayer_with_astro.md +1 -1
- package/docs/ko/intlayer_with_astro_lit.md +4 -4
- package/docs/ko/intlayer_with_astro_preact.md +1 -1
- package/docs/ko/intlayer_with_astro_react.md +1 -1
- package/docs/ko/intlayer_with_astro_solid.md +1 -1
- package/docs/ko/intlayer_with_astro_svelte.md +1 -1
- package/docs/ko/intlayer_with_astro_vanilla.md +1 -1
- package/docs/ko/intlayer_with_astro_vue.md +1 -1
- package/docs/ko/intlayer_with_lynx+react.md +1 -1
- package/docs/ko/intlayer_with_nextjs_14.md +1 -1
- package/docs/ko/intlayer_with_nextjs_15.md +1 -1
- package/docs/ko/intlayer_with_nextjs_16.md +1 -1
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/ko/intlayer_with_nuxt.md +1 -1
- package/docs/ko/intlayer_with_react_native+expo.md +1 -1
- package/docs/ko/intlayer_with_react_router_v7.md +1 -1
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/ko/intlayer_with_solid_start.md +1 -1
- package/docs/ko/intlayer_with_storybook.md +1 -1
- package/docs/ko/intlayer_with_svelte_kit.md +1 -1
- package/docs/ko/intlayer_with_tanstack+solid.md +1 -1
- package/docs/ko/intlayer_with_tanstack.md +1 -1
- package/docs/ko/intlayer_with_vanilla.md +1 -1
- package/docs/ko/intlayer_with_vite+lit.md +1 -1
- package/docs/ko/intlayer_with_vite+preact.md +1 -1
- package/docs/ko/intlayer_with_vite+react.md +2 -2
- package/docs/ko/intlayer_with_vite+solid.md +1 -1
- package/docs/ko/intlayer_with_vite+svelte.md +1 -1
- package/docs/ko/intlayer_with_vite+vanilla.md +1 -1
- package/docs/ko/intlayer_with_vite+vue.md +1 -1
- package/docs/ko/introduction.md +1 -1
- package/docs/ko/mcp_server.md +34 -21
- package/docs/ko/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/ko/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/ko/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/ko/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/nl/bundle_optimization.md +2 -2
- package/docs/nl/configuration.md +45 -18
- package/docs/nl/eslint.md +9 -9
- package/docs/pl/agent_skills.md +5 -5
- package/docs/pl/analytics.md +28 -5
- package/docs/pl/bundle_optimization.md +3 -3
- package/docs/pl/configuration.md +46 -18
- package/docs/pl/dictionary/content_file.md +0 -22
- package/docs/pl/dictionary/function_fetching.md +23 -0
- package/docs/pl/eslint.md +9 -9
- package/docs/pl/intlayer_with_analog.md +1 -1
- package/docs/pl/intlayer_with_angular_19.md +1 -1
- package/docs/pl/intlayer_with_angular_21.md +1 -1
- package/docs/pl/intlayer_with_astro.md +1 -1
- package/docs/pl/intlayer_with_astro_lit.md +1 -1
- package/docs/pl/intlayer_with_astro_preact.md +1 -1
- package/docs/pl/intlayer_with_astro_react.md +1 -1
- package/docs/pl/intlayer_with_astro_solid.md +1 -1
- package/docs/pl/intlayer_with_astro_svelte.md +1 -1
- package/docs/pl/intlayer_with_astro_vanilla.md +1 -1
- package/docs/pl/intlayer_with_astro_vue.md +1 -1
- package/docs/pl/intlayer_with_lynx+react.md +1 -1
- package/docs/pl/intlayer_with_nextjs_14.md +1 -1
- package/docs/pl/intlayer_with_nextjs_15.md +1 -1
- package/docs/pl/intlayer_with_nextjs_16.md +1 -1
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/pl/intlayer_with_nuxt.md +1 -1
- package/docs/pl/intlayer_with_react_native+expo.md +1 -1
- package/docs/pl/intlayer_with_react_router_v7.md +1 -1
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/pl/intlayer_with_solid_start.md +1 -1
- package/docs/pl/intlayer_with_storybook.md +1 -1
- package/docs/pl/intlayer_with_svelte_kit.md +1 -1
- package/docs/pl/intlayer_with_tanstack+solid.md +1 -1
- package/docs/pl/intlayer_with_tanstack.md +1 -1
- package/docs/pl/intlayer_with_vanilla.md +1 -1
- package/docs/pl/intlayer_with_vite+lit.md +1 -1
- package/docs/pl/intlayer_with_vite+preact.md +1 -1
- package/docs/pl/intlayer_with_vite+react.md +1 -1
- package/docs/pl/intlayer_with_vite+solid.md +1 -1
- package/docs/pl/intlayer_with_vite+svelte.md +1 -1
- package/docs/pl/intlayer_with_vite+vanilla.md +1 -1
- package/docs/pl/intlayer_with_vite+vue.md +1 -1
- package/docs/pl/introduction.md +1 -1
- package/docs/pl/mcp_server.md +34 -21
- package/docs/pl/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/pl/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/pl/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/pl/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/pl/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/pt/agent_skills.md +6 -6
- package/docs/pt/analytics.md +28 -5
- package/docs/pt/bundle_optimization.md +3 -3
- package/docs/pt/configuration.md +46 -18
- package/docs/pt/dictionary/content_file.md +0 -22
- package/docs/pt/dictionary/function_fetching.md +23 -0
- package/docs/pt/eslint.md +9 -9
- package/docs/pt/intlayer_with_analog.md +1 -1
- package/docs/pt/intlayer_with_angular_19.md +1 -1
- package/docs/pt/intlayer_with_angular_21.md +1 -1
- package/docs/pt/intlayer_with_astro.md +1 -1
- package/docs/pt/intlayer_with_astro_lit.md +1 -1
- package/docs/pt/intlayer_with_astro_preact.md +1 -1
- package/docs/pt/intlayer_with_astro_react.md +1 -1
- package/docs/pt/intlayer_with_astro_solid.md +1 -1
- package/docs/pt/intlayer_with_astro_svelte.md +1 -1
- package/docs/pt/intlayer_with_astro_vanilla.md +1 -1
- package/docs/pt/intlayer_with_astro_vue.md +1 -1
- package/docs/pt/intlayer_with_lynx+react.md +1 -1
- package/docs/pt/intlayer_with_nextjs_14.md +1 -1
- package/docs/pt/intlayer_with_nextjs_15.md +1 -1
- package/docs/pt/intlayer_with_nextjs_16.md +1 -1
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/pt/intlayer_with_nuxt.md +1 -1
- package/docs/pt/intlayer_with_react_native+expo.md +1 -1
- package/docs/pt/intlayer_with_react_router_v7.md +1 -1
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/pt/intlayer_with_solid_start.md +1 -1
- package/docs/pt/intlayer_with_storybook.md +1 -1
- package/docs/pt/intlayer_with_svelte_kit.md +1 -1
- package/docs/pt/intlayer_with_tanstack+solid.md +1 -1
- package/docs/pt/intlayer_with_tanstack.md +1 -1
- package/docs/pt/intlayer_with_vanilla.md +1 -1
- package/docs/pt/intlayer_with_vite+lit.md +1 -1
- package/docs/pt/intlayer_with_vite+preact.md +1 -1
- package/docs/pt/intlayer_with_vite+react.md +1 -1
- package/docs/pt/intlayer_with_vite+solid.md +1 -1
- package/docs/pt/intlayer_with_vite+svelte.md +1 -1
- package/docs/pt/intlayer_with_vite+vanilla.md +1 -1
- package/docs/pt/intlayer_with_vite+vue.md +1 -1
- package/docs/pt/mcp_server.md +34 -21
- package/docs/pt/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/pt/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/pt/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/pt/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/ru/agent_skills.md +7 -7
- package/docs/ru/analytics.md +28 -5
- package/docs/ru/bundle_optimization.md +3 -3
- package/docs/ru/configuration.md +46 -18
- package/docs/ru/dictionary/content_file.md +0 -22
- package/docs/ru/dictionary/function_fetching.md +23 -0
- package/docs/ru/eslint.md +9 -9
- package/docs/ru/intlayer_with_analog.md +1 -1
- package/docs/ru/intlayer_with_angular_19.md +1 -1
- package/docs/ru/intlayer_with_angular_21.md +1 -1
- package/docs/ru/intlayer_with_astro.md +1 -1
- package/docs/ru/intlayer_with_astro_lit.md +4 -4
- package/docs/ru/intlayer_with_astro_preact.md +1 -1
- package/docs/ru/intlayer_with_astro_react.md +1 -1
- package/docs/ru/intlayer_with_astro_solid.md +1 -1
- package/docs/ru/intlayer_with_astro_svelte.md +1 -1
- package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
- package/docs/ru/intlayer_with_astro_vue.md +1 -1
- package/docs/ru/intlayer_with_lynx+react.md +1 -1
- package/docs/ru/intlayer_with_nextjs_14.md +1 -1
- package/docs/ru/intlayer_with_nextjs_15.md +1 -1
- package/docs/ru/intlayer_with_nextjs_16.md +1 -1
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/ru/intlayer_with_nuxt.md +1 -1
- package/docs/ru/intlayer_with_react_native+expo.md +1 -1
- package/docs/ru/intlayer_with_react_router_v7.md +1 -1
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/ru/intlayer_with_solid_start.md +1 -1
- package/docs/ru/intlayer_with_storybook.md +1 -1
- package/docs/ru/intlayer_with_svelte_kit.md +1 -1
- package/docs/ru/intlayer_with_tanstack+solid.md +1 -1
- package/docs/ru/intlayer_with_tanstack.md +1 -1
- package/docs/ru/intlayer_with_vanilla.md +1 -1
- package/docs/ru/intlayer_with_vite+lit.md +1 -1
- package/docs/ru/intlayer_with_vite+preact.md +1 -1
- package/docs/ru/intlayer_with_vite+react.md +1 -1
- package/docs/ru/intlayer_with_vite+solid.md +1 -1
- package/docs/ru/intlayer_with_vite+svelte.md +1 -1
- package/docs/ru/intlayer_with_vite+vanilla.md +1 -1
- package/docs/ru/intlayer_with_vite+vue.md +1 -1
- package/docs/ru/introduction.md +1 -1
- package/docs/ru/mcp_server.md +34 -21
- package/docs/ru/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/ru/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/ru/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/ru/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/tr/agent_skills.md +6 -6
- package/docs/tr/analytics.md +28 -5
- package/docs/tr/bundle_optimization.md +3 -3
- package/docs/tr/configuration.md +45 -18
- package/docs/tr/dictionary/content_file.md +0 -22
- package/docs/tr/dictionary/function_fetching.md +23 -0
- package/docs/tr/eslint.md +9 -9
- package/docs/tr/intlayer_with_analog.md +1 -1
- package/docs/tr/intlayer_with_angular_19.md +1 -1
- package/docs/tr/intlayer_with_angular_21.md +1 -1
- package/docs/tr/intlayer_with_astro.md +1 -1
- package/docs/tr/intlayer_with_astro_lit.md +1 -1
- package/docs/tr/intlayer_with_astro_preact.md +1 -1
- package/docs/tr/intlayer_with_astro_react.md +1 -1
- package/docs/tr/intlayer_with_astro_solid.md +1 -1
- package/docs/tr/intlayer_with_astro_svelte.md +1 -1
- package/docs/tr/intlayer_with_astro_vanilla.md +1 -1
- package/docs/tr/intlayer_with_astro_vue.md +1 -1
- package/docs/tr/intlayer_with_lynx+react.md +1 -1
- package/docs/tr/intlayer_with_nextjs_14.md +1 -1
- package/docs/tr/intlayer_with_nextjs_15.md +1 -1
- package/docs/tr/intlayer_with_nextjs_16.md +1 -1
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/tr/intlayer_with_nuxt.md +1 -1
- package/docs/tr/intlayer_with_react_native+expo.md +1 -1
- package/docs/tr/intlayer_with_react_router_v7.md +1 -1
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/tr/intlayer_with_solid_start.md +1 -1
- package/docs/tr/intlayer_with_storybook.md +1 -1
- package/docs/tr/intlayer_with_svelte_kit.md +1 -1
- package/docs/tr/intlayer_with_tanstack+solid.md +1 -1
- package/docs/tr/intlayer_with_tanstack.md +1 -1
- package/docs/tr/intlayer_with_vanilla.md +1 -1
- package/docs/tr/intlayer_with_vite+lit.md +1 -1
- package/docs/tr/intlayer_with_vite+preact.md +1 -1
- package/docs/tr/intlayer_with_vite+react.md +1 -1
- package/docs/tr/intlayer_with_vite+solid.md +1 -1
- package/docs/tr/intlayer_with_vite+svelte.md +1 -1
- package/docs/tr/intlayer_with_vite+vanilla.md +1 -1
- package/docs/tr/intlayer_with_vite+vue.md +1 -1
- package/docs/tr/introduction.md +1 -1
- package/docs/tr/mcp_server.md +34 -21
- package/docs/tr/migration_from_i18next_to_intlayer.md +1 -1
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +1 -1
- package/docs/tr/migration_from_next-intl_to_intlayer.md +1 -1
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +1 -1
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +1 -1
- package/docs/tr/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/tr/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/uk/agent_skills.md +5 -5
- package/docs/uk/analytics.md +28 -5
- package/docs/uk/bundle_optimization.md +2 -2
- package/docs/uk/configuration.md +47 -18
- package/docs/uk/dictionary/content_file.md +0 -22
- package/docs/uk/dictionary/function_fetching.md +23 -0
- package/docs/uk/eslint.md +9 -9
- package/docs/uk/interest_of_intlayer.md +1 -1
- package/docs/uk/intlayer_with_analog.md +1 -1
- package/docs/uk/intlayer_with_angular_19.md +1 -1
- package/docs/uk/intlayer_with_angular_21.md +1 -1
- package/docs/uk/intlayer_with_astro.md +1 -1
- package/docs/uk/intlayer_with_astro_lit.md +1 -1
- package/docs/uk/intlayer_with_astro_preact.md +1 -1
- package/docs/uk/intlayer_with_astro_react.md +1 -1
- package/docs/uk/intlayer_with_astro_solid.md +1 -1
- package/docs/uk/intlayer_with_astro_svelte.md +1 -1
- package/docs/uk/intlayer_with_astro_vanilla.md +1 -1
- package/docs/uk/intlayer_with_astro_vue.md +1 -1
- package/docs/uk/intlayer_with_lynx+react.md +1 -1
- package/docs/uk/intlayer_with_nextjs_14.md +1 -1
- package/docs/uk/intlayer_with_nextjs_15.md +1 -1
- package/docs/uk/intlayer_with_nextjs_16.md +1 -1
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/uk/intlayer_with_nuxt.md +1 -1
- package/docs/uk/intlayer_with_react_native+expo.md +1 -1
- package/docs/uk/intlayer_with_react_router_v7.md +1 -1
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +2 -2
- package/docs/uk/intlayer_with_solid_start.md +1 -1
- package/docs/uk/intlayer_with_storybook.md +1 -1
- package/docs/uk/intlayer_with_svelte_kit.md +1 -1
- package/docs/uk/intlayer_with_tanstack+solid.md +1 -1
- package/docs/uk/intlayer_with_tanstack.md +1 -1
- package/docs/uk/intlayer_with_vanilla.md +1 -1
- package/docs/uk/intlayer_with_vite+lit.md +1 -1
- package/docs/uk/intlayer_with_vite+preact.md +1 -1
- package/docs/uk/intlayer_with_vite+react.md +1 -1
- package/docs/uk/intlayer_with_vite+solid.md +1 -1
- package/docs/uk/intlayer_with_vite+svelte.md +1 -1
- package/docs/uk/intlayer_with_vite+vanilla.md +1 -1
- package/docs/uk/intlayer_with_vite+vue.md +1 -1
- package/docs/uk/introduction.md +1 -1
- package/docs/uk/mcp_server.md +34 -21
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
- package/docs/uk/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/uk/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/ur/bundle_optimization.md +2 -2
- package/docs/ur/configuration.md +47 -18
- package/docs/ur/eslint.md +9 -9
- package/docs/ur/introduction.md +1 -1
- package/docs/vi/agent_skills.md +6 -6
- package/docs/vi/analytics.md +28 -5
- package/docs/vi/bundle_optimization.md +3 -3
- package/docs/vi/configuration.md +45 -18
- package/docs/vi/dictionary/content_file.md +0 -22
- package/docs/vi/dictionary/function_fetching.md +23 -0
- package/docs/vi/eslint.md +9 -9
- package/docs/vi/interest_of_intlayer.md +1 -1
- package/docs/vi/intlayer_with_analog.md +1 -1
- package/docs/vi/intlayer_with_angular_19.md +1 -1
- package/docs/vi/intlayer_with_angular_21.md +1 -1
- package/docs/vi/intlayer_with_astro.md +1 -1
- package/docs/vi/intlayer_with_astro_lit.md +1 -1
- package/docs/vi/intlayer_with_astro_preact.md +1 -1
- package/docs/vi/intlayer_with_astro_react.md +1 -1
- package/docs/vi/intlayer_with_astro_solid.md +1 -1
- package/docs/vi/intlayer_with_astro_svelte.md +1 -1
- package/docs/vi/intlayer_with_astro_vanilla.md +1 -1
- package/docs/vi/intlayer_with_astro_vue.md +1 -1
- package/docs/vi/intlayer_with_lynx+react.md +1 -1
- package/docs/vi/intlayer_with_nextjs_14.md +1 -1
- package/docs/vi/intlayer_with_nextjs_15.md +1 -1
- package/docs/vi/intlayer_with_nextjs_16.md +1 -1
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/vi/intlayer_with_nuxt.md +1 -1
- package/docs/vi/intlayer_with_react_native+expo.md +1 -1
- package/docs/vi/intlayer_with_react_router_v7.md +1 -1
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/vi/intlayer_with_solid_start.md +1 -1
- package/docs/vi/intlayer_with_storybook.md +1 -1
- package/docs/vi/intlayer_with_svelte_kit.md +1 -1
- package/docs/vi/intlayer_with_tanstack+solid.md +1 -1
- package/docs/vi/intlayer_with_tanstack.md +1 -1
- package/docs/vi/intlayer_with_vanilla.md +1 -1
- package/docs/vi/intlayer_with_vite+lit.md +1 -1
- package/docs/vi/intlayer_with_vite+preact.md +1 -1
- package/docs/vi/intlayer_with_vite+react.md +1 -1
- package/docs/vi/intlayer_with_vite+solid.md +1 -1
- package/docs/vi/intlayer_with_vite+svelte.md +1 -1
- package/docs/vi/intlayer_with_vite+vanilla.md +1 -1
- package/docs/vi/intlayer_with_vite+vue.md +1 -1
- package/docs/vi/mcp_server.md +34 -21
- package/docs/vi/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/vi/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/zh/agent_skills.md +7 -7
- package/docs/zh/analytics.md +28 -5
- package/docs/zh/bundle_optimization.md +3 -3
- package/docs/zh/configuration.md +41 -18
- package/docs/zh/dictionary/content_file.md +0 -22
- package/docs/zh/dictionary/function_fetching.md +23 -0
- package/docs/zh/eslint.md +9 -9
- package/docs/zh/intlayer_with_analog.md +1 -1
- package/docs/zh/intlayer_with_angular_19.md +1 -1
- package/docs/zh/intlayer_with_angular_21.md +1 -1
- package/docs/zh/intlayer_with_astro.md +1 -1
- package/docs/zh/intlayer_with_astro_lit.md +1 -1
- package/docs/zh/intlayer_with_astro_preact.md +1 -1
- package/docs/zh/intlayer_with_astro_react.md +1 -1
- package/docs/zh/intlayer_with_astro_solid.md +1 -1
- package/docs/zh/intlayer_with_astro_svelte.md +1 -1
- package/docs/zh/intlayer_with_astro_vanilla.md +1 -1
- package/docs/zh/intlayer_with_astro_vue.md +1 -1
- package/docs/zh/intlayer_with_lynx+react.md +1 -1
- package/docs/zh/intlayer_with_nextjs_14.md +1 -1
- package/docs/zh/intlayer_with_nextjs_15.md +1 -1
- package/docs/zh/intlayer_with_nextjs_16.md +1 -1
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1 -1
- package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/zh/intlayer_with_nuxt.md +1 -1
- package/docs/zh/intlayer_with_react_native+expo.md +1 -1
- package/docs/zh/intlayer_with_react_router_v7.md +1 -1
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/zh/intlayer_with_solid_start.md +1 -1
- package/docs/zh/intlayer_with_storybook.md +1 -1
- package/docs/zh/intlayer_with_svelte_kit.md +1 -1
- package/docs/zh/intlayer_with_tanstack+solid.md +1 -1
- package/docs/zh/intlayer_with_tanstack.md +1 -1
- package/docs/zh/intlayer_with_vanilla.md +1 -1
- package/docs/zh/intlayer_with_vite+lit.md +1 -1
- package/docs/zh/intlayer_with_vite+preact.md +1 -1
- package/docs/zh/intlayer_with_vite+react.md +1 -1
- package/docs/zh/intlayer_with_vite+svelte.md +1 -1
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -1
- package/docs/zh/intlayer_with_vite+vue.md +1 -1
- package/docs/zh/mcp_server.md +34 -19
- package/docs/zh/packages/intlayer/getLocalizedPath.md +14 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +1 -1
- package/docs/zh/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/zh-TW/bundle_optimization.md +3 -3
- package/docs/zh-TW/eslint.md +9 -9
- package/package.json +7 -7
package/docs/en/mcp_server.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-06-07
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-08-21
|
|
4
4
|
title: MCP Server Documentation
|
|
5
5
|
description: Explore the features and setup of the MCP Server to optimize your server management and operations.
|
|
6
6
|
keywords:
|
|
@@ -15,6 +15,9 @@ slugs:
|
|
|
15
15
|
- doc
|
|
16
16
|
- mcp-server
|
|
17
17
|
history:
|
|
18
|
+
- version: 9.3.3
|
|
19
|
+
date: 2026-08-21
|
|
20
|
+
changes: "Group the platform setup sections into tabs"
|
|
18
21
|
- version: 5.5.12
|
|
19
22
|
date: 2025-07-11
|
|
20
23
|
changes: "Add set up of ChatGPT"
|
|
@@ -113,13 +116,18 @@ This command will:
|
|
|
113
116
|
|
|
114
117
|
---
|
|
115
118
|
|
|
116
|
-
##
|
|
119
|
+
## Manual setup
|
|
120
|
+
|
|
121
|
+
<Tabs defaultTab="cursor">
|
|
122
|
+
<Tab label="Cursor" value="cursor">
|
|
123
|
+
|
|
124
|
+
### Setup in Cursor
|
|
117
125
|
|
|
118
126
|
Follow the [official documentation](https://docs.cursor.com/context/mcp) to configure the MCP server in Cursor.
|
|
119
127
|
|
|
120
128
|
In your project root, add the following `.cursor/mcp.json` configuration file:
|
|
121
129
|
|
|
122
|
-
|
|
130
|
+
#### Local server (stdio) (recommended)
|
|
123
131
|
|
|
124
132
|
```json fileName=".cursor/mcp.json"
|
|
125
133
|
{
|
|
@@ -132,7 +140,7 @@ In your project root, add the following `.cursor/mcp.json` configuration file:
|
|
|
132
140
|
}
|
|
133
141
|
```
|
|
134
142
|
|
|
135
|
-
|
|
143
|
+
#### Remote server (Streamable HTTP)
|
|
136
144
|
|
|
137
145
|
For connecting to a remote Intlayer MCP server using Streamable HTTP, you can configure your MCP client to connect to the hosted service.
|
|
138
146
|
|
|
@@ -149,15 +157,16 @@ For connecting to a remote Intlayer MCP server using Streamable HTTP, you can co
|
|
|
149
157
|
|
|
150
158
|
This tells your IDE to launch the Intlayer MCP server using `npx`, ensuring it always uses the latest available version unless you pin it.
|
|
151
159
|
|
|
152
|
-
|
|
160
|
+
</Tab>
|
|
161
|
+
<Tab label="VS Code" value="vscode">
|
|
153
162
|
|
|
154
|
-
|
|
163
|
+
### Setup in VS Code
|
|
155
164
|
|
|
156
165
|
Follow the [official documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) to configure the MCP server in VS Code.
|
|
157
166
|
|
|
158
167
|
To use the Intlayer MCP Server with VS Code, you need to configure it in your workspace or user settings.
|
|
159
168
|
|
|
160
|
-
|
|
169
|
+
#### Local server (stdio) (recommended)
|
|
161
170
|
|
|
162
171
|
Create a `.vscode/mcp.json` file in your project root:
|
|
163
172
|
|
|
@@ -173,7 +182,7 @@ Create a `.vscode/mcp.json` file in your project root:
|
|
|
173
182
|
}
|
|
174
183
|
```
|
|
175
184
|
|
|
176
|
-
|
|
185
|
+
#### Remote server (Streamable HTTP)
|
|
177
186
|
|
|
178
187
|
For connecting to a remote Intlayer MCP server using Streamable HTTP, you can configure your MCP client to connect to the hosted service.
|
|
179
188
|
|
|
@@ -188,11 +197,12 @@ For connecting to a remote Intlayer MCP server using Streamable HTTP, you can co
|
|
|
188
197
|
}
|
|
189
198
|
```
|
|
190
199
|
|
|
191
|
-
|
|
200
|
+
</Tab>
|
|
201
|
+
<Tab label="ChatGPT" value="chatgpt">
|
|
192
202
|
|
|
193
|
-
|
|
203
|
+
### Set Up in ChatGPT
|
|
194
204
|
|
|
195
|
-
|
|
205
|
+
#### Remote server (Streamable HTTP)
|
|
196
206
|
|
|
197
207
|
Follow the [official documentation](https://platform.openai.com/docs/mcp#test-and-connect-your-mcp-server) to configure the MCP server in ChatGPT.
|
|
198
208
|
|
|
@@ -209,9 +219,10 @@ Follow the [official documentation](https://platform.openai.com/docs/mcp#test-an
|
|
|
209
219
|
|
|
210
220
|
7. Click on `Save`
|
|
211
221
|
|
|
212
|
-
|
|
222
|
+
</Tab>
|
|
223
|
+
<Tab label="Claude Desktop" value="claude-desktop">
|
|
213
224
|
|
|
214
|
-
|
|
225
|
+
### Set Up in Claude Desktop
|
|
215
226
|
|
|
216
227
|
Follow the [official documentation](https://modelcontextprotocol.io/quickstart/user#2-add-the-filesystem-mcp-server) to configure the MCP server in Claude Desktop.
|
|
217
228
|
|
|
@@ -220,7 +231,7 @@ Path of the config file:
|
|
|
220
231
|
- macOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
|
|
221
232
|
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
222
233
|
|
|
223
|
-
|
|
234
|
+
#### Local server (stdio) (recommended)
|
|
224
235
|
|
|
225
236
|
```json fileName="claude_desktop_config.json"
|
|
226
237
|
{
|
|
@@ -233,7 +244,7 @@ Path of the config file:
|
|
|
233
244
|
}
|
|
234
245
|
```
|
|
235
246
|
|
|
236
|
-
|
|
247
|
+
#### Remote server (Streamable HTTP)
|
|
237
248
|
|
|
238
249
|
```json fileName="claude_desktop_config.json"
|
|
239
250
|
{
|
|
@@ -246,13 +257,14 @@ Path of the config file:
|
|
|
246
257
|
}
|
|
247
258
|
```
|
|
248
259
|
|
|
249
|
-
|
|
260
|
+
</Tab>
|
|
261
|
+
<Tab label="Claude Code (CLI)" value="claude-code">
|
|
250
262
|
|
|
251
|
-
|
|
263
|
+
### Set Up in Claude Code (CLI)
|
|
252
264
|
|
|
253
265
|
Follow the [official documentation](https://modelcontextprotocol.io/quickstart/user) to configure the MCP server in Claude Code.
|
|
254
266
|
|
|
255
|
-
|
|
267
|
+
#### Local server (stdio) (recommended)
|
|
256
268
|
|
|
257
269
|
To connect the Intlayer MCP server to Claude Code using stdio:
|
|
258
270
|
|
|
@@ -260,7 +272,7 @@ To connect the Intlayer MCP server to Claude Code using stdio:
|
|
|
260
272
|
claude mcp add intlayer npx -y @intlayer/mcp
|
|
261
273
|
```
|
|
262
274
|
|
|
263
|
-
|
|
275
|
+
#### Remote server (Streamable HTTP)
|
|
264
276
|
|
|
265
277
|
To connect the Intlayer MCP server to Claude Code using Streamable HTTP (SSE):
|
|
266
278
|
|
|
@@ -268,6 +280,9 @@ To connect the Intlayer MCP server to Claude Code using Streamable HTTP (SSE):
|
|
|
268
280
|
claude mcp add intlayer https://mcp.intlayer.org -t http
|
|
269
281
|
```
|
|
270
282
|
|
|
283
|
+
</Tab>
|
|
284
|
+
</Tabs>
|
|
285
|
+
|
|
271
286
|
---
|
|
272
287
|
|
|
273
288
|
## Using the MCP Server via CLI
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
- intlayer
|
|
20
20
|
- getLocalizedPath
|
|
21
21
|
history:
|
|
22
|
+
- version: 8.0.0
|
|
23
|
+
date: 2026-08-19
|
|
24
|
+
changes: "Apply the locale prefix, and narrow the return type from the declared rewrite rules"
|
|
22
25
|
- version: 8.0.0
|
|
23
26
|
date: 2026-01-22
|
|
24
27
|
changes: "Implement custom URL rewrites"
|
|
@@ -29,13 +32,17 @@ author: aymericzip
|
|
|
29
32
|
|
|
30
33
|
## Description
|
|
31
34
|
|
|
32
|
-
The `getLocalizedPath` function
|
|
35
|
+
The `getLocalizedPath` function localizes a canonical path (internal application path): it resolves the custom rewrite rules, then applies the locale prefix of your routing mode. It is particularly useful for generating SEO-friendly URLs that vary by language.
|
|
36
|
+
|
|
37
|
+
It is the relative counterpart of [`getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getLocalizedUrl.md) — for a relative input both return the same value. Unlike `getLocalizedUrl`, it never returns an absolute URL: the `domains` configuration is ignored, so a locale served from its own domain still yields a path. An absolute input is accepted, but its origin is dropped — only its path, query string and hash are kept.
|
|
33
38
|
|
|
34
39
|
**Key Features:**
|
|
35
40
|
|
|
36
41
|
- Supports dynamic route parameters using the `[param]` syntax.
|
|
37
42
|
- Resolves paths according to custom rewrite rules defined in your configuration.
|
|
43
|
+
- Applies the locale prefix of the configured routing mode (`prefix-no-default`, `prefix-all`, …).
|
|
38
44
|
- Automatically handles fallback to the canonical path if no rewrite rule is found for the specified locale.
|
|
45
|
+
- Narrows its return type: a literal path resolves to the localized string literal at compile time.
|
|
39
46
|
|
|
40
47
|
---
|
|
41
48
|
|
|
@@ -43,9 +50,14 @@ The `getLocalizedPath` function resolves a canonical path (internal application
|
|
|
43
50
|
|
|
44
51
|
```typescript
|
|
45
52
|
getLocalizedPath(
|
|
46
|
-
canonicalPath: string,
|
|
47
|
-
locale
|
|
48
|
-
|
|
53
|
+
canonicalPath: string, // Required
|
|
54
|
+
locale?: Locales, // Optional
|
|
55
|
+
options?: { // Optional
|
|
56
|
+
locales?: Locales[];
|
|
57
|
+
defaultLocale?: Locales;
|
|
58
|
+
mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params';
|
|
59
|
+
rewrite?: RoutingConfig['rewrite'];
|
|
60
|
+
}
|
|
49
61
|
): string
|
|
50
62
|
```
|
|
51
63
|
|
|
@@ -60,17 +72,21 @@ getLocalizedPath(
|
|
|
60
72
|
- **Type**: `string`
|
|
61
73
|
- **Required**: Yes
|
|
62
74
|
|
|
63
|
-
|
|
75
|
+
### Optional Parameters
|
|
76
|
+
|
|
77
|
+
- `locale?: Locales`
|
|
64
78
|
- **Description**: The target locale for which the path should be localized.
|
|
65
79
|
- **Type**: `Locales`
|
|
66
|
-
- **
|
|
80
|
+
- **Default**: The default locale of your project's configuration.
|
|
67
81
|
|
|
68
|
-
|
|
82
|
+
- `options?: object`
|
|
83
|
+
- **Description**: Routing overrides. Every entry defaults to your project's configuration.
|
|
84
|
+
- **Type**: `object`
|
|
69
85
|
|
|
70
|
-
- `
|
|
71
|
-
-
|
|
72
|
-
- **
|
|
73
|
-
- **Default**: `configuration.routing.rewrite`
|
|
86
|
+
- `options.locales?: Locales[]` — supported locales. **Default**: `configuration.internationalization.locales`
|
|
87
|
+
- `options.defaultLocale?: Locales` — the default locale. **Default**: `configuration.internationalization.defaultLocale`
|
|
88
|
+
- `options.mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params'` — how the locale appears in the path. **Default**: `configuration.routing.mode`
|
|
89
|
+
- `options.rewrite?: RoutingConfig['rewrite']` — custom rewrite rules. **Default**: `configuration.routing.rewrite`
|
|
74
90
|
|
|
75
91
|
---
|
|
76
92
|
|
|
@@ -79,6 +95,28 @@ getLocalizedPath(
|
|
|
79
95
|
- **Type**: `string`
|
|
80
96
|
- **Description**: The localized path for the specified locale.
|
|
81
97
|
|
|
98
|
+
The type is narrowed from the rewrite rules declared in your configuration, so the editor shows the resolved path rather than a bare `string`:
|
|
99
|
+
|
|
100
|
+
```typescript codeFormat="typescript"
|
|
101
|
+
// Configuration: mode 'prefix-no-default', defaultLocale 'en',
|
|
102
|
+
// { '/about': { fr: '/a-propos' }, '/product/[id]': { fr: '/produit/[id]' } }
|
|
103
|
+
const about = getLocalizedPath("/about", Locales.FRENCH);
|
|
104
|
+
// ^? '/fr/a-propos'
|
|
105
|
+
const product = getLocalizedPath("/product/123", Locales.FRENCH);
|
|
106
|
+
// ^? '/fr/produit/123'
|
|
107
|
+
const contact = getLocalizedPath("/contact", Locales.FRENCH);
|
|
108
|
+
// ^? '/fr/contact' (no rewrite rule matches, only the prefix is applied)
|
|
109
|
+
const home = getLocalizedPath("/", Locales.FRENCH);
|
|
110
|
+
// ^? '/fr'
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
The same narrowing flows into [`getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getLocalizedUrl.md), which applies the rewrite rules before prefixing the locale.
|
|
114
|
+
|
|
115
|
+
Two cases stay widened to `string`, because they cannot be resolved at compile time:
|
|
116
|
+
|
|
117
|
+
- a path that is not a string literal (e.g. one built from a variable);
|
|
118
|
+
- a path matched by a rule using a multi-segment or optional parameter (`[...slug]`, `[[...slug]]`, `:param?`).
|
|
119
|
+
|
|
82
120
|
---
|
|
83
121
|
|
|
84
122
|
## Example Usage
|
|
@@ -90,12 +128,13 @@ If you have configured custom rewrites in your `intlayer.config.ts`:
|
|
|
90
128
|
```typescript codeFormat="typescript"
|
|
91
129
|
import { getLocalizedPath, Locales } from "intlayer";
|
|
92
130
|
|
|
93
|
-
// Configuration:
|
|
131
|
+
// Configuration: mode 'prefix-no-default', defaultLocale 'en',
|
|
132
|
+
// { '/about': { en: '/about', fr: '/a-propos' } }
|
|
94
133
|
getLocalizedPath("/about", Locales.FRENCH);
|
|
95
|
-
// Output: "/a-propos"
|
|
134
|
+
// Output: "/fr/a-propos"
|
|
96
135
|
|
|
97
136
|
getLocalizedPath("/about", Locales.ENGLISH);
|
|
98
|
-
// Output: "/about"
|
|
137
|
+
// Output: "/about" (default locale, no prefix)
|
|
99
138
|
```
|
|
100
139
|
|
|
101
140
|
### Usage with Dynamic Routes
|
|
@@ -105,7 +144,7 @@ import { getLocalizedPath, Locales } from "intlayer";
|
|
|
105
144
|
|
|
106
145
|
// Configuration: { '/product/[id]': { en: '/product/[id]', fr: '/produit/[id]' } }
|
|
107
146
|
getLocalizedPath("/product/123", Locales.FRENCH);
|
|
108
|
-
// Output: "/produit/123"
|
|
147
|
+
// Output: "/fr/produit/123"
|
|
109
148
|
```
|
|
110
149
|
|
|
111
150
|
### Manual Rewrite Rules
|
|
@@ -122,13 +161,25 @@ const manualRules = {
|
|
|
122
161
|
},
|
|
123
162
|
};
|
|
124
163
|
|
|
125
|
-
getLocalizedPath("/contact", Locales.FRENCH, manualRules);
|
|
126
|
-
// Output: "/contactez-nous"
|
|
164
|
+
getLocalizedPath("/contact", Locales.FRENCH, { rewrite: manualRules });
|
|
165
|
+
// Output: "/fr/contactez-nous"
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Omitting the Locale
|
|
169
|
+
|
|
170
|
+
When no locale is given, the path is localized for the configured default locale:
|
|
171
|
+
|
|
172
|
+
```typescript codeFormat="typescript"
|
|
173
|
+
import { getLocalizedPath } from "intlayer";
|
|
174
|
+
|
|
175
|
+
// Configuration: defaultLocale = Locales.ENGLISH, { '/about': { en: '/about', fr: '/a-propos' } }
|
|
176
|
+
getLocalizedPath("/about");
|
|
177
|
+
// Output: "/about"
|
|
127
178
|
```
|
|
128
179
|
|
|
129
180
|
---
|
|
130
181
|
|
|
131
182
|
## Related Functions
|
|
132
183
|
|
|
133
|
-
- [`getCanonicalPath`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getCanonicalPath.md): Resolves a localized path back to its internal canonical path.
|
|
134
|
-
- [`getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getLocalizedUrl.md):
|
|
184
|
+
- [`getCanonicalPath`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getCanonicalPath.md): Resolves a localized path back to its internal canonical path. Note that it undoes the rewrite rules only — strip the locale prefix with [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getPathWithoutLocale.md) first.
|
|
185
|
+
- [`getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/getLocalizedUrl.md): Same localization, but able to return an absolute URL (protocol, host, domain routing).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-01-21
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-08-22
|
|
4
4
|
title: next-intlayer Package Documentation
|
|
5
5
|
description: Next.js-specific integration for Intlayer, providing middleware and providers for App Router and Page Router.
|
|
6
6
|
keywords:
|
|
@@ -15,6 +15,9 @@ slugs:
|
|
|
15
15
|
- next-intlayer
|
|
16
16
|
- exports
|
|
17
17
|
history:
|
|
18
|
+
- version: 9.4.0
|
|
19
|
+
date: 2026-08-22
|
|
20
|
+
changes: "Update to Next.js >= 9.4.0 architecture"
|
|
18
21
|
- version: 10.0.0
|
|
19
22
|
date: 2026-06-23
|
|
20
23
|
changes: "Add usePathname utility"
|
|
@@ -75,15 +78,15 @@ or
|
|
|
75
78
|
import "next-intlayer/server";
|
|
76
79
|
```
|
|
77
80
|
|
|
78
|
-
| Component | Description
|
|
79
|
-
| ------------------------ |
|
|
80
|
-
| `IntlayerClientProvider` | Provider for client-side components in Next.js App Router. Wraps `IntlayerProvider` from react-intlayer.
|
|
81
|
-
| `IntlayerServerProvider` | Provider for server-side components in Next.js (App Router). Provides locale context on the server.
|
|
82
|
-
| `IntlayerServer` | Server-side wrapper for Intlayer content in App Router. Ensures proper locale handling in Server Components.
|
|
83
|
-
| `HTMLProvider` | Provider for HTML-related internationalization settings. Allows component overrides for HTML tags.
|
|
84
|
-
| `HTMLRenderer` | Renders HTML content with custom components.
|
|
85
|
-
| `MarkdownProvider` | Provider for markdown rendering context. Allows custom component overrides for markdown elements.
|
|
86
|
-
| `MarkdownRenderer` | Renders markdown content with custom components.
|
|
81
|
+
| Component | Description | Related Doc |
|
|
82
|
+
| ------------------------ | -------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
83
|
+
| `IntlayerClientProvider` | Provider for client-side components in Next.js App Router. Wraps `IntlayerProvider` from react-intlayer. | - |
|
|
84
|
+
| `IntlayerServerProvider` | Provider for server-side components in Next.js (App Router). Provides locale context on the server. (Intlayer < 9.4) | - |
|
|
85
|
+
| `IntlayerServer` | Server-side wrapper for Intlayer content in App Router. Ensures proper locale handling in Server Components. | - |
|
|
86
|
+
| `HTMLProvider` | Provider for HTML-related internationalization settings. Allows component overrides for HTML tags. | - |
|
|
87
|
+
| `HTMLRenderer` | Renders HTML content with custom components. | - |
|
|
88
|
+
| `MarkdownProvider` | Provider for markdown rendering context. Allows custom component overrides for markdown elements. | - |
|
|
89
|
+
| `MarkdownRenderer` | Renders markdown content with custom components. | - |
|
|
87
90
|
|
|
88
91
|
### Hooks (Client-side)
|
|
89
92
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-08-23
|
|
3
|
-
updatedAt:
|
|
3
|
+
updatedAt: 2026-08-22
|
|
4
4
|
title: t Function Documentation | next-intlayer
|
|
5
5
|
description: See how to use the t function for next-intlayer package
|
|
6
6
|
keywords:
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
- next-intlayer
|
|
20
20
|
- t
|
|
21
21
|
history:
|
|
22
|
+
- version: 9.4.0
|
|
23
|
+
date: 2026-08-22
|
|
24
|
+
changes: "Update to Next.js >= 9.4.0 architecture"
|
|
22
25
|
- version: 5.5.10
|
|
23
26
|
date: 2025-06-29
|
|
24
27
|
changes: "Init history"
|
|
@@ -154,25 +157,48 @@ const greeting = t(translations);
|
|
|
154
157
|
|
|
155
158
|
### Locale Detection and Context
|
|
156
159
|
|
|
157
|
-
In `next-intlayer`, the current locale is managed through context providers: `IntlayerClientProvider` and `IntlayerServerProvider
|
|
160
|
+
In `next-intlayer`, the current locale is managed through context providers: `IntlayerClientProvider` and `IntlayerServerProvider` (or just `IntlayerProvider` for Intlayer >= 9.4). Ensure these providers wrap your components and the `locale` prop is correctly passed.
|
|
158
161
|
|
|
159
162
|
#### Example:
|
|
160
163
|
|
|
164
|
+
<Tabs>
|
|
165
|
+
<Tab label='Intlayer >=9.4' value='>=9.4'>
|
|
166
|
+
|
|
161
167
|
```tsx codeFormat={["typescript", "esm", "commonjs"]}
|
|
162
|
-
import type { FC } from "react";
|
|
168
|
+
import type { FC, ReactNode } from "react";
|
|
169
|
+
import type { Locales } from "intlayer";
|
|
170
|
+
import { IntlayerClientProvider } from "next-intlayer";
|
|
171
|
+
|
|
172
|
+
const Page: FC<{ locale: Locales; children: ReactNode }> = ({
|
|
173
|
+
locale,
|
|
174
|
+
children,
|
|
175
|
+
}) => (
|
|
176
|
+
<IntlayerClientProvider locale={locale}>{children}</IntlayerClientProvider>
|
|
177
|
+
);
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
</Tab>
|
|
181
|
+
<Tab label='Intlayer <9.4' value='<9.4'>
|
|
182
|
+
|
|
183
|
+
```tsx codeFormat={["typescript", "esm", "commonjs"]}
|
|
184
|
+
import type { FC, ReactNode } from "react";
|
|
163
185
|
import type { Locales } from "intlayer";
|
|
164
186
|
import { IntlayerClientProvider } from "next-intlayer";
|
|
165
187
|
import { IntlayerServerProvider } from "next-intlayer/server";
|
|
166
188
|
|
|
167
|
-
const Page: FC<{ locale: Locales }> = ({
|
|
189
|
+
const Page: FC<{ locale: Locales; children: ReactNode }> = ({
|
|
190
|
+
locale,
|
|
191
|
+
children,
|
|
192
|
+
}) => (
|
|
168
193
|
<IntlayerServerProvider locale={locale}>
|
|
169
|
-
<IntlayerClientProvider locale={locale}>
|
|
170
|
-
{/* Your components here */}
|
|
171
|
-
</IntlayerClientProvider>
|
|
194
|
+
<IntlayerClientProvider locale={locale}>{children}</IntlayerClientProvider>
|
|
172
195
|
</IntlayerServerProvider>
|
|
173
196
|
);
|
|
174
197
|
```
|
|
175
198
|
|
|
199
|
+
</Tab>
|
|
200
|
+
</Tabs>
|
|
201
|
+
|
|
176
202
|
---
|
|
177
203
|
|
|
178
204
|
## Common Errors and Troubleshooting
|
|
@@ -181,7 +207,7 @@ const Page: FC<{ locale: Locales }> = ({ locale }) => (
|
|
|
181
207
|
|
|
182
208
|
- **Cause**: The current locale is not properly set, or the translation for the current locale is missing.
|
|
183
209
|
- **Solution**:
|
|
184
|
-
- Verify that the `
|
|
210
|
+
- Verify that the `IntlayerProvider` (or `IntlayerClientProvider`/`IntlayerServerProvider`) is correctly set up with the appropriate `locale`.
|
|
185
211
|
- Ensure that your translations object includes all the necessary locales.
|
|
186
212
|
|
|
187
213
|
### Missing Translations in TypeScript
|
|
@@ -218,4 +244,4 @@ For more detailed usage and advanced features, refer to the [next-intlayer docum
|
|
|
218
244
|
|
|
219
245
|
---
|
|
220
246
|
|
|
221
|
-
**Note**: Remember to set up your `IntlayerClientProvider` and `IntlayerServerProvider` properly to ensure that the current locale is correctly passed down to your components. This is crucial for the `t` function to return the correct translations.
|
|
247
|
+
**Note**: Remember to set up your `IntlayerProvider` (or `IntlayerClientProvider` and `IntlayerServerProvider`) properly to ensure that the current locale is correctly passed down to your components. This is crucial for the `t` function to return the correct translations.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-08-23
|
|
3
|
-
updatedAt:
|
|
3
|
+
updatedAt: 2026-08-22
|
|
4
4
|
title: useDictionary Hook Documentation | next-intlayer
|
|
5
5
|
description: See how to use the useDictionary hook for next-intlayer package
|
|
6
6
|
keywords:
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
- next-intlayer
|
|
20
20
|
- useDictionary
|
|
21
21
|
history:
|
|
22
|
+
- version: 9.4.0
|
|
23
|
+
date: 2026-08-22
|
|
24
|
+
changes: "Update to Next.js >= 9.4.0 architecture"
|
|
22
25
|
- version: 5.5.10
|
|
23
26
|
date: 2025-06-29
|
|
24
27
|
changes: "Init history"
|
|
@@ -119,7 +122,7 @@ const ClientComponentExample: FC = () => {
|
|
|
119
122
|
|
|
120
123
|
## Example Usage in React Server Component
|
|
121
124
|
|
|
122
|
-
If you're using the `useDictionary` hook outside the `IntlayerServerProvider
|
|
125
|
+
If you're using the `useDictionary` hook outside the `IntlayerProvider` (or `IntlayerServerProvider` for Intlayer < 9.4), the locale must be explicitly provided as a parameter when rendering the component:
|
|
123
126
|
|
|
124
127
|
```tsx fileName="ServerComponentExample.tsx" codeFormat={["typescript", "esm"]}
|
|
125
128
|
import type { FC } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-08-23
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-08-22
|
|
4
4
|
title: useIntlayer Hook Documentation | next-intlayer
|
|
5
5
|
description: See how to use the useIntlayer hook for next-intlayer package
|
|
6
6
|
keywords:
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
- next-intlayer
|
|
20
20
|
- useIntlayer
|
|
21
21
|
history:
|
|
22
|
+
- version: 9.4.0
|
|
23
|
+
date: 2026-08-22
|
|
24
|
+
changes: "Update to Next.js >= 9.4.0 architecture"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "Update Solid useIntlayer API usage to direct property access"
|
|
@@ -79,6 +82,35 @@ Instructions for setting up content declaration files are available [here](https
|
|
|
79
82
|
|
|
80
83
|
Here's how you can implement the `useIntlayer` hook within a Next.js page to dynamically load localized content based on the application's current locale:
|
|
81
84
|
|
|
85
|
+
<Tabs>
|
|
86
|
+
<Tab label='Intlayer >=9.4' value='>=9.4'>
|
|
87
|
+
|
|
88
|
+
```tsx fileName="src/pages/[locale]/index.tsx" codeFormat={["typescript", "esm"]}
|
|
89
|
+
import { ClientComponentExample } from "@components/ClientComponentExample";
|
|
90
|
+
import { ServerComponentExample } from "@components/ServerComponentExample";
|
|
91
|
+
import { type NextPageIntlayer, IntlayerClientProvider } from "next-intlayer";
|
|
92
|
+
import { useIntlayer } from "next-intlayer";
|
|
93
|
+
|
|
94
|
+
const HomePage: NextPageIntlayer = async ({ params }) => {
|
|
95
|
+
const { locale } = await params;
|
|
96
|
+
|
|
97
|
+
const content = useIntlayer("homepage", locale);
|
|
98
|
+
|
|
99
|
+
return (
|
|
100
|
+
<>
|
|
101
|
+
<p>{content.introduction}</p>
|
|
102
|
+
<IntlayerClientProvider locale={locale}>
|
|
103
|
+
<ClientComponentExample />
|
|
104
|
+
</IntlayerClientProvider>
|
|
105
|
+
<ServerComponentExample />
|
|
106
|
+
</>
|
|
107
|
+
);
|
|
108
|
+
};
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
</Tab>
|
|
112
|
+
<Tab label='Intlayer <9.4' value='<9.4'>
|
|
113
|
+
|
|
82
114
|
```tsx fileName="src/pages/[locale]/index.tsx" codeFormat={["typescript", "esm"]}
|
|
83
115
|
import { ClientComponentExample } from "@components/ClientComponentExample";
|
|
84
116
|
import { ServerComponentExample } from "@components/ServerComponentExample";
|
|
@@ -104,6 +136,9 @@ const HomePage: NextPageIntlayer = async ({ params }) => {
|
|
|
104
136
|
};
|
|
105
137
|
```
|
|
106
138
|
|
|
139
|
+
</Tab>
|
|
140
|
+
</Tabs>
|
|
141
|
+
|
|
107
142
|
```tsx fileName="src/components/ClientComponentExample.tsx" codeFormat={["typescript", "esm"]}
|
|
108
143
|
"use-client";
|
|
109
144
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-01-21
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-08-22
|
|
4
4
|
title: react-intlayer Package Documentation
|
|
5
5
|
description: React-specific implementation of Intlayer, providing hooks and providers for React applications.
|
|
6
6
|
keywords:
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- react-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 9.4.0
|
|
18
|
+
date: 2026-08-22
|
|
19
|
+
changes: "Update to Next.js >= 9.4.0 architecture"
|
|
17
20
|
- version: 10.0.0
|
|
18
21
|
date: 2026-06-23
|
|
19
22
|
changes: "Add usePathname utility"
|
|
@@ -137,13 +140,13 @@ Import:
|
|
|
137
140
|
import "react-intlayer/server";
|
|
138
141
|
```
|
|
139
142
|
|
|
140
|
-
| Export | Type | Description
|
|
141
|
-
| ------------------------ | ----------- |
|
|
142
|
-
| `IntlayerServerProvider` | `Component` | Provider for server-side rendering.
|
|
143
|
-
| `IntlayerServer` | `Component` | Server-side wrapper for Intlayer content.
|
|
144
|
-
| `t` | `Function` | Server-side version of the translation function.
|
|
145
|
-
| `useLocale` | `Hook` | Hook to access locale on the server side.
|
|
146
|
-
| `useIntlayer` | `Hook` | Server-side version of `useIntlayer`.
|
|
147
|
-
| `useDictionary` | `Hook` | Server-side version of `useDictionary`.
|
|
148
|
-
| `useI18n` | `Hook` | Server-side version of `useI18n`.
|
|
149
|
-
| `locale` | `Function` | Function to get or set the locale on the server.
|
|
143
|
+
| Export | Type | Description |
|
|
144
|
+
| ------------------------ | ----------- | ---------------------------------------------------- |
|
|
145
|
+
| `IntlayerServerProvider` | `Component` | Provider for server-side rendering. (Intlayer < 9.4) |
|
|
146
|
+
| `IntlayerServer` | `Component` | Server-side wrapper for Intlayer content. |
|
|
147
|
+
| `t` | `Function` | Server-side version of the translation function. |
|
|
148
|
+
| `useLocale` | `Hook` | Hook to access locale on the server side. |
|
|
149
|
+
| `useIntlayer` | `Hook` | Server-side version of `useIntlayer`. |
|
|
150
|
+
| `useDictionary` | `Hook` | Server-side version of `useDictionary`. |
|
|
151
|
+
| `useI18n` | `Hook` | Server-side version of `useI18n`. |
|
|
152
|
+
| `locale` | `Function` | Function to get or set the locale on the server. |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-08-23
|
|
3
|
-
updatedAt:
|
|
3
|
+
updatedAt: 2026-08-22
|
|
4
4
|
title: useI18n Hook Documentation | react-intlayer
|
|
5
5
|
description: Learn how to use the useI18n hook in the react-intlayer package
|
|
6
6
|
keywords:
|
|
@@ -20,6 +20,9 @@ slugs:
|
|
|
20
20
|
- react-intlayer
|
|
21
21
|
- useI18n
|
|
22
22
|
history:
|
|
23
|
+
- version: 9.4.0
|
|
24
|
+
date: 2026-08-22
|
|
25
|
+
changes: "Update to Next.js >= 9.4.0 architecture"
|
|
23
26
|
- version: 6.0.0
|
|
24
27
|
date: 2025-06-29
|
|
25
28
|
changes: "Initial writing of `useI18n` hook documentation"
|
|
@@ -77,6 +80,34 @@ All dictionary keys must be declared within content declaration files to enhance
|
|
|
77
80
|
|
|
78
81
|
Examples of using the `useI18n` hook within React components:
|
|
79
82
|
|
|
83
|
+
<Tabs>
|
|
84
|
+
<Tab label='Intlayer >=9.4' value='>=9.4'>
|
|
85
|
+
|
|
86
|
+
```tsx fileName="src/App.tsx" codeFormat={["typescript", "esm"]}
|
|
87
|
+
import type { FC } from "react";
|
|
88
|
+
import { ClientComponentExample, ServerComponentExample } from "@components";
|
|
89
|
+
import { IntlayerProvider } from "react-intlayer";
|
|
90
|
+
import { useI18n } from "react-intlayer/server";
|
|
91
|
+
import { Locales } from "intlayer";
|
|
92
|
+
|
|
93
|
+
const App: FC<{ locale: Locales }> = ({ locale }) => {
|
|
94
|
+
const t = useI18n("home-page", locale);
|
|
95
|
+
|
|
96
|
+
return (
|
|
97
|
+
<>
|
|
98
|
+
<p>{t("introduction")}</p>
|
|
99
|
+
<IntlayerProvider locale={locale}>
|
|
100
|
+
<ClientComponentExample />
|
|
101
|
+
</IntlayerProvider>
|
|
102
|
+
<ServerComponentExample />
|
|
103
|
+
</>
|
|
104
|
+
);
|
|
105
|
+
};
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
</Tab>
|
|
109
|
+
<Tab label='Intlayer <9.4' value='<9.4'>
|
|
110
|
+
|
|
80
111
|
```tsx fileName="src/App.tsx" codeFormat={["typescript", "esm"]}
|
|
81
112
|
import type { FC } from "react";
|
|
82
113
|
import { ClientComponentExample, ServerComponentExample } from "@components";
|
|
@@ -101,6 +132,9 @@ const App: FC<{ locale: Locales }> = ({ locale }) => {
|
|
|
101
132
|
};
|
|
102
133
|
```
|
|
103
134
|
|
|
135
|
+
</Tab>
|
|
136
|
+
</Tabs>
|
|
137
|
+
|
|
104
138
|
```tsx fileName="src/components/ComponentExample.tsx" codeFormat={["typescript", "esm"]}
|
|
105
139
|
import type { FC } from "react";
|
|
106
140
|
import { useI18n } from "react-intlayer";
|
|
@@ -56,7 +56,7 @@ export default defineConfig({
|
|
|
56
56
|
2. `build.optimize` is `true` (or `undefined`, which defaults to `true` for builds).
|
|
57
57
|
3. `build.minify` is `true` in your Intlayer config.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
When `editor.enabled` is `true`, the plugin still runs but **skips field renaming**: renaming rewrites the content keys the interpreter walks, so the `keyPath` the visual editor receives would no longer match the unmerged dictionaries it edits. Whitespace compaction and the top-level metadata strip stay active.
|
|
60
60
|
|
|
61
61
|
## What gets minified
|
|
62
62
|
|
|
@@ -120,4 +120,4 @@ When pruning succeeds, `intlayerPrune` also writes `pruneContext.dictionaryKeyTo
|
|
|
120
120
|
2. `build.optimize` is `true` (or `undefined`, which defaults to `true` for builds).
|
|
121
121
|
3. `build.purge` is `true` in your Intlayer config.
|
|
122
122
|
|
|
123
|
-
It
|
|
123
|
+
It stays active when `editor.enabled` is `true`: the visual editor resolves every edit through `dictionaryKey` + `keyPath` against the unmerged dictionaries, which this plugin never touches, and a purged field is one no component reads — so it is never rendered and never selectable in the page.
|