@intlayer/docs 8.12.5-canary.0 → 9.0.0-canary.10
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/intlayer_with_i18next.md +24 -4
- package/blog/ar/intlayer_with_next-i18next.md +20 -15
- package/blog/ar/intlayer_with_next-intl.md +24 -4
- package/blog/ar/intlayer_with_react-i18next.md +20 -4
- package/blog/ar/intlayer_with_react-intl.md +20 -4
- package/blog/ar/intlayer_with_vue-i18n.md +20 -4
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
- package/blog/ar/rag_powered_documentation_assistant.md +13 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
- package/blog/de/intlayer_with_i18next.md +34 -6
- package/blog/de/intlayer_with_next-i18next.md +30 -17
- package/blog/de/intlayer_with_next-intl.md +37 -7
- package/blog/de/intlayer_with_react-i18next.md +33 -7
- package/blog/de/intlayer_with_react-intl.md +33 -7
- package/blog/de/intlayer_with_vue-i18n.md +33 -7
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/de/rag_powered_documentation_assistant.md +0 -193
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/de/vue-i18n_vs_intlayer.md +8 -0
- package/blog/en/intlayer_with_i18next.md +20 -4
- package/blog/en/intlayer_with_next-i18next.md +20 -4
- package/blog/en/intlayer_with_next-intl.md +20 -4
- package/blog/en/intlayer_with_react-i18next.md +20 -4
- package/blog/en/intlayer_with_react-intl.md +20 -4
- package/blog/en/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/intlayer_with_i18next.md +24 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +20 -15
- package/blog/en-GB/intlayer_with_next-intl.md +24 -4
- package/blog/en-GB/intlayer_with_react-i18next.md +20 -4
- package/blog/en-GB/intlayer_with_react-intl.md +20 -4
- package/blog/en-GB/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
- package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
- package/blog/es/intlayer_with_i18next.md +24 -4
- package/blog/es/intlayer_with_next-i18next.md +20 -15
- package/blog/es/intlayer_with_next-intl.md +24 -4
- package/blog/es/intlayer_with_react-i18next.md +20 -4
- package/blog/es/intlayer_with_react-intl.md +20 -4
- package/blog/es/intlayer_with_vue-i18n.md +20 -4
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/es/rag_powered_documentation_assistant.md +13 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/es/vue-i18n_vs_intlayer.md +8 -0
- package/blog/fr/i18n_meaning.md +95 -0
- package/blog/fr/intlayer_with_i18next.md +20 -4
- package/blog/fr/intlayer_with_next-i18next.md +20 -15
- package/blog/fr/intlayer_with_next-intl.md +24 -4
- package/blog/fr/intlayer_with_react-i18next.md +20 -12
- package/blog/fr/intlayer_with_react-intl.md +20 -4
- package/blog/fr/intlayer_with_vue-i18n.md +20 -4
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/fr/rag_powered_documentation_assistant.md +0 -62
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
- package/blog/hi/intlayer_with_i18next.md +24 -4
- package/blog/hi/intlayer_with_next-i18next.md +20 -15
- package/blog/hi/intlayer_with_next-intl.md +24 -4
- package/blog/hi/intlayer_with_react-i18next.md +20 -4
- package/blog/hi/intlayer_with_react-intl.md +20 -4
- package/blog/hi/intlayer_with_vue-i18n.md +20 -4
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
- package/blog/hi/rag_powered_documentation_assistant.md +13 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
- package/blog/id/internationalization_and_SEO.md +0 -91
- package/blog/id/intlayer_with_i18next.md +24 -4
- package/blog/id/intlayer_with_next-i18next.md +20 -15
- package/blog/id/intlayer_with_next-intl.md +24 -4
- package/blog/id/intlayer_with_react-i18next.md +20 -4
- package/blog/id/intlayer_with_react-intl.md +20 -4
- package/blog/id/intlayer_with_vue-i18n.md +20 -4
- package/blog/id/rag_powered_documentation_assistant.md +13 -0
- package/blog/it/intlayer_with_i18next.md +37 -7
- package/blog/it/intlayer_with_next-i18next.md +33 -18
- package/blog/it/intlayer_with_next-intl.md +37 -7
- package/blog/it/intlayer_with_react-i18next.md +33 -7
- package/blog/it/intlayer_with_react-intl.md +33 -7
- package/blog/it/intlayer_with_vue-i18n.md +33 -7
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/it/rag_powered_documentation_assistant.md +0 -195
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/it/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ja/intlayer_with_i18next.md +24 -4
- package/blog/ja/intlayer_with_next-i18next.md +20 -15
- package/blog/ja/intlayer_with_next-intl.md +24 -4
- package/blog/ja/intlayer_with_react-i18next.md +20 -4
- package/blog/ja/intlayer_with_react-intl.md +20 -4
- package/blog/ja/intlayer_with_vue-i18n.md +20 -4
- package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/ja/rag_powered_documentation_assistant.md +13 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/intlayer_with_i18next.md +37 -7
- package/blog/ko/intlayer_with_next-i18next.md +33 -18
- package/blog/ko/intlayer_with_next-intl.md +37 -7
- package/blog/ko/intlayer_with_react-i18next.md +33 -7
- package/blog/ko/intlayer_with_react-intl.md +33 -7
- package/blog/ko/intlayer_with_vue-i18n.md +33 -7
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
- package/blog/ko/rag_powered_documentation_assistant.md +0 -194
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/what_is_internationalization.md +0 -4
- package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
- package/blog/pl/internationalization_and_SEO.md +0 -91
- package/blog/pl/intlayer_with_i18next.md +24 -4
- package/blog/pl/intlayer_with_next-i18next.md +20 -15
- package/blog/pl/intlayer_with_next-intl.md +24 -4
- package/blog/pl/intlayer_with_react-i18next.md +20 -4
- package/blog/pl/intlayer_with_react-intl.md +20 -4
- package/blog/pl/intlayer_with_vue-i18n.md +20 -4
- package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
- package/blog/pl/rag_powered_documentation_assistant.md +13 -0
- package/blog/pt/internationalization_and_SEO.md +1 -1
- package/blog/pt/intlayer_with_i18next.md +37 -7
- package/blog/pt/intlayer_with_next-i18next.md +33 -18
- package/blog/pt/intlayer_with_next-intl.md +37 -7
- package/blog/pt/intlayer_with_react-i18next.md +33 -7
- package/blog/pt/intlayer_with_react-intl.md +33 -11
- package/blog/pt/intlayer_with_vue-i18n.md +33 -7
- package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/pt/rag_powered_documentation_assistant.md +0 -195
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ru/intlayer_with_i18next.md +24 -4
- package/blog/ru/intlayer_with_next-i18next.md +20 -15
- package/blog/ru/intlayer_with_next-intl.md +24 -4
- package/blog/ru/intlayer_with_react-i18next.md +20 -4
- package/blog/ru/intlayer_with_react-intl.md +20 -4
- package/blog/ru/intlayer_with_vue-i18n.md +20 -4
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/ru/rag_powered_documentation_assistant.md +13 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
- package/blog/tr/intlayer_with_i18next.md +24 -4
- package/blog/tr/intlayer_with_next-i18next.md +20 -15
- package/blog/tr/intlayer_with_next-intl.md +24 -4
- package/blog/tr/intlayer_with_react-i18next.md +20 -4
- package/blog/tr/intlayer_with_react-intl.md +20 -4
- package/blog/tr/intlayer_with_vue-i18n.md +20 -4
- package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
- package/blog/tr/rag_powered_documentation_assistant.md +0 -38
- package/blog/uk/intlayer_with_i18next.md +20 -4
- package/blog/uk/intlayer_with_next-i18next.md +20 -4
- package/blog/uk/intlayer_with_next-intl.md +20 -4
- package/blog/uk/intlayer_with_react-i18next.md +20 -4
- package/blog/uk/intlayer_with_react-intl.md +20 -4
- package/blog/uk/intlayer_with_vue-i18n.md +20 -4
- package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
- package/blog/uk/rag_powered_documentation_assistant.md +13 -0
- package/blog/vi/internationalization_and_SEO.md +0 -91
- package/blog/vi/intlayer_with_i18next.md +24 -4
- package/blog/vi/intlayer_with_next-i18next.md +20 -15
- package/blog/vi/intlayer_with_next-intl.md +24 -4
- package/blog/vi/intlayer_with_react-i18next.md +20 -4
- package/blog/vi/intlayer_with_react-intl.md +20 -4
- package/blog/vi/intlayer_with_vue-i18n.md +20 -4
- package/blog/vi/rag_powered_documentation_assistant.md +13 -0
- package/blog/zh/intlayer_with_i18next.md +4 -31
- package/blog/zh/intlayer_with_next-i18next.md +0 -42
- package/blog/zh/intlayer_with_next-intl.md +4 -31
- package/blog/zh/intlayer_with_react-i18next.md +0 -31
- package/blog/zh/intlayer_with_react-intl.md +0 -31
- package/blog/zh/intlayer_with_vue-i18n.md +0 -31
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/zh/nextjs-multilingual-seo-comparison.md +0 -30
- package/blog/zh/rag_powered_documentation_assistant.md +0 -191
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
- package/dist/cjs/generated/docs.entry.cjs +560 -20
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +560 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +28 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -0
- package/docs/ar/autoFill.md +81 -0
- package/docs/ar/benchmark/solid.md +22 -0
- package/docs/ar/benchmark/svelte.md +22 -0
- package/docs/ar/benchmark/tanstack.md +22 -0
- package/docs/ar/cli/ci.md +22 -0
- package/docs/ar/cli/doc-review.md +110 -4
- package/docs/ar/cli/fill.md +8 -0
- package/docs/ar/cli/index.md +1 -1
- package/docs/ar/cli/scan.md +1 -1
- package/docs/ar/compat/i18n-js.md +44 -0
- package/docs/ar/compat/i18next.md +59 -0
- package/docs/ar/compat/index.md +51 -0
- package/docs/ar/compat/lingui.md +44 -0
- package/docs/ar/compat/next-i18next.md +57 -0
- package/docs/ar/compat/next-intl.md +59 -0
- package/docs/ar/compat/next-translate.md +45 -0
- package/docs/ar/compat/ngx-translate.md +45 -0
- package/docs/ar/compat/nuxtjs-i18n.md +46 -0
- package/docs/ar/compat/polyglot.md +45 -0
- package/docs/ar/compat/react-i18next.md +58 -0
- package/docs/ar/compat/react-intl.md +55 -0
- package/docs/ar/compat/svelte-i18n.md +47 -0
- package/docs/ar/compat/transloco.md +45 -0
- package/docs/ar/compat/vue-i18n.md +58 -0
- package/docs/ar/compiler.md +9 -4
- package/docs/ar/configuration.md +54 -19
- package/docs/ar/custom_domains.md +9 -3
- package/docs/ar/custom_url_rewrites.md +9 -3
- package/docs/ar/dictionary/condition.md +167 -5
- package/docs/ar/dictionary/content_file.md +4 -7
- package/docs/ar/dictionary/enumeration.md +353 -6
- package/docs/ar/dictionary/file.md +159 -1
- package/docs/ar/dictionary/gender.md +168 -7
- package/docs/ar/dictionary/nesting.md +187 -40
- package/docs/ar/dictionary/plurial.md +174 -5
- package/docs/ar/dictionary/translation.md +146 -53
- package/docs/ar/dynamic_dictionaries/collections.md +1 -1
- package/docs/ar/dynamic_dictionaries/index.md +25 -19
- package/docs/ar/dynamic_dictionaries/variants.md +281 -23
- package/docs/ar/formatters.md +59 -0
- package/docs/ar/how_works_intlayer.md +4 -0
- package/docs/ar/interest_of_intlayer.md +193 -0
- package/docs/ar/intlayer_CMS.md +6 -0
- package/docs/ar/intlayer_with_adonisjs.md +20 -4
- package/docs/ar/intlayer_with_analog.md +25 -5
- package/docs/ar/intlayer_with_angular_19.md +20 -4
- package/docs/ar/intlayer_with_angular_21.md +20 -4
- package/docs/ar/intlayer_with_astro.md +131 -2
- package/docs/ar/intlayer_with_astro_lit.md +23 -9
- package/docs/ar/intlayer_with_astro_preact.md +23 -9
- package/docs/ar/intlayer_with_astro_react.md +23 -9
- package/docs/ar/intlayer_with_astro_solid.md +23 -9
- package/docs/ar/intlayer_with_astro_svelte.md +23 -9
- package/docs/ar/intlayer_with_astro_vanilla.md +23 -9
- package/docs/ar/intlayer_with_astro_vue.md +23 -9
- package/docs/ar/intlayer_with_create_react_app.md +20 -18
- package/docs/ar/intlayer_with_express.md +20 -25
- package/docs/ar/intlayer_with_fastify.md +20 -8
- package/docs/ar/intlayer_with_hono.md +20 -4
- package/docs/ar/intlayer_with_lynx+react.md +26 -5
- package/docs/ar/intlayer_with_nestjs.md +20 -22
- package/docs/ar/intlayer_with_next-i18next.md +20 -4
- package/docs/ar/intlayer_with_nextjs_14.md +50 -11
- package/docs/ar/intlayer_with_nextjs_15.md +41 -5
- package/docs/ar/intlayer_with_nextjs_16.md +146 -6
- package/docs/ar/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ar/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ar/intlayer_with_nuxt.md +25 -7
- package/docs/ar/intlayer_with_react_native+expo.md +108 -74
- package/docs/ar/intlayer_with_react_router_v7.md +24 -100
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +43 -101
- package/docs/ar/intlayer_with_storybook.md +7 -1
- package/docs/ar/intlayer_with_svelte_kit.md +15 -184
- package/docs/ar/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ar/intlayer_with_tanstack.md +37 -12
- package/docs/ar/intlayer_with_vite+lit.md +29 -7
- package/docs/ar/intlayer_with_vite+preact.md +62 -44
- package/docs/ar/intlayer_with_vite+react.md +60 -39
- package/docs/ar/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ar/intlayer_with_vite+solid.md +47 -29
- package/docs/ar/intlayer_with_vite+svelte.md +36 -18
- package/docs/ar/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ar/intlayer_with_vite+vue.md +72 -121
- package/docs/ar/mcp_server.md +22 -0
- package/docs/ar/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/ar/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/ar/packages/@intlayer_babel/export.md +131 -0
- package/docs/ar/packages/angular-intlayer/exports.md +14 -10
- package/docs/ar/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/intlayer/comparePaths.md +173 -0
- package/docs/ar/packages/intlayer/exports.md +5 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
- package/docs/ar/packages/next-intlayer/exports.md +4 -0
- package/docs/ar/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ar/packages/preact-intlayer/exports.md +10 -6
- package/docs/ar/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ar/packages/react-intlayer/exports.md +4 -0
- package/docs/ar/packages/react-intlayer/t.md +0 -13
- package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
- package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
- package/docs/ar/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ar/packages/solid-intlayer/exports.md +4 -0
- package/docs/ar/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ar/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ar/packages/vue-intlayer/exports.md +4 -0
- package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ar/plugins/sync-json.md +221 -49
- package/docs/ar/releases/v6.md +28 -0
- package/docs/ar/releases/v7.md +128 -0
- package/docs/ar/releases/v8.md +187 -1
- package/docs/ar/releases/v9.md +338 -0
- package/docs/ar/roadmap.md +6 -0
- package/docs/bn/cli/index.md +1 -1
- package/docs/bn/cli/scan.md +1 -1
- package/docs/bn/configuration.md +36 -3
- package/docs/bn/custom_domains.md +8 -2
- package/docs/bn/intlayer_with_angular_21.md +20 -4
- package/docs/bn/intlayer_with_fastify.md +20 -8
- package/docs/bn/intlayer_with_hono.md +20 -4
- package/docs/bn/intlayer_with_storybook.md +7 -1
- package/docs/bn/intlayer_with_vite+lit.md +28 -6
- package/docs/bn/intlayer_with_vite+vanilla.md +36 -9
- package/docs/bn/packages/intlayer/comparePaths.md +173 -0
- package/docs/cs/cli/index.md +1 -1
- package/docs/cs/cli/scan.md +1 -1
- package/docs/cs/configuration.md +35 -2
- package/docs/cs/custom_domains.md +8 -2
- package/docs/cs/intlayer_with_angular_21.md +20 -4
- package/docs/cs/intlayer_with_fastify.md +20 -8
- package/docs/cs/intlayer_with_hono.md +20 -4
- package/docs/cs/intlayer_with_storybook.md +7 -1
- package/docs/cs/intlayer_with_vite+lit.md +28 -6
- package/docs/cs/intlayer_with_vite+vanilla.md +36 -9
- package/docs/cs/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/CI_CD.md +4 -0
- package/docs/de/autoFill.md +81 -0
- package/docs/de/benchmark/solid.md +22 -0
- package/docs/de/benchmark/svelte.md +22 -0
- package/docs/de/benchmark/tanstack.md +22 -0
- package/docs/de/cli/ci.md +22 -0
- package/docs/de/cli/doc-review.md +110 -4
- package/docs/de/cli/fill.md +8 -0
- package/docs/de/cli/index.md +1 -1
- package/docs/de/cli/init.md +20 -0
- package/docs/de/cli/scan.md +1 -1
- package/docs/de/compat/i18n-js.md +44 -0
- package/docs/de/compat/i18next.md +59 -0
- package/docs/de/compat/index.md +51 -0
- package/docs/de/compat/lingui.md +44 -0
- package/docs/de/compat/next-i18next.md +57 -0
- package/docs/de/compat/next-intl.md +59 -0
- package/docs/de/compat/next-translate.md +45 -0
- package/docs/de/compat/ngx-translate.md +45 -0
- package/docs/de/compat/nuxtjs-i18n.md +46 -0
- package/docs/de/compat/polyglot.md +45 -0
- package/docs/de/compat/react-i18next.md +58 -0
- package/docs/de/compat/react-intl.md +55 -0
- package/docs/de/compat/svelte-i18n.md +47 -0
- package/docs/de/compat/transloco.md +45 -0
- package/docs/de/compat/vue-i18n.md +58 -0
- package/docs/de/compiler.md +9 -4
- package/docs/de/configuration.md +53 -18
- package/docs/de/custom_domains.md +9 -3
- package/docs/de/custom_url_rewrites.md +9 -3
- package/docs/de/dictionary/condition.md +167 -5
- package/docs/de/dictionary/content_file.md +4 -0
- package/docs/de/dictionary/enumeration.md +584 -13
- package/docs/de/dictionary/file.md +159 -1
- package/docs/de/dictionary/gender.md +168 -7
- package/docs/de/dictionary/insertion.md +0 -4
- package/docs/de/dictionary/nesting.md +188 -41
- package/docs/de/dictionary/plurial.md +347 -7
- package/docs/de/dictionary/translation.md +146 -53
- package/docs/de/dynamic_dictionaries/collections.md +1 -1
- package/docs/de/dynamic_dictionaries/index.md +24 -18
- package/docs/de/dynamic_dictionaries/variants.md +273 -15
- package/docs/de/formatters.md +130 -0
- package/docs/de/how_works_intlayer.md +4 -0
- package/docs/de/intlayer_CMS.md +6 -0
- package/docs/de/intlayer_with_adonisjs.md +20 -4
- package/docs/de/intlayer_with_analog.md +25 -5
- package/docs/de/intlayer_with_angular_19.md +20 -4
- package/docs/de/intlayer_with_angular_21.md +20 -4
- package/docs/de/intlayer_with_astro.md +132 -3
- package/docs/de/intlayer_with_astro_lit.md +24 -10
- package/docs/de/intlayer_with_astro_preact.md +24 -10
- package/docs/de/intlayer_with_astro_react.md +24 -10
- package/docs/de/intlayer_with_astro_solid.md +24 -10
- package/docs/de/intlayer_with_astro_svelte.md +24 -10
- package/docs/de/intlayer_with_astro_vanilla.md +24 -10
- package/docs/de/intlayer_with_astro_vue.md +24 -10
- package/docs/de/intlayer_with_create_react_app.md +35 -4
- package/docs/de/intlayer_with_express.md +20 -27
- package/docs/de/intlayer_with_fastify.md +20 -8
- package/docs/de/intlayer_with_hono.md +20 -4
- package/docs/de/intlayer_with_lynx+react.md +30 -7
- package/docs/de/intlayer_with_nestjs.md +20 -12
- package/docs/de/intlayer_with_next-i18next.md +20 -4
- package/docs/de/intlayer_with_nextjs_14.md +48 -11
- package/docs/de/intlayer_with_nextjs_15.md +41 -5
- package/docs/de/intlayer_with_nextjs_16.md +23 -5
- package/docs/de/intlayer_with_nextjs_compiler.md +51 -1
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/de/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/de/intlayer_with_nuxt.md +25 -7
- package/docs/de/intlayer_with_react_native+expo.md +91 -68
- package/docs/de/intlayer_with_react_router_v7.md +24 -100
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +9 -94
- package/docs/de/intlayer_with_storybook.md +7 -1
- package/docs/de/intlayer_with_svelte_kit.md +16 -185
- package/docs/de/intlayer_with_tanstack+solid.md +39 -14
- package/docs/de/intlayer_with_tanstack.md +38 -13
- package/docs/de/intlayer_with_vite+lit.md +34 -9
- package/docs/de/intlayer_with_vite+preact.md +84 -62
- package/docs/de/intlayer_with_vite+react.md +78 -57
- package/docs/de/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/de/intlayer_with_vite+solid.md +56 -47
- package/docs/de/intlayer_with_vite+svelte.md +36 -33
- package/docs/de/intlayer_with_vite+vanilla.md +37 -10
- package/docs/de/intlayer_with_vite+vue.md +83 -110
- package/docs/de/mcp_server.md +22 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/de/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/de/packages/@intlayer_babel/export.md +131 -0
- package/docs/de/packages/angular-intlayer/exports.md +13 -9
- package/docs/de/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/de/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/packages/intlayer/exports.md +5 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/de/packages/next-intlayer/exports.md +4 -0
- package/docs/de/packages/next-intlayer/usePathname.md +136 -0
- package/docs/de/packages/preact-intlayer/exports.md +10 -6
- package/docs/de/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/de/packages/react-intlayer/exports.md +4 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
- package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/de/packages/react-intlayer/usePathname.md +87 -0
- package/docs/de/packages/react-native-intlayer/exports.md +47 -13
- package/docs/de/packages/solid-intlayer/exports.md +4 -0
- package/docs/de/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/de/packages/svelte-intlayer/exports.md +13 -9
- package/docs/de/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/de/packages/vue-intlayer/exports.md +4 -0
- package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/de/plugins/sync-json.md +221 -49
- package/docs/de/releases/v6.md +10 -6
- package/docs/de/releases/v7.md +128 -0
- package/docs/de/releases/v8.md +197 -1
- package/docs/de/releases/v9.md +316 -0
- package/docs/de/roadmap.md +6 -16
- package/docs/en/CI_CD.md +7 -7
- package/docs/en/bundle_optimization.md +8 -3
- package/docs/en/cli/ci.md +62 -8
- package/docs/en/cli/doc-review.md +110 -4
- package/docs/en/cli/index.md +1 -1
- package/docs/en/cli/scan.md +1 -1
- package/docs/en/compat/i18n-js.md +44 -0
- package/docs/en/compat/i18next.md +59 -0
- package/docs/en/compat/index.md +51 -0
- package/docs/en/compat/lingui.md +44 -0
- package/docs/en/compat/next-i18next.md +57 -0
- package/docs/en/compat/next-intl.md +59 -0
- package/docs/en/compat/next-translate.md +45 -0
- package/docs/en/compat/ngx-translate.md +45 -0
- package/docs/en/compat/nuxtjs-i18n.md +46 -0
- package/docs/en/compat/polyglot.md +45 -0
- package/docs/en/compat/react-i18next.md +58 -0
- package/docs/en/compat/react-intl.md +55 -0
- package/docs/en/compat/svelte-i18n.md +47 -0
- package/docs/en/compat/transloco.md +45 -0
- package/docs/en/compat/vue-i18n.md +58 -0
- package/docs/en/compiler.md +16 -6
- package/docs/en/configuration.md +56 -9
- package/docs/en/custom_domains.md +10 -2
- package/docs/en/custom_url_rewrites.md +10 -2
- package/docs/en/dictionary/condition.md +163 -1
- package/docs/en/dictionary/enumeration.md +309 -7
- package/docs/en/dictionary/file.md +151 -1
- package/docs/en/dictionary/gender.md +162 -1
- package/docs/en/dictionary/nesting.md +173 -9
- package/docs/en/dictionary/plurial.md +155 -10
- package/docs/en/dictionary/translation.md +145 -52
- package/docs/en/dynamic_dictionaries/collections.md +1 -1
- package/docs/en/dynamic_dictionaries/index.md +21 -15
- package/docs/en/dynamic_dictionaries/variants.md +267 -9
- package/docs/en/intlayer_with_adonisjs.md +20 -4
- package/docs/en/intlayer_with_analog.md +25 -5
- package/docs/en/intlayer_with_angular_19.md +20 -4
- package/docs/en/intlayer_with_angular_21.md +20 -4
- package/docs/en/intlayer_with_astro.md +22 -8
- package/docs/en/intlayer_with_astro_lit.md +22 -8
- package/docs/en/intlayer_with_astro_preact.md +22 -8
- package/docs/en/intlayer_with_astro_react.md +22 -8
- package/docs/en/intlayer_with_astro_solid.md +22 -8
- package/docs/en/intlayer_with_astro_svelte.md +22 -8
- package/docs/en/intlayer_with_astro_vanilla.md +22 -8
- package/docs/en/intlayer_with_astro_vue.md +22 -8
- package/docs/en/intlayer_with_create_react_app.md +20 -4
- package/docs/en/intlayer_with_express.md +20 -4
- package/docs/en/intlayer_with_fastify.md +20 -8
- package/docs/en/intlayer_with_hono.md +20 -4
- package/docs/en/intlayer_with_lynx+react.md +26 -5
- package/docs/en/intlayer_with_nestjs.md +20 -4
- package/docs/en/intlayer_with_next-i18next.md +20 -4
- package/docs/en/intlayer_with_nextjs_14.md +22 -4
- package/docs/en/intlayer_with_nextjs_15.md +22 -4
- package/docs/en/intlayer_with_nextjs_16.md +24 -4
- package/docs/en/intlayer_with_nextjs_compiler.md +24 -4
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +22 -4
- package/docs/en/intlayer_with_nextjs_page_router.md +22 -4
- package/docs/en/intlayer_with_nuxt.md +25 -7
- package/docs/en/intlayer_with_react_native+expo.md +48 -23
- package/docs/en/intlayer_with_react_router_v7.md +30 -7
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +10 -3
- package/docs/en/intlayer_with_storybook.md +7 -1
- package/docs/en/intlayer_with_svelte_kit.md +30 -7
- package/docs/en/intlayer_with_tanstack+solid.md +40 -13
- package/docs/en/intlayer_with_tanstack.md +38 -11
- package/docs/en/intlayer_with_vite+lit.md +35 -8
- package/docs/en/intlayer_with_vite+preact.md +30 -7
- package/docs/en/intlayer_with_vite+react.md +30 -7
- package/docs/en/intlayer_with_vite+react_compiler.md +31 -6
- package/docs/en/intlayer_with_vite+solid.md +30 -7
- package/docs/en/intlayer_with_vite+svelte.md +30 -7
- package/docs/en/intlayer_with_vite+vanilla.md +37 -8
- package/docs/en/intlayer_with_vite+vue.md +30 -7
- package/docs/en/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/en/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/en/packages/@intlayer_babel/export.md +131 -0
- package/docs/en/packages/angular-intlayer/exports.md +13 -9
- package/docs/en/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en/packages/intlayer/comparePaths.md +173 -0
- package/docs/en/packages/intlayer/exports.md +18 -13
- package/docs/en/packages/next-intlayer/exports.md +4 -0
- package/docs/en/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en/packages/preact-intlayer/exports.md +10 -6
- package/docs/en/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en/packages/react-intlayer/exports.md +4 -0
- package/docs/en/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en/packages/react-native-intlayer/exports.md +47 -13
- package/docs/en/packages/solid-intlayer/exports.md +4 -0
- package/docs/en/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en/packages/vite-intlayer/exports.md +38 -13
- package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
- package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
- package/docs/en/packages/vue-intlayer/exports.md +4 -0
- package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en/plugins/sync-json.md +56 -3
- package/docs/en/releases/v8.md +187 -1
- package/docs/en/releases/v9.md +315 -0
- package/docs/en-GB/CI_CD.md +4 -0
- package/docs/en-GB/autoFill.md +81 -0
- package/docs/en-GB/benchmark/solid.md +22 -0
- package/docs/en-GB/benchmark/svelte.md +22 -0
- package/docs/en-GB/benchmark/tanstack.md +22 -0
- package/docs/en-GB/cli/ci.md +22 -0
- package/docs/en-GB/cli/doc-review.md +110 -4
- package/docs/en-GB/cli/fill.md +8 -0
- package/docs/en-GB/cli/index.md +1 -1
- package/docs/en-GB/cli/login.md +0 -36
- package/docs/en-GB/cli/scan.md +1 -1
- package/docs/en-GB/cli/test.md +0 -36
- package/docs/en-GB/compat/i18n-js.md +44 -0
- package/docs/en-GB/compat/i18next.md +59 -0
- package/docs/en-GB/compat/index.md +51 -0
- package/docs/en-GB/compat/lingui.md +44 -0
- package/docs/en-GB/compat/next-i18next.md +57 -0
- package/docs/en-GB/compat/next-intl.md +59 -0
- package/docs/en-GB/compat/next-translate.md +45 -0
- package/docs/en-GB/compat/ngx-translate.md +45 -0
- package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
- package/docs/en-GB/compat/polyglot.md +45 -0
- package/docs/en-GB/compat/react-i18next.md +58 -0
- package/docs/en-GB/compat/react-intl.md +55 -0
- package/docs/en-GB/compat/svelte-i18n.md +47 -0
- package/docs/en-GB/compat/transloco.md +45 -0
- package/docs/en-GB/compat/vue-i18n.md +58 -0
- package/docs/en-GB/compiler.md +9 -4
- package/docs/en-GB/configuration.md +38 -2
- package/docs/en-GB/custom_domains.md +9 -3
- package/docs/en-GB/custom_url_rewrites.md +9 -3
- package/docs/en-GB/dictionary/condition.md +364 -1
- package/docs/en-GB/dictionary/content_file.md +4 -7
- package/docs/en-GB/dictionary/enumeration.md +577 -5
- package/docs/en-GB/dictionary/file.md +325 -1
- package/docs/en-GB/dictionary/function_fetching.md +0 -4
- package/docs/en-GB/dictionary/gender.md +375 -2
- package/docs/en-GB/dictionary/nesting.md +379 -74
- package/docs/en-GB/dictionary/plurial.md +347 -7
- package/docs/en-GB/dictionary/translation.md +315 -88
- package/docs/en-GB/dynamic_dictionaries/collections.md +1 -1
- package/docs/en-GB/dynamic_dictionaries/index.md +22 -16
- package/docs/en-GB/dynamic_dictionaries/variants.md +269 -11
- package/docs/en-GB/formatters.md +59 -0
- package/docs/en-GB/how_works_intlayer.md +4 -16
- package/docs/en-GB/intlayer_CMS.md +6 -0
- package/docs/en-GB/intlayer_with_adonisjs.md +20 -4
- package/docs/en-GB/intlayer_with_analog.md +25 -5
- package/docs/en-GB/intlayer_with_angular_19.md +20 -4
- package/docs/en-GB/intlayer_with_angular_21.md +20 -4
- package/docs/en-GB/intlayer_with_astro.md +131 -2
- package/docs/en-GB/intlayer_with_astro_lit.md +23 -9
- package/docs/en-GB/intlayer_with_astro_preact.md +23 -9
- package/docs/en-GB/intlayer_with_astro_react.md +23 -9
- package/docs/en-GB/intlayer_with_astro_solid.md +23 -9
- package/docs/en-GB/intlayer_with_astro_svelte.md +23 -9
- package/docs/en-GB/intlayer_with_astro_vanilla.md +23 -9
- package/docs/en-GB/intlayer_with_astro_vue.md +23 -9
- package/docs/en-GB/intlayer_with_create_react_app.md +38 -52
- package/docs/en-GB/intlayer_with_express.md +20 -27
- package/docs/en-GB/intlayer_with_fastify.md +20 -8
- package/docs/en-GB/intlayer_with_hono.md +20 -4
- package/docs/en-GB/intlayer_with_lynx+react.md +46 -9
- package/docs/en-GB/intlayer_with_nestjs.md +20 -12
- package/docs/en-GB/intlayer_with_next-i18next.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +33 -9
- package/docs/en-GB/intlayer_with_nextjs_15.md +43 -5
- package/docs/en-GB/intlayer_with_nextjs_16.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/en-GB/intlayer_with_nuxt.md +25 -7
- package/docs/en-GB/intlayer_with_react_native+expo.md +86 -67
- package/docs/en-GB/intlayer_with_react_router_v7.md +27 -8
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +46 -8
- package/docs/en-GB/intlayer_with_storybook.md +7 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +13 -184
- package/docs/en-GB/intlayer_with_tanstack+solid.md +39 -14
- package/docs/en-GB/intlayer_with_tanstack.md +35 -12
- package/docs/en-GB/intlayer_with_vite+lit.md +34 -9
- package/docs/en-GB/intlayer_with_vite+preact.md +25 -5
- package/docs/en-GB/intlayer_with_vite+react.md +27 -8
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/en-GB/intlayer_with_vite+solid.md +21 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +27 -8
- package/docs/en-GB/intlayer_with_vite+vanilla.md +36 -9
- package/docs/en-GB/intlayer_with_vite+vue.md +35 -187
- package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
- package/docs/en-GB/packages/angular-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/intlayer/comparePaths.md +173 -0
- package/docs/en-GB/packages/intlayer/exports.md +5 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
- package/docs/en-GB/packages/next-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en-GB/packages/preact-intlayer/exports.md +10 -6
- package/docs/en-GB/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en-GB/packages/react-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/en-GB/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
- package/docs/en-GB/packages/solid-intlayer/exports.md +15 -11
- package/docs/en-GB/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en-GB/packages/vue-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en-GB/plugins/sync-json.md +222 -50
- package/docs/en-GB/releases/v6.md +10 -6
- package/docs/en-GB/releases/v7.md +128 -0
- package/docs/en-GB/releases/v8.md +191 -1
- package/docs/en-GB/releases/v9.md +312 -0
- package/docs/en-GB/roadmap.md +6 -0
- package/docs/es/CI_CD.md +4 -0
- package/docs/es/autoFill.md +81 -0
- package/docs/es/benchmark/solid.md +22 -0
- package/docs/es/benchmark/svelte.md +22 -0
- package/docs/es/benchmark/tanstack.md +22 -0
- package/docs/es/cli/ci.md +22 -0
- package/docs/es/cli/doc-review.md +110 -4
- package/docs/es/cli/fill.md +8 -0
- package/docs/es/cli/index.md +1 -1
- package/docs/es/cli/login.md +0 -36
- package/docs/es/cli/scan.md +1 -1
- package/docs/es/compat/i18n-js.md +44 -0
- package/docs/es/compat/i18next.md +59 -0
- package/docs/es/compat/index.md +51 -0
- package/docs/es/compat/lingui.md +44 -0
- package/docs/es/compat/next-i18next.md +57 -0
- package/docs/es/compat/next-intl.md +61 -0
- package/docs/es/compat/next-translate.md +45 -0
- package/docs/es/compat/ngx-translate.md +45 -0
- package/docs/es/compat/nuxtjs-i18n.md +46 -0
- package/docs/es/compat/polyglot.md +45 -0
- package/docs/es/compat/react-i18next.md +58 -0
- package/docs/es/compat/react-intl.md +55 -0
- package/docs/es/compat/svelte-i18n.md +47 -0
- package/docs/es/compat/transloco.md +45 -0
- package/docs/es/compat/vue-i18n.md +58 -0
- package/docs/es/compiler.md +9 -4
- package/docs/es/configuration.md +54 -19
- package/docs/es/custom_domains.md +9 -3
- package/docs/es/custom_url_rewrites.md +9 -3
- package/docs/es/dictionary/condition.md +167 -5
- package/docs/es/dictionary/content_file.md +4 -0
- package/docs/es/dictionary/enumeration.md +537 -12
- package/docs/es/dictionary/file.md +159 -1
- package/docs/es/dictionary/gender.md +168 -7
- package/docs/es/dictionary/nesting.md +187 -40
- package/docs/es/dictionary/plurial.md +347 -7
- package/docs/es/dictionary/translation.md +146 -53
- package/docs/es/dynamic_dictionaries/collections.md +1 -1
- package/docs/es/dynamic_dictionaries/index.md +26 -20
- package/docs/es/dynamic_dictionaries/variants.md +276 -18
- package/docs/es/formatters.md +82 -0
- package/docs/es/how_works_intlayer.md +4 -4
- package/docs/es/intlayer_CMS.md +21 -0
- package/docs/es/intlayer_visual_editor.md +0 -23
- package/docs/es/intlayer_with_adonisjs.md +20 -4
- package/docs/es/intlayer_with_analog.md +25 -5
- package/docs/es/intlayer_with_angular_19.md +20 -4
- package/docs/es/intlayer_with_angular_21.md +20 -4
- package/docs/es/intlayer_with_astro.md +132 -3
- package/docs/es/intlayer_with_astro_lit.md +24 -10
- package/docs/es/intlayer_with_astro_preact.md +24 -10
- package/docs/es/intlayer_with_astro_react.md +24 -10
- package/docs/es/intlayer_with_astro_solid.md +24 -10
- package/docs/es/intlayer_with_astro_svelte.md +24 -10
- package/docs/es/intlayer_with_astro_vanilla.md +24 -10
- package/docs/es/intlayer_with_astro_vue.md +24 -10
- package/docs/es/intlayer_with_create_react_app.md +20 -4
- package/docs/es/intlayer_with_express.md +20 -8
- package/docs/es/intlayer_with_fastify.md +20 -8
- package/docs/es/intlayer_with_hono.md +20 -4
- package/docs/es/intlayer_with_lynx+react.md +26 -5
- package/docs/es/intlayer_with_nestjs.md +20 -22
- package/docs/es/intlayer_with_next-i18next.md +20 -4
- package/docs/es/intlayer_with_nextjs_14.md +30 -8
- package/docs/es/intlayer_with_nextjs_15.md +41 -5
- package/docs/es/intlayer_with_nextjs_16.md +23 -5
- package/docs/es/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/es/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/es/intlayer_with_nuxt.md +25 -7
- package/docs/es/intlayer_with_react_native+expo.md +92 -72
- package/docs/es/intlayer_with_react_router_v7.md +24 -100
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +10 -5
- package/docs/es/intlayer_with_storybook.md +7 -1
- package/docs/es/intlayer_with_svelte_kit.md +16 -185
- package/docs/es/intlayer_with_tanstack+solid.md +39 -14
- package/docs/es/intlayer_with_tanstack.md +38 -13
- package/docs/es/intlayer_with_vite+lit.md +34 -9
- package/docs/es/intlayer_with_vite+preact.md +28 -6
- package/docs/es/intlayer_with_vite+react.md +30 -9
- package/docs/es/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/es/intlayer_with_vite+solid.md +24 -6
- package/docs/es/intlayer_with_vite+svelte.md +25 -7
- package/docs/es/intlayer_with_vite+vanilla.md +37 -10
- package/docs/es/intlayer_with_vite+vue.md +47 -94
- package/docs/es/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/es/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/es/packages/@intlayer_babel/export.md +131 -0
- package/docs/es/packages/angular-intlayer/exports.md +13 -9
- package/docs/es/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/es/packages/express-intlayer/t.md +0 -9
- package/docs/es/packages/intlayer/comparePaths.md +173 -0
- package/docs/es/packages/intlayer/exports.md +18 -13
- package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/es/packages/next-intlayer/exports.md +4 -0
- package/docs/es/packages/next-intlayer/usePathname.md +136 -0
- package/docs/es/packages/preact-intlayer/exports.md +10 -6
- package/docs/es/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/es/packages/react-intlayer/exports.md +4 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/es/packages/react-intlayer/usePathname.md +87 -0
- package/docs/es/packages/react-native-intlayer/exports.md +47 -13
- package/docs/es/packages/solid-intlayer/exports.md +4 -0
- package/docs/es/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/es/packages/svelte-intlayer/exports.md +4 -0
- package/docs/es/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/es/packages/vue-intlayer/exports.md +4 -0
- package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/es/plugins/sync-json.md +221 -49
- package/docs/es/releases/v6.md +28 -0
- package/docs/es/releases/v7.md +128 -0
- package/docs/es/releases/v8.md +187 -1
- package/docs/es/releases/v9.md +312 -0
- package/docs/es/roadmap.md +6 -0
- package/docs/fr/CI_CD.md +4 -0
- package/docs/fr/autoFill.md +81 -0
- package/docs/fr/benchmark/solid.md +22 -0
- package/docs/fr/benchmark/svelte.md +22 -0
- package/docs/fr/benchmark/tanstack.md +22 -0
- package/docs/fr/cli/ci.md +22 -0
- package/docs/fr/cli/doc-review.md +110 -4
- package/docs/fr/cli/fill.md +8 -0
- package/docs/fr/cli/index.md +1 -1
- package/docs/fr/cli/login.md +0 -36
- package/docs/fr/cli/scan.md +1 -1
- package/docs/fr/compat/i18n-js.md +44 -0
- package/docs/fr/compat/i18next.md +59 -0
- package/docs/fr/compat/index.md +51 -0
- package/docs/fr/compat/lingui.md +44 -0
- package/docs/fr/compat/next-i18next.md +57 -0
- package/docs/fr/compat/next-intl.md +59 -0
- package/docs/fr/compat/next-translate.md +45 -0
- package/docs/fr/compat/ngx-translate.md +45 -0
- package/docs/fr/compat/nuxtjs-i18n.md +46 -0
- package/docs/fr/compat/polyglot.md +45 -0
- package/docs/fr/compat/react-i18next.md +58 -0
- package/docs/fr/compat/react-intl.md +55 -0
- package/docs/fr/compat/svelte-i18n.md +47 -0
- package/docs/fr/compat/transloco.md +45 -0
- package/docs/fr/compat/vue-i18n.md +58 -0
- package/docs/fr/compiler.md +9 -4
- package/docs/fr/configuration.md +68 -32
- package/docs/fr/custom_domains.md +9 -3
- package/docs/fr/custom_url_rewrites.md +22 -16
- package/docs/fr/dictionary/condition.md +369 -6
- package/docs/fr/dictionary/content_file.md +4 -0
- package/docs/fr/dictionary/enumeration.md +353 -6
- package/docs/fr/dictionary/file.md +159 -1
- package/docs/fr/dictionary/gender.md +168 -7
- package/docs/fr/dictionary/nesting.md +358 -48
- package/docs/fr/dictionary/plurial.md +174 -5
- package/docs/fr/dictionary/translation.md +146 -53
- package/docs/fr/dynamic_dictionaries/collections.md +1 -1
- package/docs/fr/dynamic_dictionaries/index.md +27 -21
- package/docs/fr/dynamic_dictionaries/variants.md +274 -16
- package/docs/fr/formatters.md +171 -77
- package/docs/fr/how_works_intlayer.md +4 -0
- package/docs/fr/intlayer_CMS.md +6 -0
- package/docs/fr/intlayer_with_adonisjs.md +20 -4
- package/docs/fr/intlayer_with_analog.md +25 -5
- package/docs/fr/intlayer_with_angular_19.md +20 -4
- package/docs/fr/intlayer_with_angular_21.md +20 -4
- package/docs/fr/intlayer_with_astro.md +132 -3
- package/docs/fr/intlayer_with_astro_lit.md +24 -10
- package/docs/fr/intlayer_with_astro_preact.md +24 -10
- package/docs/fr/intlayer_with_astro_react.md +24 -10
- package/docs/fr/intlayer_with_astro_solid.md +24 -10
- package/docs/fr/intlayer_with_astro_svelte.md +24 -10
- package/docs/fr/intlayer_with_astro_vanilla.md +24 -10
- package/docs/fr/intlayer_with_astro_vue.md +24 -10
- package/docs/fr/intlayer_with_create_react_app.md +20 -18
- package/docs/fr/intlayer_with_express.md +20 -8
- package/docs/fr/intlayer_with_fastify.md +20 -8
- package/docs/fr/intlayer_with_hono.md +20 -4
- package/docs/fr/intlayer_with_lynx+react.md +26 -5
- package/docs/fr/intlayer_with_nestjs.md +20 -22
- package/docs/fr/intlayer_with_next-i18next.md +20 -4
- package/docs/fr/intlayer_with_nextjs_14.md +46 -9
- package/docs/fr/intlayer_with_nextjs_15.md +41 -5
- package/docs/fr/intlayer_with_nextjs_16.md +23 -5
- package/docs/fr/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/fr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/fr/intlayer_with_nuxt.md +20 -31
- package/docs/fr/intlayer_with_react_native+expo.md +95 -68
- package/docs/fr/intlayer_with_react_router_v7.md +24 -100
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +4 -101
- package/docs/fr/intlayer_with_storybook.md +7 -1
- package/docs/fr/intlayer_with_svelte_kit.md +16 -217
- package/docs/fr/intlayer_with_tanstack+solid.md +39 -14
- package/docs/fr/intlayer_with_tanstack.md +38 -13
- package/docs/fr/intlayer_with_vite+lit.md +34 -9
- package/docs/fr/intlayer_with_vite+preact.md +28 -6
- package/docs/fr/intlayer_with_vite+react.md +30 -9
- package/docs/fr/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/fr/intlayer_with_vite+solid.md +24 -6
- package/docs/fr/intlayer_with_vite+svelte.md +30 -9
- package/docs/fr/intlayer_with_vite+vanilla.md +37 -10
- package/docs/fr/intlayer_with_vite+vue.md +42 -91
- package/docs/fr/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/fr/packages/@intlayer_babel/export.md +131 -0
- package/docs/fr/packages/angular-intlayer/exports.md +13 -9
- package/docs/fr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/express-intlayer/t.md +0 -9
- package/docs/fr/packages/intlayer/comparePaths.md +173 -0
- package/docs/fr/packages/intlayer/exports.md +18 -13
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
- package/docs/fr/packages/next-intlayer/exports.md +4 -0
- package/docs/fr/packages/next-intlayer/t.md +1 -1
- package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
- package/docs/fr/packages/preact-intlayer/exports.md +10 -6
- package/docs/fr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/fr/packages/react-intlayer/exports.md +4 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
- package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/fr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
- package/docs/fr/packages/solid-intlayer/exports.md +4 -0
- package/docs/fr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/svelte-intlayer/exports.md +4 -0
- package/docs/fr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/fr/packages/vue-intlayer/exports.md +14 -10
- package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/fr/plugins/sync-json.md +221 -49
- package/docs/fr/releases/v6.md +28 -0
- package/docs/fr/releases/v7.md +128 -0
- package/docs/fr/releases/v8.md +187 -1
- package/docs/fr/releases/v9.md +312 -0
- package/docs/fr/roadmap.md +6 -0
- package/docs/hi/CI_CD.md +4 -0
- package/docs/hi/autoFill.md +81 -0
- package/docs/hi/benchmark/solid.md +22 -0
- package/docs/hi/benchmark/svelte.md +22 -0
- package/docs/hi/benchmark/tanstack.md +22 -0
- package/docs/hi/cli/ci.md +22 -0
- package/docs/hi/cli/doc-review.md +110 -4
- package/docs/hi/cli/fill.md +8 -0
- package/docs/hi/cli/index.md +1 -1
- package/docs/hi/cli/login.md +0 -36
- package/docs/hi/cli/scan.md +1 -1
- package/docs/hi/compat/i18n-js.md +44 -0
- package/docs/hi/compat/i18next.md +59 -0
- package/docs/hi/compat/index.md +51 -0
- package/docs/hi/compat/lingui.md +44 -0
- package/docs/hi/compat/next-i18next.md +57 -0
- package/docs/hi/compat/next-intl.md +59 -0
- package/docs/hi/compat/next-translate.md +45 -0
- package/docs/hi/compat/ngx-translate.md +45 -0
- package/docs/hi/compat/nuxtjs-i18n.md +46 -0
- package/docs/hi/compat/polyglot.md +45 -0
- package/docs/hi/compat/react-i18next.md +58 -0
- package/docs/hi/compat/react-intl.md +55 -0
- package/docs/hi/compat/svelte-i18n.md +47 -0
- package/docs/hi/compat/transloco.md +45 -0
- package/docs/hi/compat/vue-i18n.md +58 -0
- package/docs/hi/compiler.md +9 -4
- package/docs/hi/configuration.md +67 -32
- package/docs/hi/custom_domains.md +9 -3
- package/docs/hi/custom_url_rewrites.md +9 -3
- package/docs/hi/dictionary/condition.md +167 -5
- package/docs/hi/dictionary/enumeration.md +353 -6
- package/docs/hi/dictionary/file.md +159 -1
- package/docs/hi/dictionary/gender.md +168 -7
- package/docs/hi/dictionary/nesting.md +188 -41
- package/docs/hi/dictionary/plurial.md +174 -5
- package/docs/hi/dictionary/translation.md +145 -56
- package/docs/hi/dynamic_dictionaries/collections.md +1 -1
- package/docs/hi/dynamic_dictionaries/index.md +29 -23
- package/docs/hi/dynamic_dictionaries/variants.md +283 -25
- package/docs/hi/formatters.md +85 -0
- package/docs/hi/how_works_intlayer.md +2 -0
- package/docs/hi/interest_of_intlayer.md +194 -0
- package/docs/hi/intlayer_CMS.md +6 -0
- package/docs/hi/intlayer_with_adonisjs.md +20 -4
- package/docs/hi/intlayer_with_analog.md +25 -5
- package/docs/hi/intlayer_with_angular_19.md +20 -4
- package/docs/hi/intlayer_with_angular_21.md +20 -4
- package/docs/hi/intlayer_with_astro.md +136 -6
- package/docs/hi/intlayer_with_astro_lit.md +7 -4
- package/docs/hi/intlayer_with_astro_preact.md +7 -4
- package/docs/hi/intlayer_with_astro_react.md +7 -4
- package/docs/hi/intlayer_with_astro_solid.md +7 -4
- package/docs/hi/intlayer_with_astro_svelte.md +7 -4
- package/docs/hi/intlayer_with_astro_vanilla.md +7 -4
- package/docs/hi/intlayer_with_astro_vue.md +27 -12
- package/docs/hi/intlayer_with_create_react_app.md +35 -4
- package/docs/hi/intlayer_with_express.md +20 -27
- package/docs/hi/intlayer_with_fastify.md +20 -8
- package/docs/hi/intlayer_with_hono.md +20 -4
- package/docs/hi/intlayer_with_lynx+react.md +26 -5
- package/docs/hi/intlayer_with_nestjs.md +20 -12
- package/docs/hi/intlayer_with_next-i18next.md +20 -4
- package/docs/hi/intlayer_with_nextjs_14.md +51 -12
- package/docs/hi/intlayer_with_nextjs_15.md +41 -5
- package/docs/hi/intlayer_with_nextjs_16.md +196 -58
- package/docs/hi/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/hi/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/hi/intlayer_with_nuxt.md +20 -31
- package/docs/hi/intlayer_with_react_native+expo.md +131 -87
- package/docs/hi/intlayer_with_react_router_v7.md +27 -102
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +46 -103
- package/docs/hi/intlayer_with_storybook.md +7 -1
- package/docs/hi/intlayer_with_svelte_kit.md +19 -187
- package/docs/hi/intlayer_with_tanstack+solid.md +39 -14
- package/docs/hi/intlayer_with_tanstack.md +41 -15
- package/docs/hi/intlayer_with_vite+lit.md +29 -7
- package/docs/hi/intlayer_with_vite+preact.md +27 -8
- package/docs/hi/intlayer_with_vite+react.md +33 -11
- package/docs/hi/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/hi/intlayer_with_vite+solid.md +27 -8
- package/docs/hi/intlayer_with_vite+svelte.md +59 -56
- package/docs/hi/intlayer_with_vite+vanilla.md +37 -10
- package/docs/hi/intlayer_with_vite+vue.md +55 -81
- package/docs/hi/mcp_server.md +22 -0
- package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
- package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/hi/packages/@intlayer_babel/export.md +131 -0
- package/docs/hi/packages/angular-intlayer/exports.md +13 -9
- package/docs/hi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/intlayer/comparePaths.md +173 -0
- package/docs/hi/packages/intlayer/exports.md +18 -13
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/hi/packages/intlayer/index.md +20 -4
- package/docs/hi/packages/next-intlayer/exports.md +4 -0
- package/docs/hi/packages/next-intlayer/t.md +2 -0
- package/docs/hi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/hi/packages/preact-intlayer/exports.md +10 -6
- package/docs/hi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/hi/packages/react-intlayer/exports.md +3 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
- package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/hi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
- package/docs/hi/packages/solid-intlayer/exports.md +15 -11
- package/docs/hi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/hi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/hi/packages/vue-intlayer/exports.md +14 -10
- package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/hi/plugins/sync-json.md +220 -48
- package/docs/hi/releases/v6.md +28 -0
- package/docs/hi/releases/v7.md +128 -0
- package/docs/hi/releases/v8.md +188 -2
- package/docs/hi/releases/v9.md +316 -0
- package/docs/hi/roadmap.md +6 -0
- package/docs/id/autoFill.md +20 -0
- package/docs/id/benchmark/solid.md +22 -0
- package/docs/id/benchmark/svelte.md +22 -0
- package/docs/id/benchmark/tanstack.md +22 -0
- package/docs/id/cli/ci.md +22 -0
- package/docs/id/cli/doc-review.md +110 -4
- package/docs/id/cli/fill.md +8 -0
- package/docs/id/cli/index.md +1 -1
- package/docs/id/cli/scan.md +1 -1
- package/docs/id/compat/i18n-js.md +44 -0
- package/docs/id/compat/i18next.md +59 -0
- package/docs/id/compat/index.md +51 -0
- package/docs/id/compat/lingui.md +44 -0
- package/docs/id/compat/next-i18next.md +57 -0
- package/docs/id/compat/next-intl.md +59 -0
- package/docs/id/compat/next-translate.md +45 -0
- package/docs/id/compat/ngx-translate.md +45 -0
- package/docs/id/compat/nuxtjs-i18n.md +46 -0
- package/docs/id/compat/polyglot.md +45 -0
- package/docs/id/compat/react-i18next.md +58 -0
- package/docs/id/compat/react-intl.md +55 -0
- package/docs/id/compat/svelte-i18n.md +47 -0
- package/docs/id/compat/transloco.md +45 -0
- package/docs/id/compat/vue-i18n.md +58 -0
- package/docs/id/compiler.md +9 -4
- package/docs/id/configuration.md +53 -18
- package/docs/id/custom_domains.md +9 -3
- package/docs/id/custom_url_rewrites.md +22 -18
- package/docs/id/dictionary/condition.md +167 -5
- package/docs/id/dictionary/content_file.md +0 -7
- package/docs/id/dictionary/enumeration.md +353 -6
- package/docs/id/dictionary/file.md +318 -2
- package/docs/id/dictionary/gender.md +381 -8
- package/docs/id/dictionary/nesting.md +359 -49
- package/docs/id/dictionary/plurial.md +174 -5
- package/docs/id/dictionary/translation.md +146 -53
- package/docs/id/dynamic_dictionaries/collections.md +1 -1
- package/docs/id/dynamic_dictionaries/index.md +26 -20
- package/docs/id/dynamic_dictionaries/variants.md +275 -17
- package/docs/id/formatters.md +120 -0
- package/docs/id/interest_of_intlayer.md +193 -0
- package/docs/id/intlayer_with_adonisjs.md +20 -4
- package/docs/id/intlayer_with_analog.md +25 -5
- package/docs/id/intlayer_with_angular_19.md +20 -4
- package/docs/id/intlayer_with_angular_21.md +20 -4
- package/docs/id/intlayer_with_astro.md +133 -4
- package/docs/id/intlayer_with_astro_lit.md +24 -10
- package/docs/id/intlayer_with_astro_preact.md +24 -10
- package/docs/id/intlayer_with_astro_react.md +24 -10
- package/docs/id/intlayer_with_astro_solid.md +24 -10
- package/docs/id/intlayer_with_astro_svelte.md +24 -10
- package/docs/id/intlayer_with_astro_vanilla.md +24 -10
- package/docs/id/intlayer_with_astro_vue.md +24 -10
- package/docs/id/intlayer_with_create_react_app.md +20 -4
- package/docs/id/intlayer_with_express.md +20 -4
- package/docs/id/intlayer_with_fastify.md +20 -8
- package/docs/id/intlayer_with_hono.md +20 -4
- package/docs/id/intlayer_with_lynx+react.md +26 -5
- package/docs/id/intlayer_with_nestjs.md +20 -4
- package/docs/id/intlayer_with_next-i18next.md +20 -4
- package/docs/id/intlayer_with_nextjs_14.md +21 -5
- package/docs/id/intlayer_with_nextjs_15.md +21 -5
- package/docs/id/intlayer_with_nextjs_16.md +198 -58
- package/docs/id/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/id/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/id/intlayer_with_nuxt.md +25 -7
- package/docs/id/intlayer_with_react_native+expo.md +45 -65
- package/docs/id/intlayer_with_react_router_v7.md +24 -100
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/id/intlayer_with_storybook.md +7 -1
- package/docs/id/intlayer_with_svelte_kit.md +16 -185
- package/docs/id/intlayer_with_tanstack+solid.md +39 -14
- package/docs/id/intlayer_with_tanstack.md +38 -13
- package/docs/id/intlayer_with_vite+lit.md +29 -7
- package/docs/id/intlayer_with_vite+preact.md +80 -62
- package/docs/id/intlayer_with_vite+react.md +78 -57
- package/docs/id/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/id/intlayer_with_vite+solid.md +56 -47
- package/docs/id/intlayer_with_vite+svelte.md +52 -36
- package/docs/id/intlayer_with_vite+vanilla.md +37 -10
- package/docs/id/intlayer_with_vite+vue.md +78 -109
- package/docs/id/mcp_server.md +22 -0
- package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/id/packages/@intlayer_babel/export.md +131 -0
- package/docs/id/packages/angular-intlayer/exports.md +14 -10
- package/docs/id/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/id/packages/intlayer/comparePaths.md +173 -0
- package/docs/id/packages/intlayer/exports.md +5 -0
- package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/id/packages/next-intlayer/exports.md +4 -0
- package/docs/id/packages/next-intlayer/usePathname.md +136 -0
- package/docs/id/packages/preact-intlayer/exports.md +10 -6
- package/docs/id/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/id/packages/react-intlayer/exports.md +4 -0
- package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/id/packages/react-intlayer/usePathname.md +87 -0
- package/docs/id/packages/react-native-intlayer/exports.md +47 -13
- package/docs/id/packages/solid-intlayer/exports.md +4 -0
- package/docs/id/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/id/packages/svelte-intlayer/exports.md +13 -9
- package/docs/id/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/id/packages/vue-intlayer/exports.md +4 -0
- package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/id/plugins/sync-json.md +221 -49
- package/docs/id/releases/v6.md +4 -0
- package/docs/id/releases/v7.md +128 -0
- package/docs/id/releases/v8.md +191 -2
- package/docs/id/releases/v9.md +316 -0
- package/docs/id/roadmap.md +0 -16
- package/docs/it/CI_CD.md +4 -0
- package/docs/it/autoFill.md +81 -0
- package/docs/it/benchmark/solid.md +22 -0
- package/docs/it/benchmark/svelte.md +22 -0
- package/docs/it/benchmark/tanstack.md +22 -0
- package/docs/it/cli/ci.md +22 -0
- package/docs/it/cli/doc-review.md +110 -4
- package/docs/it/cli/fill.md +8 -0
- package/docs/it/cli/index.md +1 -1
- package/docs/it/cli/scan.md +1 -1
- package/docs/it/compat/i18n-js.md +44 -0
- package/docs/it/compat/i18next.md +59 -0
- package/docs/it/compat/index.md +51 -0
- package/docs/it/compat/lingui.md +44 -0
- package/docs/it/compat/next-i18next.md +57 -0
- package/docs/it/compat/next-intl.md +59 -0
- package/docs/it/compat/next-translate.md +45 -0
- package/docs/it/compat/ngx-translate.md +45 -0
- package/docs/it/compat/nuxtjs-i18n.md +46 -0
- package/docs/it/compat/polyglot.md +45 -0
- package/docs/it/compat/react-i18next.md +58 -0
- package/docs/it/compat/react-intl.md +55 -0
- package/docs/it/compat/svelte-i18n.md +47 -0
- package/docs/it/compat/transloco.md +45 -0
- package/docs/it/compat/vue-i18n.md +58 -0
- package/docs/it/compiler.md +9 -4
- package/docs/it/configuration.md +67 -32
- package/docs/it/custom_domains.md +9 -3
- package/docs/it/custom_url_rewrites.md +9 -3
- package/docs/it/dictionary/condition.md +167 -5
- package/docs/it/dictionary/content_file.md +4 -7
- package/docs/it/dictionary/enumeration.md +349 -12
- package/docs/it/dictionary/file.md +326 -2
- package/docs/it/dictionary/gender.md +168 -7
- package/docs/it/dictionary/nesting.md +188 -41
- package/docs/it/dictionary/plurial.md +347 -7
- package/docs/it/dictionary/translation.md +146 -53
- package/docs/it/dynamic_dictionaries/collections.md +1 -1
- package/docs/it/dynamic_dictionaries/index.md +27 -21
- package/docs/it/dynamic_dictionaries/variants.md +274 -16
- package/docs/it/formatters.md +82 -0
- package/docs/it/how_works_intlayer.md +4 -4
- package/docs/it/intlayer_CMS.md +6 -0
- package/docs/it/intlayer_with_adonisjs.md +20 -4
- package/docs/it/intlayer_with_analog.md +25 -5
- package/docs/it/intlayer_with_angular_19.md +20 -4
- package/docs/it/intlayer_with_angular_21.md +20 -4
- package/docs/it/intlayer_with_astro.md +132 -3
- package/docs/it/intlayer_with_astro_lit.md +24 -10
- package/docs/it/intlayer_with_astro_preact.md +24 -10
- package/docs/it/intlayer_with_astro_react.md +24 -10
- package/docs/it/intlayer_with_astro_solid.md +24 -10
- package/docs/it/intlayer_with_astro_svelte.md +24 -10
- package/docs/it/intlayer_with_astro_vanilla.md +24 -10
- package/docs/it/intlayer_with_astro_vue.md +24 -10
- package/docs/it/intlayer_with_create_react_app.md +20 -18
- package/docs/it/intlayer_with_express.md +20 -8
- package/docs/it/intlayer_with_fastify.md +20 -8
- package/docs/it/intlayer_with_hono.md +20 -4
- package/docs/it/intlayer_with_lynx+react.md +37 -5
- package/docs/it/intlayer_with_nestjs.md +20 -12
- package/docs/it/intlayer_with_next-i18next.md +20 -4
- package/docs/it/intlayer_with_nextjs_14.md +50 -13
- package/docs/it/intlayer_with_nextjs_15.md +41 -5
- package/docs/it/intlayer_with_nextjs_16.md +198 -58
- package/docs/it/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/it/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/it/intlayer_with_nuxt.md +25 -7
- package/docs/it/intlayer_with_react_native+expo.md +81 -64
- package/docs/it/intlayer_with_react_router_v7.md +24 -100
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/it/intlayer_with_storybook.md +7 -1
- package/docs/it/intlayer_with_svelte_kit.md +16 -217
- package/docs/it/intlayer_with_tanstack+solid.md +39 -14
- package/docs/it/intlayer_with_tanstack.md +38 -13
- package/docs/it/intlayer_with_vite+lit.md +34 -9
- package/docs/it/intlayer_with_vite+preact.md +84 -62
- package/docs/it/intlayer_with_vite+react.md +78 -57
- package/docs/it/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/it/intlayer_with_vite+solid.md +56 -47
- package/docs/it/intlayer_with_vite+svelte.md +51 -35
- package/docs/it/intlayer_with_vite+vanilla.md +37 -10
- package/docs/it/intlayer_with_vite+vue.md +82 -131
- package/docs/it/mcp_server.md +22 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/it/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/it/packages/@intlayer_babel/export.md +131 -0
- package/docs/it/packages/angular-intlayer/exports.md +13 -9
- package/docs/it/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/it/packages/intlayer/comparePaths.md +173 -0
- package/docs/it/packages/intlayer/exports.md +18 -13
- package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/it/packages/next-intlayer/exports.md +4 -0
- package/docs/it/packages/next-intlayer/t.md +34 -0
- package/docs/it/packages/next-intlayer/usePathname.md +136 -0
- package/docs/it/packages/preact-intlayer/exports.md +10 -6
- package/docs/it/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/it/packages/react-intlayer/exports.md +20 -16
- package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
- package/docs/it/packages/react-intlayer/usePathname.md +87 -0
- package/docs/it/packages/react-native-intlayer/exports.md +47 -13
- package/docs/it/packages/solid-intlayer/exports.md +4 -0
- package/docs/it/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/it/packages/svelte-intlayer/exports.md +4 -0
- package/docs/it/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/it/packages/vue-intlayer/exports.md +4 -0
- package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/it/plugins/sync-json.md +223 -51
- package/docs/it/releases/v6.md +28 -0
- package/docs/it/releases/v7.md +128 -0
- package/docs/it/releases/v8.md +200 -2
- package/docs/it/releases/v9.md +316 -0
- package/docs/it/roadmap.md +6 -0
- package/docs/ja/CI_CD.md +4 -0
- package/docs/ja/autoFill.md +81 -0
- package/docs/ja/benchmark/solid.md +22 -0
- package/docs/ja/benchmark/svelte.md +22 -0
- package/docs/ja/benchmark/tanstack.md +22 -0
- package/docs/ja/cli/ci.md +22 -0
- package/docs/ja/cli/doc-review.md +110 -4
- package/docs/ja/cli/fill.md +8 -0
- package/docs/ja/cli/index.md +1 -1
- package/docs/ja/cli/list_projects.md +0 -18
- package/docs/ja/cli/scan.md +1 -1
- package/docs/ja/compat/i18n-js.md +44 -0
- package/docs/ja/compat/i18next.md +59 -0
- package/docs/ja/compat/index.md +51 -0
- package/docs/ja/compat/lingui.md +44 -0
- package/docs/ja/compat/next-i18next.md +57 -0
- package/docs/ja/compat/next-intl.md +59 -0
- package/docs/ja/compat/next-translate.md +45 -0
- package/docs/ja/compat/ngx-translate.md +45 -0
- package/docs/ja/compat/nuxtjs-i18n.md +46 -0
- package/docs/ja/compat/polyglot.md +45 -0
- package/docs/ja/compat/react-i18next.md +58 -0
- package/docs/ja/compat/react-intl.md +55 -0
- package/docs/ja/compat/svelte-i18n.md +47 -0
- package/docs/ja/compat/transloco.md +45 -0
- package/docs/ja/compat/vue-i18n.md +58 -0
- package/docs/ja/compiler.md +9 -4
- package/docs/ja/configuration.md +68 -33
- package/docs/ja/custom_domains.md +9 -3
- package/docs/ja/custom_url_rewrites.md +9 -3
- package/docs/ja/dictionary/condition.md +167 -5
- package/docs/ja/dictionary/content_file.md +4 -0
- package/docs/ja/dictionary/enumeration.md +353 -6
- package/docs/ja/dictionary/file.md +151 -1
- package/docs/ja/dictionary/function_fetching.md +0 -27
- package/docs/ja/dictionary/gender.md +168 -7
- package/docs/ja/dictionary/markdown.md +1348 -0
- package/docs/ja/dictionary/nesting.md +187 -40
- package/docs/ja/dictionary/plurial.md +174 -5
- package/docs/ja/dictionary/translation.md +134 -92
- package/docs/ja/dynamic_dictionaries/collections.md +1 -1
- package/docs/ja/dynamic_dictionaries/index.md +28 -22
- package/docs/ja/dynamic_dictionaries/variants.md +277 -19
- package/docs/ja/formatters.md +77 -0
- package/docs/ja/how_works_intlayer.md +4 -2
- package/docs/ja/intlayer_CMS.md +6 -0
- package/docs/ja/intlayer_visual_editor.md +0 -4
- package/docs/ja/intlayer_with_adonisjs.md +20 -4
- package/docs/ja/intlayer_with_analog.md +29 -5
- package/docs/ja/intlayer_with_angular_19.md +20 -4
- package/docs/ja/intlayer_with_angular_21.md +20 -4
- package/docs/ja/intlayer_with_astro.md +131 -2
- package/docs/ja/intlayer_with_astro_lit.md +23 -9
- package/docs/ja/intlayer_with_astro_preact.md +23 -9
- package/docs/ja/intlayer_with_astro_react.md +23 -9
- package/docs/ja/intlayer_with_astro_solid.md +23 -9
- package/docs/ja/intlayer_with_astro_svelte.md +23 -9
- package/docs/ja/intlayer_with_astro_vanilla.md +23 -9
- package/docs/ja/intlayer_with_astro_vue.md +23 -9
- package/docs/ja/intlayer_with_create_react_app.md +20 -20
- package/docs/ja/intlayer_with_express.md +20 -8
- package/docs/ja/intlayer_with_fastify.md +20 -8
- package/docs/ja/intlayer_with_hono.md +20 -4
- package/docs/ja/intlayer_with_lynx+react.md +26 -5
- package/docs/ja/intlayer_with_nestjs.md +20 -12
- package/docs/ja/intlayer_with_next-i18next.md +20 -4
- package/docs/ja/intlayer_with_nextjs_14.md +46 -24
- package/docs/ja/intlayer_with_nextjs_15.md +41 -5
- package/docs/ja/intlayer_with_nextjs_16.md +198 -58
- package/docs/ja/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ja/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ja/intlayer_with_nuxt.md +25 -7
- package/docs/ja/intlayer_with_react_native+expo.md +139 -137
- package/docs/ja/intlayer_with_react_router_v7.md +9 -26
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ja/intlayer_with_storybook.md +7 -1
- package/docs/ja/intlayer_with_svelte_kit.md +14 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ja/intlayer_with_tanstack.md +39 -14
- package/docs/ja/intlayer_with_vite+lit.md +34 -9
- package/docs/ja/intlayer_with_vite+preact.md +709 -1
- package/docs/ja/intlayer_with_vite+react.md +293 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ja/intlayer_with_vite+solid.md +56 -47
- package/docs/ja/intlayer_with_vite+svelte.md +54 -36
- package/docs/ja/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ja/intlayer_with_vite+vue.md +99 -122
- package/docs/ja/mcp_server.md +26 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ja/packages/@intlayer_babel/export.md +131 -0
- package/docs/ja/packages/angular-intlayer/exports.md +13 -9
- package/docs/ja/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ja/packages/express-intlayer/t.md +0 -9
- package/docs/ja/packages/intlayer/comparePaths.md +173 -0
- package/docs/ja/packages/intlayer/exports.md +5 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ja/packages/next-intlayer/exports.md +4 -0
- package/docs/ja/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ja/packages/preact-intlayer/exports.md +10 -6
- package/docs/ja/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ja/packages/react-intlayer/exports.md +21 -16
- package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
- package/docs/ja/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
- package/docs/ja/packages/solid-intlayer/exports.md +4 -0
- package/docs/ja/packages/solid-intlayer/usePathname.md +120 -0
- package/docs/ja/packages/svelte-intlayer/exports.md +13 -9
- package/docs/ja/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ja/packages/vue-intlayer/exports.md +4 -0
- package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ja/plugins/sync-json.md +221 -49
- package/docs/ja/releases/v6.md +28 -0
- package/docs/ja/releases/v7.md +128 -0
- package/docs/ja/releases/v8.md +193 -4
- package/docs/ja/releases/v9.md +316 -0
- package/docs/ja/roadmap.md +6 -0
- package/docs/ko/CI_CD.md +4 -0
- package/docs/ko/autoFill.md +81 -0
- package/docs/ko/benchmark/solid.md +22 -0
- package/docs/ko/benchmark/svelte.md +22 -0
- package/docs/ko/benchmark/tanstack.md +22 -0
- package/docs/ko/cli/ci.md +22 -0
- package/docs/ko/cli/doc-review.md +110 -4
- package/docs/ko/cli/fill.md +8 -0
- package/docs/ko/cli/index.md +1 -1
- package/docs/ko/cli/login.md +0 -36
- package/docs/ko/cli/scan.md +1 -1
- package/docs/ko/compat/i18n-js.md +44 -0
- package/docs/ko/compat/i18next.md +59 -0
- package/docs/ko/compat/index.md +51 -0
- package/docs/ko/compat/lingui.md +44 -0
- package/docs/ko/compat/next-i18next.md +55 -0
- package/docs/ko/compat/next-intl.md +59 -0
- package/docs/ko/compat/next-translate.md +45 -0
- package/docs/ko/compat/ngx-translate.md +45 -0
- package/docs/ko/compat/nuxtjs-i18n.md +46 -0
- package/docs/ko/compat/polyglot.md +45 -0
- package/docs/ko/compat/react-i18next.md +58 -0
- package/docs/ko/compat/react-intl.md +55 -0
- package/docs/ko/compat/svelte-i18n.md +47 -0
- package/docs/ko/compat/transloco.md +45 -0
- package/docs/ko/compat/vue-i18n.md +58 -0
- package/docs/ko/compiler.md +9 -4
- package/docs/ko/configuration.md +67 -32
- package/docs/ko/custom_domains.md +9 -3
- package/docs/ko/custom_url_rewrites.md +9 -3
- package/docs/ko/dictionary/condition.md +167 -5
- package/docs/ko/dictionary/content_file.md +4 -27
- package/docs/ko/dictionary/enumeration.md +353 -6
- package/docs/ko/dictionary/file.md +151 -1
- package/docs/ko/dictionary/gender.md +168 -7
- package/docs/ko/dictionary/insertion.md +0 -6
- package/docs/ko/dictionary/nesting.md +187 -40
- package/docs/ko/dictionary/plurial.md +174 -5
- package/docs/ko/dictionary/translation.md +142 -65
- package/docs/ko/dynamic_dictionaries/collections.md +1 -1
- package/docs/ko/dynamic_dictionaries/index.md +24 -18
- package/docs/ko/dynamic_dictionaries/variants.md +274 -16
- package/docs/ko/formatters.md +71 -0
- package/docs/ko/how_works_intlayer.md +4 -0
- package/docs/ko/intlayer_CMS.md +6 -0
- package/docs/ko/intlayer_visual_editor.md +0 -2
- package/docs/ko/intlayer_with_adonisjs.md +20 -4
- package/docs/ko/intlayer_with_analog.md +51 -11
- package/docs/ko/intlayer_with_angular_19.md +42 -10
- package/docs/ko/intlayer_with_angular_21.md +42 -10
- package/docs/ko/intlayer_with_astro.md +159 -10
- package/docs/ko/intlayer_with_astro_lit.md +35 -11
- package/docs/ko/intlayer_with_astro_preact.md +35 -11
- package/docs/ko/intlayer_with_astro_react.md +35 -11
- package/docs/ko/intlayer_with_astro_solid.md +35 -11
- package/docs/ko/intlayer_with_astro_svelte.md +35 -11
- package/docs/ko/intlayer_with_astro_vanilla.md +32 -10
- package/docs/ko/intlayer_with_astro_vue.md +55 -19
- package/docs/ko/intlayer_with_create_react_app.md +39 -23
- package/docs/ko/intlayer_with_express.md +20 -27
- package/docs/ko/intlayer_with_fastify.md +20 -8
- package/docs/ko/intlayer_with_hono.md +20 -4
- package/docs/ko/intlayer_with_lynx+react.md +6 -109
- package/docs/ko/intlayer_with_nestjs.md +20 -22
- package/docs/ko/intlayer_with_next-i18next.md +20 -4
- package/docs/ko/intlayer_with_nextjs_14.md +59 -25
- package/docs/ko/intlayer_with_nextjs_15.md +84 -18
- package/docs/ko/intlayer_with_nextjs_16.md +230 -67
- package/docs/ko/intlayer_with_nextjs_compiler.md +34 -297
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +51 -15
- package/docs/ko/intlayer_with_nextjs_page_router.md +62 -16
- package/docs/ko/intlayer_with_nuxt.md +54 -14
- package/docs/ko/intlayer_with_react_native+expo.md +134 -137
- package/docs/ko/intlayer_with_react_router_v7.md +61 -105
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +80 -106
- package/docs/ko/intlayer_with_storybook.md +35 -9
- package/docs/ko/intlayer_with_svelte_kit.md +53 -182
- package/docs/ko/intlayer_with_tanstack+solid.md +97 -32
- package/docs/ko/intlayer_with_tanstack.md +96 -31
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +74 -21
- package/docs/ko/intlayer_with_vite+preact.md +110 -100
- package/docs/ko/intlayer_with_vite+react.md +127 -484
- package/docs/ko/intlayer_with_vite+react_compiler.md +52 -13
- package/docs/ko/intlayer_with_vite+solid.md +86 -154
- package/docs/ko/intlayer_with_vite+svelte.md +83 -45
- package/docs/ko/intlayer_with_vite+vanilla.md +80 -23
- package/docs/ko/intlayer_with_vite+vue.md +114 -119
- package/docs/ko/mcp_server.md +22 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ko/packages/@intlayer_babel/export.md +131 -0
- package/docs/ko/packages/angular-intlayer/exports.md +14 -10
- package/docs/ko/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/express-intlayer/t.md +0 -9
- package/docs/ko/packages/intlayer/comparePaths.md +173 -0
- package/docs/ko/packages/intlayer/exports.md +5 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ko/packages/next-intlayer/exports.md +4 -0
- package/docs/ko/packages/next-intlayer/t.md +34 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
- package/docs/ko/packages/next-intlayer/usePathname.md +140 -0
- package/docs/ko/packages/preact-intlayer/exports.md +10 -6
- package/docs/ko/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ko/packages/react-intlayer/exports.md +4 -0
- package/docs/ko/packages/react-intlayer/t.md +0 -20
- package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ko/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ko/packages/solid-intlayer/exports.md +4 -0
- package/docs/ko/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ko/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ko/packages/vue-intlayer/exports.md +4 -0
- package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ko/plugins/sync-json.md +222 -50
- package/docs/ko/releases/v6.md +28 -0
- package/docs/ko/releases/v7.md +128 -0
- package/docs/ko/releases/v8.md +192 -1
- package/docs/ko/releases/v9.md +316 -0
- package/docs/ko/roadmap.md +6 -0
- package/docs/nl/cli/index.md +1 -1
- package/docs/nl/cli/scan.md +1 -1
- package/docs/nl/configuration.md +36 -3
- package/docs/nl/custom_domains.md +8 -2
- package/docs/nl/intlayer_with_angular_21.md +20 -4
- package/docs/nl/intlayer_with_fastify.md +20 -8
- package/docs/nl/intlayer_with_hono.md +20 -4
- package/docs/nl/intlayer_with_storybook.md +7 -1
- package/docs/nl/intlayer_with_vite+lit.md +28 -6
- package/docs/nl/intlayer_with_vite+vanilla.md +36 -9
- package/docs/nl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/autoFill.md +20 -0
- package/docs/pl/benchmark/___NOTE.md +101 -0
- package/docs/pl/benchmark/___nextjs.md +198 -0
- package/docs/pl/benchmark/___solid.md +36 -0
- package/docs/pl/benchmark/___svelte.md +36 -0
- package/docs/pl/benchmark/___tanstack.md +36 -0
- package/docs/pl/benchmark/___vue.md +36 -0
- package/docs/pl/benchmark/solid.md +22 -0
- package/docs/pl/benchmark/svelte.md +22 -0
- package/docs/pl/benchmark/tanstack.md +22 -0
- package/docs/pl/cli/ci.md +22 -0
- package/docs/pl/cli/doc-review.md +110 -4
- package/docs/pl/cli/fill.md +8 -0
- package/docs/pl/cli/index.md +1 -1
- package/docs/pl/cli/login.md +0 -36
- package/docs/pl/cli/scan.md +1 -1
- package/docs/pl/compat/i18n-js.md +44 -0
- package/docs/pl/compat/i18next.md +59 -0
- package/docs/pl/compat/index.md +51 -0
- package/docs/pl/compat/lingui.md +44 -0
- package/docs/pl/compat/next-i18next.md +57 -0
- package/docs/pl/compat/next-intl.md +59 -0
- package/docs/pl/compat/next-translate.md +45 -0
- package/docs/pl/compat/ngx-translate.md +45 -0
- package/docs/pl/compat/nuxtjs-i18n.md +46 -0
- package/docs/pl/compat/polyglot.md +45 -0
- package/docs/pl/compat/react-i18next.md +58 -0
- package/docs/pl/compat/react-intl.md +55 -0
- package/docs/pl/compat/svelte-i18n.md +47 -0
- package/docs/pl/compat/transloco.md +45 -0
- package/docs/pl/compat/vue-i18n.md +58 -0
- package/docs/pl/compiler.md +6 -3
- package/docs/pl/configuration.md +50 -18
- package/docs/pl/custom_domains.md +8 -2
- package/docs/pl/custom_url_rewrites.md +8 -2
- package/docs/pl/dictionary/condition.md +167 -5
- package/docs/pl/dictionary/content_file.md +0 -40
- package/docs/pl/dictionary/enumeration.md +353 -6
- package/docs/pl/dictionary/file.md +318 -2
- package/docs/pl/dictionary/gender.md +168 -7
- package/docs/pl/dictionary/nesting.md +187 -40
- package/docs/pl/dictionary/plurial.md +174 -5
- package/docs/pl/dictionary/translation.md +146 -53
- package/docs/pl/dynamic_dictionaries/collections.md +1 -1
- package/docs/pl/dynamic_dictionaries/index.md +27 -21
- package/docs/pl/dynamic_dictionaries/variants.md +276 -18
- package/docs/pl/formatters.md +120 -0
- package/docs/pl/intlayer_with_adonisjs.md +20 -4
- package/docs/pl/intlayer_with_analog.md +25 -5
- package/docs/pl/intlayer_with_angular_19.md +20 -4
- package/docs/pl/intlayer_with_angular_21.md +20 -4
- package/docs/pl/intlayer_with_astro.md +182 -1
- package/docs/pl/intlayer_with_astro_lit.md +23 -9
- package/docs/pl/intlayer_with_astro_preact.md +23 -9
- package/docs/pl/intlayer_with_astro_react.md +23 -9
- package/docs/pl/intlayer_with_astro_solid.md +23 -9
- package/docs/pl/intlayer_with_astro_svelte.md +23 -9
- package/docs/pl/intlayer_with_astro_vanilla.md +23 -9
- package/docs/pl/intlayer_with_astro_vue.md +23 -9
- package/docs/pl/intlayer_with_create_react_app.md +20 -4
- package/docs/pl/intlayer_with_express.md +20 -4
- package/docs/pl/intlayer_with_fastify.md +20 -8
- package/docs/pl/intlayer_with_hono.md +20 -4
- package/docs/pl/intlayer_with_lynx+react.md +26 -5
- package/docs/pl/intlayer_with_nestjs.md +20 -4
- package/docs/pl/intlayer_with_next-i18next.md +20 -4
- package/docs/pl/intlayer_with_nextjs_14.md +20 -4
- package/docs/pl/intlayer_with_nextjs_15.md +20 -4
- package/docs/pl/intlayer_with_nextjs_16.md +22 -4
- package/docs/pl/intlayer_with_nextjs_compiler.md +22 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/pl/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/pl/intlayer_with_nuxt.md +25 -7
- package/docs/pl/intlayer_with_react_native+expo.md +75 -78
- package/docs/pl/intlayer_with_react_router_v7.md +23 -99
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -96
- package/docs/pl/intlayer_with_storybook.md +7 -1
- package/docs/pl/intlayer_with_svelte_kit.md +15 -188
- package/docs/pl/intlayer_with_tanstack+solid.md +38 -13
- package/docs/pl/intlayer_with_tanstack.md +37 -12
- package/docs/pl/intlayer_with_vite+lit.md +28 -6
- package/docs/pl/intlayer_with_vite+preact.md +79 -61
- package/docs/pl/intlayer_with_vite+react.md +77 -56
- package/docs/pl/intlayer_with_vite+react_compiler.md +29 -6
- package/docs/pl/intlayer_with_vite+solid.md +55 -46
- package/docs/pl/intlayer_with_vite+svelte.md +52 -34
- package/docs/pl/intlayer_with_vite+vanilla.md +36 -9
- package/docs/pl/intlayer_with_vite+vue.md +77 -78
- package/docs/pl/mcp_server.md +22 -0
- package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
- package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
- package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
- package/docs/pl/packages/@intlayer_babel/export.md +131 -0
- package/docs/pl/packages/angular-intlayer/exports.md +13 -9
- package/docs/pl/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/packages/intlayer/exports.md +5 -0
- package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
- package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/pl/packages/next-intlayer/exports.md +4 -0
- package/docs/pl/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pl/packages/preact-intlayer/exports.md +10 -6
- package/docs/pl/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pl/packages/react-intlayer/exports.md +4 -0
- package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pl/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pl/packages/solid-intlayer/exports.md +4 -0
- package/docs/pl/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pl/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pl/packages/vue-intlayer/exports.md +4 -0
- package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pl/plugins/sync-json.md +222 -50
- package/docs/pl/releases/v6.md +4 -0
- package/docs/pl/releases/v7.md +128 -0
- package/docs/pl/releases/v8.md +188 -2
- package/docs/pl/releases/v9.md +316 -0
- package/docs/pl/roadmap.md +0 -16
- package/docs/pt/CI_CD.md +4 -0
- package/docs/pt/autoFill.md +117 -14
- package/docs/pt/benchmark/index.md +5 -5
- package/docs/pt/benchmark/solid.md +22 -0
- package/docs/pt/benchmark/svelte.md +22 -0
- package/docs/pt/benchmark/tanstack.md +22 -0
- package/docs/pt/cli/ci.md +22 -0
- package/docs/pt/cli/doc-review.md +110 -4
- package/docs/pt/cli/fill.md +8 -0
- package/docs/pt/cli/index.md +1 -1
- package/docs/pt/cli/login.md +0 -36
- package/docs/pt/cli/scan.md +1 -1
- package/docs/pt/compat/i18n-js.md +44 -0
- package/docs/pt/compat/i18next.md +59 -0
- package/docs/pt/compat/index.md +51 -0
- package/docs/pt/compat/lingui.md +44 -0
- package/docs/pt/compat/next-i18next.md +57 -0
- package/docs/pt/compat/next-intl.md +59 -0
- package/docs/pt/compat/next-translate.md +45 -0
- package/docs/pt/compat/ngx-translate.md +45 -0
- package/docs/pt/compat/nuxtjs-i18n.md +46 -0
- package/docs/pt/compat/polyglot.md +45 -0
- package/docs/pt/compat/react-i18next.md +58 -0
- package/docs/pt/compat/react-intl.md +55 -0
- package/docs/pt/compat/svelte-i18n.md +47 -0
- package/docs/pt/compat/transloco.md +45 -0
- package/docs/pt/compat/vue-i18n.md +58 -0
- package/docs/pt/compiler.md +8 -5
- package/docs/pt/configuration.md +65 -33
- package/docs/pt/custom_domains.md +9 -8
- package/docs/pt/custom_url_rewrites.md +9 -3
- package/docs/pt/dictionary/condition.md +167 -5
- package/docs/pt/dictionary/content_file.md +4 -7
- package/docs/pt/dictionary/enumeration.md +353 -6
- package/docs/pt/dictionary/file.md +159 -1
- package/docs/pt/dictionary/gender.md +168 -7
- package/docs/pt/dictionary/nesting.md +187 -40
- package/docs/pt/dictionary/plurial.md +347 -7
- package/docs/pt/dictionary/translation.md +146 -53
- package/docs/pt/dynamic_dictionaries/collections.md +1 -1
- package/docs/pt/dynamic_dictionaries/index.md +26 -20
- package/docs/pt/dynamic_dictionaries/variants.md +277 -19
- package/docs/pt/formatters.md +86 -0
- package/docs/pt/how_works_intlayer.md +4 -0
- package/docs/pt/intlayer_CMS.md +21 -0
- package/docs/pt/intlayer_with_adonisjs.md +20 -4
- package/docs/pt/intlayer_with_analog.md +28 -8
- package/docs/pt/intlayer_with_angular_19.md +27 -11
- package/docs/pt/intlayer_with_angular_21.md +23 -7
- package/docs/pt/intlayer_with_astro.md +185 -4
- package/docs/pt/intlayer_with_astro_lit.md +26 -12
- package/docs/pt/intlayer_with_astro_preact.md +26 -12
- package/docs/pt/intlayer_with_astro_react.md +26 -12
- package/docs/pt/intlayer_with_astro_solid.md +26 -12
- package/docs/pt/intlayer_with_astro_svelte.md +26 -12
- package/docs/pt/intlayer_with_astro_vanilla.md +26 -12
- package/docs/pt/intlayer_with_astro_vue.md +26 -12
- package/docs/pt/intlayer_with_create_react_app.md +20 -18
- package/docs/pt/intlayer_with_express.md +20 -27
- package/docs/pt/intlayer_with_fastify.md +20 -8
- package/docs/pt/intlayer_with_hono.md +20 -4
- package/docs/pt/intlayer_with_lynx+react.md +40 -8
- package/docs/pt/intlayer_with_nestjs.md +20 -22
- package/docs/pt/intlayer_with_next-i18next.md +20 -4
- package/docs/pt/intlayer_with_nextjs_14.md +46 -11
- package/docs/pt/intlayer_with_nextjs_15.md +47 -11
- package/docs/pt/intlayer_with_nextjs_16.md +28 -10
- package/docs/pt/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +26 -10
- package/docs/pt/intlayer_with_nextjs_page_router.md +30 -10
- package/docs/pt/intlayer_with_nuxt.md +28 -10
- package/docs/pt/intlayer_with_react_native+expo.md +85 -65
- package/docs/pt/intlayer_with_react_router_v7.md +36 -91
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -99
- package/docs/pt/intlayer_with_storybook.md +10 -4
- package/docs/pt/intlayer_with_svelte_kit.md +18 -223
- package/docs/pt/intlayer_with_tanstack+solid.md +41 -16
- package/docs/pt/intlayer_with_tanstack.md +40 -15
- package/docs/pt/intlayer_with_vanilla.md +3 -3
- package/docs/pt/intlayer_with_vite+lit.md +36 -11
- package/docs/pt/intlayer_with_vite+preact.md +26 -8
- package/docs/pt/intlayer_with_vite+react.md +39 -18
- package/docs/pt/intlayer_with_vite+react_compiler.md +34 -11
- package/docs/pt/intlayer_with_vite+solid.md +26 -8
- package/docs/pt/intlayer_with_vite+svelte.md +55 -37
- package/docs/pt/intlayer_with_vite+vanilla.md +39 -12
- package/docs/pt/intlayer_with_vite+vue.md +36 -11
- package/docs/pt/mcp_server.md +22 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/pt/packages/@intlayer_babel/export.md +131 -0
- package/docs/pt/packages/angular-intlayer/exports.md +14 -10
- package/docs/pt/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/hono-intlayer/t.md +1 -1
- package/docs/pt/packages/intlayer/comparePaths.md +173 -0
- package/docs/pt/packages/intlayer/exports.md +5 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/pt/packages/next-intlayer/exports.md +4 -0
- package/docs/pt/packages/next-intlayer/t.md +34 -0
- package/docs/pt/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pt/packages/preact-intlayer/exports.md +10 -6
- package/docs/pt/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pt/packages/react-intlayer/exports.md +21 -17
- package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pt/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pt/packages/solid-intlayer/exports.md +4 -0
- package/docs/pt/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pt/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pt/packages/vue-intlayer/exports.md +5 -1
- package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pt/plugins/sync-json.md +221 -49
- package/docs/pt/plugins/sync-po.md +1 -1
- package/docs/pt/readme.md +3 -3
- package/docs/pt/releases/v6.md +28 -0
- package/docs/pt/releases/v7.md +128 -0
- package/docs/pt/releases/v8.md +187 -1
- package/docs/pt/releases/v9.md +316 -0
- package/docs/pt/roadmap.md +6 -0
- package/docs/ru/CI_CD.md +4 -0
- package/docs/ru/autoFill.md +81 -0
- package/docs/ru/benchmark/solid.md +22 -0
- package/docs/ru/benchmark/svelte.md +22 -0
- package/docs/ru/benchmark/tanstack.md +22 -0
- package/docs/ru/cli/ci.md +22 -0
- package/docs/ru/cli/doc-review.md +110 -4
- package/docs/ru/cli/fill.md +8 -0
- package/docs/ru/cli/index.md +1 -1
- package/docs/ru/cli/login.md +0 -36
- package/docs/ru/cli/scan.md +1 -1
- package/docs/ru/compat/i18n-js.md +44 -0
- package/docs/ru/compat/i18next.md +59 -0
- package/docs/ru/compat/index.md +51 -0
- package/docs/ru/compat/lingui.md +44 -0
- package/docs/ru/compat/next-i18next.md +57 -0
- package/docs/ru/compat/next-intl.md +59 -0
- package/docs/ru/compat/next-translate.md +45 -0
- package/docs/ru/compat/ngx-translate.md +45 -0
- package/docs/ru/compat/nuxtjs-i18n.md +46 -0
- package/docs/ru/compat/polyglot.md +45 -0
- package/docs/ru/compat/react-i18next.md +58 -0
- package/docs/ru/compat/react-intl.md +55 -0
- package/docs/ru/compat/svelte-i18n.md +47 -0
- package/docs/ru/compat/transloco.md +45 -0
- package/docs/ru/compat/vue-i18n.md +58 -0
- package/docs/ru/compiler.md +9 -4
- package/docs/ru/configuration.md +53 -18
- package/docs/ru/custom_domains.md +9 -3
- package/docs/ru/custom_url_rewrites.md +9 -3
- package/docs/ru/dictionary/condition.md +366 -39
- package/docs/ru/dictionary/content_file.md +4 -27
- package/docs/ru/dictionary/enumeration.md +584 -13
- package/docs/ru/dictionary/file.md +326 -2
- package/docs/ru/dictionary/gender.md +168 -7
- package/docs/ru/dictionary/markdown.md +510 -0
- package/docs/ru/dictionary/nesting.md +376 -71
- package/docs/ru/dictionary/plurial.md +347 -7
- package/docs/ru/dictionary/translation.md +316 -89
- package/docs/ru/dynamic_dictionaries/collections.md +1 -1
- package/docs/ru/dynamic_dictionaries/index.md +26 -20
- package/docs/ru/dynamic_dictionaries/variants.md +278 -20
- package/docs/ru/formatters.md +136 -0
- package/docs/ru/how_works_intlayer.md +4 -0
- package/docs/ru/intlayer_CMS.md +6 -0
- package/docs/ru/intlayer_with_adonisjs.md +20 -4
- package/docs/ru/intlayer_with_analog.md +25 -5
- package/docs/ru/intlayer_with_angular_19.md +20 -4
- package/docs/ru/intlayer_with_angular_21.md +20 -4
- package/docs/ru/intlayer_with_astro.md +132 -3
- package/docs/ru/intlayer_with_astro_lit.md +4 -2
- package/docs/ru/intlayer_with_astro_preact.md +4 -2
- package/docs/ru/intlayer_with_astro_react.md +4 -2
- package/docs/ru/intlayer_with_astro_solid.md +4 -2
- package/docs/ru/intlayer_with_astro_svelte.md +4 -2
- package/docs/ru/intlayer_with_astro_vanilla.md +4 -2
- package/docs/ru/intlayer_with_astro_vue.md +24 -10
- package/docs/ru/intlayer_with_create_react_app.md +20 -4
- package/docs/ru/intlayer_with_express.md +20 -27
- package/docs/ru/intlayer_with_fastify.md +20 -8
- package/docs/ru/intlayer_with_hono.md +20 -4
- package/docs/ru/intlayer_with_lynx+react.md +26 -5
- package/docs/ru/intlayer_with_nestjs.md +20 -22
- package/docs/ru/intlayer_with_next-i18next.md +20 -4
- package/docs/ru/intlayer_with_nextjs_14.md +51 -12
- package/docs/ru/intlayer_with_nextjs_15.md +41 -5
- package/docs/ru/intlayer_with_nextjs_16.md +23 -5
- package/docs/ru/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ru/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ru/intlayer_with_nuxt.md +25 -7
- package/docs/ru/intlayer_with_react_native+expo.md +90 -71
- package/docs/ru/intlayer_with_react_router_v7.md +24 -100
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ru/intlayer_with_storybook.md +7 -1
- package/docs/ru/intlayer_with_svelte_kit.md +16 -185
- package/docs/ru/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ru/intlayer_with_tanstack.md +38 -13
- package/docs/ru/intlayer_with_vite+lit.md +34 -9
- package/docs/ru/intlayer_with_vite+preact.md +80 -62
- package/docs/ru/intlayer_with_vite+react.md +80 -56
- package/docs/ru/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ru/intlayer_with_vite+solid.md +56 -47
- package/docs/ru/intlayer_with_vite+svelte.md +51 -35
- package/docs/ru/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ru/intlayer_with_vite+vue.md +82 -109
- package/docs/ru/mcp_server.md +22 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ru/packages/@intlayer_babel/export.md +131 -0
- package/docs/ru/packages/angular-intlayer/exports.md +13 -9
- package/docs/ru/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/intlayer/comparePaths.md +173 -0
- package/docs/ru/packages/intlayer/exports.md +5 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ru/packages/next-intlayer/exports.md +4 -0
- package/docs/ru/packages/next-intlayer/t.md +34 -0
- package/docs/ru/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ru/packages/preact-intlayer/exports.md +10 -6
- package/docs/ru/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ru/packages/react-intlayer/exports.md +4 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
- package/docs/ru/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
- package/docs/ru/packages/solid-intlayer/exports.md +4 -0
- package/docs/ru/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ru/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ru/packages/vue-intlayer/exports.md +4 -0
- package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ru/plugins/sync-json.md +268 -95
- package/docs/ru/releases/v6.md +28 -0
- package/docs/ru/releases/v7.md +128 -0
- package/docs/ru/releases/v8.md +194 -2
- package/docs/ru/releases/v9.md +316 -0
- package/docs/ru/roadmap.md +6 -0
- package/docs/tr/CI_CD.md +4 -0
- package/docs/tr/autoFill.md +81 -0
- package/docs/tr/benchmark/solid.md +22 -0
- package/docs/tr/benchmark/svelte.md +22 -0
- package/docs/tr/benchmark/tanstack.md +22 -0
- package/docs/tr/cli/ci.md +22 -0
- package/docs/tr/cli/doc-review.md +110 -4
- package/docs/tr/cli/fill.md +8 -0
- package/docs/tr/cli/index.md +1 -1
- package/docs/tr/cli/login.md +0 -10
- package/docs/tr/cli/scan.md +1 -1
- package/docs/tr/compat/i18n-js.md +44 -0
- package/docs/tr/compat/i18next.md +59 -0
- package/docs/tr/compat/index.md +51 -0
- package/docs/tr/compat/lingui.md +44 -0
- package/docs/tr/compat/next-i18next.md +57 -0
- package/docs/tr/compat/next-intl.md +59 -0
- package/docs/tr/compat/next-translate.md +45 -0
- package/docs/tr/compat/ngx-translate.md +45 -0
- package/docs/tr/compat/nuxtjs-i18n.md +46 -0
- package/docs/tr/compat/polyglot.md +45 -0
- package/docs/tr/compat/react-i18next.md +58 -0
- package/docs/tr/compat/react-intl.md +55 -0
- package/docs/tr/compat/svelte-i18n.md +47 -0
- package/docs/tr/compat/transloco.md +45 -0
- package/docs/tr/compat/vue-i18n.md +58 -0
- package/docs/tr/compiler.md +9 -4
- package/docs/tr/configuration.md +53 -18
- package/docs/tr/custom_domains.md +9 -3
- package/docs/tr/custom_url_rewrites.md +9 -3
- package/docs/tr/dictionary/condition.md +167 -5
- package/docs/tr/dictionary/content_file.md +4 -27
- package/docs/tr/dictionary/enumeration.md +353 -6
- package/docs/tr/dictionary/file.md +159 -1
- package/docs/tr/dictionary/gender.md +168 -7
- package/docs/tr/dictionary/nesting.md +187 -40
- package/docs/tr/dictionary/plurial.md +174 -5
- package/docs/tr/dictionary/translation.md +142 -76
- package/docs/tr/dynamic_dictionaries/collections.md +1 -1
- package/docs/tr/dynamic_dictionaries/index.md +28 -22
- package/docs/tr/dynamic_dictionaries/variants.md +275 -17
- package/docs/tr/formatters.md +59 -0
- package/docs/tr/how_works_intlayer.md +4 -0
- package/docs/tr/intlayer_CMS.md +6 -0
- package/docs/tr/intlayer_with_adonisjs.md +20 -4
- package/docs/tr/intlayer_with_analog.md +29 -5
- package/docs/tr/intlayer_with_angular_19.md +20 -4
- package/docs/tr/intlayer_with_angular_21.md +20 -4
- package/docs/tr/intlayer_with_astro.md +134 -77
- package/docs/tr/intlayer_with_astro_lit.md +24 -10
- package/docs/tr/intlayer_with_astro_preact.md +24 -10
- package/docs/tr/intlayer_with_astro_react.md +24 -10
- package/docs/tr/intlayer_with_astro_solid.md +24 -10
- package/docs/tr/intlayer_with_astro_svelte.md +24 -10
- package/docs/tr/intlayer_with_astro_vanilla.md +24 -10
- package/docs/tr/intlayer_with_astro_vue.md +24 -10
- package/docs/tr/intlayer_with_create_react_app.md +20 -4
- package/docs/tr/intlayer_with_express.md +20 -8
- package/docs/tr/intlayer_with_fastify.md +20 -8
- package/docs/tr/intlayer_with_hono.md +20 -4
- package/docs/tr/intlayer_with_lynx+react.md +26 -5
- package/docs/tr/intlayer_with_nestjs.md +20 -12
- package/docs/tr/intlayer_with_next-i18next.md +20 -4
- package/docs/tr/intlayer_with_nextjs_14.md +115 -12
- package/docs/tr/intlayer_with_nextjs_15.md +41 -5
- package/docs/tr/intlayer_with_nextjs_16.md +23 -5
- package/docs/tr/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/tr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/tr/intlayer_with_nuxt.md +25 -7
- package/docs/tr/intlayer_with_react_native+expo.md +80 -79
- package/docs/tr/intlayer_with_react_router_v7.md +24 -100
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/tr/intlayer_with_storybook.md +7 -1
- package/docs/tr/intlayer_with_svelte_kit.md +16 -185
- package/docs/tr/intlayer_with_tanstack+solid.md +39 -14
- package/docs/tr/intlayer_with_tanstack.md +38 -13
- package/docs/tr/intlayer_with_vite+lit.md +29 -7
- package/docs/tr/intlayer_with_vite+preact.md +80 -62
- package/docs/tr/intlayer_with_vite+react.md +78 -57
- package/docs/tr/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/tr/intlayer_with_vite+solid.md +56 -47
- package/docs/tr/intlayer_with_vite+svelte.md +51 -35
- package/docs/tr/intlayer_with_vite+vanilla.md +37 -10
- package/docs/tr/intlayer_with_vite+vue.md +83 -110
- package/docs/tr/mcp_server.md +22 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/tr/packages/@intlayer_babel/export.md +131 -0
- package/docs/tr/packages/angular-intlayer/exports.md +13 -9
- package/docs/tr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/intlayer/comparePaths.md +173 -0
- package/docs/tr/packages/intlayer/exports.md +18 -13
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/tr/packages/next-intlayer/exports.md +4 -0
- package/docs/tr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/tr/packages/preact-intlayer/exports.md +10 -6
- package/docs/tr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/tr/packages/react-intlayer/exports.md +4 -0
- package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
- package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/tr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
- package/docs/tr/packages/solid-intlayer/exports.md +4 -0
- package/docs/tr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/svelte-intlayer/exports.md +13 -9
- package/docs/tr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/tr/packages/vue-intlayer/exports.md +4 -0
- package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/tr/plugins/sync-json.md +221 -50
- package/docs/tr/releases/v6.md +28 -0
- package/docs/tr/releases/v7.md +128 -0
- package/docs/tr/releases/v8.md +187 -1
- package/docs/tr/releases/v9.md +316 -0
- package/docs/tr/roadmap.md +6 -0
- package/docs/uk/benchmark/solid.md +22 -0
- package/docs/uk/benchmark/svelte.md +22 -0
- package/docs/uk/benchmark/tanstack.md +22 -0
- package/docs/uk/cli/ci.md +22 -0
- package/docs/uk/cli/doc-review.md +110 -4
- package/docs/uk/cli/fill.md +8 -0
- package/docs/uk/cli/index.md +1 -1
- package/docs/uk/cli/scan.md +1 -1
- package/docs/uk/compat/i18n-js.md +44 -0
- package/docs/uk/compat/i18next.md +59 -0
- package/docs/uk/compat/index.md +51 -0
- package/docs/uk/compat/lingui.md +44 -0
- package/docs/uk/compat/next-i18next.md +57 -0
- package/docs/uk/compat/next-intl.md +59 -0
- package/docs/uk/compat/next-translate.md +45 -0
- package/docs/uk/compat/ngx-translate.md +45 -0
- package/docs/uk/compat/nuxtjs-i18n.md +46 -0
- package/docs/uk/compat/polyglot.md +45 -0
- package/docs/uk/compat/react-i18next.md +58 -0
- package/docs/uk/compat/react-intl.md +55 -0
- package/docs/uk/compat/svelte-i18n.md +47 -0
- package/docs/uk/compat/transloco.md +45 -0
- package/docs/uk/compat/vue-i18n.md +58 -0
- package/docs/uk/compiler.md +9 -4
- package/docs/uk/configuration.md +53 -18
- package/docs/uk/custom_domains.md +9 -3
- package/docs/uk/custom_url_rewrites.md +9 -3
- package/docs/uk/dictionary/condition.md +167 -5
- package/docs/uk/dictionary/content_file.md +0 -7
- package/docs/uk/dictionary/enumeration.md +353 -6
- package/docs/uk/dictionary/file.md +318 -2
- package/docs/uk/dictionary/gender.md +381 -8
- package/docs/uk/dictionary/nesting.md +186 -39
- package/docs/uk/dictionary/plurial.md +174 -5
- package/docs/uk/dictionary/translation.md +146 -64
- package/docs/uk/dynamic_dictionaries/collections.md +1 -1
- package/docs/uk/dynamic_dictionaries/index.md +26 -20
- package/docs/uk/dynamic_dictionaries/variants.md +278 -20
- package/docs/uk/formatters.md +142 -58
- package/docs/uk/interest_of_intlayer.md +194 -0
- package/docs/uk/intlayer_with_adonisjs.md +20 -4
- package/docs/uk/intlayer_with_analog.md +29 -5
- package/docs/uk/intlayer_with_angular_19.md +20 -4
- package/docs/uk/intlayer_with_angular_21.md +20 -4
- package/docs/uk/intlayer_with_astro.md +133 -4
- package/docs/uk/intlayer_with_astro_lit.md +24 -10
- package/docs/uk/intlayer_with_astro_preact.md +24 -10
- package/docs/uk/intlayer_with_astro_react.md +24 -10
- package/docs/uk/intlayer_with_astro_solid.md +24 -10
- package/docs/uk/intlayer_with_astro_svelte.md +24 -10
- package/docs/uk/intlayer_with_astro_vanilla.md +24 -10
- package/docs/uk/intlayer_with_astro_vue.md +24 -10
- package/docs/uk/intlayer_with_create_react_app.md +20 -4
- package/docs/uk/intlayer_with_express.md +20 -4
- package/docs/uk/intlayer_with_fastify.md +20 -8
- package/docs/uk/intlayer_with_hono.md +20 -4
- package/docs/uk/intlayer_with_lynx+react.md +26 -5
- package/docs/uk/intlayer_with_nestjs.md +20 -4
- package/docs/uk/intlayer_with_next-i18next.md +20 -4
- package/docs/uk/intlayer_with_nextjs_14.md +21 -5
- package/docs/uk/intlayer_with_nextjs_15.md +21 -5
- package/docs/uk/intlayer_with_nextjs_16.md +23 -5
- package/docs/uk/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/uk/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/uk/intlayer_with_nuxt.md +20 -31
- package/docs/uk/intlayer_with_react_native+expo.md +64 -84
- package/docs/uk/intlayer_with_react_router_v7.md +24 -100
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/uk/intlayer_with_storybook.md +7 -1
- package/docs/uk/intlayer_with_svelte_kit.md +30 -9
- package/docs/uk/intlayer_with_tanstack+solid.md +39 -14
- package/docs/uk/intlayer_with_tanstack.md +38 -13
- package/docs/uk/intlayer_with_vite+lit.md +29 -7
- package/docs/uk/intlayer_with_vite+preact.md +80 -62
- package/docs/uk/intlayer_with_vite+react.md +78 -57
- package/docs/uk/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/uk/intlayer_with_vite+solid.md +56 -47
- package/docs/uk/intlayer_with_vite+svelte.md +58 -37
- package/docs/uk/intlayer_with_vite+vanilla.md +37 -10
- package/docs/uk/intlayer_with_vite+vue.md +78 -109
- package/docs/uk/mcp_server.md +22 -0
- package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/uk/packages/@intlayer_babel/export.md +131 -0
- package/docs/uk/packages/angular-intlayer/exports.md +14 -10
- package/docs/uk/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/intlayer/comparePaths.md +173 -0
- package/docs/uk/packages/intlayer/exports.md +5 -0
- package/docs/uk/packages/next-intlayer/exports.md +4 -0
- package/docs/uk/packages/next-intlayer/usePathname.md +136 -0
- package/docs/uk/packages/preact-intlayer/exports.md +10 -6
- package/docs/uk/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/uk/packages/react-intlayer/exports.md +4 -0
- package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/uk/packages/react-intlayer/usePathname.md +87 -0
- package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
- package/docs/uk/packages/solid-intlayer/exports.md +5 -1
- package/docs/uk/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/svelte-intlayer/exports.md +4 -0
- package/docs/uk/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/uk/packages/vue-intlayer/exports.md +4 -0
- package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/uk/plugins/sync-json.md +56 -3
- package/docs/uk/releases/v6.md +4 -0
- package/docs/uk/releases/v7.md +4 -0
- package/docs/uk/releases/v8.md +191 -3
- package/docs/uk/releases/v9.md +316 -0
- package/docs/ur/cli/index.md +1 -1
- package/docs/ur/cli/scan.md +1 -1
- package/docs/ur/configuration.md +36 -3
- package/docs/ur/custom_domains.md +8 -2
- package/docs/ur/intlayer_with_angular_21.md +20 -4
- package/docs/ur/intlayer_with_fastify.md +20 -8
- package/docs/ur/intlayer_with_hono.md +20 -4
- package/docs/ur/intlayer_with_storybook.md +7 -1
- package/docs/ur/intlayer_with_vite+lit.md +28 -6
- package/docs/ur/intlayer_with_vite+vanilla.md +36 -9
- package/docs/ur/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/autoFill.md +20 -0
- package/docs/vi/benchmark/solid.md +22 -0
- package/docs/vi/benchmark/svelte.md +22 -0
- package/docs/vi/benchmark/tanstack.md +22 -0
- package/docs/vi/cli/ci.md +22 -0
- package/docs/vi/cli/doc-review.md +110 -4
- package/docs/vi/cli/fill.md +8 -0
- package/docs/vi/cli/index.md +1 -1
- package/docs/vi/cli/login.md +0 -36
- package/docs/vi/cli/scan.md +1 -1
- package/docs/vi/compat/i18n-js.md +44 -0
- package/docs/vi/compat/i18next.md +59 -0
- package/docs/vi/compat/index.md +51 -0
- package/docs/vi/compat/lingui.md +44 -0
- package/docs/vi/compat/next-i18next.md +57 -0
- package/docs/vi/compat/next-intl.md +59 -0
- package/docs/vi/compat/next-translate.md +45 -0
- package/docs/vi/compat/ngx-translate.md +45 -0
- package/docs/vi/compat/nuxtjs-i18n.md +46 -0
- package/docs/vi/compat/polyglot.md +45 -0
- package/docs/vi/compat/react-i18next.md +58 -0
- package/docs/vi/compat/react-intl.md +55 -0
- package/docs/vi/compat/svelte-i18n.md +47 -0
- package/docs/vi/compat/transloco.md +45 -0
- package/docs/vi/compat/vue-i18n.md +58 -0
- package/docs/vi/compiler.md +9 -4
- package/docs/vi/configuration.md +68 -33
- package/docs/vi/custom_domains.md +9 -3
- package/docs/vi/custom_url_rewrites.md +9 -3
- package/docs/vi/dictionary/condition.md +167 -5
- package/docs/vi/dictionary/content_file.md +0 -7
- package/docs/vi/dictionary/enumeration.md +395 -17
- package/docs/vi/dictionary/file.md +318 -2
- package/docs/vi/dictionary/gender.md +168 -7
- package/docs/vi/dictionary/insertion.md +0 -2
- package/docs/vi/dictionary/nesting.md +362 -52
- package/docs/vi/dictionary/plurial.md +174 -5
- package/docs/vi/dictionary/translation.md +146 -53
- package/docs/vi/dynamic_dictionaries/collections.md +1 -1
- package/docs/vi/dynamic_dictionaries/index.md +29 -23
- package/docs/vi/dynamic_dictionaries/variants.md +279 -21
- package/docs/vi/formatters.md +124 -0
- package/docs/vi/interest_of_intlayer.md +193 -0
- package/docs/vi/intlayer_with_adonisjs.md +20 -4
- package/docs/vi/intlayer_with_analog.md +29 -5
- package/docs/vi/intlayer_with_angular_19.md +20 -4
- package/docs/vi/intlayer_with_angular_21.md +20 -4
- package/docs/vi/intlayer_with_astro.md +133 -4
- package/docs/vi/intlayer_with_astro_lit.md +24 -10
- package/docs/vi/intlayer_with_astro_preact.md +24 -10
- package/docs/vi/intlayer_with_astro_react.md +24 -10
- package/docs/vi/intlayer_with_astro_solid.md +24 -10
- package/docs/vi/intlayer_with_astro_svelte.md +24 -10
- package/docs/vi/intlayer_with_astro_vanilla.md +24 -10
- package/docs/vi/intlayer_with_astro_vue.md +24 -10
- package/docs/vi/intlayer_with_create_react_app.md +20 -4
- package/docs/vi/intlayer_with_express.md +20 -4
- package/docs/vi/intlayer_with_fastify.md +20 -8
- package/docs/vi/intlayer_with_hono.md +20 -4
- package/docs/vi/intlayer_with_lynx+react.md +26 -5
- package/docs/vi/intlayer_with_nestjs.md +20 -4
- package/docs/vi/intlayer_with_next-i18next.md +20 -4
- package/docs/vi/intlayer_with_nextjs_14.md +21 -5
- package/docs/vi/intlayer_with_nextjs_15.md +491 -5
- package/docs/vi/intlayer_with_nextjs_16.md +23 -5
- package/docs/vi/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/vi/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/vi/intlayer_with_nuxt.md +20 -31
- package/docs/vi/intlayer_with_react_native+expo.md +43 -64
- package/docs/vi/intlayer_with_react_router_v7.md +24 -100
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/vi/intlayer_with_storybook.md +7 -1
- package/docs/vi/intlayer_with_svelte_kit.md +16 -185
- package/docs/vi/intlayer_with_tanstack+solid.md +39 -14
- package/docs/vi/intlayer_with_tanstack.md +38 -13
- package/docs/vi/intlayer_with_vite+lit.md +29 -7
- package/docs/vi/intlayer_with_vite+preact.md +80 -62
- package/docs/vi/intlayer_with_vite+react.md +78 -57
- package/docs/vi/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/vi/intlayer_with_vite+solid.md +56 -47
- package/docs/vi/intlayer_with_vite+svelte.md +58 -39
- package/docs/vi/intlayer_with_vite+vanilla.md +37 -10
- package/docs/vi/intlayer_with_vite+vue.md +78 -109
- package/docs/vi/mcp_server.md +22 -0
- package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/vi/packages/@intlayer_babel/export.md +131 -0
- package/docs/vi/packages/angular-intlayer/exports.md +14 -10
- package/docs/vi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/packages/intlayer/exports.md +5 -0
- package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/vi/packages/next-intlayer/exports.md +4 -0
- package/docs/vi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/vi/packages/preact-intlayer/exports.md +10 -6
- package/docs/vi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/vi/packages/react-intlayer/exports.md +20 -16
- package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
- package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/vi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
- package/docs/vi/packages/solid-intlayer/exports.md +15 -11
- package/docs/vi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/vi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/vi/packages/vue-intlayer/exports.md +14 -10
- package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/vi/plugins/sync-json.md +229 -57
- package/docs/vi/releases/v6.md +4 -0
- package/docs/vi/releases/v7.md +128 -0
- package/docs/vi/releases/v8.md +190 -1
- package/docs/vi/releases/v9.md +316 -0
- package/docs/zh/CI_CD.md +1 -1
- package/docs/zh/autoFill.md +81 -0
- package/docs/zh/benchmark/solid.md +22 -0
- package/docs/zh/benchmark/svelte.md +22 -0
- package/docs/zh/benchmark/tanstack.md +22 -0
- package/docs/zh/cli/ci.md +22 -0
- package/docs/zh/cli/doc-review.md +110 -4
- package/docs/zh/cli/fill.md +8 -0
- package/docs/zh/cli/index.md +1 -1
- package/docs/zh/cli/login.md +0 -36
- package/docs/zh/cli/scan.md +1 -1
- package/docs/zh/compat/i18n-js.md +44 -0
- package/docs/zh/compat/i18next.md +59 -0
- package/docs/zh/compat/index.md +51 -0
- package/docs/zh/compat/lingui.md +44 -0
- package/docs/zh/compat/next-i18next.md +57 -0
- package/docs/zh/compat/next-intl.md +59 -0
- package/docs/zh/compat/next-translate.md +45 -0
- package/docs/zh/compat/ngx-translate.md +45 -0
- package/docs/zh/compat/nuxtjs-i18n.md +46 -0
- package/docs/zh/compat/polyglot.md +45 -0
- package/docs/zh/compat/react-i18next.md +58 -0
- package/docs/zh/compat/react-intl.md +55 -0
- package/docs/zh/compat/svelte-i18n.md +47 -0
- package/docs/zh/compat/transloco.md +45 -0
- package/docs/zh/compat/vue-i18n.md +58 -0
- package/docs/zh/compiler.md +9 -4
- package/docs/zh/configuration.md +67 -32
- package/docs/zh/custom_domains.md +9 -3
- package/docs/zh/custom_url_rewrites.md +22 -18
- package/docs/zh/dictionary/condition.md +167 -5
- package/docs/zh/dictionary/content_file.md +16 -20
- package/docs/zh/dictionary/enumeration.md +353 -6
- package/docs/zh/dictionary/file.md +151 -1
- package/docs/zh/dictionary/function_fetching.md +0 -27
- package/docs/zh/dictionary/gender.md +168 -7
- package/docs/zh/dictionary/insertion.md +0 -64
- package/docs/zh/dictionary/nesting.md +186 -39
- package/docs/zh/dictionary/plurial.md +174 -5
- package/docs/zh/dictionary/translation.md +141 -64
- package/docs/zh/dynamic_dictionaries/collections.md +1 -1
- package/docs/zh/dynamic_dictionaries/index.md +25 -19
- package/docs/zh/dynamic_dictionaries/variants.md +275 -17
- package/docs/zh/formatters.md +77 -0
- package/docs/zh/how_works_intlayer.md +4 -4
- package/docs/zh/intlayer_CMS.md +21 -0
- package/docs/zh/intlayer_with_adonisjs.md +20 -4
- package/docs/zh/intlayer_with_analog.md +4 -154
- package/docs/zh/intlayer_with_angular_19.md +0 -232
- package/docs/zh/intlayer_with_angular_21.md +20 -4
- package/docs/zh/intlayer_with_astro.md +245 -61
- package/docs/zh/intlayer_with_astro_lit.md +131 -83
- package/docs/zh/intlayer_with_astro_preact.md +125 -77
- package/docs/zh/intlayer_with_astro_react.md +127 -79
- package/docs/zh/intlayer_with_astro_solid.md +127 -79
- package/docs/zh/intlayer_with_astro_svelte.md +127 -79
- package/docs/zh/intlayer_with_astro_vanilla.md +124 -78
- package/docs/zh/intlayer_with_astro_vue.md +119 -71
- package/docs/zh/intlayer_with_create_react_app.md +17 -306
- package/docs/zh/intlayer_with_express.md +20 -27
- package/docs/zh/intlayer_with_fastify.md +20 -8
- package/docs/zh/intlayer_with_hono.md +20 -4
- package/docs/zh/intlayer_with_lynx+react.md +0 -259
- package/docs/zh/intlayer_with_nestjs.md +20 -22
- package/docs/zh/intlayer_with_next-i18next.md +20 -4
- package/docs/zh/intlayer_with_nextjs_14.md +83 -29
- package/docs/zh/intlayer_with_nextjs_15.md +84 -18
- package/docs/zh/intlayer_with_nextjs_16.md +151 -91
- package/docs/zh/intlayer_with_nextjs_compiler.md +174 -144
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/zh/intlayer_with_nextjs_page_router.md +71 -19
- package/docs/zh/intlayer_with_nuxt.md +5 -149
- package/docs/zh/intlayer_with_react_native+expo.md +160 -156
- package/docs/zh/intlayer_with_react_router_v7.md +24 -347
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +4 -317
- package/docs/zh/intlayer_with_storybook.md +7 -241
- package/docs/zh/intlayer_with_svelte_kit.md +10 -521
- package/docs/zh/intlayer_with_tanstack+solid.md +1 -630
- package/docs/zh/intlayer_with_tanstack.md +1 -628
- package/docs/zh/intlayer_with_vanilla.md +0 -283
- package/docs/zh/intlayer_with_vite+lit.md +1 -395
- package/docs/zh/intlayer_with_vite+preact.md +4 -226
- package/docs/zh/intlayer_with_vite+react.md +59 -294
- package/docs/zh/intlayer_with_vite+react_compiler.md +1 -176
- package/docs/zh/intlayer_with_vite+solid.md +17 -306
- package/docs/zh/intlayer_with_vite+svelte.md +131 -84
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -426
- package/docs/zh/intlayer_with_vite+vue.md +124 -144
- package/docs/zh/mcp_server.md +26 -0
- package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
- package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/zh/packages/@intlayer_babel/export.md +131 -0
- package/docs/zh/packages/angular-intlayer/exports.md +13 -9
- package/docs/zh/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/intlayer/comparePaths.md +173 -0
- package/docs/zh/packages/intlayer/exports.md +18 -13
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/zh/packages/next-intlayer/exports.md +4 -0
- package/docs/zh/packages/next-intlayer/usePathname.md +136 -0
- package/docs/zh/packages/preact-intlayer/exports.md +10 -6
- package/docs/zh/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/zh/packages/react-intlayer/exports.md +5 -1
- package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
- package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/zh/packages/react-intlayer/usePathname.md +88 -0
- package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
- package/docs/zh/packages/solid-intlayer/exports.md +15 -11
- package/docs/zh/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/svelte-intlayer/exports.md +13 -9
- package/docs/zh/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/zh/packages/vue-intlayer/exports.md +14 -10
- package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/zh/plugins/sync-json.md +222 -50
- package/docs/zh/releases/v6.md +28 -0
- package/docs/zh/releases/v7.md +128 -0
- package/docs/zh/releases/v8.md +191 -1
- package/docs/zh/releases/v9.md +312 -0
- package/docs/zh/roadmap.md +6 -0
- package/docs/zh/vs_code_extension.md +0 -7
- package/docs/zh-TW/intlayer_with_angular_21.md +20 -4
- package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
- package/frequent_questions/pt/translated_path_url.md +1 -1
- package/package.json +8 -8
- package/src/generated/docs.entry.ts +560 -20
- package/dist/esm/_virtual/_rolldown/runtime.mjs +0 -8
- package/docs/ar/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/de/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en-GB/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/es/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/fr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/hi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/id/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/it/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ja/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ko/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pl/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pt/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ru/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/tr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/uk/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/vi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/zh/dynamic_dictionaries/dynamic_content.md +0 -271
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-05
|
|
3
|
+
updatedAt: 2026-06-05
|
|
4
|
+
title: "从 next-intl 迁移到 Intlayer | 国际化 (i18n)"
|
|
5
|
+
description: "学习如何逐步将你的 Next.js 应用从 next-intl 迁移到 Intlayer,无需破坏现有代码。使用 @intlayer/next-intl 兼容适配器实现零中断过渡。"
|
|
6
|
+
keywords:
|
|
7
|
+
- next-intl
|
|
8
|
+
- intlayer
|
|
9
|
+
- migration
|
|
10
|
+
- internationalization
|
|
11
|
+
- i18n
|
|
12
|
+
- Next.js
|
|
13
|
+
- JavaScript
|
|
14
|
+
- React
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- migration
|
|
18
|
+
- next-intl
|
|
19
|
+
history:
|
|
20
|
+
- version: 9.0.0
|
|
21
|
+
date: 2026-06-05
|
|
22
|
+
changes: "Init history"
|
|
23
|
+
author: aymericzip
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# 从 next-intl 迁移到 Intlayer
|
|
27
|
+
|
|
28
|
+
## 为什么从 next-intl 迁移到 Intlayer?
|
|
29
|
+
|
|
30
|
+
<AccordionGroup>
|
|
31
|
+
|
|
32
|
+
<Accordion header="Bundle 大小">
|
|
33
|
+
|
|
34
|
+
与其将大量 JSON 文件加载到页面中,不如只加载必要的内容。Intlayer 帮助**将 bundle 和页面大小减少高达 50%**。
|
|
35
|
+
|
|
36
|
+
</Accordion>
|
|
37
|
+
|
|
38
|
+
<Accordion header="可维护性">
|
|
39
|
+
|
|
40
|
+
将应用程序的内容范围化**便于大规模应用程序的维护**。您可以复制或删除单个功能文件夹,而无需费力审查整个内容 codebase。此外,Intlayer **完全类型化**,以确保内容的准确性。
|
|
41
|
+
|
|
42
|
+
Intlayer 也是 i18n 生态中**开发最活跃的**解决方案 — 问题修复迅速,新的框架适配器定期发布,核心 API 根据真实生产反馈不断完善。
|
|
43
|
+
|
|
44
|
+
</Accordion>
|
|
45
|
+
|
|
46
|
+
<Accordion header="AI Agent">
|
|
47
|
+
|
|
48
|
+
将内容共置**降低大型语言模型(LLM)所需的上下文**。Intlayer 还附带一套工具,例如**用于测试缺失翻译的 CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/mcp_server.md)** 和**[agent skills](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/agent_skills.md)**,使 AI agents 的开发者体验(DX)更加顺畅。
|
|
49
|
+
|
|
50
|
+
</Accordion>
|
|
51
|
+
|
|
52
|
+
<Accordion header="自动化">
|
|
53
|
+
|
|
54
|
+
使用自动化在 CI/CD 管道中进行翻译,使用您选择的 LLM,费用由您的 AI 提供商承担。Intlayer 还提供**编译器**来自动提取内容,以及一个 [web 平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)来帮助**后台翻译**。
|
|
55
|
+
|
|
56
|
+
</Accordion>
|
|
57
|
+
|
|
58
|
+
<Accordion header="性能">
|
|
59
|
+
|
|
60
|
+
将大量 JSON 文件连接到组件可能会导致性能和响应性问题。Intlayer 在构建时优化内容加载。
|
|
61
|
+
|
|
62
|
+
</Accordion>
|
|
63
|
+
|
|
64
|
+
<Accordion header="与非开发人员的协作">
|
|
65
|
+
|
|
66
|
+
Intlayer 不仅仅是一个 i18n 解决方案,它提供了一个**自托管的[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)**和一个**[完整的 CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)** 来帮助您**实时**管理多语言内容,使与翻译人员、文案和其他团队成员的协作无缝进行。内容可以本地和/或远程存储。
|
|
67
|
+
|
|
68
|
+
</Accordion>
|
|
69
|
+
|
|
70
|
+
</AccordionGroup>
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 迁移策略
|
|
75
|
+
|
|
76
|
+
现有应用的推荐方法是使用 **compat adapter**:安装 `@intlayer/next-intl`,它公开了与 `next-intl` **完全相同的 API**,但在幕后将所有翻译工作委托给 Intlayer。
|
|
77
|
+
|
|
78
|
+
您可以保留现有的 `useTranslations`、`getTranslations`、`NextIntlClientProvider` 等 — **唯一的变化是导入路径**。无需重构调用签名、属性形状或组件结构。
|
|
79
|
+
|
|
80
|
+
随着时间的推移,您可以选择将各个文件迁移到 Intlayer 更丰富的 `.content.ts` 格式,以解锁可视化编辑器、CMS 和按组件内容作用域的功能 — 但这一步完全是可选的,可以逐步进行。
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 目录
|
|
85
|
+
|
|
86
|
+
<TOC/>
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 快速迁移
|
|
91
|
+
|
|
92
|
+
以下步骤是使现有 `next-intl` 应用在 Intlayer 上运行所需的最少要求,无需更改任何代码。
|
|
93
|
+
|
|
94
|
+
<Steps>
|
|
95
|
+
|
|
96
|
+
<Step number={1} title="安装依赖">
|
|
97
|
+
|
|
98
|
+
安装 Intlayer 核心包和 `@intlayer/next-intl` 兼容性适配器:
|
|
99
|
+
|
|
100
|
+
```bash packageManager="npm"
|
|
101
|
+
npx intlayer-cli init --interactive
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
```bash packageManager="pnpm"
|
|
105
|
+
pnpm dlx intlayer-cli init --interactive
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
```bash packageManager="yarn"
|
|
109
|
+
yarn dlx intlayer-cli init --interactive
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
```bash packageManager="bun"
|
|
113
|
+
bunx intlayer-cli init --interactive
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
> `--interactive` 标志是可选的。如果你是 AI 代理,请使用 `intlayer-cli init`。
|
|
117
|
+
|
|
118
|
+
> 此命令将检测你的环境并安装所需的包。例如:
|
|
119
|
+
|
|
120
|
+
```bash packageManager="npm"
|
|
121
|
+
npm install intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
```bash packageManager="pnpm"
|
|
125
|
+
pnpm add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```bash packageManager="yarn"
|
|
129
|
+
yarn add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```bash packageManager="bun"
|
|
133
|
+
bun add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
> 保持 `next-intl` 已安装 — 它仍然是 **URL 路由**(`createNavigation`、`createMiddleware`、`Link`、`redirect`、`usePathname`、`useRouter`)所必需的。兼容性适配器**不**替换路由层。
|
|
137
|
+
|
|
138
|
+
</Step>
|
|
139
|
+
|
|
140
|
+
<Step number={2} title="配置 Intlayer">
|
|
141
|
+
|
|
142
|
+
`intlayer init` 命令创建一个启动器 `intlayer.config.ts`。更新它以匹配你现有的语言,并将 `syncJSON` 插件指向你的消息文件:
|
|
143
|
+
|
|
144
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
145
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
146
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
147
|
+
|
|
148
|
+
const config: IntlayerConfig = {
|
|
149
|
+
internationalization: {
|
|
150
|
+
locales: [
|
|
151
|
+
Locales.ENGLISH,
|
|
152
|
+
Locales.FRENCH,
|
|
153
|
+
Locales.SPANISH,
|
|
154
|
+
// 在此处添加所有现有的语言
|
|
155
|
+
],
|
|
156
|
+
defaultLocale: Locales.ENGLISH,
|
|
157
|
+
},
|
|
158
|
+
plugins: [
|
|
159
|
+
syncJSON({
|
|
160
|
+
// 'icu' 与 next-intl 的 ICU 占位符语法匹配:{name}、{count, plural, ...}
|
|
161
|
+
format: "icu",
|
|
162
|
+
source: ({ locale }) => `./messages/${locale}.json`,
|
|
163
|
+
location: "messages",
|
|
164
|
+
}),
|
|
165
|
+
],
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export default config;
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
> **`source`** 将语言映射到其 JSON 文件路径。**`location`** 告诉 Intlayer 监视器要监视哪个文件夹以获取更改。`format: 'icu'` 选项确保正确解析 ICU 占位符,如 `{name}` 和 `{count, plural, one {# item} other {# items}}`。
|
|
172
|
+
|
|
173
|
+
> 有关配置选项的完整列表,请参阅[配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
|
|
174
|
+
|
|
175
|
+
</Step>
|
|
176
|
+
|
|
177
|
+
<Step number={3} title="将 Intlayer 插件添加到 Next.js">
|
|
178
|
+
|
|
179
|
+
使用来自 `@intlayer/next-intl/plugin` 的 `createNextIntlPlugin` 包装你现有的 Next.js 配置。此包装器组合了 `withIntlayer` **并**为你注册了 `next-intl` → `@intlayer/next-intl` 别名:
|
|
180
|
+
|
|
181
|
+
```typescript fileName="next.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
182
|
+
import type { NextConfig } from "next";
|
|
183
|
+
import { createNextIntlPlugin } from "@intlayer/next-intl/plugin";
|
|
184
|
+
|
|
185
|
+
const withIntlayer = createNextIntlPlugin();
|
|
186
|
+
|
|
187
|
+
const nextConfig: NextConfig = {
|
|
188
|
+
/* 你现有的配置选项 */
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export default withIntlayer(nextConfig);
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
> `createNextIntlPlugin()` 包装了 `withIntlayer`,自动检测 **Webpack** 或 **Turbopack**,连接内容监视、字典编译,以及——至关重要的——**注入模块别名**,使你现有的 `import … from 'next-intl'` 调用在构建时透明地重定向到 `@intlayer/next-intl`。路由条目 `next-intl/routing` 保持指向真实包。不需要源文件更改。
|
|
195
|
+
>
|
|
196
|
+
> 更喜欢来自 `next-intlayer/server` 的普通 `withIntlayer`?它会编译你的字典,但它**不**添加 `next-intl` 别名——你随后需要手动将导入重命名为 `@intlayer/next-intl`(见步骤 4)。
|
|
197
|
+
|
|
198
|
+
> **你不再需要 `getRequestConfig` 或 `loadMessages`。** 使用 `next-intl` 时,你必须编写一个 `src/i18n.ts` 文件,通过 `getRequestConfig` 在每个请求上加载 JSON 消息包。Intlayer 在**构建时**编译所有字典,因此没有运行时加载步骤。你可以完全删除该文件(或如果你仍然使用 `createNavigation`,只保留路由部分)。
|
|
199
|
+
|
|
200
|
+
</Step>
|
|
201
|
+
|
|
202
|
+
</Steps>
|
|
203
|
+
|
|
204
|
+
快速迁移就到这里。你的应用现在在 Intlayer 上运行,同时保持每个 `next-intl` 导入和 API 完整。
|
|
205
|
+
|
|
206
|
+
> **类型化翻译键——自动。** 一旦 Intlayer 编译你的字典,`useTranslations` 和 `getTranslations` 就会根据你的实际内容进行类型化。键在你的 IDE 中自动完成,无效路径会在构建时导致 TypeScript 错误——不需要额外设置。
|
|
207
|
+
>
|
|
208
|
+
> ```tsx
|
|
209
|
+
> // 客户端组件——'about' 是一个已注册的字典键
|
|
210
|
+
> const t = useTranslations("about");
|
|
211
|
+
> t("counter.label"); // ✓ 自动完成
|
|
212
|
+
> t("does.not.exist"); // ✗ TypeScript 错误
|
|
213
|
+
>
|
|
214
|
+
> // 服务器组件
|
|
215
|
+
> const t = await getTranslations("about");
|
|
216
|
+
> t("counter.label"); // ✓ 类型化
|
|
217
|
+
> ```
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## 完整迁移
|
|
222
|
+
|
|
223
|
+
下面的步骤是可选的,可以逐步执行。它们解锁了 Intlayer 的完整功能集:可视化编辑器、CMS、类型化内容文件、AI 驱动的翻译等。
|
|
224
|
+
|
|
225
|
+
<Steps>
|
|
226
|
+
|
|
227
|
+
<Step number={4} title="显式导入重命名(可选)" isOptional={true}>
|
|
228
|
+
|
|
229
|
+
`createNextIntlPlugin()` 包装器已在打包工具级别处理了 `next-intl` → `@intlayer/next-intl` 别名。如果你希望在源文件中明确依赖关系(并改用纯 `withIntlayer` 插件),可以手动重命名导入:
|
|
230
|
+
|
|
231
|
+
| 之前 | 之后 |
|
|
232
|
+
| ---------------------------------------------------- | -------------------------------------------------------------- |
|
|
233
|
+
| `import { useTranslations } from 'next-intl'` | `import { useTranslations } from '@intlayer/next-intl'` |
|
|
234
|
+
| `import { useLocale } from 'next-intl'` | `import { useLocale } from '@intlayer/next-intl'` |
|
|
235
|
+
| `import { NextIntlClientProvider } from 'next-intl'` | `import { NextIntlClientProvider } from '@intlayer/next-intl'` |
|
|
236
|
+
| `import { getTranslations } from 'next-intl/server'` | `import { getTranslations } from '@intlayer/next-intl/server'` |
|
|
237
|
+
| `import { getLocale } from 'next-intl/server'` | `import { getLocale } from '@intlayer/next-intl/server'` |
|
|
238
|
+
| `import { setLocale } from 'next-intl/server'` | `import { setLocale } from '@intlayer/next-intl/server'` |
|
|
239
|
+
| `import { getMessages } from 'next-intl/server'` | `import { getMessages } from '@intlayer/next-intl/server'` |
|
|
240
|
+
|
|
241
|
+
> 始终从真实的 `next-intl` 保持路由导入 — compat 适配器**不**替换 URL 路由层:
|
|
242
|
+
>
|
|
243
|
+
> ```ts
|
|
244
|
+
> // ✅ 始终从真实的 'next-intl' 保持这些
|
|
245
|
+
> import { createNavigation } from "next-intl/routing";
|
|
246
|
+
> import { createMiddleware } from "next-intl/server";
|
|
247
|
+
> import { defineRouting } from "next-intl/routing";
|
|
248
|
+
> ```
|
|
249
|
+
>
|
|
250
|
+
> 或者,你可以使用 `@intlayer/next-intl/routing` 中的 `defineRouting`,它会自动从你的 `intlayer.config.ts` 合并语言环境配置。
|
|
251
|
+
|
|
252
|
+
</Step>
|
|
253
|
+
|
|
254
|
+
<Step number={5} title="启用 AI 驱动的翻译自动化" isOptional={true}>
|
|
255
|
+
|
|
256
|
+
Intlayer 接入后,你可以使用其 CLI 使用你选择的 LLM 自动填充缺失的翻译:
|
|
257
|
+
|
|
258
|
+
```bash packageManager="npm"
|
|
259
|
+
# 测试缺失的翻译(添加到 CI)
|
|
260
|
+
npx intlayer test
|
|
261
|
+
|
|
262
|
+
# 使用 AI 填充缺失的翻译
|
|
263
|
+
npx intlayer fill
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
```bash packageManager="pnpm"
|
|
267
|
+
pnpm intlayer test
|
|
268
|
+
pnpm intlayer fill
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
```bash packageManager="yarn"
|
|
272
|
+
yarn intlayer test
|
|
273
|
+
yarn intlayer fill
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
```bash packageManager="bun"
|
|
277
|
+
bun x intlayer test
|
|
278
|
+
bun x intlayer fill
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
将 `OPENAI_API_KEY`(或你首选提供商的密钥)添加到 `.env` 文件,然后扩展你的 `intlayer.config.ts`:
|
|
282
|
+
|
|
283
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
284
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
285
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
286
|
+
|
|
287
|
+
// 配置对象
|
|
288
|
+
const config: IntlayerConfig = {
|
|
289
|
+
internationalization: {
|
|
290
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
291
|
+
defaultLocale: Locales.ENGLISH,
|
|
292
|
+
},
|
|
293
|
+
plugins: [
|
|
294
|
+
syncJSON({
|
|
295
|
+
format: "icu",
|
|
296
|
+
source: ({ locale }) => `./messages/${locale}.json`,
|
|
297
|
+
location: "messages",
|
|
298
|
+
}),
|
|
299
|
+
],
|
|
300
|
+
ai: {
|
|
301
|
+
apiKey: process.env.OPENAI_API_KEY,
|
|
302
|
+
// provider: "openai", // 默认值
|
|
303
|
+
// model: "gpt-4o-mini", // 默认值
|
|
304
|
+
},
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
export default config;
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
> 有关所有可用选项,请参阅 [Intlayer CLI 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)。
|
|
311
|
+
|
|
312
|
+
</Step>
|
|
313
|
+
|
|
314
|
+
</Steps>
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 迁移后可以删除的内容
|
|
319
|
+
|
|
320
|
+
一旦 `@intlayer/next-intl` 就位,以下 `next-intl` 样板代码可以删除:
|
|
321
|
+
|
|
322
|
+
| 文件 / 模式 | 为什么不再需要 |
|
|
323
|
+
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
|
324
|
+
| `src/i18n.ts` → `getRequestConfig` export | Intlayer 在构建时编译词典;没有按请求加载消息。仅当文件也导出 `createNavigation` 路由辅助程序时才保留该文件。 |
|
|
325
|
+
| `loadMessages()` / `getMessages()` call in layout | `@intlayer/next-intl` 中的 `NextIntlClientProvider` 从编译输出读取;不需要 `messages` prop。 |
|
|
326
|
+
| `locales/{locale}/*.json` imports in layout | JSON bundles 仅在仍使用 `syncJSON` 插件时需要。迁移到 `.content.ts` 文件后,可以删除 JSON 文件夹。 |
|
|
327
|
+
|
|
328
|
+
当你准备好进一步操作时,Intlayer **自动发现代码库中任何位置的所有 `.content.ts` 和 `.content.json` 文件**(默认情况下,在 `./src` 内的任何位置)。你可以将 `about.content.ts` 文件放在 `about/page.tsx` 文件旁边,Intlayer 将在构建时将其选中,无需额外配置 — 无需导入、无需注册、无需集中索引文件。这使得将翻译与页面和组件并置完全无摩擦。
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
|
|
332
|
+
## 配置 TypeScript
|
|
333
|
+
|
|
334
|
+
Intlayer 使用模块扩展来为您的翻译键提供完整的 TypeScript intellisense。确保您的 `tsconfig.json` 包含自动生成的类型:
|
|
335
|
+
|
|
336
|
+
```json5 fileName="tsconfig.json"
|
|
337
|
+
{
|
|
338
|
+
// ... 您现有的 TypeScript 配置
|
|
339
|
+
"include": [
|
|
340
|
+
// ... 您现有的 TypeScript 配置
|
|
341
|
+
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
342
|
+
],
|
|
343
|
+
}
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## Git 配置
|
|
349
|
+
|
|
350
|
+
将 Intlayer 生成的目录添加到您的 `.gitignore`:
|
|
351
|
+
|
|
352
|
+
```plaintext fileName=".gitignore"
|
|
353
|
+
# Ignore the files generated by Intlayer
|
|
354
|
+
.intlayer
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## 进一步了解
|
|
360
|
+
|
|
361
|
+
- **Visual Editor** — 在浏览器中直观管理翻译: [Intlayer Visual Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)
|
|
362
|
+
- **CMS** — 外部化和远程管理内容: [Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)
|
|
363
|
+
- **VS Code Extension** — 获得自动完成和实时翻译错误检测: [Intlayer VS Code Extension](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/vs_code_extension.md)
|
|
364
|
+
- **CLI Reference** — CLI 命令的完整列表: [Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)
|
|
365
|
+
- **Intlayer with Next.js** — Next.js 的完整设置指南: [intlayer_with_nextjs_16.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_with_nextjs_16.md)
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-05
|
|
3
|
+
updatedAt: 2026-06-05
|
|
4
|
+
title: "从 @nuxtjs/i18n 迁移到 Intlayer | 国际化 (i18n)"
|
|
5
|
+
description: "了解如何将您的 Nuxt 应用从 @nuxtjs/i18n 迁移到 Intlayer — 逐步进行,不破坏现有代码。使用 @intlayer/vue-i18n 兼容适配器实现零中断过渡。"
|
|
6
|
+
keywords:
|
|
7
|
+
- "@nuxtjs/i18n"
|
|
8
|
+
- vue-i18n
|
|
9
|
+
- intlayer
|
|
10
|
+
- migration
|
|
11
|
+
- internationalization
|
|
12
|
+
- i18n
|
|
13
|
+
- Nuxt
|
|
14
|
+
- Vue
|
|
15
|
+
- JavaScript
|
|
16
|
+
slugs:
|
|
17
|
+
- doc
|
|
18
|
+
- migration
|
|
19
|
+
- nuxtjs-i18n
|
|
20
|
+
history:
|
|
21
|
+
- version: 9.0.0
|
|
22
|
+
date: 2026-06-05
|
|
23
|
+
changes: "Init history"
|
|
24
|
+
author: aymericzip
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# 从 @nuxtjs/i18n 迁移到 Intlayer
|
|
28
|
+
|
|
29
|
+
## 为什么从 @nuxtjs/i18n 迁移到 Intlayer?
|
|
30
|
+
|
|
31
|
+
<AccordionGroup>
|
|
32
|
+
|
|
33
|
+
<Accordion header="Bundle 大小">
|
|
34
|
+
|
|
35
|
+
不再需要将庞大的 JSON 文件加载到页面中,只加载必要的内容。Intlayer 帮助您**将 bundle 和页面大小减少高达 50%**。
|
|
36
|
+
|
|
37
|
+
</Accordion>
|
|
38
|
+
|
|
39
|
+
<Accordion header="可维护性">
|
|
40
|
+
|
|
41
|
+
对应用程序的内容进行作用域划分**便于大规模应用的维护**。您可以复制或删除单个功能文件夹,无需审查整个内容代码库的心理负担。此外,Intlayer **完全类型化**,确保内容的准确性。
|
|
42
|
+
|
|
43
|
+
Intlayer 也是 i18n 生态系统中**开发最活跃的**解决方案 — 问题修复快速、新框架适配器定期发布,核心 API 根据真实生产反馈不断优化。
|
|
44
|
+
|
|
45
|
+
</Accordion>
|
|
46
|
+
|
|
47
|
+
<Accordion header="AI Agent">
|
|
48
|
+
|
|
49
|
+
将内容并置**减少了大语言模型 (LLM) 所需的上下文**。Intlayer 还提供了一套工具,如用于测试缺失翻译的 **CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/mcp_server.md)** 和 **[agent skills](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/agent_skills.md)**,使 AI agents 的开发体验 (DX) 更加顺畅。
|
|
50
|
+
|
|
51
|
+
</Accordion>
|
|
52
|
+
|
|
53
|
+
<Accordion header="自动化">
|
|
54
|
+
|
|
55
|
+
在 CI/CD 管道中使用自动化翻译,使用您选择的 LLM,按 AI 提供商的费用计费。Intlayer 还提供了**编译器**来自动提取内容,以及 [web 平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 来帮助**后台翻译**。
|
|
56
|
+
|
|
57
|
+
</Accordion>
|
|
58
|
+
|
|
59
|
+
<Accordion header="性能">
|
|
60
|
+
|
|
61
|
+
将庞大的 JSON 文件连接到组件可能会导致性能和响应性问题。Intlayer 在构建时优化您的内容加载。
|
|
62
|
+
|
|
63
|
+
</Accordion>
|
|
64
|
+
|
|
65
|
+
<Accordion header="与非开发人员协作扩展">
|
|
66
|
+
|
|
67
|
+
Intlayer 不仅仅是一个 i18n 解决方案,它还提供**自托管的[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)**和**[完整 CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)**,帮助您**实时**管理多语言内容,使与翻译人员、文案人员和其他团队成员的协作无缝衔接。内容可以存储在本地和/或远程。
|
|
68
|
+
|
|
69
|
+
</Accordion>
|
|
70
|
+
|
|
71
|
+
</AccordionGroup>
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 迁移策略
|
|
76
|
+
|
|
77
|
+
由于 `@nuxtjs/i18n` 在底层由 `vue-i18n` 驱动,迁移到 Intlayer 有两种互补的策略:
|
|
78
|
+
|
|
79
|
+
1. **兼容适配器(推荐用于现有应用)** — 安装 `@intlayer/vue-i18n` 和 `nuxt-intlayer`。这暴露了与 `vue-i18n` **完全相同的 API**,但在底层将所有翻译工作委托给 Intlayer。您保持现有的 `$t`、`useI18n()` 和 Nuxt 路由不变 — 唯一的变化是初始化。
|
|
80
|
+
|
|
81
|
+
2. **完整迁移** — 逐步用本地 Intlayer hooks(`useIntlayer`)替换 `@nuxtjs/i18n` API,并在组件旁边的 `.content.ts` 文件中共同放置内容。
|
|
82
|
+
|
|
83
|
+
本指南首先介绍**策略 1**(即插即用兼容适配器),然后讲解可选的完整迁移。
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 目录
|
|
88
|
+
|
|
89
|
+
<TOC/>
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 快速迁移
|
|
94
|
+
|
|
95
|
+
以下步骤是使现有 Nuxt 应用在 Intlayer 上运行所需的最低要求,组件中无需任何代码更改。
|
|
96
|
+
|
|
97
|
+
<Steps>
|
|
98
|
+
|
|
99
|
+
<Step number={1} title="安装依赖">
|
|
100
|
+
|
|
101
|
+
安装 Intlayer 核心包和兼容性适配器:
|
|
102
|
+
|
|
103
|
+
```bash packageManager="npm"
|
|
104
|
+
npx intlayer-cli init --interactive
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
```bash packageManager="pnpm"
|
|
108
|
+
pnpm dlx intlayer-cli init --interactive
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```bash packageManager="yarn"
|
|
112
|
+
yarn dlx intlayer-cli init --interactive
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
```bash packageManager="bun"
|
|
116
|
+
bunx intlayer-cli init --interactive
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
> `--interactive` 标志是可选的。如果你是 AI 代理,使用 `intlayer-cli init`。
|
|
120
|
+
|
|
121
|
+
> 此命令将检测你的环境并安装所需的包。例如:
|
|
122
|
+
|
|
123
|
+
```bash packageManager="npm"
|
|
124
|
+
npm install intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
```bash packageManager="pnpm"
|
|
128
|
+
pnpm add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
```bash packageManager="yarn"
|
|
132
|
+
yarn add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
```bash packageManager="bun"
|
|
136
|
+
bun add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
> 你可以在迁移期间安全地保持 `@nuxtjs/i18n` 已安装状态,尽管稍后你将从 Nuxt 配置中删除它。
|
|
140
|
+
|
|
141
|
+
</Step>
|
|
142
|
+
|
|
143
|
+
<Step number={2} title="配置 Intlayer">
|
|
144
|
+
|
|
145
|
+
`intlayer init` 命令创建一个启动 `intlayer.config.ts`。更新它以匹配你现有的语言环境,并将 `syncJSON` 插件指向你的消息文件:
|
|
146
|
+
|
|
147
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
148
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
149
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
150
|
+
|
|
151
|
+
const config: IntlayerConfig = {
|
|
152
|
+
internationalization: {
|
|
153
|
+
locales: [
|
|
154
|
+
Locales.ENGLISH,
|
|
155
|
+
Locales.FRENCH,
|
|
156
|
+
Locales.SPANISH,
|
|
157
|
+
// 在此添加所有现有语言环境
|
|
158
|
+
],
|
|
159
|
+
defaultLocale: Locales.ENGLISH,
|
|
160
|
+
},
|
|
161
|
+
plugins: [
|
|
162
|
+
syncJSON({
|
|
163
|
+
// 匹配 vue-i18n 占位符语法:{name}
|
|
164
|
+
format: "icu",
|
|
165
|
+
source: ({ locale }) => `./locales/${locale}.json`,
|
|
166
|
+
location: "locales",
|
|
167
|
+
}),
|
|
168
|
+
],
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export default config;
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
> **`source`** 将语言环境映射到其 JSON 文件路径。**`location`** 告诉 Intlayer 观察器监控哪个文件夹以查找更改。`format: 'icu'` 选项确保占位符被正确解析以供 `vue-i18n` 使用。
|
|
175
|
+
|
|
176
|
+
</Step>
|
|
177
|
+
|
|
178
|
+
<Step number={3} title="更新 Nuxt 配置">
|
|
179
|
+
|
|
180
|
+
在 `nuxt.config.ts` 中用 `nuxt-intlayer` 替换 `@nuxtjs/i18n` 模块。Intlayer 插件自动注入模块别名,这意味着你现有的 `import { useI18n } from 'vue-i18n'` 调用被透明地重定向到 `@intlayer/vue-i18n`。
|
|
181
|
+
|
|
182
|
+
```typescript fileName="nuxt.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
183
|
+
export default defineNuxtConfig({
|
|
184
|
+
// 移除 '@nuxtjs/i18n'
|
|
185
|
+
modules: ["nuxt-intlayer"],
|
|
186
|
+
});
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
> **你不再需要定义 Nuxt i18n 配置对象。** Intlayer 在**构建时**编译所有字典,无缝处理语言环境检测、路由和字典加载。
|
|
190
|
+
|
|
191
|
+
</Step>
|
|
192
|
+
|
|
193
|
+
</Steps>
|
|
194
|
+
|
|
195
|
+
快速迁移就这样。你的 Nuxt 应用现在在 Intlayer 上运行,同时保持所有 `$t` 和 `useI18n()` 完好无损。
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## 完整迁移
|
|
200
|
+
|
|
201
|
+
以下步骤是可选的,可以逐步完成。它们可以解锁 Intlayer 的完整功能集:可视编辑器、CMS、类型化内容文件、AI 驱动的翻译等。
|
|
202
|
+
|
|
203
|
+
<Steps>
|
|
204
|
+
|
|
205
|
+
<Step number={4} title="显式导入重命名(可选)" isOptional={true}>
|
|
206
|
+
|
|
207
|
+
Intlayer 插件已在 bundler 级别处理别名。如果你更希望在源文件中明确表示依赖关系,可以手动重命名导入:
|
|
208
|
+
|
|
209
|
+
| 之前 | 之后 |
|
|
210
|
+
| ------------------------------------ | ---------------------------------------------- |
|
|
211
|
+
| `import { useI18n } from 'vue-i18n'` | `import { useI18n } from '@intlayer/vue-i18n'` |
|
|
212
|
+
|
|
213
|
+
这些是**即插即用的替代品** — 不需要对调用签名、参数或返回类型进行任何更改。
|
|
214
|
+
|
|
215
|
+
</Step>
|
|
216
|
+
|
|
217
|
+
<Step number={5} title="启用 AI 驱动的翻译自动化" isOptional={true}>
|
|
218
|
+
|
|
219
|
+
设置好 Intlayer 后,使用其 CLI 自动填充缺失的翻译:
|
|
220
|
+
|
|
221
|
+
```bash packageManager="npm"
|
|
222
|
+
# 测试缺失的翻译(添加到 CI)
|
|
223
|
+
npx intlayer test
|
|
224
|
+
|
|
225
|
+
# 使用 AI 填充缺失的翻译
|
|
226
|
+
npx intlayer fill
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
```bash packageManager="pnpm"
|
|
230
|
+
pnpm intlayer test
|
|
231
|
+
pnpm intlayer fill
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
```bash packageManager="yarn"
|
|
235
|
+
yarn intlayer test
|
|
236
|
+
yarn intlayer fill
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
```bash packageManager="bun"
|
|
240
|
+
bun x intlayer test
|
|
241
|
+
bun x intlayer fill
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
将 AI 配置添加到 `intlayer.config.ts`:
|
|
245
|
+
|
|
246
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
247
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
248
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
249
|
+
|
|
250
|
+
const config: IntlayerConfig = {
|
|
251
|
+
internationalization: {
|
|
252
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
253
|
+
defaultLocale: Locales.ENGLISH,
|
|
254
|
+
},
|
|
255
|
+
plugins: [
|
|
256
|
+
syncJSON({
|
|
257
|
+
format: "icu",
|
|
258
|
+
source: ({ locale }) => `./locales/${locale}.json`,
|
|
259
|
+
location: "locales",
|
|
260
|
+
}),
|
|
261
|
+
],
|
|
262
|
+
ai: {
|
|
263
|
+
apiKey: process.env.OPENAI_API_KEY,
|
|
264
|
+
// provider: "openai", // 默认值
|
|
265
|
+
// model: "gpt-4o-mini", // 默认值
|
|
266
|
+
},
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
export default config;
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
> 查看 [Intlayer CLI 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md) 了解所有可用选项。
|
|
273
|
+
|
|
274
|
+
</Step>
|
|
275
|
+
|
|
276
|
+
</Steps>
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## 迁移后可以删除的内容
|
|
281
|
+
|
|
282
|
+
兼容适配器就位后,可以移除以下样板代码:
|
|
283
|
+
|
|
284
|
+
| 文件 / 模式 | 为什么不再需要 |
|
|
285
|
+
| ---------------------------------- | ---------------------------------------------------------------------------------------------- |
|
|
286
|
+
| `nuxt.config.ts` 中的 `i18n` 配置 | Intlayer 在内部处理路由、字典加载和默认语言环境。 |
|
|
287
|
+
| `package.json` 中的 `@nuxtjs/i18n` | 完全被 `nuxt-intlayer` 取代。 |
|
|
288
|
+
| JSON 语言包(`locales/*.json`) | JSON 包仅在仍使用 `syncJSON` 插件时才需要。迁移到 `.content.ts` 文件后,可以删除 JSON 文件夹。 |
|
|
289
|
+
|
|
290
|
+
当你准备继续深入时,Intlayer **会自动发现代码库中任何位置的所有 `.content.ts` 和 `.content.json` 文件**(默认情况下,在 `./src` 内的任何位置)。你可以将 `my-component.content.ts` 文件放在你的 `MyComponent.vue` 旁边,Intlayer 会在构建时自动获取它,无需任何额外配置 — 无需导入、无需注册、无需中央索引文件。这使得将翻译与页面和组件共置变得完全无摩擦。
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## 配置 TypeScript
|
|
295
|
+
|
|
296
|
+
Intlayer 使用模块增强来为你的翻译键提供完整的 TypeScript 智能感知。确保你的 `tsconfig.json` 包含自动生成的类型:
|
|
297
|
+
|
|
298
|
+
```json5 fileName="tsconfig.json"
|
|
299
|
+
{
|
|
300
|
+
// ... 你现有的 TypeScript 配置
|
|
301
|
+
"include": [
|
|
302
|
+
// ... 你现有的 TypeScript 配置
|
|
303
|
+
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
304
|
+
],
|
|
305
|
+
}
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
## Git 配置
|
|
311
|
+
|
|
312
|
+
将 Intlayer 生成的目录添加到你的 `.gitignore`:
|
|
313
|
+
|
|
314
|
+
```plaintext fileName=".gitignore"
|
|
315
|
+
# Ignore the files generated by Intlayer
|
|
316
|
+
.intlayer
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
## 进一步了解
|
|
322
|
+
|
|
323
|
+
- **Visual Editor** — 在浏览器中以可视方式管理翻译:[Intlayer Visual Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)
|
|
324
|
+
- **CMS** — 外部化和远程管理内容:[Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)
|
|
325
|
+
- **VS Code Extension** — 获取自动完成和实时翻译错误检测:[Intlayer VS Code Extension](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/vs_code_extension.md)
|
|
326
|
+
- **CLI Reference** — CLI 命令完整列表:[Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)
|
|
327
|
+
- **Intlayer with Nuxt** — Nuxt 完整设置指南:[intlayer_with_nuxt.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_with_nuxt.md)
|
|
328
|
+
- **Intlayer with Vue** — Vue 完整设置指南:[intlayer_with_vite+vue.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_with_vite+vue.md)
|