@intlayer/docs 8.12.5-canary.0 → 9.0.0-canary.11
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 +580 -20
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +580 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +29 -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 +22 -1
- 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 +395 -0
- package/docs/ar/roadmap.md +6 -0
- package/docs/ar/self_hosting.md +349 -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_CMS.md +570 -0
- 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/bn/releases/v9.md +358 -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/cs/releases/v9.md +358 -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 +123 -1
- 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 +376 -0
- package/docs/de/roadmap.md +6 -16
- package/docs/de/self_hosting.md +349 -0
- 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_CMS.md +171 -1
- 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 +358 -0
- package/docs/en/self_hosting.md +349 -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 +22 -1
- 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 +357 -0
- package/docs/en-GB/roadmap.md +6 -0
- package/docs/en-GB/self_hosting.md +349 -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 +138 -1
- 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 +372 -0
- package/docs/es/roadmap.md +6 -0
- package/docs/es/self_hosting.md +349 -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 +123 -1
- 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 +372 -0
- package/docs/fr/roadmap.md +6 -0
- package/docs/fr/self_hosting.md +349 -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 +22 -1
- 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 +374 -0
- package/docs/hi/roadmap.md +6 -0
- package/docs/hi/self_hosting.md +349 -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 +346 -0
- package/docs/id/roadmap.md +0 -16
- package/docs/id/self_hosting.md +349 -0
- 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 +123 -1
- 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 +376 -0
- package/docs/it/roadmap.md +6 -0
- package/docs/it/self_hosting.md +349 -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 +197 -10
- 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 +346 -0
- package/docs/ja/roadmap.md +6 -0
- package/docs/ja/self_hosting.md +349 -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 +195 -6
- 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 +345 -0
- package/docs/ko/roadmap.md +6 -0
- package/docs/ko/self_hosting.md +349 -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/nl/releases/v9.md +358 -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_CMS.md +16 -1
- 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 +373 -0
- package/docs/pl/roadmap.md +0 -16
- package/docs/pl/self_hosting.md +349 -0
- 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 +138 -1
- 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 +376 -0
- package/docs/pt/roadmap.md +6 -0
- package/docs/pt/self_hosting.md +349 -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 +202 -15
- 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 +374 -0
- package/docs/ru/roadmap.md +6 -0
- package/docs/ru/self_hosting.md +349 -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 +22 -1
- 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 +361 -0
- package/docs/tr/roadmap.md +6 -0
- package/docs/tr/self_hosting.md +349 -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_CMS.md +16 -1
- 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 +373 -0
- package/docs/uk/self_hosting.md +349 -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 +346 -0
- package/docs/vi/self_hosting.md +349 -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 +342 -0
- package/docs/zh/roadmap.md +6 -0
- package/docs/zh/self_hosting.md +349 -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 +580 -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,330 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-05
|
|
3
|
+
updatedAt: 2026-06-05
|
|
4
|
+
title: "从 i18next 迁移到 Intlayer | 国际化 (i18n)"
|
|
5
|
+
description: "了解如何逐步将你的 JavaScript/TypeScript 应用从 i18next 迁移到 Intlayer,无需破坏现有代码。使用 @intlayer/i18next 兼容适配器实现零中断转换。"
|
|
6
|
+
keywords:
|
|
7
|
+
- i18next
|
|
8
|
+
- intlayer
|
|
9
|
+
- migration
|
|
10
|
+
- internationalization
|
|
11
|
+
- i18n
|
|
12
|
+
- JavaScript
|
|
13
|
+
- Node.js
|
|
14
|
+
slugs:
|
|
15
|
+
- doc
|
|
16
|
+
- migration
|
|
17
|
+
- i18next
|
|
18
|
+
history:
|
|
19
|
+
- version: 9.0.0
|
|
20
|
+
date: 2026-06-05
|
|
21
|
+
changes: "Init history"
|
|
22
|
+
author: aymericzip
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# 从 i18next 迁移到 Intlayer
|
|
26
|
+
|
|
27
|
+
## 为什么从 i18next 迁移到 Intlayer?
|
|
28
|
+
|
|
29
|
+
<AccordionGroup>
|
|
30
|
+
|
|
31
|
+
<Accordion header="Bundle 大小">
|
|
32
|
+
|
|
33
|
+
与其将庞大的 JSON 文件加载到页面中,不如仅加载必要的内容。Intlayer 帮助**将 bundle 和页面大小减少高达 50%**。
|
|
34
|
+
|
|
35
|
+
</Accordion>
|
|
36
|
+
|
|
37
|
+
<Accordion header="可维护性">
|
|
38
|
+
|
|
39
|
+
限定应用内容的范围**便于大规模应用的维护**。您可以复制或删除单个功能文件夹,而无需费力审查整个内容 codebase。此外,Intlayer **完全类型化**以确保内容的准确性。
|
|
40
|
+
|
|
41
|
+
Intlayer 也是 i18n 生态系统中**开发最活跃的**解决方案——问题得到快速修复,新的框架适配器定期发布,核心 API 根据真实生产反馈不断改进。
|
|
42
|
+
|
|
43
|
+
</Accordion>
|
|
44
|
+
|
|
45
|
+
<Accordion header="AI Agent">
|
|
46
|
+
|
|
47
|
+
内容共定位**减少了大型语言模型 (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) 更加顺利。
|
|
48
|
+
|
|
49
|
+
</Accordion>
|
|
50
|
+
|
|
51
|
+
<Accordion header="自动化">
|
|
52
|
+
|
|
53
|
+
使用自动化在您的 CI/CD pipeline 中进行翻译,使用您选择的 LLM,费用由您的 AI 提供商承担。Intlayer 还提供**编译器**来自动化内容提取,以及一个 [web platform](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 来帮助**在后台翻译**。
|
|
54
|
+
|
|
55
|
+
</Accordion>
|
|
56
|
+
|
|
57
|
+
<Accordion header="性能">
|
|
58
|
+
|
|
59
|
+
将庞大的 JSON 文件连接到组件可能导致性能和响应性问题。Intlayer 在构建时优化您的内容加载。
|
|
60
|
+
|
|
61
|
+
</Accordion>
|
|
62
|
+
|
|
63
|
+
<Accordion header="与非开发人员协作扩展">
|
|
64
|
+
|
|
65
|
+
不仅仅是一个 i18n 解决方案,Intlayer 提供**自托管的[可视化编辑器](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)** 来帮助您**实时**管理多语言内容,使与翻译人员、文案编写者和其他团队成员的协作无缝衔接。内容可以本地和/或远程存储。
|
|
66
|
+
|
|
67
|
+
</Accordion>
|
|
68
|
+
|
|
69
|
+
</AccordionGroup>
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 迁移策略
|
|
74
|
+
|
|
75
|
+
从 `i18next` 迁移到 Intlayer 有两种互补策略:
|
|
76
|
+
|
|
77
|
+
1. **兼容性适配器(推荐用于现有应用)** — 安装 `@intlayer/i18next`。这个包暴露了与 `i18next` **完全相同的 API**,但在底层将所有翻译工作委托给 Intlayer。你可以保留现有的 `i18next.t()`、`i18next.changeLanguage()` 和 `createInstance()` 调用 — 唯一的改变是导入路径和初始化方式。
|
|
78
|
+
|
|
79
|
+
2. **完整迁移** — 逐步用原生 Intlayer 工具替换 `i18next` API,并在 `.content.ts` 文件中并置内容。
|
|
80
|
+
|
|
81
|
+
本指南首先涵盖**策略 1**(即插即用的兼容性适配器),然后演示可选的完整迁移。
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 目录
|
|
86
|
+
|
|
87
|
+
<TOC/>
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 快速迁移
|
|
92
|
+
|
|
93
|
+
以下步骤是使现有 `i18next` 应用以零代码更改运行在 Intlayer 上所需的最少要求。
|
|
94
|
+
|
|
95
|
+
<Steps>
|
|
96
|
+
|
|
97
|
+
<Step number={1} title="安装依赖">
|
|
98
|
+
|
|
99
|
+
安装 Intlayer 核心包和兼容性适配器:
|
|
100
|
+
|
|
101
|
+
```bash packageManager="npm"
|
|
102
|
+
npx intlayer-cli init --interactive
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
```bash packageManager="pnpm"
|
|
106
|
+
pnpm dlx intlayer-cli init --interactive
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```bash packageManager="yarn"
|
|
110
|
+
yarn dlx intlayer-cli init --interactive
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
```bash packageManager="bun"
|
|
114
|
+
bunx intlayer-cli init --interactive
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
> `--interactive` 标志是可选的。如果你是 AI 代理,请使用 `intlayer-cli init`。
|
|
118
|
+
|
|
119
|
+
> 此命令将检测你的环境并安装所需的包。例如:
|
|
120
|
+
|
|
121
|
+
```bash packageManager="npm"
|
|
122
|
+
npm install intlayer @intlayer/i18next @intlayer/sync-json-plugin
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
```bash packageManager="pnpm"
|
|
126
|
+
pnpm add intlayer @intlayer/i18next @intlayer/sync-json-plugin
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
```bash packageManager="yarn"
|
|
130
|
+
yarn add intlayer @intlayer/i18next @intlayer/sync-json-plugin
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
```bash packageManager="bun"
|
|
134
|
+
bun add intlayer @intlayer/i18next @intlayer/sync-json-plugin
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
> 你可以保持 `i18next` 的安装 — 兼容性适配器将其用作 `devDependency` / `peerDependency` 来获取 TypeScript 类型。
|
|
138
|
+
|
|
139
|
+
</Step>
|
|
140
|
+
|
|
141
|
+
<Step number={2} title="配置 Intlayer">
|
|
142
|
+
|
|
143
|
+
`intlayer init` 命令创建一个起始的 `intlayer.config.ts`。更新它以匹配你现有的语言环境并将 `syncJSON` 插件指向你的消息文件:
|
|
144
|
+
|
|
145
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
146
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
147
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
148
|
+
|
|
149
|
+
const config: IntlayerConfig = {
|
|
150
|
+
internationalization: {
|
|
151
|
+
locales: [
|
|
152
|
+
Locales.ENGLISH,
|
|
153
|
+
Locales.FRENCH,
|
|
154
|
+
Locales.SPANISH,
|
|
155
|
+
// 在此处添加所有现有语言环境
|
|
156
|
+
],
|
|
157
|
+
defaultLocale: Locales.ENGLISH,
|
|
158
|
+
},
|
|
159
|
+
plugins: [
|
|
160
|
+
syncJSON({
|
|
161
|
+
// 匹配 i18next 占位符语法:{{name}}
|
|
162
|
+
format: "i18next",
|
|
163
|
+
source: ({ locale }) => `./src/locales/${locale}.json`,
|
|
164
|
+
location: "src/locales",
|
|
165
|
+
}),
|
|
166
|
+
],
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export default config;
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
> **`source`** 将语言环境映射到其 JSON 文件路径。**`location`** 告诉 Intlayer 监听器应监控哪个文件夹以获取更改。`format: 'i18next'` 选项确保正确解析占位符,如 `{{name}}`。
|
|
173
|
+
|
|
174
|
+
</Step>
|
|
175
|
+
|
|
176
|
+
<Step number={3} title="更新 Bundler 别名(可选)">
|
|
177
|
+
|
|
178
|
+
如果你使用 bundler(Vite、Webpack、esbuild),可以注入模块别名,使得 `import ... from 'i18next'` 自动解析为 `@intlayer/i18next`。这消除了手动更改代码库中任何导入的需要。
|
|
179
|
+
|
|
180
|
+
**对于 Vite:**
|
|
181
|
+
|
|
182
|
+
```typescript fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
183
|
+
import { defineConfig } from "vite";
|
|
184
|
+
import i18nextVitePlugin from "@intlayer/i18next/plugin";
|
|
185
|
+
|
|
186
|
+
export default defineConfig({
|
|
187
|
+
plugins: [i18nextVitePlugin()],
|
|
188
|
+
});
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
> `i18nextVitePlugin()` 包装 `vite-intlayer` 的 `intlayer()` 插件,并为你添加 `i18next` → `@intlayer/i18next` 别名。使用来自 `vite-intlayer` 的普通 `intlayer()` 插件会编译字典,但 **不会** 添加该别名 — 你需要手动将导入重命名为 `@intlayer/i18next`(见下一步)。
|
|
192
|
+
|
|
193
|
+
</Step>
|
|
194
|
+
|
|
195
|
+
</Steps>
|
|
196
|
+
|
|
197
|
+
这就是快速迁移的全部内容。你的应用现在运行在 Intlayer 上,同时保持每个 `i18next` 导入和 API 完整。
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## 完整迁移
|
|
202
|
+
|
|
203
|
+
下面的步骤是可选的,可以逐步完成。它们解锁了完整的 Intlayer 功能集:可视化编辑器、CMS、类型化内容文件、AI 驱动的翻译等。
|
|
204
|
+
|
|
205
|
+
<Steps>
|
|
206
|
+
|
|
207
|
+
<Step number={4} title="显式导入重命名(可选)" isOptional={true}>
|
|
208
|
+
|
|
209
|
+
如果您想在源文件中明确声明依赖关系,或者您没有使用 bundler 插件来别名导入,您可以手动重命名导入:
|
|
210
|
+
|
|
211
|
+
| 之前 | 之后 |
|
|
212
|
+
| ------------------------------------------ | ---------------------------------------------------- |
|
|
213
|
+
| `import i18next from 'i18next'` | `import i18next from '@intlayer/i18next'` |
|
|
214
|
+
| `import { createInstance } from 'i18next'` | `import { createInstance } from '@intlayer/i18next'` |
|
|
215
|
+
| `import { t } from 'i18next'` | `import { t } from '@intlayer/i18next'` |
|
|
216
|
+
|
|
217
|
+
这些是**直接替换** — 不需要对调用签名、参数或返回类型进行任何更改。
|
|
218
|
+
|
|
219
|
+
</Step>
|
|
220
|
+
|
|
221
|
+
<Step number={5} title="启用 AI 驱动的翻译自动化" isOptional={true}>
|
|
222
|
+
|
|
223
|
+
Intlayer 配置完成后,使用其 CLI 自动填充缺失的翻译:
|
|
224
|
+
|
|
225
|
+
```bash packageManager="npm"
|
|
226
|
+
# 测试缺失的翻译(添加到 CI)
|
|
227
|
+
npx intlayer test
|
|
228
|
+
|
|
229
|
+
# 使用 AI 填充缺失的翻译
|
|
230
|
+
npx intlayer fill
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
```bash packageManager="pnpm"
|
|
234
|
+
pnpm intlayer test
|
|
235
|
+
pnpm intlayer fill
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
```bash packageManager="yarn"
|
|
239
|
+
yarn intlayer test
|
|
240
|
+
yarn intlayer fill
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
```bash packageManager="bun"
|
|
244
|
+
bun x intlayer test
|
|
245
|
+
bun x intlayer fill
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
将 AI 配置添加到 `intlayer.config.ts`:
|
|
249
|
+
|
|
250
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
251
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
252
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
253
|
+
|
|
254
|
+
const config: IntlayerConfig = {
|
|
255
|
+
internationalization: {
|
|
256
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
257
|
+
defaultLocale: Locales.ENGLISH,
|
|
258
|
+
},
|
|
259
|
+
plugins: [
|
|
260
|
+
syncJSON({
|
|
261
|
+
format: "i18next",
|
|
262
|
+
source: ({ locale }) => `./src/locales/${locale}.json`,
|
|
263
|
+
location: "src/locales",
|
|
264
|
+
}),
|
|
265
|
+
],
|
|
266
|
+
ai: {
|
|
267
|
+
apiKey: process.env.OPENAI_API_KEY,
|
|
268
|
+
// provider: "openai", // 默认值
|
|
269
|
+
// model: "gpt-4o-mini", // 默认值
|
|
270
|
+
},
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export default config;
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
> 查看 [Intlayer CLI 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md) 了解所有可用选项。
|
|
277
|
+
|
|
278
|
+
</Step>
|
|
279
|
+
|
|
280
|
+
</Steps>
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## 迁移后可以删除的内容
|
|
285
|
+
|
|
286
|
+
一旦 compat adapter 就位,以下 `i18next` 样板代码可以删除:
|
|
287
|
+
|
|
288
|
+
| 文件 / 模式 | 为什么不再需要 |
|
|
289
|
+
| ------------------------------ | ---------------------------------------------------------------------------------------------------- |
|
|
290
|
+
| `i18next.init()` 调用 | Intlayer 自动初始化所有内容;没有运行时加载步骤。 |
|
|
291
|
+
| `i18next.use(...)` | Intlayer 不使用 i18next 插件、后端或语言检测器。 |
|
|
292
|
+
| JSON 语言包 (`locales/*.json`) | JSON 包仅在您仍然使用 `syncJSON` 插件时才需要。迁移到 `.content.ts` 文件后,您可以删除 JSON 文件夹。 |
|
|
293
|
+
|
|
294
|
+
当您准备进一步操作时,Intlayer **自动发现您的 codebase 中任何地方的所有 `.content.ts` 和 `.content.json` 文件**(默认情况下,在 `./src` 内的任何地方)。您可以将 `my-component.content.ts` 文件放在逻辑代码的旁边,Intlayer 将在构建时自动发现它,无需任何额外配置——无需导入、无需注册、无需集中索引文件。这使得共置翻译完全无摩擦。
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## 配置 TypeScript
|
|
299
|
+
|
|
300
|
+
Intlayer 使用模块增强来为您的翻译键提供完整的 TypeScript intellisense。确保您的 `tsconfig.json` 包含自动生成的类型:
|
|
301
|
+
|
|
302
|
+
```json5 fileName="tsconfig.json"
|
|
303
|
+
{
|
|
304
|
+
// ... 您现有的 TypeScript 配置
|
|
305
|
+
"include": [
|
|
306
|
+
// ... 您现有的 TypeScript 配置
|
|
307
|
+
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
308
|
+
],
|
|
309
|
+
}
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## Git 配置
|
|
315
|
+
|
|
316
|
+
将 Intlayer 生成的目录添加到你的 `.gitignore`:
|
|
317
|
+
|
|
318
|
+
```plaintext fileName=".gitignore"
|
|
319
|
+
# Ignore the files generated by Intlayer
|
|
320
|
+
.intlayer
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## 深入了解
|
|
326
|
+
|
|
327
|
+
- **Visual Editor** — 在浏览器中直观管理翻译: [Intlayer Visual Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)
|
|
328
|
+
- **CMS** — 外部化和远程管理内容: [Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)
|
|
329
|
+
- **VS Code Extension** — 获得自动完成和实时翻译错误检测: [Intlayer VS Code Extension](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/vs_code_extension.md)
|
|
330
|
+
- **CLI Reference** — CLI 命令完整列表: [Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-05
|
|
3
|
+
updatedAt: 2026-06-05
|
|
4
|
+
title: "从 next-i18next 迁移到 Intlayer | 国际化 (i18n)"
|
|
5
|
+
description: "学习如何将你的 Next.js 应用从 next-i18next 迁移到 Intlayer — 逐步进行,不破坏现有代码。使用 @intlayer/next-i18next 兼容适配器实现零中断过渡。"
|
|
6
|
+
keywords:
|
|
7
|
+
- next-i18next
|
|
8
|
+
- react-i18next
|
|
9
|
+
- i18next
|
|
10
|
+
- intlayer
|
|
11
|
+
- migration
|
|
12
|
+
- internationalization
|
|
13
|
+
- i18n
|
|
14
|
+
- Next.js
|
|
15
|
+
- React
|
|
16
|
+
- JavaScript
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- migration
|
|
20
|
+
- next-i18next
|
|
21
|
+
history:
|
|
22
|
+
- version: 9.0.0
|
|
23
|
+
date: 2026-06-05
|
|
24
|
+
changes: "初始化历史记录"
|
|
25
|
+
author: aymericzip
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# 从 next-i18next 迁移到 Intlayer
|
|
29
|
+
|
|
30
|
+
## 为什么从 next-i18next 迁移到 Intlayer?
|
|
31
|
+
|
|
32
|
+
<AccordionGroup>
|
|
33
|
+
|
|
34
|
+
<Accordion header="Bundle 大小">
|
|
35
|
+
|
|
36
|
+
与其将大量 JSON 文件加载到页面中,不如只加载必要的内容。Intlayer 可帮助**将 bundle 和页面大小减少最多 50%**。
|
|
37
|
+
|
|
38
|
+
</Accordion>
|
|
39
|
+
|
|
40
|
+
<Accordion header="可维护性">
|
|
41
|
+
|
|
42
|
+
限定应用程序内容的范围**有利于大规模应用程序的维护**。你可以复制或删除单个功能文件夹,而无需费力审查整个内容 codebase。此外,Intlayer **完全类型化**,以确保内容的准确性。
|
|
43
|
+
|
|
44
|
+
Intlayer 也是 i18n 生态系统中**开发最活跃**的解决方案 — 问题修复迅速,新的框架适配器定期发布,核心 API 根据真实的生产反馈不断改进。
|
|
45
|
+
|
|
46
|
+
</Accordion>
|
|
47
|
+
|
|
48
|
+
<Accordion header="AI Agent">
|
|
49
|
+
|
|
50
|
+
内容共置**减少了大型语言模型 (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) 更加顺畅。
|
|
51
|
+
|
|
52
|
+
</Accordion>
|
|
53
|
+
|
|
54
|
+
<Accordion header="自动化">
|
|
55
|
+
|
|
56
|
+
在你的 CI/CD pipeline 中使用自动化翻译,使用你选择的 LLM,成本由你的 AI 提供商承担。Intlayer 还提供**编译器**来自动化内容提取,以及一个 [web platform](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 帮助**后台翻译**。
|
|
57
|
+
|
|
58
|
+
</Accordion>
|
|
59
|
+
|
|
60
|
+
<Accordion header="性能">
|
|
61
|
+
|
|
62
|
+
将大量 JSON 文件连接到组件可能会导致性能和响应性问题。Intlayer 在构建时优化了你的内容加载。
|
|
63
|
+
|
|
64
|
+
</Accordion>
|
|
65
|
+
|
|
66
|
+
<Accordion header="与非开发人员协作扩展">
|
|
67
|
+
|
|
68
|
+
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)** 来帮助你**实时**管理多语言内容,使与翻译人员、文案和其他团队成员的协作无缝进行。内容可以存储在本地和/或远程。
|
|
69
|
+
|
|
70
|
+
</Accordion>
|
|
71
|
+
|
|
72
|
+
</AccordionGroup>
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 迁移策略
|
|
77
|
+
|
|
78
|
+
由于 `next-i18next` 在底层封装了 `react-i18next` 和 `i18next`,迁移到 Intlayer 有两种互补的策略:
|
|
79
|
+
|
|
80
|
+
1. **兼容适配器(推荐用于现有应用)** — 安装 `@intlayer/next-i18next`、`@intlayer/react-i18next` 和 `@intlayer/i18next`。这些包公开的 **API 完全相同**,但在底层将所有翻译工作委托给 Intlayer。您可以保持现有的 `useTranslation`、`appWithTranslation`、`serverSideTranslations` 调用和 Next.js Pages 路由不变 — 唯一的变化是初始化。
|
|
81
|
+
|
|
82
|
+
2. **完全迁移** — 逐步使用原生 Intlayer 钩子(`useIntlayer`)替换 `next-i18next` API,并在组件旁边的 `.content.ts` 文件中并置内容。
|
|
83
|
+
|
|
84
|
+
本指南首先介绍**策略 1**(即插即用的兼容适配器),然后演示可选的完全迁移。
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 目录
|
|
89
|
+
|
|
90
|
+
<TOC/>
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## 快速迁移
|
|
95
|
+
|
|
96
|
+
以下步骤是让现有 Next.js Pages Router 应用在 Intlayer 上运行所需的最少要求,无需对页面和组件进行任何代码更改。
|
|
97
|
+
|
|
98
|
+
<Steps>
|
|
99
|
+
|
|
100
|
+
<Step number={1} title="安装依赖">
|
|
101
|
+
|
|
102
|
+
安装 Intlayer 核心包和兼容适配器:
|
|
103
|
+
|
|
104
|
+
```bash packageManager="npm"
|
|
105
|
+
npx intlayer-cli init --interactive
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
```bash packageManager="pnpm"
|
|
109
|
+
pnpm dlx intlayer-cli init --interactive
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
```bash packageManager="yarn"
|
|
113
|
+
yarn dlx intlayer-cli init --interactive
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
```bash packageManager="bun"
|
|
117
|
+
bunx intlayer-cli init --interactive
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
> `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
|
|
121
|
+
|
|
122
|
+
> 此命令将检测您的环境并安装所需的包。例如:
|
|
123
|
+
|
|
124
|
+
```bash packageManager="npm"
|
|
125
|
+
npm install intlayer next-intlayer react-intlayer @intlayer/next-i18next @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```bash packageManager="pnpm"
|
|
129
|
+
pnpm add intlayer next-intlayer react-intlayer @intlayer/next-i18next @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```bash packageManager="yarn"
|
|
133
|
+
yarn add intlayer next-intlayer react-intlayer @intlayer/next-i18next @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
```bash packageManager="bun"
|
|
137
|
+
bun add intlayer next-intlayer react-intlayer @intlayer/next-i18next @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
> 在迁移期间,您可以安全地保留 `next-i18next`、`react-i18next` 和 `i18next` 的安装,尽管在别名后您将删除它们。
|
|
141
|
+
|
|
142
|
+
</Step>
|
|
143
|
+
|
|
144
|
+
<Step number={2} title="配置 Intlayer">
|
|
145
|
+
|
|
146
|
+
`intlayer init` 命令创建一个启动器 `intlayer.config.ts`。更新它以匹配您现有的语言环境,并将 `syncJSON` 插件指向您的 `next-i18next` 消息文件(通常在 `public/locales` 内):
|
|
147
|
+
|
|
148
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
149
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
150
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
151
|
+
|
|
152
|
+
const config: IntlayerConfig = {
|
|
153
|
+
internationalization: {
|
|
154
|
+
locales: [
|
|
155
|
+
Locales.ENGLISH,
|
|
156
|
+
Locales.FRENCH,
|
|
157
|
+
Locales.SPANISH,
|
|
158
|
+
// 在这里添加所有现有的语言环境
|
|
159
|
+
],
|
|
160
|
+
defaultLocale: Locales.ENGLISH,
|
|
161
|
+
},
|
|
162
|
+
plugins: [
|
|
163
|
+
syncJSON({
|
|
164
|
+
// 匹配 i18next 占位符语法: {{name}}
|
|
165
|
+
format: "i18next",
|
|
166
|
+
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
167
|
+
location: "public/locales",
|
|
168
|
+
}),
|
|
169
|
+
],
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export default config;
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
> **`source`** 将语言环境和命名空间(`key`)映射到其 JSON 文件路径。**`location`** 告诉 Intlayer 监听器监视哪个文件夹以获取更改。`format: 'i18next'` 选项确保正确解析 `next-i18next` 的占位符。
|
|
176
|
+
|
|
177
|
+
</Step>
|
|
178
|
+
|
|
179
|
+
<Step number={3} title="更新 Next.js 配置">
|
|
180
|
+
|
|
181
|
+
使用来自 `@intlayer/next-i18next/plugin` 的 `createNextI18nPlugin` 包装现有的 `next.config.ts`(或 `.js`)。此包装器组合 `withIntlayer` **并且** 注入 `next-i18next` / `react-i18next` / `i18next` → `@intlayer/*` 别名,因此您现有的 `import { useTranslation } from 'next-i18next'` 调用在构建时透明地重定向。不需要更改源文件。
|
|
182
|
+
|
|
183
|
+
```typescript fileName="next.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
184
|
+
import type { NextConfig } from "next";
|
|
185
|
+
import { createNextI18nPlugin } from "@intlayer/next-i18next/plugin";
|
|
186
|
+
// 您可以删除从 next-i18next.config.js 导入的 i18n 配置
|
|
187
|
+
// import { i18n } from './next-i18next.config';
|
|
188
|
+
|
|
189
|
+
const withIntlayer = createNextI18nPlugin();
|
|
190
|
+
|
|
191
|
+
const nextConfig: NextConfig = {
|
|
192
|
+
// Intlayer 在底层管理 Next.js i18n 路由,
|
|
193
|
+
// 所以您不再需要在这里传递 i18n 对象。
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export default withIntlayer(nextConfig);
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
> **您不再需要 `next-i18next.config.js`。** Intlayer 在**构建时**编译所有字典,无缝处理语言环境检测、路由和字典加载。
|
|
200
|
+
>
|
|
201
|
+
> 倾向于使用来自 `next-intlayer/server` 的简单 `withIntlayer`? 它编译您的字典但**不**添加 `next-i18next` / `react-i18next` / `i18next` 别名 — 您随后需要手动将导入重命名为 `@intlayer/*`(请参阅第 4 步)。
|
|
202
|
+
|
|
203
|
+
</Step>
|
|
204
|
+
|
|
205
|
+
</Steps>
|
|
206
|
+
|
|
207
|
+
快速迁移就到这里。您的 Next.js 应用现在在 Intlayer 上运行,同时保持每个 `useTranslation`、`serverSideTranslations` 和 `appWithTranslation` 调用完整。
|
|
208
|
+
|
|
209
|
+
> **有类型的翻译键 — 自动。** 一旦 Intlayer 编译您的字典,`useTranslation` 和 `getFixedT` 就会针对您的实际内容进行类型化。键在您的 IDE 中自动完成,无效路径会在构建时导致 TypeScript 错误 — 无需额外设置。
|
|
210
|
+
>
|
|
211
|
+
> ```tsx
|
|
212
|
+
> // Pages Router — 'about' 是一个已注册的字典键
|
|
213
|
+
> const { t } = useTranslation("about");
|
|
214
|
+
> t("counter.label"); // ✓ 自动完成
|
|
215
|
+
> t("does.not.exist"); // ✗ TypeScript 错误
|
|
216
|
+
>
|
|
217
|
+
> // getStaticProps / getServerSideProps (i18next 实例)
|
|
218
|
+
> const tAbout = i18n.getFixedT(null, "about");
|
|
219
|
+
> tAbout("counter.label"); // ✓ 有类型
|
|
220
|
+
> ```
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## 完整迁移
|
|
225
|
+
|
|
226
|
+
下面的步骤是可选的,可以逐步完成。它们解锁完整的 Intlayer 功能集:可视化编辑器、CMS、类型化内容文件、AI 驱动的翻译等。
|
|
227
|
+
|
|
228
|
+
<Steps>
|
|
229
|
+
|
|
230
|
+
<Step number={4} title="显式导入重命名(可选)" isOptional={true}>
|
|
231
|
+
|
|
232
|
+
Intlayer 插件已经在 bundler 级别处理别名。如果您更希望在源文件中明确依赖关系,可以手动重命名导入:
|
|
233
|
+
|
|
234
|
+
| Before | After |
|
|
235
|
+
| ------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
|
|
236
|
+
| `import { serverSideTranslations } from 'next-i18next/serverSideTranslations'` | `import { serverSideTranslations } from '@intlayer/next-i18next'` |
|
|
237
|
+
| `import { appWithTranslation } from 'next-i18next'` | `import { appWithTranslation } from '@intlayer/next-i18next'` |
|
|
238
|
+
| `import { useTranslation } from 'next-i18next'` | `import { useTranslation } from '@intlayer/next-i18next'` |
|
|
239
|
+
| `import { useTranslation } from 'react-i18next'` | `import { useTranslation } from '@intlayer/react-i18next'` |
|
|
240
|
+
|
|
241
|
+
这些是**即插即用替代品**——无需更改调用签名、参数或返回类型。
|
|
242
|
+
|
|
243
|
+
</Step>
|
|
244
|
+
|
|
245
|
+
<Step number={5} title="启用 AI 驱动的翻译自动化" isOptional={true}>
|
|
246
|
+
|
|
247
|
+
一旦 Intlayer 连接好,使用其 CLI 自动填充缺失的翻译:
|
|
248
|
+
|
|
249
|
+
```bash packageManager="npm"
|
|
250
|
+
# 测试缺失的翻译(添加到 CI)
|
|
251
|
+
npx intlayer test
|
|
252
|
+
|
|
253
|
+
# 使用 AI 填充缺失的翻译
|
|
254
|
+
npx intlayer fill
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
```bash packageManager="pnpm"
|
|
258
|
+
pnpm intlayer test
|
|
259
|
+
pnpm intlayer fill
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
```bash packageManager="yarn"
|
|
263
|
+
yarn intlayer test
|
|
264
|
+
yarn intlayer fill
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
```bash packageManager="bun"
|
|
268
|
+
bun x intlayer test
|
|
269
|
+
bun x intlayer fill
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
将 AI 配置添加到 `intlayer.config.ts`:
|
|
273
|
+
|
|
274
|
+
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
275
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
276
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
277
|
+
|
|
278
|
+
const config: IntlayerConfig = {
|
|
279
|
+
internationalization: {
|
|
280
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
281
|
+
defaultLocale: Locales.ENGLISH,
|
|
282
|
+
},
|
|
283
|
+
plugins: [
|
|
284
|
+
syncJSON({
|
|
285
|
+
format: "i18next",
|
|
286
|
+
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
287
|
+
location: "public/locales",
|
|
288
|
+
}),
|
|
289
|
+
],
|
|
290
|
+
ai: {
|
|
291
|
+
apiKey: process.env.OPENAI_API_KEY,
|
|
292
|
+
// provider: "openai", // 默认值
|
|
293
|
+
// model: "gpt-4o-mini", // 默认值
|
|
294
|
+
},
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
export default config;
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
> 详见 [Intlayer CLI 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)了解所有可用选项。
|
|
301
|
+
|
|
302
|
+
</Step>
|
|
303
|
+
|
|
304
|
+
</Steps>
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## 迁移后可以删除的内容
|
|
309
|
+
|
|
310
|
+
一旦 compat adapter 就位,以下 `next-i18next` 样板代码可以删除:
|
|
311
|
+
|
|
312
|
+
| 文件 / 模式 | 不再需要的原因 |
|
|
313
|
+
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
314
|
+
| `next-i18next.config.js` | Intlayer 根据 `intlayer.config.ts` 在内部处理路由、字典加载和默认语言环境。 |
|
|
315
|
+
| `next-i18next` from `package.json` | 完全被 `@intlayer/next-i18next` 和别名替代。 |
|
|
316
|
+
| JSON language bundles (`public/locales/*.json`) | JSON bundles 仅在你仍然使用 `syncJSON` 插件时才需要。迁移到 `.content.ts` 文件后,你可以删除 JSON 文件夹。 |
|
|
317
|
+
|
|
318
|
+
当你准备进一步操作时,Intlayer **会自动发现整个 codebase 中的所有 `.content.ts` 和 `.content.json` 文件**(默认情况下,在 `./src` 内的任何位置)。你可以将 `my-component.content.ts` 文件放在 `MyComponent.tsx` 旁边,Intlayer 将在构建时自动识别它,无需任何额外配置 — 无需导入、无需注册、无需集中的索引文件。这使得将翻译与页面和组件并置完全无障碍。
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## 配置 TypeScript
|
|
323
|
+
|
|
324
|
+
Intlayer 使用模块扩充来为你的翻译键提供完整的 TypeScript intellisense。确保你的 `tsconfig.json` 包含自动生成的类型:
|
|
325
|
+
|
|
326
|
+
```json5 fileName="tsconfig.json"
|
|
327
|
+
{
|
|
328
|
+
// ... 你现有的 TypeScript 配置
|
|
329
|
+
"include": [
|
|
330
|
+
// ... 你现有的 TypeScript 配置
|
|
331
|
+
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
332
|
+
],
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
---
|
|
337
|
+
|
|
338
|
+
## Git 配置
|
|
339
|
+
|
|
340
|
+
将 Intlayer 生成的目录添加到您的 `.gitignore`:
|
|
341
|
+
|
|
342
|
+
```plaintext fileName=".gitignore"
|
|
343
|
+
# Ignore the files generated by Intlayer
|
|
344
|
+
.intlayer
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## 进一步学习
|
|
350
|
+
|
|
351
|
+
- **Visual Editor** — 在浏览器中可视化管理翻译:[Intlayer Visual Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)
|
|
352
|
+
- **CMS** — 外部化和远程管理内容:[Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)
|
|
353
|
+
- **VS Code Extension** — 获取自动完成和实时翻译错误检测:[Intlayer VS Code Extension](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/vs_code_extension.md)
|
|
354
|
+
- **CLI Reference** — CLI 命令完整列表:[Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)
|
|
355
|
+
- **Intlayer with Next.js (Pages Router)** — Next.js 完整设置指南:[intlayer_with_nextjs_page_router.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_with_nextjs_page_router.md)
|