@intlayer/docs 8.12.5-canary.0 → 9.0.0-canary.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/intlayer_with_i18next.md +24 -4
- package/blog/ar/intlayer_with_next-i18next.md +20 -15
- package/blog/ar/intlayer_with_next-intl.md +24 -4
- package/blog/ar/intlayer_with_react-i18next.md +20 -4
- package/blog/ar/intlayer_with_react-intl.md +20 -4
- package/blog/ar/intlayer_with_vue-i18n.md +20 -4
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
- package/blog/ar/rag_powered_documentation_assistant.md +13 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
- package/blog/de/intlayer_with_i18next.md +34 -6
- package/blog/de/intlayer_with_next-i18next.md +30 -17
- package/blog/de/intlayer_with_next-intl.md +37 -7
- package/blog/de/intlayer_with_react-i18next.md +33 -7
- package/blog/de/intlayer_with_react-intl.md +33 -7
- package/blog/de/intlayer_with_vue-i18n.md +33 -7
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/de/rag_powered_documentation_assistant.md +0 -193
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/de/vue-i18n_vs_intlayer.md +8 -0
- package/blog/en/intlayer_with_i18next.md +20 -4
- package/blog/en/intlayer_with_next-i18next.md +20 -4
- package/blog/en/intlayer_with_next-intl.md +20 -4
- package/blog/en/intlayer_with_react-i18next.md +20 -4
- package/blog/en/intlayer_with_react-intl.md +20 -4
- package/blog/en/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/intlayer_with_i18next.md +24 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +20 -15
- package/blog/en-GB/intlayer_with_next-intl.md +24 -4
- package/blog/en-GB/intlayer_with_react-i18next.md +20 -4
- package/blog/en-GB/intlayer_with_react-intl.md +20 -4
- package/blog/en-GB/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
- package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
- package/blog/es/intlayer_with_i18next.md +24 -4
- package/blog/es/intlayer_with_next-i18next.md +20 -15
- package/blog/es/intlayer_with_next-intl.md +24 -4
- package/blog/es/intlayer_with_react-i18next.md +20 -4
- package/blog/es/intlayer_with_react-intl.md +20 -4
- package/blog/es/intlayer_with_vue-i18n.md +20 -4
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/es/rag_powered_documentation_assistant.md +13 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/es/vue-i18n_vs_intlayer.md +8 -0
- package/blog/fr/i18n_meaning.md +95 -0
- package/blog/fr/intlayer_with_i18next.md +20 -4
- package/blog/fr/intlayer_with_next-i18next.md +20 -15
- package/blog/fr/intlayer_with_next-intl.md +24 -4
- package/blog/fr/intlayer_with_react-i18next.md +20 -12
- package/blog/fr/intlayer_with_react-intl.md +20 -4
- package/blog/fr/intlayer_with_vue-i18n.md +20 -4
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/fr/rag_powered_documentation_assistant.md +0 -62
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
- package/blog/hi/intlayer_with_i18next.md +24 -4
- package/blog/hi/intlayer_with_next-i18next.md +20 -15
- package/blog/hi/intlayer_with_next-intl.md +24 -4
- package/blog/hi/intlayer_with_react-i18next.md +20 -4
- package/blog/hi/intlayer_with_react-intl.md +20 -4
- package/blog/hi/intlayer_with_vue-i18n.md +20 -4
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
- package/blog/hi/rag_powered_documentation_assistant.md +13 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
- package/blog/id/internationalization_and_SEO.md +0 -91
- package/blog/id/intlayer_with_i18next.md +24 -4
- package/blog/id/intlayer_with_next-i18next.md +20 -15
- package/blog/id/intlayer_with_next-intl.md +24 -4
- package/blog/id/intlayer_with_react-i18next.md +20 -4
- package/blog/id/intlayer_with_react-intl.md +20 -4
- package/blog/id/intlayer_with_vue-i18n.md +20 -4
- package/blog/id/rag_powered_documentation_assistant.md +13 -0
- package/blog/it/intlayer_with_i18next.md +37 -7
- package/blog/it/intlayer_with_next-i18next.md +33 -18
- package/blog/it/intlayer_with_next-intl.md +37 -7
- package/blog/it/intlayer_with_react-i18next.md +33 -7
- package/blog/it/intlayer_with_react-intl.md +33 -7
- package/blog/it/intlayer_with_vue-i18n.md +33 -7
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/it/rag_powered_documentation_assistant.md +0 -195
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/it/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ja/intlayer_with_i18next.md +24 -4
- package/blog/ja/intlayer_with_next-i18next.md +20 -15
- package/blog/ja/intlayer_with_next-intl.md +24 -4
- package/blog/ja/intlayer_with_react-i18next.md +20 -4
- package/blog/ja/intlayer_with_react-intl.md +20 -4
- package/blog/ja/intlayer_with_vue-i18n.md +20 -4
- package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/ja/rag_powered_documentation_assistant.md +13 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/intlayer_with_i18next.md +37 -7
- package/blog/ko/intlayer_with_next-i18next.md +33 -18
- package/blog/ko/intlayer_with_next-intl.md +37 -7
- package/blog/ko/intlayer_with_react-i18next.md +33 -7
- package/blog/ko/intlayer_with_react-intl.md +33 -7
- package/blog/ko/intlayer_with_vue-i18n.md +33 -7
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
- package/blog/ko/rag_powered_documentation_assistant.md +0 -194
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/what_is_internationalization.md +0 -4
- package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
- package/blog/pl/internationalization_and_SEO.md +0 -91
- package/blog/pl/intlayer_with_i18next.md +24 -4
- package/blog/pl/intlayer_with_next-i18next.md +20 -15
- package/blog/pl/intlayer_with_next-intl.md +24 -4
- package/blog/pl/intlayer_with_react-i18next.md +20 -4
- package/blog/pl/intlayer_with_react-intl.md +20 -4
- package/blog/pl/intlayer_with_vue-i18n.md +20 -4
- package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
- package/blog/pl/rag_powered_documentation_assistant.md +13 -0
- package/blog/pt/internationalization_and_SEO.md +1 -1
- package/blog/pt/intlayer_with_i18next.md +37 -7
- package/blog/pt/intlayer_with_next-i18next.md +33 -18
- package/blog/pt/intlayer_with_next-intl.md +37 -7
- package/blog/pt/intlayer_with_react-i18next.md +33 -7
- package/blog/pt/intlayer_with_react-intl.md +33 -11
- package/blog/pt/intlayer_with_vue-i18n.md +33 -7
- package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/pt/rag_powered_documentation_assistant.md +0 -195
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ru/intlayer_with_i18next.md +24 -4
- package/blog/ru/intlayer_with_next-i18next.md +20 -15
- package/blog/ru/intlayer_with_next-intl.md +24 -4
- package/blog/ru/intlayer_with_react-i18next.md +20 -4
- package/blog/ru/intlayer_with_react-intl.md +20 -4
- package/blog/ru/intlayer_with_vue-i18n.md +20 -4
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/ru/rag_powered_documentation_assistant.md +13 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
- package/blog/tr/intlayer_with_i18next.md +24 -4
- package/blog/tr/intlayer_with_next-i18next.md +20 -15
- package/blog/tr/intlayer_with_next-intl.md +24 -4
- package/blog/tr/intlayer_with_react-i18next.md +20 -4
- package/blog/tr/intlayer_with_react-intl.md +20 -4
- package/blog/tr/intlayer_with_vue-i18n.md +20 -4
- package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
- package/blog/tr/rag_powered_documentation_assistant.md +0 -38
- package/blog/uk/intlayer_with_i18next.md +20 -4
- package/blog/uk/intlayer_with_next-i18next.md +20 -4
- package/blog/uk/intlayer_with_next-intl.md +20 -4
- package/blog/uk/intlayer_with_react-i18next.md +20 -4
- package/blog/uk/intlayer_with_react-intl.md +20 -4
- package/blog/uk/intlayer_with_vue-i18n.md +20 -4
- package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
- package/blog/uk/rag_powered_documentation_assistant.md +13 -0
- package/blog/vi/internationalization_and_SEO.md +0 -91
- package/blog/vi/intlayer_with_i18next.md +24 -4
- package/blog/vi/intlayer_with_next-i18next.md +20 -15
- package/blog/vi/intlayer_with_next-intl.md +24 -4
- package/blog/vi/intlayer_with_react-i18next.md +20 -4
- package/blog/vi/intlayer_with_react-intl.md +20 -4
- package/blog/vi/intlayer_with_vue-i18n.md +20 -4
- package/blog/vi/rag_powered_documentation_assistant.md +13 -0
- package/blog/zh/intlayer_with_i18next.md +4 -31
- package/blog/zh/intlayer_with_next-i18next.md +0 -42
- package/blog/zh/intlayer_with_next-intl.md +4 -31
- package/blog/zh/intlayer_with_react-i18next.md +0 -31
- package/blog/zh/intlayer_with_react-intl.md +0 -31
- package/blog/zh/intlayer_with_vue-i18n.md +0 -31
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/zh/nextjs-multilingual-seo-comparison.md +0 -30
- package/blog/zh/rag_powered_documentation_assistant.md +0 -191
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
- package/dist/cjs/generated/docs.entry.cjs +560 -20
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +560 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +28 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -0
- package/docs/ar/autoFill.md +81 -0
- package/docs/ar/benchmark/solid.md +22 -0
- package/docs/ar/benchmark/svelte.md +22 -0
- package/docs/ar/benchmark/tanstack.md +22 -0
- package/docs/ar/cli/ci.md +22 -0
- package/docs/ar/cli/doc-review.md +110 -4
- package/docs/ar/cli/fill.md +8 -0
- package/docs/ar/cli/index.md +1 -1
- package/docs/ar/cli/scan.md +1 -1
- package/docs/ar/compat/i18n-js.md +44 -0
- package/docs/ar/compat/i18next.md +59 -0
- package/docs/ar/compat/index.md +51 -0
- package/docs/ar/compat/lingui.md +44 -0
- package/docs/ar/compat/next-i18next.md +57 -0
- package/docs/ar/compat/next-intl.md +59 -0
- package/docs/ar/compat/next-translate.md +45 -0
- package/docs/ar/compat/ngx-translate.md +45 -0
- package/docs/ar/compat/nuxtjs-i18n.md +46 -0
- package/docs/ar/compat/polyglot.md +45 -0
- package/docs/ar/compat/react-i18next.md +58 -0
- package/docs/ar/compat/react-intl.md +55 -0
- package/docs/ar/compat/svelte-i18n.md +47 -0
- package/docs/ar/compat/transloco.md +45 -0
- package/docs/ar/compat/vue-i18n.md +58 -0
- package/docs/ar/compiler.md +9 -4
- package/docs/ar/configuration.md +54 -19
- package/docs/ar/custom_domains.md +9 -3
- package/docs/ar/custom_url_rewrites.md +9 -3
- package/docs/ar/dictionary/condition.md +167 -5
- package/docs/ar/dictionary/content_file.md +4 -7
- package/docs/ar/dictionary/enumeration.md +353 -6
- package/docs/ar/dictionary/file.md +159 -1
- package/docs/ar/dictionary/gender.md +168 -7
- package/docs/ar/dictionary/nesting.md +187 -40
- package/docs/ar/dictionary/plurial.md +174 -5
- package/docs/ar/dictionary/translation.md +146 -53
- package/docs/ar/dynamic_dictionaries/collections.md +1 -1
- package/docs/ar/dynamic_dictionaries/index.md +25 -19
- package/docs/ar/dynamic_dictionaries/variants.md +281 -23
- package/docs/ar/formatters.md +59 -0
- package/docs/ar/how_works_intlayer.md +4 -0
- package/docs/ar/interest_of_intlayer.md +193 -0
- package/docs/ar/intlayer_CMS.md +6 -0
- package/docs/ar/intlayer_with_adonisjs.md +20 -4
- package/docs/ar/intlayer_with_analog.md +25 -5
- package/docs/ar/intlayer_with_angular_19.md +20 -4
- package/docs/ar/intlayer_with_angular_21.md +20 -4
- package/docs/ar/intlayer_with_astro.md +131 -2
- package/docs/ar/intlayer_with_astro_lit.md +23 -9
- package/docs/ar/intlayer_with_astro_preact.md +23 -9
- package/docs/ar/intlayer_with_astro_react.md +23 -9
- package/docs/ar/intlayer_with_astro_solid.md +23 -9
- package/docs/ar/intlayer_with_astro_svelte.md +23 -9
- package/docs/ar/intlayer_with_astro_vanilla.md +23 -9
- package/docs/ar/intlayer_with_astro_vue.md +23 -9
- package/docs/ar/intlayer_with_create_react_app.md +20 -18
- package/docs/ar/intlayer_with_express.md +20 -25
- package/docs/ar/intlayer_with_fastify.md +20 -8
- package/docs/ar/intlayer_with_hono.md +20 -4
- package/docs/ar/intlayer_with_lynx+react.md +26 -5
- package/docs/ar/intlayer_with_nestjs.md +20 -22
- package/docs/ar/intlayer_with_next-i18next.md +20 -4
- package/docs/ar/intlayer_with_nextjs_14.md +50 -11
- package/docs/ar/intlayer_with_nextjs_15.md +41 -5
- package/docs/ar/intlayer_with_nextjs_16.md +146 -6
- package/docs/ar/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ar/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ar/intlayer_with_nuxt.md +25 -7
- package/docs/ar/intlayer_with_react_native+expo.md +108 -74
- package/docs/ar/intlayer_with_react_router_v7.md +24 -100
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +43 -101
- package/docs/ar/intlayer_with_storybook.md +7 -1
- package/docs/ar/intlayer_with_svelte_kit.md +15 -184
- package/docs/ar/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ar/intlayer_with_tanstack.md +37 -12
- package/docs/ar/intlayer_with_vite+lit.md +29 -7
- package/docs/ar/intlayer_with_vite+preact.md +62 -44
- package/docs/ar/intlayer_with_vite+react.md +60 -39
- package/docs/ar/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ar/intlayer_with_vite+solid.md +47 -29
- package/docs/ar/intlayer_with_vite+svelte.md +36 -18
- package/docs/ar/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ar/intlayer_with_vite+vue.md +72 -121
- package/docs/ar/mcp_server.md +22 -0
- package/docs/ar/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/ar/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/ar/packages/@intlayer_babel/export.md +131 -0
- package/docs/ar/packages/angular-intlayer/exports.md +14 -10
- package/docs/ar/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/intlayer/comparePaths.md +173 -0
- package/docs/ar/packages/intlayer/exports.md +5 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
- package/docs/ar/packages/next-intlayer/exports.md +4 -0
- package/docs/ar/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ar/packages/preact-intlayer/exports.md +10 -6
- package/docs/ar/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ar/packages/react-intlayer/exports.md +4 -0
- package/docs/ar/packages/react-intlayer/t.md +0 -13
- package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
- package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
- package/docs/ar/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ar/packages/solid-intlayer/exports.md +4 -0
- package/docs/ar/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ar/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ar/packages/vue-intlayer/exports.md +4 -0
- package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ar/plugins/sync-json.md +221 -49
- package/docs/ar/releases/v6.md +28 -0
- package/docs/ar/releases/v7.md +128 -0
- package/docs/ar/releases/v8.md +187 -1
- package/docs/ar/releases/v9.md +338 -0
- package/docs/ar/roadmap.md +6 -0
- package/docs/bn/cli/index.md +1 -1
- package/docs/bn/cli/scan.md +1 -1
- package/docs/bn/configuration.md +36 -3
- package/docs/bn/custom_domains.md +8 -2
- package/docs/bn/intlayer_with_angular_21.md +20 -4
- package/docs/bn/intlayer_with_fastify.md +20 -8
- package/docs/bn/intlayer_with_hono.md +20 -4
- package/docs/bn/intlayer_with_storybook.md +7 -1
- package/docs/bn/intlayer_with_vite+lit.md +28 -6
- package/docs/bn/intlayer_with_vite+vanilla.md +36 -9
- package/docs/bn/packages/intlayer/comparePaths.md +173 -0
- package/docs/cs/cli/index.md +1 -1
- package/docs/cs/cli/scan.md +1 -1
- package/docs/cs/configuration.md +35 -2
- package/docs/cs/custom_domains.md +8 -2
- package/docs/cs/intlayer_with_angular_21.md +20 -4
- package/docs/cs/intlayer_with_fastify.md +20 -8
- package/docs/cs/intlayer_with_hono.md +20 -4
- package/docs/cs/intlayer_with_storybook.md +7 -1
- package/docs/cs/intlayer_with_vite+lit.md +28 -6
- package/docs/cs/intlayer_with_vite+vanilla.md +36 -9
- package/docs/cs/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/CI_CD.md +4 -0
- package/docs/de/autoFill.md +81 -0
- package/docs/de/benchmark/solid.md +22 -0
- package/docs/de/benchmark/svelte.md +22 -0
- package/docs/de/benchmark/tanstack.md +22 -0
- package/docs/de/cli/ci.md +22 -0
- package/docs/de/cli/doc-review.md +110 -4
- package/docs/de/cli/fill.md +8 -0
- package/docs/de/cli/index.md +1 -1
- package/docs/de/cli/init.md +20 -0
- package/docs/de/cli/scan.md +1 -1
- package/docs/de/compat/i18n-js.md +44 -0
- package/docs/de/compat/i18next.md +59 -0
- package/docs/de/compat/index.md +51 -0
- package/docs/de/compat/lingui.md +44 -0
- package/docs/de/compat/next-i18next.md +57 -0
- package/docs/de/compat/next-intl.md +59 -0
- package/docs/de/compat/next-translate.md +45 -0
- package/docs/de/compat/ngx-translate.md +45 -0
- package/docs/de/compat/nuxtjs-i18n.md +46 -0
- package/docs/de/compat/polyglot.md +45 -0
- package/docs/de/compat/react-i18next.md +58 -0
- package/docs/de/compat/react-intl.md +55 -0
- package/docs/de/compat/svelte-i18n.md +47 -0
- package/docs/de/compat/transloco.md +45 -0
- package/docs/de/compat/vue-i18n.md +58 -0
- package/docs/de/compiler.md +9 -4
- package/docs/de/configuration.md +53 -18
- package/docs/de/custom_domains.md +9 -3
- package/docs/de/custom_url_rewrites.md +9 -3
- package/docs/de/dictionary/condition.md +167 -5
- package/docs/de/dictionary/content_file.md +4 -0
- package/docs/de/dictionary/enumeration.md +584 -13
- package/docs/de/dictionary/file.md +159 -1
- package/docs/de/dictionary/gender.md +168 -7
- package/docs/de/dictionary/insertion.md +0 -4
- package/docs/de/dictionary/nesting.md +188 -41
- package/docs/de/dictionary/plurial.md +347 -7
- package/docs/de/dictionary/translation.md +146 -53
- package/docs/de/dynamic_dictionaries/collections.md +1 -1
- package/docs/de/dynamic_dictionaries/index.md +24 -18
- package/docs/de/dynamic_dictionaries/variants.md +273 -15
- package/docs/de/formatters.md +130 -0
- package/docs/de/how_works_intlayer.md +4 -0
- package/docs/de/intlayer_CMS.md +6 -0
- package/docs/de/intlayer_with_adonisjs.md +20 -4
- package/docs/de/intlayer_with_analog.md +25 -5
- package/docs/de/intlayer_with_angular_19.md +20 -4
- package/docs/de/intlayer_with_angular_21.md +20 -4
- package/docs/de/intlayer_with_astro.md +132 -3
- package/docs/de/intlayer_with_astro_lit.md +24 -10
- package/docs/de/intlayer_with_astro_preact.md +24 -10
- package/docs/de/intlayer_with_astro_react.md +24 -10
- package/docs/de/intlayer_with_astro_solid.md +24 -10
- package/docs/de/intlayer_with_astro_svelte.md +24 -10
- package/docs/de/intlayer_with_astro_vanilla.md +24 -10
- package/docs/de/intlayer_with_astro_vue.md +24 -10
- package/docs/de/intlayer_with_create_react_app.md +35 -4
- package/docs/de/intlayer_with_express.md +20 -27
- package/docs/de/intlayer_with_fastify.md +20 -8
- package/docs/de/intlayer_with_hono.md +20 -4
- package/docs/de/intlayer_with_lynx+react.md +30 -7
- package/docs/de/intlayer_with_nestjs.md +20 -12
- package/docs/de/intlayer_with_next-i18next.md +20 -4
- package/docs/de/intlayer_with_nextjs_14.md +48 -11
- package/docs/de/intlayer_with_nextjs_15.md +41 -5
- package/docs/de/intlayer_with_nextjs_16.md +23 -5
- package/docs/de/intlayer_with_nextjs_compiler.md +51 -1
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/de/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/de/intlayer_with_nuxt.md +25 -7
- package/docs/de/intlayer_with_react_native+expo.md +91 -68
- package/docs/de/intlayer_with_react_router_v7.md +24 -100
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +9 -94
- package/docs/de/intlayer_with_storybook.md +7 -1
- package/docs/de/intlayer_with_svelte_kit.md +16 -185
- package/docs/de/intlayer_with_tanstack+solid.md +39 -14
- package/docs/de/intlayer_with_tanstack.md +38 -13
- package/docs/de/intlayer_with_vite+lit.md +34 -9
- package/docs/de/intlayer_with_vite+preact.md +84 -62
- package/docs/de/intlayer_with_vite+react.md +78 -57
- package/docs/de/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/de/intlayer_with_vite+solid.md +56 -47
- package/docs/de/intlayer_with_vite+svelte.md +36 -33
- package/docs/de/intlayer_with_vite+vanilla.md +37 -10
- package/docs/de/intlayer_with_vite+vue.md +83 -110
- package/docs/de/mcp_server.md +22 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/de/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/de/packages/@intlayer_babel/export.md +131 -0
- package/docs/de/packages/angular-intlayer/exports.md +13 -9
- package/docs/de/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/de/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/packages/intlayer/exports.md +5 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/de/packages/next-intlayer/exports.md +4 -0
- package/docs/de/packages/next-intlayer/usePathname.md +136 -0
- package/docs/de/packages/preact-intlayer/exports.md +10 -6
- package/docs/de/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/de/packages/react-intlayer/exports.md +4 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
- package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/de/packages/react-intlayer/usePathname.md +87 -0
- package/docs/de/packages/react-native-intlayer/exports.md +47 -13
- package/docs/de/packages/solid-intlayer/exports.md +4 -0
- package/docs/de/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/de/packages/svelte-intlayer/exports.md +13 -9
- package/docs/de/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/de/packages/vue-intlayer/exports.md +4 -0
- package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/de/plugins/sync-json.md +221 -49
- package/docs/de/releases/v6.md +10 -6
- package/docs/de/releases/v7.md +128 -0
- package/docs/de/releases/v8.md +197 -1
- package/docs/de/releases/v9.md +316 -0
- package/docs/de/roadmap.md +6 -16
- package/docs/en/CI_CD.md +7 -7
- package/docs/en/bundle_optimization.md +8 -3
- package/docs/en/cli/ci.md +62 -8
- package/docs/en/cli/doc-review.md +110 -4
- package/docs/en/cli/index.md +1 -1
- package/docs/en/cli/scan.md +1 -1
- package/docs/en/compat/i18n-js.md +44 -0
- package/docs/en/compat/i18next.md +59 -0
- package/docs/en/compat/index.md +51 -0
- package/docs/en/compat/lingui.md +44 -0
- package/docs/en/compat/next-i18next.md +57 -0
- package/docs/en/compat/next-intl.md +59 -0
- package/docs/en/compat/next-translate.md +45 -0
- package/docs/en/compat/ngx-translate.md +45 -0
- package/docs/en/compat/nuxtjs-i18n.md +46 -0
- package/docs/en/compat/polyglot.md +45 -0
- package/docs/en/compat/react-i18next.md +58 -0
- package/docs/en/compat/react-intl.md +55 -0
- package/docs/en/compat/svelte-i18n.md +47 -0
- package/docs/en/compat/transloco.md +45 -0
- package/docs/en/compat/vue-i18n.md +58 -0
- package/docs/en/compiler.md +16 -6
- package/docs/en/configuration.md +56 -9
- package/docs/en/custom_domains.md +10 -2
- package/docs/en/custom_url_rewrites.md +10 -2
- package/docs/en/dictionary/condition.md +163 -1
- package/docs/en/dictionary/enumeration.md +309 -7
- package/docs/en/dictionary/file.md +151 -1
- package/docs/en/dictionary/gender.md +162 -1
- package/docs/en/dictionary/nesting.md +173 -9
- package/docs/en/dictionary/plurial.md +155 -10
- package/docs/en/dictionary/translation.md +145 -52
- package/docs/en/dynamic_dictionaries/collections.md +1 -1
- package/docs/en/dynamic_dictionaries/index.md +21 -15
- package/docs/en/dynamic_dictionaries/variants.md +267 -9
- package/docs/en/intlayer_with_adonisjs.md +20 -4
- package/docs/en/intlayer_with_analog.md +25 -5
- package/docs/en/intlayer_with_angular_19.md +20 -4
- package/docs/en/intlayer_with_angular_21.md +20 -4
- package/docs/en/intlayer_with_astro.md +22 -8
- package/docs/en/intlayer_with_astro_lit.md +22 -8
- package/docs/en/intlayer_with_astro_preact.md +22 -8
- package/docs/en/intlayer_with_astro_react.md +22 -8
- package/docs/en/intlayer_with_astro_solid.md +22 -8
- package/docs/en/intlayer_with_astro_svelte.md +22 -8
- package/docs/en/intlayer_with_astro_vanilla.md +22 -8
- package/docs/en/intlayer_with_astro_vue.md +22 -8
- package/docs/en/intlayer_with_create_react_app.md +20 -4
- package/docs/en/intlayer_with_express.md +20 -4
- package/docs/en/intlayer_with_fastify.md +20 -8
- package/docs/en/intlayer_with_hono.md +20 -4
- package/docs/en/intlayer_with_lynx+react.md +26 -5
- package/docs/en/intlayer_with_nestjs.md +20 -4
- package/docs/en/intlayer_with_next-i18next.md +20 -4
- package/docs/en/intlayer_with_nextjs_14.md +22 -4
- package/docs/en/intlayer_with_nextjs_15.md +22 -4
- package/docs/en/intlayer_with_nextjs_16.md +24 -4
- package/docs/en/intlayer_with_nextjs_compiler.md +24 -4
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +22 -4
- package/docs/en/intlayer_with_nextjs_page_router.md +22 -4
- package/docs/en/intlayer_with_nuxt.md +25 -7
- package/docs/en/intlayer_with_react_native+expo.md +48 -23
- package/docs/en/intlayer_with_react_router_v7.md +30 -7
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +10 -3
- package/docs/en/intlayer_with_storybook.md +7 -1
- package/docs/en/intlayer_with_svelte_kit.md +30 -7
- package/docs/en/intlayer_with_tanstack+solid.md +40 -13
- package/docs/en/intlayer_with_tanstack.md +38 -11
- package/docs/en/intlayer_with_vite+lit.md +35 -8
- package/docs/en/intlayer_with_vite+preact.md +30 -7
- package/docs/en/intlayer_with_vite+react.md +30 -7
- package/docs/en/intlayer_with_vite+react_compiler.md +31 -6
- package/docs/en/intlayer_with_vite+solid.md +30 -7
- package/docs/en/intlayer_with_vite+svelte.md +30 -7
- package/docs/en/intlayer_with_vite+vanilla.md +37 -8
- package/docs/en/intlayer_with_vite+vue.md +30 -7
- package/docs/en/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/en/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/en/packages/@intlayer_babel/export.md +131 -0
- package/docs/en/packages/angular-intlayer/exports.md +13 -9
- package/docs/en/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en/packages/intlayer/comparePaths.md +173 -0
- package/docs/en/packages/intlayer/exports.md +18 -13
- package/docs/en/packages/next-intlayer/exports.md +4 -0
- package/docs/en/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en/packages/preact-intlayer/exports.md +10 -6
- package/docs/en/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en/packages/react-intlayer/exports.md +4 -0
- package/docs/en/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en/packages/react-native-intlayer/exports.md +47 -13
- package/docs/en/packages/solid-intlayer/exports.md +4 -0
- package/docs/en/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en/packages/vite-intlayer/exports.md +38 -13
- package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
- package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
- package/docs/en/packages/vue-intlayer/exports.md +4 -0
- package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en/plugins/sync-json.md +56 -3
- package/docs/en/releases/v8.md +187 -1
- package/docs/en/releases/v9.md +315 -0
- package/docs/en-GB/CI_CD.md +4 -0
- package/docs/en-GB/autoFill.md +81 -0
- package/docs/en-GB/benchmark/solid.md +22 -0
- package/docs/en-GB/benchmark/svelte.md +22 -0
- package/docs/en-GB/benchmark/tanstack.md +22 -0
- package/docs/en-GB/cli/ci.md +22 -0
- package/docs/en-GB/cli/doc-review.md +110 -4
- package/docs/en-GB/cli/fill.md +8 -0
- package/docs/en-GB/cli/index.md +1 -1
- package/docs/en-GB/cli/login.md +0 -36
- package/docs/en-GB/cli/scan.md +1 -1
- package/docs/en-GB/cli/test.md +0 -36
- package/docs/en-GB/compat/i18n-js.md +44 -0
- package/docs/en-GB/compat/i18next.md +59 -0
- package/docs/en-GB/compat/index.md +51 -0
- package/docs/en-GB/compat/lingui.md +44 -0
- package/docs/en-GB/compat/next-i18next.md +57 -0
- package/docs/en-GB/compat/next-intl.md +59 -0
- package/docs/en-GB/compat/next-translate.md +45 -0
- package/docs/en-GB/compat/ngx-translate.md +45 -0
- package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
- package/docs/en-GB/compat/polyglot.md +45 -0
- package/docs/en-GB/compat/react-i18next.md +58 -0
- package/docs/en-GB/compat/react-intl.md +55 -0
- package/docs/en-GB/compat/svelte-i18n.md +47 -0
- package/docs/en-GB/compat/transloco.md +45 -0
- package/docs/en-GB/compat/vue-i18n.md +58 -0
- package/docs/en-GB/compiler.md +9 -4
- package/docs/en-GB/configuration.md +38 -2
- package/docs/en-GB/custom_domains.md +9 -3
- package/docs/en-GB/custom_url_rewrites.md +9 -3
- package/docs/en-GB/dictionary/condition.md +364 -1
- package/docs/en-GB/dictionary/content_file.md +4 -7
- package/docs/en-GB/dictionary/enumeration.md +577 -5
- package/docs/en-GB/dictionary/file.md +325 -1
- package/docs/en-GB/dictionary/function_fetching.md +0 -4
- package/docs/en-GB/dictionary/gender.md +375 -2
- package/docs/en-GB/dictionary/nesting.md +379 -74
- package/docs/en-GB/dictionary/plurial.md +347 -7
- package/docs/en-GB/dictionary/translation.md +315 -88
- package/docs/en-GB/dynamic_dictionaries/collections.md +1 -1
- package/docs/en-GB/dynamic_dictionaries/index.md +22 -16
- package/docs/en-GB/dynamic_dictionaries/variants.md +269 -11
- package/docs/en-GB/formatters.md +59 -0
- package/docs/en-GB/how_works_intlayer.md +4 -16
- package/docs/en-GB/intlayer_CMS.md +6 -0
- package/docs/en-GB/intlayer_with_adonisjs.md +20 -4
- package/docs/en-GB/intlayer_with_analog.md +25 -5
- package/docs/en-GB/intlayer_with_angular_19.md +20 -4
- package/docs/en-GB/intlayer_with_angular_21.md +20 -4
- package/docs/en-GB/intlayer_with_astro.md +131 -2
- package/docs/en-GB/intlayer_with_astro_lit.md +23 -9
- package/docs/en-GB/intlayer_with_astro_preact.md +23 -9
- package/docs/en-GB/intlayer_with_astro_react.md +23 -9
- package/docs/en-GB/intlayer_with_astro_solid.md +23 -9
- package/docs/en-GB/intlayer_with_astro_svelte.md +23 -9
- package/docs/en-GB/intlayer_with_astro_vanilla.md +23 -9
- package/docs/en-GB/intlayer_with_astro_vue.md +23 -9
- package/docs/en-GB/intlayer_with_create_react_app.md +38 -52
- package/docs/en-GB/intlayer_with_express.md +20 -27
- package/docs/en-GB/intlayer_with_fastify.md +20 -8
- package/docs/en-GB/intlayer_with_hono.md +20 -4
- package/docs/en-GB/intlayer_with_lynx+react.md +46 -9
- package/docs/en-GB/intlayer_with_nestjs.md +20 -12
- package/docs/en-GB/intlayer_with_next-i18next.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +33 -9
- package/docs/en-GB/intlayer_with_nextjs_15.md +43 -5
- package/docs/en-GB/intlayer_with_nextjs_16.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/en-GB/intlayer_with_nuxt.md +25 -7
- package/docs/en-GB/intlayer_with_react_native+expo.md +86 -67
- package/docs/en-GB/intlayer_with_react_router_v7.md +27 -8
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +46 -8
- package/docs/en-GB/intlayer_with_storybook.md +7 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +13 -184
- package/docs/en-GB/intlayer_with_tanstack+solid.md +39 -14
- package/docs/en-GB/intlayer_with_tanstack.md +35 -12
- package/docs/en-GB/intlayer_with_vite+lit.md +34 -9
- package/docs/en-GB/intlayer_with_vite+preact.md +25 -5
- package/docs/en-GB/intlayer_with_vite+react.md +27 -8
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/en-GB/intlayer_with_vite+solid.md +21 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +27 -8
- package/docs/en-GB/intlayer_with_vite+vanilla.md +36 -9
- package/docs/en-GB/intlayer_with_vite+vue.md +35 -187
- package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
- package/docs/en-GB/packages/angular-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/intlayer/comparePaths.md +173 -0
- package/docs/en-GB/packages/intlayer/exports.md +5 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
- package/docs/en-GB/packages/next-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en-GB/packages/preact-intlayer/exports.md +10 -6
- package/docs/en-GB/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en-GB/packages/react-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/en-GB/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
- package/docs/en-GB/packages/solid-intlayer/exports.md +15 -11
- package/docs/en-GB/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en-GB/packages/vue-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en-GB/plugins/sync-json.md +222 -50
- package/docs/en-GB/releases/v6.md +10 -6
- package/docs/en-GB/releases/v7.md +128 -0
- package/docs/en-GB/releases/v8.md +191 -1
- package/docs/en-GB/releases/v9.md +312 -0
- package/docs/en-GB/roadmap.md +6 -0
- package/docs/es/CI_CD.md +4 -0
- package/docs/es/autoFill.md +81 -0
- package/docs/es/benchmark/solid.md +22 -0
- package/docs/es/benchmark/svelte.md +22 -0
- package/docs/es/benchmark/tanstack.md +22 -0
- package/docs/es/cli/ci.md +22 -0
- package/docs/es/cli/doc-review.md +110 -4
- package/docs/es/cli/fill.md +8 -0
- package/docs/es/cli/index.md +1 -1
- package/docs/es/cli/login.md +0 -36
- package/docs/es/cli/scan.md +1 -1
- package/docs/es/compat/i18n-js.md +44 -0
- package/docs/es/compat/i18next.md +59 -0
- package/docs/es/compat/index.md +51 -0
- package/docs/es/compat/lingui.md +44 -0
- package/docs/es/compat/next-i18next.md +57 -0
- package/docs/es/compat/next-intl.md +61 -0
- package/docs/es/compat/next-translate.md +45 -0
- package/docs/es/compat/ngx-translate.md +45 -0
- package/docs/es/compat/nuxtjs-i18n.md +46 -0
- package/docs/es/compat/polyglot.md +45 -0
- package/docs/es/compat/react-i18next.md +58 -0
- package/docs/es/compat/react-intl.md +55 -0
- package/docs/es/compat/svelte-i18n.md +47 -0
- package/docs/es/compat/transloco.md +45 -0
- package/docs/es/compat/vue-i18n.md +58 -0
- package/docs/es/compiler.md +9 -4
- package/docs/es/configuration.md +54 -19
- package/docs/es/custom_domains.md +9 -3
- package/docs/es/custom_url_rewrites.md +9 -3
- package/docs/es/dictionary/condition.md +167 -5
- package/docs/es/dictionary/content_file.md +4 -0
- package/docs/es/dictionary/enumeration.md +537 -12
- package/docs/es/dictionary/file.md +159 -1
- package/docs/es/dictionary/gender.md +168 -7
- package/docs/es/dictionary/nesting.md +187 -40
- package/docs/es/dictionary/plurial.md +347 -7
- package/docs/es/dictionary/translation.md +146 -53
- package/docs/es/dynamic_dictionaries/collections.md +1 -1
- package/docs/es/dynamic_dictionaries/index.md +26 -20
- package/docs/es/dynamic_dictionaries/variants.md +276 -18
- package/docs/es/formatters.md +82 -0
- package/docs/es/how_works_intlayer.md +4 -4
- package/docs/es/intlayer_CMS.md +21 -0
- package/docs/es/intlayer_visual_editor.md +0 -23
- package/docs/es/intlayer_with_adonisjs.md +20 -4
- package/docs/es/intlayer_with_analog.md +25 -5
- package/docs/es/intlayer_with_angular_19.md +20 -4
- package/docs/es/intlayer_with_angular_21.md +20 -4
- package/docs/es/intlayer_with_astro.md +132 -3
- package/docs/es/intlayer_with_astro_lit.md +24 -10
- package/docs/es/intlayer_with_astro_preact.md +24 -10
- package/docs/es/intlayer_with_astro_react.md +24 -10
- package/docs/es/intlayer_with_astro_solid.md +24 -10
- package/docs/es/intlayer_with_astro_svelte.md +24 -10
- package/docs/es/intlayer_with_astro_vanilla.md +24 -10
- package/docs/es/intlayer_with_astro_vue.md +24 -10
- package/docs/es/intlayer_with_create_react_app.md +20 -4
- package/docs/es/intlayer_with_express.md +20 -8
- package/docs/es/intlayer_with_fastify.md +20 -8
- package/docs/es/intlayer_with_hono.md +20 -4
- package/docs/es/intlayer_with_lynx+react.md +26 -5
- package/docs/es/intlayer_with_nestjs.md +20 -22
- package/docs/es/intlayer_with_next-i18next.md +20 -4
- package/docs/es/intlayer_with_nextjs_14.md +30 -8
- package/docs/es/intlayer_with_nextjs_15.md +41 -5
- package/docs/es/intlayer_with_nextjs_16.md +23 -5
- package/docs/es/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/es/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/es/intlayer_with_nuxt.md +25 -7
- package/docs/es/intlayer_with_react_native+expo.md +92 -72
- package/docs/es/intlayer_with_react_router_v7.md +24 -100
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +10 -5
- package/docs/es/intlayer_with_storybook.md +7 -1
- package/docs/es/intlayer_with_svelte_kit.md +16 -185
- package/docs/es/intlayer_with_tanstack+solid.md +39 -14
- package/docs/es/intlayer_with_tanstack.md +38 -13
- package/docs/es/intlayer_with_vite+lit.md +34 -9
- package/docs/es/intlayer_with_vite+preact.md +28 -6
- package/docs/es/intlayer_with_vite+react.md +30 -9
- package/docs/es/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/es/intlayer_with_vite+solid.md +24 -6
- package/docs/es/intlayer_with_vite+svelte.md +25 -7
- package/docs/es/intlayer_with_vite+vanilla.md +37 -10
- package/docs/es/intlayer_with_vite+vue.md +47 -94
- package/docs/es/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/es/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/es/packages/@intlayer_babel/export.md +131 -0
- package/docs/es/packages/angular-intlayer/exports.md +13 -9
- package/docs/es/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/es/packages/express-intlayer/t.md +0 -9
- package/docs/es/packages/intlayer/comparePaths.md +173 -0
- package/docs/es/packages/intlayer/exports.md +18 -13
- package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/es/packages/next-intlayer/exports.md +4 -0
- package/docs/es/packages/next-intlayer/usePathname.md +136 -0
- package/docs/es/packages/preact-intlayer/exports.md +10 -6
- package/docs/es/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/es/packages/react-intlayer/exports.md +4 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/es/packages/react-intlayer/usePathname.md +87 -0
- package/docs/es/packages/react-native-intlayer/exports.md +47 -13
- package/docs/es/packages/solid-intlayer/exports.md +4 -0
- package/docs/es/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/es/packages/svelte-intlayer/exports.md +4 -0
- package/docs/es/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/es/packages/vue-intlayer/exports.md +4 -0
- package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/es/plugins/sync-json.md +221 -49
- package/docs/es/releases/v6.md +28 -0
- package/docs/es/releases/v7.md +128 -0
- package/docs/es/releases/v8.md +187 -1
- package/docs/es/releases/v9.md +312 -0
- package/docs/es/roadmap.md +6 -0
- package/docs/fr/CI_CD.md +4 -0
- package/docs/fr/autoFill.md +81 -0
- package/docs/fr/benchmark/solid.md +22 -0
- package/docs/fr/benchmark/svelte.md +22 -0
- package/docs/fr/benchmark/tanstack.md +22 -0
- package/docs/fr/cli/ci.md +22 -0
- package/docs/fr/cli/doc-review.md +110 -4
- package/docs/fr/cli/fill.md +8 -0
- package/docs/fr/cli/index.md +1 -1
- package/docs/fr/cli/login.md +0 -36
- package/docs/fr/cli/scan.md +1 -1
- package/docs/fr/compat/i18n-js.md +44 -0
- package/docs/fr/compat/i18next.md +59 -0
- package/docs/fr/compat/index.md +51 -0
- package/docs/fr/compat/lingui.md +44 -0
- package/docs/fr/compat/next-i18next.md +57 -0
- package/docs/fr/compat/next-intl.md +59 -0
- package/docs/fr/compat/next-translate.md +45 -0
- package/docs/fr/compat/ngx-translate.md +45 -0
- package/docs/fr/compat/nuxtjs-i18n.md +46 -0
- package/docs/fr/compat/polyglot.md +45 -0
- package/docs/fr/compat/react-i18next.md +58 -0
- package/docs/fr/compat/react-intl.md +55 -0
- package/docs/fr/compat/svelte-i18n.md +47 -0
- package/docs/fr/compat/transloco.md +45 -0
- package/docs/fr/compat/vue-i18n.md +58 -0
- package/docs/fr/compiler.md +9 -4
- package/docs/fr/configuration.md +68 -32
- package/docs/fr/custom_domains.md +9 -3
- package/docs/fr/custom_url_rewrites.md +22 -16
- package/docs/fr/dictionary/condition.md +369 -6
- package/docs/fr/dictionary/content_file.md +4 -0
- package/docs/fr/dictionary/enumeration.md +353 -6
- package/docs/fr/dictionary/file.md +159 -1
- package/docs/fr/dictionary/gender.md +168 -7
- package/docs/fr/dictionary/nesting.md +358 -48
- package/docs/fr/dictionary/plurial.md +174 -5
- package/docs/fr/dictionary/translation.md +146 -53
- package/docs/fr/dynamic_dictionaries/collections.md +1 -1
- package/docs/fr/dynamic_dictionaries/index.md +27 -21
- package/docs/fr/dynamic_dictionaries/variants.md +274 -16
- package/docs/fr/formatters.md +171 -77
- package/docs/fr/how_works_intlayer.md +4 -0
- package/docs/fr/intlayer_CMS.md +6 -0
- package/docs/fr/intlayer_with_adonisjs.md +20 -4
- package/docs/fr/intlayer_with_analog.md +25 -5
- package/docs/fr/intlayer_with_angular_19.md +20 -4
- package/docs/fr/intlayer_with_angular_21.md +20 -4
- package/docs/fr/intlayer_with_astro.md +132 -3
- package/docs/fr/intlayer_with_astro_lit.md +24 -10
- package/docs/fr/intlayer_with_astro_preact.md +24 -10
- package/docs/fr/intlayer_with_astro_react.md +24 -10
- package/docs/fr/intlayer_with_astro_solid.md +24 -10
- package/docs/fr/intlayer_with_astro_svelte.md +24 -10
- package/docs/fr/intlayer_with_astro_vanilla.md +24 -10
- package/docs/fr/intlayer_with_astro_vue.md +24 -10
- package/docs/fr/intlayer_with_create_react_app.md +20 -18
- package/docs/fr/intlayer_with_express.md +20 -8
- package/docs/fr/intlayer_with_fastify.md +20 -8
- package/docs/fr/intlayer_with_hono.md +20 -4
- package/docs/fr/intlayer_with_lynx+react.md +26 -5
- package/docs/fr/intlayer_with_nestjs.md +20 -22
- package/docs/fr/intlayer_with_next-i18next.md +20 -4
- package/docs/fr/intlayer_with_nextjs_14.md +46 -9
- package/docs/fr/intlayer_with_nextjs_15.md +41 -5
- package/docs/fr/intlayer_with_nextjs_16.md +23 -5
- package/docs/fr/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/fr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/fr/intlayer_with_nuxt.md +20 -31
- package/docs/fr/intlayer_with_react_native+expo.md +95 -68
- package/docs/fr/intlayer_with_react_router_v7.md +24 -100
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +4 -101
- package/docs/fr/intlayer_with_storybook.md +7 -1
- package/docs/fr/intlayer_with_svelte_kit.md +16 -217
- package/docs/fr/intlayer_with_tanstack+solid.md +39 -14
- package/docs/fr/intlayer_with_tanstack.md +38 -13
- package/docs/fr/intlayer_with_vite+lit.md +34 -9
- package/docs/fr/intlayer_with_vite+preact.md +28 -6
- package/docs/fr/intlayer_with_vite+react.md +30 -9
- package/docs/fr/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/fr/intlayer_with_vite+solid.md +24 -6
- package/docs/fr/intlayer_with_vite+svelte.md +30 -9
- package/docs/fr/intlayer_with_vite+vanilla.md +37 -10
- package/docs/fr/intlayer_with_vite+vue.md +42 -91
- package/docs/fr/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/fr/packages/@intlayer_babel/export.md +131 -0
- package/docs/fr/packages/angular-intlayer/exports.md +13 -9
- package/docs/fr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/express-intlayer/t.md +0 -9
- package/docs/fr/packages/intlayer/comparePaths.md +173 -0
- package/docs/fr/packages/intlayer/exports.md +18 -13
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
- package/docs/fr/packages/next-intlayer/exports.md +4 -0
- package/docs/fr/packages/next-intlayer/t.md +1 -1
- package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
- package/docs/fr/packages/preact-intlayer/exports.md +10 -6
- package/docs/fr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/fr/packages/react-intlayer/exports.md +4 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
- package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/fr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
- package/docs/fr/packages/solid-intlayer/exports.md +4 -0
- package/docs/fr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/svelte-intlayer/exports.md +4 -0
- package/docs/fr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/fr/packages/vue-intlayer/exports.md +14 -10
- package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/fr/plugins/sync-json.md +221 -49
- package/docs/fr/releases/v6.md +28 -0
- package/docs/fr/releases/v7.md +128 -0
- package/docs/fr/releases/v8.md +187 -1
- package/docs/fr/releases/v9.md +312 -0
- package/docs/fr/roadmap.md +6 -0
- package/docs/hi/CI_CD.md +4 -0
- package/docs/hi/autoFill.md +81 -0
- package/docs/hi/benchmark/solid.md +22 -0
- package/docs/hi/benchmark/svelte.md +22 -0
- package/docs/hi/benchmark/tanstack.md +22 -0
- package/docs/hi/cli/ci.md +22 -0
- package/docs/hi/cli/doc-review.md +110 -4
- package/docs/hi/cli/fill.md +8 -0
- package/docs/hi/cli/index.md +1 -1
- package/docs/hi/cli/login.md +0 -36
- package/docs/hi/cli/scan.md +1 -1
- package/docs/hi/compat/i18n-js.md +44 -0
- package/docs/hi/compat/i18next.md +59 -0
- package/docs/hi/compat/index.md +51 -0
- package/docs/hi/compat/lingui.md +44 -0
- package/docs/hi/compat/next-i18next.md +57 -0
- package/docs/hi/compat/next-intl.md +59 -0
- package/docs/hi/compat/next-translate.md +45 -0
- package/docs/hi/compat/ngx-translate.md +45 -0
- package/docs/hi/compat/nuxtjs-i18n.md +46 -0
- package/docs/hi/compat/polyglot.md +45 -0
- package/docs/hi/compat/react-i18next.md +58 -0
- package/docs/hi/compat/react-intl.md +55 -0
- package/docs/hi/compat/svelte-i18n.md +47 -0
- package/docs/hi/compat/transloco.md +45 -0
- package/docs/hi/compat/vue-i18n.md +58 -0
- package/docs/hi/compiler.md +9 -4
- package/docs/hi/configuration.md +67 -32
- package/docs/hi/custom_domains.md +9 -3
- package/docs/hi/custom_url_rewrites.md +9 -3
- package/docs/hi/dictionary/condition.md +167 -5
- package/docs/hi/dictionary/enumeration.md +353 -6
- package/docs/hi/dictionary/file.md +159 -1
- package/docs/hi/dictionary/gender.md +168 -7
- package/docs/hi/dictionary/nesting.md +188 -41
- package/docs/hi/dictionary/plurial.md +174 -5
- package/docs/hi/dictionary/translation.md +145 -56
- package/docs/hi/dynamic_dictionaries/collections.md +1 -1
- package/docs/hi/dynamic_dictionaries/index.md +29 -23
- package/docs/hi/dynamic_dictionaries/variants.md +283 -25
- package/docs/hi/formatters.md +85 -0
- package/docs/hi/how_works_intlayer.md +2 -0
- package/docs/hi/interest_of_intlayer.md +194 -0
- package/docs/hi/intlayer_CMS.md +6 -0
- package/docs/hi/intlayer_with_adonisjs.md +20 -4
- package/docs/hi/intlayer_with_analog.md +25 -5
- package/docs/hi/intlayer_with_angular_19.md +20 -4
- package/docs/hi/intlayer_with_angular_21.md +20 -4
- package/docs/hi/intlayer_with_astro.md +136 -6
- package/docs/hi/intlayer_with_astro_lit.md +7 -4
- package/docs/hi/intlayer_with_astro_preact.md +7 -4
- package/docs/hi/intlayer_with_astro_react.md +7 -4
- package/docs/hi/intlayer_with_astro_solid.md +7 -4
- package/docs/hi/intlayer_with_astro_svelte.md +7 -4
- package/docs/hi/intlayer_with_astro_vanilla.md +7 -4
- package/docs/hi/intlayer_with_astro_vue.md +27 -12
- package/docs/hi/intlayer_with_create_react_app.md +35 -4
- package/docs/hi/intlayer_with_express.md +20 -27
- package/docs/hi/intlayer_with_fastify.md +20 -8
- package/docs/hi/intlayer_with_hono.md +20 -4
- package/docs/hi/intlayer_with_lynx+react.md +26 -5
- package/docs/hi/intlayer_with_nestjs.md +20 -12
- package/docs/hi/intlayer_with_next-i18next.md +20 -4
- package/docs/hi/intlayer_with_nextjs_14.md +51 -12
- package/docs/hi/intlayer_with_nextjs_15.md +41 -5
- package/docs/hi/intlayer_with_nextjs_16.md +196 -58
- package/docs/hi/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/hi/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/hi/intlayer_with_nuxt.md +20 -31
- package/docs/hi/intlayer_with_react_native+expo.md +131 -87
- package/docs/hi/intlayer_with_react_router_v7.md +27 -102
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +46 -103
- package/docs/hi/intlayer_with_storybook.md +7 -1
- package/docs/hi/intlayer_with_svelte_kit.md +19 -187
- package/docs/hi/intlayer_with_tanstack+solid.md +39 -14
- package/docs/hi/intlayer_with_tanstack.md +41 -15
- package/docs/hi/intlayer_with_vite+lit.md +29 -7
- package/docs/hi/intlayer_with_vite+preact.md +27 -8
- package/docs/hi/intlayer_with_vite+react.md +33 -11
- package/docs/hi/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/hi/intlayer_with_vite+solid.md +27 -8
- package/docs/hi/intlayer_with_vite+svelte.md +59 -56
- package/docs/hi/intlayer_with_vite+vanilla.md +37 -10
- package/docs/hi/intlayer_with_vite+vue.md +55 -81
- package/docs/hi/mcp_server.md +22 -0
- package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
- package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/hi/packages/@intlayer_babel/export.md +131 -0
- package/docs/hi/packages/angular-intlayer/exports.md +13 -9
- package/docs/hi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/intlayer/comparePaths.md +173 -0
- package/docs/hi/packages/intlayer/exports.md +18 -13
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/hi/packages/intlayer/index.md +20 -4
- package/docs/hi/packages/next-intlayer/exports.md +4 -0
- package/docs/hi/packages/next-intlayer/t.md +2 -0
- package/docs/hi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/hi/packages/preact-intlayer/exports.md +10 -6
- package/docs/hi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/hi/packages/react-intlayer/exports.md +3 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
- package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/hi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
- package/docs/hi/packages/solid-intlayer/exports.md +15 -11
- package/docs/hi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/hi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/hi/packages/vue-intlayer/exports.md +14 -10
- package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/hi/plugins/sync-json.md +220 -48
- package/docs/hi/releases/v6.md +28 -0
- package/docs/hi/releases/v7.md +128 -0
- package/docs/hi/releases/v8.md +188 -2
- package/docs/hi/releases/v9.md +316 -0
- package/docs/hi/roadmap.md +6 -0
- package/docs/id/autoFill.md +20 -0
- package/docs/id/benchmark/solid.md +22 -0
- package/docs/id/benchmark/svelte.md +22 -0
- package/docs/id/benchmark/tanstack.md +22 -0
- package/docs/id/cli/ci.md +22 -0
- package/docs/id/cli/doc-review.md +110 -4
- package/docs/id/cli/fill.md +8 -0
- package/docs/id/cli/index.md +1 -1
- package/docs/id/cli/scan.md +1 -1
- package/docs/id/compat/i18n-js.md +44 -0
- package/docs/id/compat/i18next.md +59 -0
- package/docs/id/compat/index.md +51 -0
- package/docs/id/compat/lingui.md +44 -0
- package/docs/id/compat/next-i18next.md +57 -0
- package/docs/id/compat/next-intl.md +59 -0
- package/docs/id/compat/next-translate.md +45 -0
- package/docs/id/compat/ngx-translate.md +45 -0
- package/docs/id/compat/nuxtjs-i18n.md +46 -0
- package/docs/id/compat/polyglot.md +45 -0
- package/docs/id/compat/react-i18next.md +58 -0
- package/docs/id/compat/react-intl.md +55 -0
- package/docs/id/compat/svelte-i18n.md +47 -0
- package/docs/id/compat/transloco.md +45 -0
- package/docs/id/compat/vue-i18n.md +58 -0
- package/docs/id/compiler.md +9 -4
- package/docs/id/configuration.md +53 -18
- package/docs/id/custom_domains.md +9 -3
- package/docs/id/custom_url_rewrites.md +22 -18
- package/docs/id/dictionary/condition.md +167 -5
- package/docs/id/dictionary/content_file.md +0 -7
- package/docs/id/dictionary/enumeration.md +353 -6
- package/docs/id/dictionary/file.md +318 -2
- package/docs/id/dictionary/gender.md +381 -8
- package/docs/id/dictionary/nesting.md +359 -49
- package/docs/id/dictionary/plurial.md +174 -5
- package/docs/id/dictionary/translation.md +146 -53
- package/docs/id/dynamic_dictionaries/collections.md +1 -1
- package/docs/id/dynamic_dictionaries/index.md +26 -20
- package/docs/id/dynamic_dictionaries/variants.md +275 -17
- package/docs/id/formatters.md +120 -0
- package/docs/id/interest_of_intlayer.md +193 -0
- package/docs/id/intlayer_with_adonisjs.md +20 -4
- package/docs/id/intlayer_with_analog.md +25 -5
- package/docs/id/intlayer_with_angular_19.md +20 -4
- package/docs/id/intlayer_with_angular_21.md +20 -4
- package/docs/id/intlayer_with_astro.md +133 -4
- package/docs/id/intlayer_with_astro_lit.md +24 -10
- package/docs/id/intlayer_with_astro_preact.md +24 -10
- package/docs/id/intlayer_with_astro_react.md +24 -10
- package/docs/id/intlayer_with_astro_solid.md +24 -10
- package/docs/id/intlayer_with_astro_svelte.md +24 -10
- package/docs/id/intlayer_with_astro_vanilla.md +24 -10
- package/docs/id/intlayer_with_astro_vue.md +24 -10
- package/docs/id/intlayer_with_create_react_app.md +20 -4
- package/docs/id/intlayer_with_express.md +20 -4
- package/docs/id/intlayer_with_fastify.md +20 -8
- package/docs/id/intlayer_with_hono.md +20 -4
- package/docs/id/intlayer_with_lynx+react.md +26 -5
- package/docs/id/intlayer_with_nestjs.md +20 -4
- package/docs/id/intlayer_with_next-i18next.md +20 -4
- package/docs/id/intlayer_with_nextjs_14.md +21 -5
- package/docs/id/intlayer_with_nextjs_15.md +21 -5
- package/docs/id/intlayer_with_nextjs_16.md +198 -58
- package/docs/id/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/id/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/id/intlayer_with_nuxt.md +25 -7
- package/docs/id/intlayer_with_react_native+expo.md +45 -65
- package/docs/id/intlayer_with_react_router_v7.md +24 -100
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/id/intlayer_with_storybook.md +7 -1
- package/docs/id/intlayer_with_svelte_kit.md +16 -185
- package/docs/id/intlayer_with_tanstack+solid.md +39 -14
- package/docs/id/intlayer_with_tanstack.md +38 -13
- package/docs/id/intlayer_with_vite+lit.md +29 -7
- package/docs/id/intlayer_with_vite+preact.md +80 -62
- package/docs/id/intlayer_with_vite+react.md +78 -57
- package/docs/id/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/id/intlayer_with_vite+solid.md +56 -47
- package/docs/id/intlayer_with_vite+svelte.md +52 -36
- package/docs/id/intlayer_with_vite+vanilla.md +37 -10
- package/docs/id/intlayer_with_vite+vue.md +78 -109
- package/docs/id/mcp_server.md +22 -0
- package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/id/packages/@intlayer_babel/export.md +131 -0
- package/docs/id/packages/angular-intlayer/exports.md +14 -10
- package/docs/id/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/id/packages/intlayer/comparePaths.md +173 -0
- package/docs/id/packages/intlayer/exports.md +5 -0
- package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/id/packages/next-intlayer/exports.md +4 -0
- package/docs/id/packages/next-intlayer/usePathname.md +136 -0
- package/docs/id/packages/preact-intlayer/exports.md +10 -6
- package/docs/id/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/id/packages/react-intlayer/exports.md +4 -0
- package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/id/packages/react-intlayer/usePathname.md +87 -0
- package/docs/id/packages/react-native-intlayer/exports.md +47 -13
- package/docs/id/packages/solid-intlayer/exports.md +4 -0
- package/docs/id/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/id/packages/svelte-intlayer/exports.md +13 -9
- package/docs/id/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/id/packages/vue-intlayer/exports.md +4 -0
- package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/id/plugins/sync-json.md +221 -49
- package/docs/id/releases/v6.md +4 -0
- package/docs/id/releases/v7.md +128 -0
- package/docs/id/releases/v8.md +191 -2
- package/docs/id/releases/v9.md +316 -0
- package/docs/id/roadmap.md +0 -16
- package/docs/it/CI_CD.md +4 -0
- package/docs/it/autoFill.md +81 -0
- package/docs/it/benchmark/solid.md +22 -0
- package/docs/it/benchmark/svelte.md +22 -0
- package/docs/it/benchmark/tanstack.md +22 -0
- package/docs/it/cli/ci.md +22 -0
- package/docs/it/cli/doc-review.md +110 -4
- package/docs/it/cli/fill.md +8 -0
- package/docs/it/cli/index.md +1 -1
- package/docs/it/cli/scan.md +1 -1
- package/docs/it/compat/i18n-js.md +44 -0
- package/docs/it/compat/i18next.md +59 -0
- package/docs/it/compat/index.md +51 -0
- package/docs/it/compat/lingui.md +44 -0
- package/docs/it/compat/next-i18next.md +57 -0
- package/docs/it/compat/next-intl.md +59 -0
- package/docs/it/compat/next-translate.md +45 -0
- package/docs/it/compat/ngx-translate.md +45 -0
- package/docs/it/compat/nuxtjs-i18n.md +46 -0
- package/docs/it/compat/polyglot.md +45 -0
- package/docs/it/compat/react-i18next.md +58 -0
- package/docs/it/compat/react-intl.md +55 -0
- package/docs/it/compat/svelte-i18n.md +47 -0
- package/docs/it/compat/transloco.md +45 -0
- package/docs/it/compat/vue-i18n.md +58 -0
- package/docs/it/compiler.md +9 -4
- package/docs/it/configuration.md +67 -32
- package/docs/it/custom_domains.md +9 -3
- package/docs/it/custom_url_rewrites.md +9 -3
- package/docs/it/dictionary/condition.md +167 -5
- package/docs/it/dictionary/content_file.md +4 -7
- package/docs/it/dictionary/enumeration.md +349 -12
- package/docs/it/dictionary/file.md +326 -2
- package/docs/it/dictionary/gender.md +168 -7
- package/docs/it/dictionary/nesting.md +188 -41
- package/docs/it/dictionary/plurial.md +347 -7
- package/docs/it/dictionary/translation.md +146 -53
- package/docs/it/dynamic_dictionaries/collections.md +1 -1
- package/docs/it/dynamic_dictionaries/index.md +27 -21
- package/docs/it/dynamic_dictionaries/variants.md +274 -16
- package/docs/it/formatters.md +82 -0
- package/docs/it/how_works_intlayer.md +4 -4
- package/docs/it/intlayer_CMS.md +6 -0
- package/docs/it/intlayer_with_adonisjs.md +20 -4
- package/docs/it/intlayer_with_analog.md +25 -5
- package/docs/it/intlayer_with_angular_19.md +20 -4
- package/docs/it/intlayer_with_angular_21.md +20 -4
- package/docs/it/intlayer_with_astro.md +132 -3
- package/docs/it/intlayer_with_astro_lit.md +24 -10
- package/docs/it/intlayer_with_astro_preact.md +24 -10
- package/docs/it/intlayer_with_astro_react.md +24 -10
- package/docs/it/intlayer_with_astro_solid.md +24 -10
- package/docs/it/intlayer_with_astro_svelte.md +24 -10
- package/docs/it/intlayer_with_astro_vanilla.md +24 -10
- package/docs/it/intlayer_with_astro_vue.md +24 -10
- package/docs/it/intlayer_with_create_react_app.md +20 -18
- package/docs/it/intlayer_with_express.md +20 -8
- package/docs/it/intlayer_with_fastify.md +20 -8
- package/docs/it/intlayer_with_hono.md +20 -4
- package/docs/it/intlayer_with_lynx+react.md +37 -5
- package/docs/it/intlayer_with_nestjs.md +20 -12
- package/docs/it/intlayer_with_next-i18next.md +20 -4
- package/docs/it/intlayer_with_nextjs_14.md +50 -13
- package/docs/it/intlayer_with_nextjs_15.md +41 -5
- package/docs/it/intlayer_with_nextjs_16.md +198 -58
- package/docs/it/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/it/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/it/intlayer_with_nuxt.md +25 -7
- package/docs/it/intlayer_with_react_native+expo.md +81 -64
- package/docs/it/intlayer_with_react_router_v7.md +24 -100
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/it/intlayer_with_storybook.md +7 -1
- package/docs/it/intlayer_with_svelte_kit.md +16 -217
- package/docs/it/intlayer_with_tanstack+solid.md +39 -14
- package/docs/it/intlayer_with_tanstack.md +38 -13
- package/docs/it/intlayer_with_vite+lit.md +34 -9
- package/docs/it/intlayer_with_vite+preact.md +84 -62
- package/docs/it/intlayer_with_vite+react.md +78 -57
- package/docs/it/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/it/intlayer_with_vite+solid.md +56 -47
- package/docs/it/intlayer_with_vite+svelte.md +51 -35
- package/docs/it/intlayer_with_vite+vanilla.md +37 -10
- package/docs/it/intlayer_with_vite+vue.md +82 -131
- package/docs/it/mcp_server.md +22 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/it/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/it/packages/@intlayer_babel/export.md +131 -0
- package/docs/it/packages/angular-intlayer/exports.md +13 -9
- package/docs/it/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/it/packages/intlayer/comparePaths.md +173 -0
- package/docs/it/packages/intlayer/exports.md +18 -13
- package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/it/packages/next-intlayer/exports.md +4 -0
- package/docs/it/packages/next-intlayer/t.md +34 -0
- package/docs/it/packages/next-intlayer/usePathname.md +136 -0
- package/docs/it/packages/preact-intlayer/exports.md +10 -6
- package/docs/it/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/it/packages/react-intlayer/exports.md +20 -16
- package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
- package/docs/it/packages/react-intlayer/usePathname.md +87 -0
- package/docs/it/packages/react-native-intlayer/exports.md +47 -13
- package/docs/it/packages/solid-intlayer/exports.md +4 -0
- package/docs/it/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/it/packages/svelte-intlayer/exports.md +4 -0
- package/docs/it/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/it/packages/vue-intlayer/exports.md +4 -0
- package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/it/plugins/sync-json.md +223 -51
- package/docs/it/releases/v6.md +28 -0
- package/docs/it/releases/v7.md +128 -0
- package/docs/it/releases/v8.md +200 -2
- package/docs/it/releases/v9.md +316 -0
- package/docs/it/roadmap.md +6 -0
- package/docs/ja/CI_CD.md +4 -0
- package/docs/ja/autoFill.md +81 -0
- package/docs/ja/benchmark/solid.md +22 -0
- package/docs/ja/benchmark/svelte.md +22 -0
- package/docs/ja/benchmark/tanstack.md +22 -0
- package/docs/ja/cli/ci.md +22 -0
- package/docs/ja/cli/doc-review.md +110 -4
- package/docs/ja/cli/fill.md +8 -0
- package/docs/ja/cli/index.md +1 -1
- package/docs/ja/cli/list_projects.md +0 -18
- package/docs/ja/cli/scan.md +1 -1
- package/docs/ja/compat/i18n-js.md +44 -0
- package/docs/ja/compat/i18next.md +59 -0
- package/docs/ja/compat/index.md +51 -0
- package/docs/ja/compat/lingui.md +44 -0
- package/docs/ja/compat/next-i18next.md +57 -0
- package/docs/ja/compat/next-intl.md +59 -0
- package/docs/ja/compat/next-translate.md +45 -0
- package/docs/ja/compat/ngx-translate.md +45 -0
- package/docs/ja/compat/nuxtjs-i18n.md +46 -0
- package/docs/ja/compat/polyglot.md +45 -0
- package/docs/ja/compat/react-i18next.md +58 -0
- package/docs/ja/compat/react-intl.md +55 -0
- package/docs/ja/compat/svelte-i18n.md +47 -0
- package/docs/ja/compat/transloco.md +45 -0
- package/docs/ja/compat/vue-i18n.md +58 -0
- package/docs/ja/compiler.md +9 -4
- package/docs/ja/configuration.md +68 -33
- package/docs/ja/custom_domains.md +9 -3
- package/docs/ja/custom_url_rewrites.md +9 -3
- package/docs/ja/dictionary/condition.md +167 -5
- package/docs/ja/dictionary/content_file.md +4 -0
- package/docs/ja/dictionary/enumeration.md +353 -6
- package/docs/ja/dictionary/file.md +151 -1
- package/docs/ja/dictionary/function_fetching.md +0 -27
- package/docs/ja/dictionary/gender.md +168 -7
- package/docs/ja/dictionary/markdown.md +1348 -0
- package/docs/ja/dictionary/nesting.md +187 -40
- package/docs/ja/dictionary/plurial.md +174 -5
- package/docs/ja/dictionary/translation.md +134 -92
- package/docs/ja/dynamic_dictionaries/collections.md +1 -1
- package/docs/ja/dynamic_dictionaries/index.md +28 -22
- package/docs/ja/dynamic_dictionaries/variants.md +277 -19
- package/docs/ja/formatters.md +77 -0
- package/docs/ja/how_works_intlayer.md +4 -2
- package/docs/ja/intlayer_CMS.md +6 -0
- package/docs/ja/intlayer_visual_editor.md +0 -4
- package/docs/ja/intlayer_with_adonisjs.md +20 -4
- package/docs/ja/intlayer_with_analog.md +29 -5
- package/docs/ja/intlayer_with_angular_19.md +20 -4
- package/docs/ja/intlayer_with_angular_21.md +20 -4
- package/docs/ja/intlayer_with_astro.md +131 -2
- package/docs/ja/intlayer_with_astro_lit.md +23 -9
- package/docs/ja/intlayer_with_astro_preact.md +23 -9
- package/docs/ja/intlayer_with_astro_react.md +23 -9
- package/docs/ja/intlayer_with_astro_solid.md +23 -9
- package/docs/ja/intlayer_with_astro_svelte.md +23 -9
- package/docs/ja/intlayer_with_astro_vanilla.md +23 -9
- package/docs/ja/intlayer_with_astro_vue.md +23 -9
- package/docs/ja/intlayer_with_create_react_app.md +20 -20
- package/docs/ja/intlayer_with_express.md +20 -8
- package/docs/ja/intlayer_with_fastify.md +20 -8
- package/docs/ja/intlayer_with_hono.md +20 -4
- package/docs/ja/intlayer_with_lynx+react.md +26 -5
- package/docs/ja/intlayer_with_nestjs.md +20 -12
- package/docs/ja/intlayer_with_next-i18next.md +20 -4
- package/docs/ja/intlayer_with_nextjs_14.md +46 -24
- package/docs/ja/intlayer_with_nextjs_15.md +41 -5
- package/docs/ja/intlayer_with_nextjs_16.md +198 -58
- package/docs/ja/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ja/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ja/intlayer_with_nuxt.md +25 -7
- package/docs/ja/intlayer_with_react_native+expo.md +139 -137
- package/docs/ja/intlayer_with_react_router_v7.md +9 -26
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ja/intlayer_with_storybook.md +7 -1
- package/docs/ja/intlayer_with_svelte_kit.md +14 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ja/intlayer_with_tanstack.md +39 -14
- package/docs/ja/intlayer_with_vite+lit.md +34 -9
- package/docs/ja/intlayer_with_vite+preact.md +709 -1
- package/docs/ja/intlayer_with_vite+react.md +293 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ja/intlayer_with_vite+solid.md +56 -47
- package/docs/ja/intlayer_with_vite+svelte.md +54 -36
- package/docs/ja/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ja/intlayer_with_vite+vue.md +99 -122
- package/docs/ja/mcp_server.md +26 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ja/packages/@intlayer_babel/export.md +131 -0
- package/docs/ja/packages/angular-intlayer/exports.md +13 -9
- package/docs/ja/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ja/packages/express-intlayer/t.md +0 -9
- package/docs/ja/packages/intlayer/comparePaths.md +173 -0
- package/docs/ja/packages/intlayer/exports.md +5 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ja/packages/next-intlayer/exports.md +4 -0
- package/docs/ja/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ja/packages/preact-intlayer/exports.md +10 -6
- package/docs/ja/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ja/packages/react-intlayer/exports.md +21 -16
- package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
- package/docs/ja/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
- package/docs/ja/packages/solid-intlayer/exports.md +4 -0
- package/docs/ja/packages/solid-intlayer/usePathname.md +120 -0
- package/docs/ja/packages/svelte-intlayer/exports.md +13 -9
- package/docs/ja/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ja/packages/vue-intlayer/exports.md +4 -0
- package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ja/plugins/sync-json.md +221 -49
- package/docs/ja/releases/v6.md +28 -0
- package/docs/ja/releases/v7.md +128 -0
- package/docs/ja/releases/v8.md +193 -4
- package/docs/ja/releases/v9.md +316 -0
- package/docs/ja/roadmap.md +6 -0
- package/docs/ko/CI_CD.md +4 -0
- package/docs/ko/autoFill.md +81 -0
- package/docs/ko/benchmark/solid.md +22 -0
- package/docs/ko/benchmark/svelte.md +22 -0
- package/docs/ko/benchmark/tanstack.md +22 -0
- package/docs/ko/cli/ci.md +22 -0
- package/docs/ko/cli/doc-review.md +110 -4
- package/docs/ko/cli/fill.md +8 -0
- package/docs/ko/cli/index.md +1 -1
- package/docs/ko/cli/login.md +0 -36
- package/docs/ko/cli/scan.md +1 -1
- package/docs/ko/compat/i18n-js.md +44 -0
- package/docs/ko/compat/i18next.md +59 -0
- package/docs/ko/compat/index.md +51 -0
- package/docs/ko/compat/lingui.md +44 -0
- package/docs/ko/compat/next-i18next.md +55 -0
- package/docs/ko/compat/next-intl.md +59 -0
- package/docs/ko/compat/next-translate.md +45 -0
- package/docs/ko/compat/ngx-translate.md +45 -0
- package/docs/ko/compat/nuxtjs-i18n.md +46 -0
- package/docs/ko/compat/polyglot.md +45 -0
- package/docs/ko/compat/react-i18next.md +58 -0
- package/docs/ko/compat/react-intl.md +55 -0
- package/docs/ko/compat/svelte-i18n.md +47 -0
- package/docs/ko/compat/transloco.md +45 -0
- package/docs/ko/compat/vue-i18n.md +58 -0
- package/docs/ko/compiler.md +9 -4
- package/docs/ko/configuration.md +67 -32
- package/docs/ko/custom_domains.md +9 -3
- package/docs/ko/custom_url_rewrites.md +9 -3
- package/docs/ko/dictionary/condition.md +167 -5
- package/docs/ko/dictionary/content_file.md +4 -27
- package/docs/ko/dictionary/enumeration.md +353 -6
- package/docs/ko/dictionary/file.md +151 -1
- package/docs/ko/dictionary/gender.md +168 -7
- package/docs/ko/dictionary/insertion.md +0 -6
- package/docs/ko/dictionary/nesting.md +187 -40
- package/docs/ko/dictionary/plurial.md +174 -5
- package/docs/ko/dictionary/translation.md +142 -65
- package/docs/ko/dynamic_dictionaries/collections.md +1 -1
- package/docs/ko/dynamic_dictionaries/index.md +24 -18
- package/docs/ko/dynamic_dictionaries/variants.md +274 -16
- package/docs/ko/formatters.md +71 -0
- package/docs/ko/how_works_intlayer.md +4 -0
- package/docs/ko/intlayer_CMS.md +6 -0
- package/docs/ko/intlayer_visual_editor.md +0 -2
- package/docs/ko/intlayer_with_adonisjs.md +20 -4
- package/docs/ko/intlayer_with_analog.md +51 -11
- package/docs/ko/intlayer_with_angular_19.md +42 -10
- package/docs/ko/intlayer_with_angular_21.md +42 -10
- package/docs/ko/intlayer_with_astro.md +159 -10
- package/docs/ko/intlayer_with_astro_lit.md +35 -11
- package/docs/ko/intlayer_with_astro_preact.md +35 -11
- package/docs/ko/intlayer_with_astro_react.md +35 -11
- package/docs/ko/intlayer_with_astro_solid.md +35 -11
- package/docs/ko/intlayer_with_astro_svelte.md +35 -11
- package/docs/ko/intlayer_with_astro_vanilla.md +32 -10
- package/docs/ko/intlayer_with_astro_vue.md +55 -19
- package/docs/ko/intlayer_with_create_react_app.md +39 -23
- package/docs/ko/intlayer_with_express.md +20 -27
- package/docs/ko/intlayer_with_fastify.md +20 -8
- package/docs/ko/intlayer_with_hono.md +20 -4
- package/docs/ko/intlayer_with_lynx+react.md +6 -109
- package/docs/ko/intlayer_with_nestjs.md +20 -22
- package/docs/ko/intlayer_with_next-i18next.md +20 -4
- package/docs/ko/intlayer_with_nextjs_14.md +59 -25
- package/docs/ko/intlayer_with_nextjs_15.md +84 -18
- package/docs/ko/intlayer_with_nextjs_16.md +230 -67
- package/docs/ko/intlayer_with_nextjs_compiler.md +34 -297
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +51 -15
- package/docs/ko/intlayer_with_nextjs_page_router.md +62 -16
- package/docs/ko/intlayer_with_nuxt.md +54 -14
- package/docs/ko/intlayer_with_react_native+expo.md +134 -137
- package/docs/ko/intlayer_with_react_router_v7.md +61 -105
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +80 -106
- package/docs/ko/intlayer_with_storybook.md +35 -9
- package/docs/ko/intlayer_with_svelte_kit.md +53 -182
- package/docs/ko/intlayer_with_tanstack+solid.md +97 -32
- package/docs/ko/intlayer_with_tanstack.md +96 -31
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +74 -21
- package/docs/ko/intlayer_with_vite+preact.md +110 -100
- package/docs/ko/intlayer_with_vite+react.md +127 -484
- package/docs/ko/intlayer_with_vite+react_compiler.md +52 -13
- package/docs/ko/intlayer_with_vite+solid.md +86 -154
- package/docs/ko/intlayer_with_vite+svelte.md +83 -45
- package/docs/ko/intlayer_with_vite+vanilla.md +80 -23
- package/docs/ko/intlayer_with_vite+vue.md +114 -119
- package/docs/ko/mcp_server.md +22 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ko/packages/@intlayer_babel/export.md +131 -0
- package/docs/ko/packages/angular-intlayer/exports.md +14 -10
- package/docs/ko/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/express-intlayer/t.md +0 -9
- package/docs/ko/packages/intlayer/comparePaths.md +173 -0
- package/docs/ko/packages/intlayer/exports.md +5 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ko/packages/next-intlayer/exports.md +4 -0
- package/docs/ko/packages/next-intlayer/t.md +34 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
- package/docs/ko/packages/next-intlayer/usePathname.md +140 -0
- package/docs/ko/packages/preact-intlayer/exports.md +10 -6
- package/docs/ko/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ko/packages/react-intlayer/exports.md +4 -0
- package/docs/ko/packages/react-intlayer/t.md +0 -20
- package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ko/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ko/packages/solid-intlayer/exports.md +4 -0
- package/docs/ko/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ko/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ko/packages/vue-intlayer/exports.md +4 -0
- package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ko/plugins/sync-json.md +222 -50
- package/docs/ko/releases/v6.md +28 -0
- package/docs/ko/releases/v7.md +128 -0
- package/docs/ko/releases/v8.md +192 -1
- package/docs/ko/releases/v9.md +316 -0
- package/docs/ko/roadmap.md +6 -0
- package/docs/nl/cli/index.md +1 -1
- package/docs/nl/cli/scan.md +1 -1
- package/docs/nl/configuration.md +36 -3
- package/docs/nl/custom_domains.md +8 -2
- package/docs/nl/intlayer_with_angular_21.md +20 -4
- package/docs/nl/intlayer_with_fastify.md +20 -8
- package/docs/nl/intlayer_with_hono.md +20 -4
- package/docs/nl/intlayer_with_storybook.md +7 -1
- package/docs/nl/intlayer_with_vite+lit.md +28 -6
- package/docs/nl/intlayer_with_vite+vanilla.md +36 -9
- package/docs/nl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/autoFill.md +20 -0
- package/docs/pl/benchmark/___NOTE.md +101 -0
- package/docs/pl/benchmark/___nextjs.md +198 -0
- package/docs/pl/benchmark/___solid.md +36 -0
- package/docs/pl/benchmark/___svelte.md +36 -0
- package/docs/pl/benchmark/___tanstack.md +36 -0
- package/docs/pl/benchmark/___vue.md +36 -0
- package/docs/pl/benchmark/solid.md +22 -0
- package/docs/pl/benchmark/svelte.md +22 -0
- package/docs/pl/benchmark/tanstack.md +22 -0
- package/docs/pl/cli/ci.md +22 -0
- package/docs/pl/cli/doc-review.md +110 -4
- package/docs/pl/cli/fill.md +8 -0
- package/docs/pl/cli/index.md +1 -1
- package/docs/pl/cli/login.md +0 -36
- package/docs/pl/cli/scan.md +1 -1
- package/docs/pl/compat/i18n-js.md +44 -0
- package/docs/pl/compat/i18next.md +59 -0
- package/docs/pl/compat/index.md +51 -0
- package/docs/pl/compat/lingui.md +44 -0
- package/docs/pl/compat/next-i18next.md +57 -0
- package/docs/pl/compat/next-intl.md +59 -0
- package/docs/pl/compat/next-translate.md +45 -0
- package/docs/pl/compat/ngx-translate.md +45 -0
- package/docs/pl/compat/nuxtjs-i18n.md +46 -0
- package/docs/pl/compat/polyglot.md +45 -0
- package/docs/pl/compat/react-i18next.md +58 -0
- package/docs/pl/compat/react-intl.md +55 -0
- package/docs/pl/compat/svelte-i18n.md +47 -0
- package/docs/pl/compat/transloco.md +45 -0
- package/docs/pl/compat/vue-i18n.md +58 -0
- package/docs/pl/compiler.md +6 -3
- package/docs/pl/configuration.md +50 -18
- package/docs/pl/custom_domains.md +8 -2
- package/docs/pl/custom_url_rewrites.md +8 -2
- package/docs/pl/dictionary/condition.md +167 -5
- package/docs/pl/dictionary/content_file.md +0 -40
- package/docs/pl/dictionary/enumeration.md +353 -6
- package/docs/pl/dictionary/file.md +318 -2
- package/docs/pl/dictionary/gender.md +168 -7
- package/docs/pl/dictionary/nesting.md +187 -40
- package/docs/pl/dictionary/plurial.md +174 -5
- package/docs/pl/dictionary/translation.md +146 -53
- package/docs/pl/dynamic_dictionaries/collections.md +1 -1
- package/docs/pl/dynamic_dictionaries/index.md +27 -21
- package/docs/pl/dynamic_dictionaries/variants.md +276 -18
- package/docs/pl/formatters.md +120 -0
- package/docs/pl/intlayer_with_adonisjs.md +20 -4
- package/docs/pl/intlayer_with_analog.md +25 -5
- package/docs/pl/intlayer_with_angular_19.md +20 -4
- package/docs/pl/intlayer_with_angular_21.md +20 -4
- package/docs/pl/intlayer_with_astro.md +182 -1
- package/docs/pl/intlayer_with_astro_lit.md +23 -9
- package/docs/pl/intlayer_with_astro_preact.md +23 -9
- package/docs/pl/intlayer_with_astro_react.md +23 -9
- package/docs/pl/intlayer_with_astro_solid.md +23 -9
- package/docs/pl/intlayer_with_astro_svelte.md +23 -9
- package/docs/pl/intlayer_with_astro_vanilla.md +23 -9
- package/docs/pl/intlayer_with_astro_vue.md +23 -9
- package/docs/pl/intlayer_with_create_react_app.md +20 -4
- package/docs/pl/intlayer_with_express.md +20 -4
- package/docs/pl/intlayer_with_fastify.md +20 -8
- package/docs/pl/intlayer_with_hono.md +20 -4
- package/docs/pl/intlayer_with_lynx+react.md +26 -5
- package/docs/pl/intlayer_with_nestjs.md +20 -4
- package/docs/pl/intlayer_with_next-i18next.md +20 -4
- package/docs/pl/intlayer_with_nextjs_14.md +20 -4
- package/docs/pl/intlayer_with_nextjs_15.md +20 -4
- package/docs/pl/intlayer_with_nextjs_16.md +22 -4
- package/docs/pl/intlayer_with_nextjs_compiler.md +22 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/pl/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/pl/intlayer_with_nuxt.md +25 -7
- package/docs/pl/intlayer_with_react_native+expo.md +75 -78
- package/docs/pl/intlayer_with_react_router_v7.md +23 -99
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -96
- package/docs/pl/intlayer_with_storybook.md +7 -1
- package/docs/pl/intlayer_with_svelte_kit.md +15 -188
- package/docs/pl/intlayer_with_tanstack+solid.md +38 -13
- package/docs/pl/intlayer_with_tanstack.md +37 -12
- package/docs/pl/intlayer_with_vite+lit.md +28 -6
- package/docs/pl/intlayer_with_vite+preact.md +79 -61
- package/docs/pl/intlayer_with_vite+react.md +77 -56
- package/docs/pl/intlayer_with_vite+react_compiler.md +29 -6
- package/docs/pl/intlayer_with_vite+solid.md +55 -46
- package/docs/pl/intlayer_with_vite+svelte.md +52 -34
- package/docs/pl/intlayer_with_vite+vanilla.md +36 -9
- package/docs/pl/intlayer_with_vite+vue.md +77 -78
- package/docs/pl/mcp_server.md +22 -0
- package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
- package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
- package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
- package/docs/pl/packages/@intlayer_babel/export.md +131 -0
- package/docs/pl/packages/angular-intlayer/exports.md +13 -9
- package/docs/pl/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/packages/intlayer/exports.md +5 -0
- package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
- package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/pl/packages/next-intlayer/exports.md +4 -0
- package/docs/pl/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pl/packages/preact-intlayer/exports.md +10 -6
- package/docs/pl/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pl/packages/react-intlayer/exports.md +4 -0
- package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pl/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pl/packages/solid-intlayer/exports.md +4 -0
- package/docs/pl/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pl/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pl/packages/vue-intlayer/exports.md +4 -0
- package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pl/plugins/sync-json.md +222 -50
- package/docs/pl/releases/v6.md +4 -0
- package/docs/pl/releases/v7.md +128 -0
- package/docs/pl/releases/v8.md +188 -2
- package/docs/pl/releases/v9.md +316 -0
- package/docs/pl/roadmap.md +0 -16
- package/docs/pt/CI_CD.md +4 -0
- package/docs/pt/autoFill.md +117 -14
- package/docs/pt/benchmark/index.md +5 -5
- package/docs/pt/benchmark/solid.md +22 -0
- package/docs/pt/benchmark/svelte.md +22 -0
- package/docs/pt/benchmark/tanstack.md +22 -0
- package/docs/pt/cli/ci.md +22 -0
- package/docs/pt/cli/doc-review.md +110 -4
- package/docs/pt/cli/fill.md +8 -0
- package/docs/pt/cli/index.md +1 -1
- package/docs/pt/cli/login.md +0 -36
- package/docs/pt/cli/scan.md +1 -1
- package/docs/pt/compat/i18n-js.md +44 -0
- package/docs/pt/compat/i18next.md +59 -0
- package/docs/pt/compat/index.md +51 -0
- package/docs/pt/compat/lingui.md +44 -0
- package/docs/pt/compat/next-i18next.md +57 -0
- package/docs/pt/compat/next-intl.md +59 -0
- package/docs/pt/compat/next-translate.md +45 -0
- package/docs/pt/compat/ngx-translate.md +45 -0
- package/docs/pt/compat/nuxtjs-i18n.md +46 -0
- package/docs/pt/compat/polyglot.md +45 -0
- package/docs/pt/compat/react-i18next.md +58 -0
- package/docs/pt/compat/react-intl.md +55 -0
- package/docs/pt/compat/svelte-i18n.md +47 -0
- package/docs/pt/compat/transloco.md +45 -0
- package/docs/pt/compat/vue-i18n.md +58 -0
- package/docs/pt/compiler.md +8 -5
- package/docs/pt/configuration.md +65 -33
- package/docs/pt/custom_domains.md +9 -8
- package/docs/pt/custom_url_rewrites.md +9 -3
- package/docs/pt/dictionary/condition.md +167 -5
- package/docs/pt/dictionary/content_file.md +4 -7
- package/docs/pt/dictionary/enumeration.md +353 -6
- package/docs/pt/dictionary/file.md +159 -1
- package/docs/pt/dictionary/gender.md +168 -7
- package/docs/pt/dictionary/nesting.md +187 -40
- package/docs/pt/dictionary/plurial.md +347 -7
- package/docs/pt/dictionary/translation.md +146 -53
- package/docs/pt/dynamic_dictionaries/collections.md +1 -1
- package/docs/pt/dynamic_dictionaries/index.md +26 -20
- package/docs/pt/dynamic_dictionaries/variants.md +277 -19
- package/docs/pt/formatters.md +86 -0
- package/docs/pt/how_works_intlayer.md +4 -0
- package/docs/pt/intlayer_CMS.md +21 -0
- package/docs/pt/intlayer_with_adonisjs.md +20 -4
- package/docs/pt/intlayer_with_analog.md +28 -8
- package/docs/pt/intlayer_with_angular_19.md +27 -11
- package/docs/pt/intlayer_with_angular_21.md +23 -7
- package/docs/pt/intlayer_with_astro.md +185 -4
- package/docs/pt/intlayer_with_astro_lit.md +26 -12
- package/docs/pt/intlayer_with_astro_preact.md +26 -12
- package/docs/pt/intlayer_with_astro_react.md +26 -12
- package/docs/pt/intlayer_with_astro_solid.md +26 -12
- package/docs/pt/intlayer_with_astro_svelte.md +26 -12
- package/docs/pt/intlayer_with_astro_vanilla.md +26 -12
- package/docs/pt/intlayer_with_astro_vue.md +26 -12
- package/docs/pt/intlayer_with_create_react_app.md +20 -18
- package/docs/pt/intlayer_with_express.md +20 -27
- package/docs/pt/intlayer_with_fastify.md +20 -8
- package/docs/pt/intlayer_with_hono.md +20 -4
- package/docs/pt/intlayer_with_lynx+react.md +40 -8
- package/docs/pt/intlayer_with_nestjs.md +20 -22
- package/docs/pt/intlayer_with_next-i18next.md +20 -4
- package/docs/pt/intlayer_with_nextjs_14.md +46 -11
- package/docs/pt/intlayer_with_nextjs_15.md +47 -11
- package/docs/pt/intlayer_with_nextjs_16.md +28 -10
- package/docs/pt/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +26 -10
- package/docs/pt/intlayer_with_nextjs_page_router.md +30 -10
- package/docs/pt/intlayer_with_nuxt.md +28 -10
- package/docs/pt/intlayer_with_react_native+expo.md +85 -65
- package/docs/pt/intlayer_with_react_router_v7.md +36 -91
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -99
- package/docs/pt/intlayer_with_storybook.md +10 -4
- package/docs/pt/intlayer_with_svelte_kit.md +18 -223
- package/docs/pt/intlayer_with_tanstack+solid.md +41 -16
- package/docs/pt/intlayer_with_tanstack.md +40 -15
- package/docs/pt/intlayer_with_vanilla.md +3 -3
- package/docs/pt/intlayer_with_vite+lit.md +36 -11
- package/docs/pt/intlayer_with_vite+preact.md +26 -8
- package/docs/pt/intlayer_with_vite+react.md +39 -18
- package/docs/pt/intlayer_with_vite+react_compiler.md +34 -11
- package/docs/pt/intlayer_with_vite+solid.md +26 -8
- package/docs/pt/intlayer_with_vite+svelte.md +55 -37
- package/docs/pt/intlayer_with_vite+vanilla.md +39 -12
- package/docs/pt/intlayer_with_vite+vue.md +36 -11
- package/docs/pt/mcp_server.md +22 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/pt/packages/@intlayer_babel/export.md +131 -0
- package/docs/pt/packages/angular-intlayer/exports.md +14 -10
- package/docs/pt/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/hono-intlayer/t.md +1 -1
- package/docs/pt/packages/intlayer/comparePaths.md +173 -0
- package/docs/pt/packages/intlayer/exports.md +5 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/pt/packages/next-intlayer/exports.md +4 -0
- package/docs/pt/packages/next-intlayer/t.md +34 -0
- package/docs/pt/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pt/packages/preact-intlayer/exports.md +10 -6
- package/docs/pt/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pt/packages/react-intlayer/exports.md +21 -17
- package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pt/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pt/packages/solid-intlayer/exports.md +4 -0
- package/docs/pt/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pt/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pt/packages/vue-intlayer/exports.md +5 -1
- package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pt/plugins/sync-json.md +221 -49
- package/docs/pt/plugins/sync-po.md +1 -1
- package/docs/pt/readme.md +3 -3
- package/docs/pt/releases/v6.md +28 -0
- package/docs/pt/releases/v7.md +128 -0
- package/docs/pt/releases/v8.md +187 -1
- package/docs/pt/releases/v9.md +316 -0
- package/docs/pt/roadmap.md +6 -0
- package/docs/ru/CI_CD.md +4 -0
- package/docs/ru/autoFill.md +81 -0
- package/docs/ru/benchmark/solid.md +22 -0
- package/docs/ru/benchmark/svelte.md +22 -0
- package/docs/ru/benchmark/tanstack.md +22 -0
- package/docs/ru/cli/ci.md +22 -0
- package/docs/ru/cli/doc-review.md +110 -4
- package/docs/ru/cli/fill.md +8 -0
- package/docs/ru/cli/index.md +1 -1
- package/docs/ru/cli/login.md +0 -36
- package/docs/ru/cli/scan.md +1 -1
- package/docs/ru/compat/i18n-js.md +44 -0
- package/docs/ru/compat/i18next.md +59 -0
- package/docs/ru/compat/index.md +51 -0
- package/docs/ru/compat/lingui.md +44 -0
- package/docs/ru/compat/next-i18next.md +57 -0
- package/docs/ru/compat/next-intl.md +59 -0
- package/docs/ru/compat/next-translate.md +45 -0
- package/docs/ru/compat/ngx-translate.md +45 -0
- package/docs/ru/compat/nuxtjs-i18n.md +46 -0
- package/docs/ru/compat/polyglot.md +45 -0
- package/docs/ru/compat/react-i18next.md +58 -0
- package/docs/ru/compat/react-intl.md +55 -0
- package/docs/ru/compat/svelte-i18n.md +47 -0
- package/docs/ru/compat/transloco.md +45 -0
- package/docs/ru/compat/vue-i18n.md +58 -0
- package/docs/ru/compiler.md +9 -4
- package/docs/ru/configuration.md +53 -18
- package/docs/ru/custom_domains.md +9 -3
- package/docs/ru/custom_url_rewrites.md +9 -3
- package/docs/ru/dictionary/condition.md +366 -39
- package/docs/ru/dictionary/content_file.md +4 -27
- package/docs/ru/dictionary/enumeration.md +584 -13
- package/docs/ru/dictionary/file.md +326 -2
- package/docs/ru/dictionary/gender.md +168 -7
- package/docs/ru/dictionary/markdown.md +510 -0
- package/docs/ru/dictionary/nesting.md +376 -71
- package/docs/ru/dictionary/plurial.md +347 -7
- package/docs/ru/dictionary/translation.md +316 -89
- package/docs/ru/dynamic_dictionaries/collections.md +1 -1
- package/docs/ru/dynamic_dictionaries/index.md +26 -20
- package/docs/ru/dynamic_dictionaries/variants.md +278 -20
- package/docs/ru/formatters.md +136 -0
- package/docs/ru/how_works_intlayer.md +4 -0
- package/docs/ru/intlayer_CMS.md +6 -0
- package/docs/ru/intlayer_with_adonisjs.md +20 -4
- package/docs/ru/intlayer_with_analog.md +25 -5
- package/docs/ru/intlayer_with_angular_19.md +20 -4
- package/docs/ru/intlayer_with_angular_21.md +20 -4
- package/docs/ru/intlayer_with_astro.md +132 -3
- package/docs/ru/intlayer_with_astro_lit.md +4 -2
- package/docs/ru/intlayer_with_astro_preact.md +4 -2
- package/docs/ru/intlayer_with_astro_react.md +4 -2
- package/docs/ru/intlayer_with_astro_solid.md +4 -2
- package/docs/ru/intlayer_with_astro_svelte.md +4 -2
- package/docs/ru/intlayer_with_astro_vanilla.md +4 -2
- package/docs/ru/intlayer_with_astro_vue.md +24 -10
- package/docs/ru/intlayer_with_create_react_app.md +20 -4
- package/docs/ru/intlayer_with_express.md +20 -27
- package/docs/ru/intlayer_with_fastify.md +20 -8
- package/docs/ru/intlayer_with_hono.md +20 -4
- package/docs/ru/intlayer_with_lynx+react.md +26 -5
- package/docs/ru/intlayer_with_nestjs.md +20 -22
- package/docs/ru/intlayer_with_next-i18next.md +20 -4
- package/docs/ru/intlayer_with_nextjs_14.md +51 -12
- package/docs/ru/intlayer_with_nextjs_15.md +41 -5
- package/docs/ru/intlayer_with_nextjs_16.md +23 -5
- package/docs/ru/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ru/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ru/intlayer_with_nuxt.md +25 -7
- package/docs/ru/intlayer_with_react_native+expo.md +90 -71
- package/docs/ru/intlayer_with_react_router_v7.md +24 -100
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ru/intlayer_with_storybook.md +7 -1
- package/docs/ru/intlayer_with_svelte_kit.md +16 -185
- package/docs/ru/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ru/intlayer_with_tanstack.md +38 -13
- package/docs/ru/intlayer_with_vite+lit.md +34 -9
- package/docs/ru/intlayer_with_vite+preact.md +80 -62
- package/docs/ru/intlayer_with_vite+react.md +80 -56
- package/docs/ru/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ru/intlayer_with_vite+solid.md +56 -47
- package/docs/ru/intlayer_with_vite+svelte.md +51 -35
- package/docs/ru/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ru/intlayer_with_vite+vue.md +82 -109
- package/docs/ru/mcp_server.md +22 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ru/packages/@intlayer_babel/export.md +131 -0
- package/docs/ru/packages/angular-intlayer/exports.md +13 -9
- package/docs/ru/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/intlayer/comparePaths.md +173 -0
- package/docs/ru/packages/intlayer/exports.md +5 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ru/packages/next-intlayer/exports.md +4 -0
- package/docs/ru/packages/next-intlayer/t.md +34 -0
- package/docs/ru/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ru/packages/preact-intlayer/exports.md +10 -6
- package/docs/ru/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ru/packages/react-intlayer/exports.md +4 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
- package/docs/ru/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
- package/docs/ru/packages/solid-intlayer/exports.md +4 -0
- package/docs/ru/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ru/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ru/packages/vue-intlayer/exports.md +4 -0
- package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ru/plugins/sync-json.md +268 -95
- package/docs/ru/releases/v6.md +28 -0
- package/docs/ru/releases/v7.md +128 -0
- package/docs/ru/releases/v8.md +194 -2
- package/docs/ru/releases/v9.md +316 -0
- package/docs/ru/roadmap.md +6 -0
- package/docs/tr/CI_CD.md +4 -0
- package/docs/tr/autoFill.md +81 -0
- package/docs/tr/benchmark/solid.md +22 -0
- package/docs/tr/benchmark/svelte.md +22 -0
- package/docs/tr/benchmark/tanstack.md +22 -0
- package/docs/tr/cli/ci.md +22 -0
- package/docs/tr/cli/doc-review.md +110 -4
- package/docs/tr/cli/fill.md +8 -0
- package/docs/tr/cli/index.md +1 -1
- package/docs/tr/cli/login.md +0 -10
- package/docs/tr/cli/scan.md +1 -1
- package/docs/tr/compat/i18n-js.md +44 -0
- package/docs/tr/compat/i18next.md +59 -0
- package/docs/tr/compat/index.md +51 -0
- package/docs/tr/compat/lingui.md +44 -0
- package/docs/tr/compat/next-i18next.md +57 -0
- package/docs/tr/compat/next-intl.md +59 -0
- package/docs/tr/compat/next-translate.md +45 -0
- package/docs/tr/compat/ngx-translate.md +45 -0
- package/docs/tr/compat/nuxtjs-i18n.md +46 -0
- package/docs/tr/compat/polyglot.md +45 -0
- package/docs/tr/compat/react-i18next.md +58 -0
- package/docs/tr/compat/react-intl.md +55 -0
- package/docs/tr/compat/svelte-i18n.md +47 -0
- package/docs/tr/compat/transloco.md +45 -0
- package/docs/tr/compat/vue-i18n.md +58 -0
- package/docs/tr/compiler.md +9 -4
- package/docs/tr/configuration.md +53 -18
- package/docs/tr/custom_domains.md +9 -3
- package/docs/tr/custom_url_rewrites.md +9 -3
- package/docs/tr/dictionary/condition.md +167 -5
- package/docs/tr/dictionary/content_file.md +4 -27
- package/docs/tr/dictionary/enumeration.md +353 -6
- package/docs/tr/dictionary/file.md +159 -1
- package/docs/tr/dictionary/gender.md +168 -7
- package/docs/tr/dictionary/nesting.md +187 -40
- package/docs/tr/dictionary/plurial.md +174 -5
- package/docs/tr/dictionary/translation.md +142 -76
- package/docs/tr/dynamic_dictionaries/collections.md +1 -1
- package/docs/tr/dynamic_dictionaries/index.md +28 -22
- package/docs/tr/dynamic_dictionaries/variants.md +275 -17
- package/docs/tr/formatters.md +59 -0
- package/docs/tr/how_works_intlayer.md +4 -0
- package/docs/tr/intlayer_CMS.md +6 -0
- package/docs/tr/intlayer_with_adonisjs.md +20 -4
- package/docs/tr/intlayer_with_analog.md +29 -5
- package/docs/tr/intlayer_with_angular_19.md +20 -4
- package/docs/tr/intlayer_with_angular_21.md +20 -4
- package/docs/tr/intlayer_with_astro.md +134 -77
- package/docs/tr/intlayer_with_astro_lit.md +24 -10
- package/docs/tr/intlayer_with_astro_preact.md +24 -10
- package/docs/tr/intlayer_with_astro_react.md +24 -10
- package/docs/tr/intlayer_with_astro_solid.md +24 -10
- package/docs/tr/intlayer_with_astro_svelte.md +24 -10
- package/docs/tr/intlayer_with_astro_vanilla.md +24 -10
- package/docs/tr/intlayer_with_astro_vue.md +24 -10
- package/docs/tr/intlayer_with_create_react_app.md +20 -4
- package/docs/tr/intlayer_with_express.md +20 -8
- package/docs/tr/intlayer_with_fastify.md +20 -8
- package/docs/tr/intlayer_with_hono.md +20 -4
- package/docs/tr/intlayer_with_lynx+react.md +26 -5
- package/docs/tr/intlayer_with_nestjs.md +20 -12
- package/docs/tr/intlayer_with_next-i18next.md +20 -4
- package/docs/tr/intlayer_with_nextjs_14.md +115 -12
- package/docs/tr/intlayer_with_nextjs_15.md +41 -5
- package/docs/tr/intlayer_with_nextjs_16.md +23 -5
- package/docs/tr/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/tr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/tr/intlayer_with_nuxt.md +25 -7
- package/docs/tr/intlayer_with_react_native+expo.md +80 -79
- package/docs/tr/intlayer_with_react_router_v7.md +24 -100
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/tr/intlayer_with_storybook.md +7 -1
- package/docs/tr/intlayer_with_svelte_kit.md +16 -185
- package/docs/tr/intlayer_with_tanstack+solid.md +39 -14
- package/docs/tr/intlayer_with_tanstack.md +38 -13
- package/docs/tr/intlayer_with_vite+lit.md +29 -7
- package/docs/tr/intlayer_with_vite+preact.md +80 -62
- package/docs/tr/intlayer_with_vite+react.md +78 -57
- package/docs/tr/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/tr/intlayer_with_vite+solid.md +56 -47
- package/docs/tr/intlayer_with_vite+svelte.md +51 -35
- package/docs/tr/intlayer_with_vite+vanilla.md +37 -10
- package/docs/tr/intlayer_with_vite+vue.md +83 -110
- package/docs/tr/mcp_server.md +22 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/tr/packages/@intlayer_babel/export.md +131 -0
- package/docs/tr/packages/angular-intlayer/exports.md +13 -9
- package/docs/tr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/intlayer/comparePaths.md +173 -0
- package/docs/tr/packages/intlayer/exports.md +18 -13
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/tr/packages/next-intlayer/exports.md +4 -0
- package/docs/tr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/tr/packages/preact-intlayer/exports.md +10 -6
- package/docs/tr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/tr/packages/react-intlayer/exports.md +4 -0
- package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
- package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/tr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
- package/docs/tr/packages/solid-intlayer/exports.md +4 -0
- package/docs/tr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/svelte-intlayer/exports.md +13 -9
- package/docs/tr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/tr/packages/vue-intlayer/exports.md +4 -0
- package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/tr/plugins/sync-json.md +221 -50
- package/docs/tr/releases/v6.md +28 -0
- package/docs/tr/releases/v7.md +128 -0
- package/docs/tr/releases/v8.md +187 -1
- package/docs/tr/releases/v9.md +316 -0
- package/docs/tr/roadmap.md +6 -0
- package/docs/uk/benchmark/solid.md +22 -0
- package/docs/uk/benchmark/svelte.md +22 -0
- package/docs/uk/benchmark/tanstack.md +22 -0
- package/docs/uk/cli/ci.md +22 -0
- package/docs/uk/cli/doc-review.md +110 -4
- package/docs/uk/cli/fill.md +8 -0
- package/docs/uk/cli/index.md +1 -1
- package/docs/uk/cli/scan.md +1 -1
- package/docs/uk/compat/i18n-js.md +44 -0
- package/docs/uk/compat/i18next.md +59 -0
- package/docs/uk/compat/index.md +51 -0
- package/docs/uk/compat/lingui.md +44 -0
- package/docs/uk/compat/next-i18next.md +57 -0
- package/docs/uk/compat/next-intl.md +59 -0
- package/docs/uk/compat/next-translate.md +45 -0
- package/docs/uk/compat/ngx-translate.md +45 -0
- package/docs/uk/compat/nuxtjs-i18n.md +46 -0
- package/docs/uk/compat/polyglot.md +45 -0
- package/docs/uk/compat/react-i18next.md +58 -0
- package/docs/uk/compat/react-intl.md +55 -0
- package/docs/uk/compat/svelte-i18n.md +47 -0
- package/docs/uk/compat/transloco.md +45 -0
- package/docs/uk/compat/vue-i18n.md +58 -0
- package/docs/uk/compiler.md +9 -4
- package/docs/uk/configuration.md +53 -18
- package/docs/uk/custom_domains.md +9 -3
- package/docs/uk/custom_url_rewrites.md +9 -3
- package/docs/uk/dictionary/condition.md +167 -5
- package/docs/uk/dictionary/content_file.md +0 -7
- package/docs/uk/dictionary/enumeration.md +353 -6
- package/docs/uk/dictionary/file.md +318 -2
- package/docs/uk/dictionary/gender.md +381 -8
- package/docs/uk/dictionary/nesting.md +186 -39
- package/docs/uk/dictionary/plurial.md +174 -5
- package/docs/uk/dictionary/translation.md +146 -64
- package/docs/uk/dynamic_dictionaries/collections.md +1 -1
- package/docs/uk/dynamic_dictionaries/index.md +26 -20
- package/docs/uk/dynamic_dictionaries/variants.md +278 -20
- package/docs/uk/formatters.md +142 -58
- package/docs/uk/interest_of_intlayer.md +194 -0
- package/docs/uk/intlayer_with_adonisjs.md +20 -4
- package/docs/uk/intlayer_with_analog.md +29 -5
- package/docs/uk/intlayer_with_angular_19.md +20 -4
- package/docs/uk/intlayer_with_angular_21.md +20 -4
- package/docs/uk/intlayer_with_astro.md +133 -4
- package/docs/uk/intlayer_with_astro_lit.md +24 -10
- package/docs/uk/intlayer_with_astro_preact.md +24 -10
- package/docs/uk/intlayer_with_astro_react.md +24 -10
- package/docs/uk/intlayer_with_astro_solid.md +24 -10
- package/docs/uk/intlayer_with_astro_svelte.md +24 -10
- package/docs/uk/intlayer_with_astro_vanilla.md +24 -10
- package/docs/uk/intlayer_with_astro_vue.md +24 -10
- package/docs/uk/intlayer_with_create_react_app.md +20 -4
- package/docs/uk/intlayer_with_express.md +20 -4
- package/docs/uk/intlayer_with_fastify.md +20 -8
- package/docs/uk/intlayer_with_hono.md +20 -4
- package/docs/uk/intlayer_with_lynx+react.md +26 -5
- package/docs/uk/intlayer_with_nestjs.md +20 -4
- package/docs/uk/intlayer_with_next-i18next.md +20 -4
- package/docs/uk/intlayer_with_nextjs_14.md +21 -5
- package/docs/uk/intlayer_with_nextjs_15.md +21 -5
- package/docs/uk/intlayer_with_nextjs_16.md +23 -5
- package/docs/uk/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/uk/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/uk/intlayer_with_nuxt.md +20 -31
- package/docs/uk/intlayer_with_react_native+expo.md +64 -84
- package/docs/uk/intlayer_with_react_router_v7.md +24 -100
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/uk/intlayer_with_storybook.md +7 -1
- package/docs/uk/intlayer_with_svelte_kit.md +30 -9
- package/docs/uk/intlayer_with_tanstack+solid.md +39 -14
- package/docs/uk/intlayer_with_tanstack.md +38 -13
- package/docs/uk/intlayer_with_vite+lit.md +29 -7
- package/docs/uk/intlayer_with_vite+preact.md +80 -62
- package/docs/uk/intlayer_with_vite+react.md +78 -57
- package/docs/uk/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/uk/intlayer_with_vite+solid.md +56 -47
- package/docs/uk/intlayer_with_vite+svelte.md +58 -37
- package/docs/uk/intlayer_with_vite+vanilla.md +37 -10
- package/docs/uk/intlayer_with_vite+vue.md +78 -109
- package/docs/uk/mcp_server.md +22 -0
- package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/uk/packages/@intlayer_babel/export.md +131 -0
- package/docs/uk/packages/angular-intlayer/exports.md +14 -10
- package/docs/uk/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/intlayer/comparePaths.md +173 -0
- package/docs/uk/packages/intlayer/exports.md +5 -0
- package/docs/uk/packages/next-intlayer/exports.md +4 -0
- package/docs/uk/packages/next-intlayer/usePathname.md +136 -0
- package/docs/uk/packages/preact-intlayer/exports.md +10 -6
- package/docs/uk/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/uk/packages/react-intlayer/exports.md +4 -0
- package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/uk/packages/react-intlayer/usePathname.md +87 -0
- package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
- package/docs/uk/packages/solid-intlayer/exports.md +5 -1
- package/docs/uk/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/svelte-intlayer/exports.md +4 -0
- package/docs/uk/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/uk/packages/vue-intlayer/exports.md +4 -0
- package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/uk/plugins/sync-json.md +56 -3
- package/docs/uk/releases/v6.md +4 -0
- package/docs/uk/releases/v7.md +4 -0
- package/docs/uk/releases/v8.md +191 -3
- package/docs/uk/releases/v9.md +316 -0
- package/docs/ur/cli/index.md +1 -1
- package/docs/ur/cli/scan.md +1 -1
- package/docs/ur/configuration.md +36 -3
- package/docs/ur/custom_domains.md +8 -2
- package/docs/ur/intlayer_with_angular_21.md +20 -4
- package/docs/ur/intlayer_with_fastify.md +20 -8
- package/docs/ur/intlayer_with_hono.md +20 -4
- package/docs/ur/intlayer_with_storybook.md +7 -1
- package/docs/ur/intlayer_with_vite+lit.md +28 -6
- package/docs/ur/intlayer_with_vite+vanilla.md +36 -9
- package/docs/ur/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/autoFill.md +20 -0
- package/docs/vi/benchmark/solid.md +22 -0
- package/docs/vi/benchmark/svelte.md +22 -0
- package/docs/vi/benchmark/tanstack.md +22 -0
- package/docs/vi/cli/ci.md +22 -0
- package/docs/vi/cli/doc-review.md +110 -4
- package/docs/vi/cli/fill.md +8 -0
- package/docs/vi/cli/index.md +1 -1
- package/docs/vi/cli/login.md +0 -36
- package/docs/vi/cli/scan.md +1 -1
- package/docs/vi/compat/i18n-js.md +44 -0
- package/docs/vi/compat/i18next.md +59 -0
- package/docs/vi/compat/index.md +51 -0
- package/docs/vi/compat/lingui.md +44 -0
- package/docs/vi/compat/next-i18next.md +57 -0
- package/docs/vi/compat/next-intl.md +59 -0
- package/docs/vi/compat/next-translate.md +45 -0
- package/docs/vi/compat/ngx-translate.md +45 -0
- package/docs/vi/compat/nuxtjs-i18n.md +46 -0
- package/docs/vi/compat/polyglot.md +45 -0
- package/docs/vi/compat/react-i18next.md +58 -0
- package/docs/vi/compat/react-intl.md +55 -0
- package/docs/vi/compat/svelte-i18n.md +47 -0
- package/docs/vi/compat/transloco.md +45 -0
- package/docs/vi/compat/vue-i18n.md +58 -0
- package/docs/vi/compiler.md +9 -4
- package/docs/vi/configuration.md +68 -33
- package/docs/vi/custom_domains.md +9 -3
- package/docs/vi/custom_url_rewrites.md +9 -3
- package/docs/vi/dictionary/condition.md +167 -5
- package/docs/vi/dictionary/content_file.md +0 -7
- package/docs/vi/dictionary/enumeration.md +395 -17
- package/docs/vi/dictionary/file.md +318 -2
- package/docs/vi/dictionary/gender.md +168 -7
- package/docs/vi/dictionary/insertion.md +0 -2
- package/docs/vi/dictionary/nesting.md +362 -52
- package/docs/vi/dictionary/plurial.md +174 -5
- package/docs/vi/dictionary/translation.md +146 -53
- package/docs/vi/dynamic_dictionaries/collections.md +1 -1
- package/docs/vi/dynamic_dictionaries/index.md +29 -23
- package/docs/vi/dynamic_dictionaries/variants.md +279 -21
- package/docs/vi/formatters.md +124 -0
- package/docs/vi/interest_of_intlayer.md +193 -0
- package/docs/vi/intlayer_with_adonisjs.md +20 -4
- package/docs/vi/intlayer_with_analog.md +29 -5
- package/docs/vi/intlayer_with_angular_19.md +20 -4
- package/docs/vi/intlayer_with_angular_21.md +20 -4
- package/docs/vi/intlayer_with_astro.md +133 -4
- package/docs/vi/intlayer_with_astro_lit.md +24 -10
- package/docs/vi/intlayer_with_astro_preact.md +24 -10
- package/docs/vi/intlayer_with_astro_react.md +24 -10
- package/docs/vi/intlayer_with_astro_solid.md +24 -10
- package/docs/vi/intlayer_with_astro_svelte.md +24 -10
- package/docs/vi/intlayer_with_astro_vanilla.md +24 -10
- package/docs/vi/intlayer_with_astro_vue.md +24 -10
- package/docs/vi/intlayer_with_create_react_app.md +20 -4
- package/docs/vi/intlayer_with_express.md +20 -4
- package/docs/vi/intlayer_with_fastify.md +20 -8
- package/docs/vi/intlayer_with_hono.md +20 -4
- package/docs/vi/intlayer_with_lynx+react.md +26 -5
- package/docs/vi/intlayer_with_nestjs.md +20 -4
- package/docs/vi/intlayer_with_next-i18next.md +20 -4
- package/docs/vi/intlayer_with_nextjs_14.md +21 -5
- package/docs/vi/intlayer_with_nextjs_15.md +491 -5
- package/docs/vi/intlayer_with_nextjs_16.md +23 -5
- package/docs/vi/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/vi/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/vi/intlayer_with_nuxt.md +20 -31
- package/docs/vi/intlayer_with_react_native+expo.md +43 -64
- package/docs/vi/intlayer_with_react_router_v7.md +24 -100
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/vi/intlayer_with_storybook.md +7 -1
- package/docs/vi/intlayer_with_svelte_kit.md +16 -185
- package/docs/vi/intlayer_with_tanstack+solid.md +39 -14
- package/docs/vi/intlayer_with_tanstack.md +38 -13
- package/docs/vi/intlayer_with_vite+lit.md +29 -7
- package/docs/vi/intlayer_with_vite+preact.md +80 -62
- package/docs/vi/intlayer_with_vite+react.md +78 -57
- package/docs/vi/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/vi/intlayer_with_vite+solid.md +56 -47
- package/docs/vi/intlayer_with_vite+svelte.md +58 -39
- package/docs/vi/intlayer_with_vite+vanilla.md +37 -10
- package/docs/vi/intlayer_with_vite+vue.md +78 -109
- package/docs/vi/mcp_server.md +22 -0
- package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/vi/packages/@intlayer_babel/export.md +131 -0
- package/docs/vi/packages/angular-intlayer/exports.md +14 -10
- package/docs/vi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/packages/intlayer/exports.md +5 -0
- package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/vi/packages/next-intlayer/exports.md +4 -0
- package/docs/vi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/vi/packages/preact-intlayer/exports.md +10 -6
- package/docs/vi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/vi/packages/react-intlayer/exports.md +20 -16
- package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
- package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/vi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
- package/docs/vi/packages/solid-intlayer/exports.md +15 -11
- package/docs/vi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/vi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/vi/packages/vue-intlayer/exports.md +14 -10
- package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/vi/plugins/sync-json.md +229 -57
- package/docs/vi/releases/v6.md +4 -0
- package/docs/vi/releases/v7.md +128 -0
- package/docs/vi/releases/v8.md +190 -1
- package/docs/vi/releases/v9.md +316 -0
- package/docs/zh/CI_CD.md +1 -1
- package/docs/zh/autoFill.md +81 -0
- package/docs/zh/benchmark/solid.md +22 -0
- package/docs/zh/benchmark/svelte.md +22 -0
- package/docs/zh/benchmark/tanstack.md +22 -0
- package/docs/zh/cli/ci.md +22 -0
- package/docs/zh/cli/doc-review.md +110 -4
- package/docs/zh/cli/fill.md +8 -0
- package/docs/zh/cli/index.md +1 -1
- package/docs/zh/cli/login.md +0 -36
- package/docs/zh/cli/scan.md +1 -1
- package/docs/zh/compat/i18n-js.md +44 -0
- package/docs/zh/compat/i18next.md +59 -0
- package/docs/zh/compat/index.md +51 -0
- package/docs/zh/compat/lingui.md +44 -0
- package/docs/zh/compat/next-i18next.md +57 -0
- package/docs/zh/compat/next-intl.md +59 -0
- package/docs/zh/compat/next-translate.md +45 -0
- package/docs/zh/compat/ngx-translate.md +45 -0
- package/docs/zh/compat/nuxtjs-i18n.md +46 -0
- package/docs/zh/compat/polyglot.md +45 -0
- package/docs/zh/compat/react-i18next.md +58 -0
- package/docs/zh/compat/react-intl.md +55 -0
- package/docs/zh/compat/svelte-i18n.md +47 -0
- package/docs/zh/compat/transloco.md +45 -0
- package/docs/zh/compat/vue-i18n.md +58 -0
- package/docs/zh/compiler.md +9 -4
- package/docs/zh/configuration.md +67 -32
- package/docs/zh/custom_domains.md +9 -3
- package/docs/zh/custom_url_rewrites.md +22 -18
- package/docs/zh/dictionary/condition.md +167 -5
- package/docs/zh/dictionary/content_file.md +16 -20
- package/docs/zh/dictionary/enumeration.md +353 -6
- package/docs/zh/dictionary/file.md +151 -1
- package/docs/zh/dictionary/function_fetching.md +0 -27
- package/docs/zh/dictionary/gender.md +168 -7
- package/docs/zh/dictionary/insertion.md +0 -64
- package/docs/zh/dictionary/nesting.md +186 -39
- package/docs/zh/dictionary/plurial.md +174 -5
- package/docs/zh/dictionary/translation.md +141 -64
- package/docs/zh/dynamic_dictionaries/collections.md +1 -1
- package/docs/zh/dynamic_dictionaries/index.md +25 -19
- package/docs/zh/dynamic_dictionaries/variants.md +275 -17
- package/docs/zh/formatters.md +77 -0
- package/docs/zh/how_works_intlayer.md +4 -4
- package/docs/zh/intlayer_CMS.md +21 -0
- package/docs/zh/intlayer_with_adonisjs.md +20 -4
- package/docs/zh/intlayer_with_analog.md +4 -154
- package/docs/zh/intlayer_with_angular_19.md +0 -232
- package/docs/zh/intlayer_with_angular_21.md +20 -4
- package/docs/zh/intlayer_with_astro.md +245 -61
- package/docs/zh/intlayer_with_astro_lit.md +131 -83
- package/docs/zh/intlayer_with_astro_preact.md +125 -77
- package/docs/zh/intlayer_with_astro_react.md +127 -79
- package/docs/zh/intlayer_with_astro_solid.md +127 -79
- package/docs/zh/intlayer_with_astro_svelte.md +127 -79
- package/docs/zh/intlayer_with_astro_vanilla.md +124 -78
- package/docs/zh/intlayer_with_astro_vue.md +119 -71
- package/docs/zh/intlayer_with_create_react_app.md +17 -306
- package/docs/zh/intlayer_with_express.md +20 -27
- package/docs/zh/intlayer_with_fastify.md +20 -8
- package/docs/zh/intlayer_with_hono.md +20 -4
- package/docs/zh/intlayer_with_lynx+react.md +0 -259
- package/docs/zh/intlayer_with_nestjs.md +20 -22
- package/docs/zh/intlayer_with_next-i18next.md +20 -4
- package/docs/zh/intlayer_with_nextjs_14.md +83 -29
- package/docs/zh/intlayer_with_nextjs_15.md +84 -18
- package/docs/zh/intlayer_with_nextjs_16.md +151 -91
- package/docs/zh/intlayer_with_nextjs_compiler.md +174 -144
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/zh/intlayer_with_nextjs_page_router.md +71 -19
- package/docs/zh/intlayer_with_nuxt.md +5 -149
- package/docs/zh/intlayer_with_react_native+expo.md +160 -156
- package/docs/zh/intlayer_with_react_router_v7.md +24 -347
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +4 -317
- package/docs/zh/intlayer_with_storybook.md +7 -241
- package/docs/zh/intlayer_with_svelte_kit.md +10 -521
- package/docs/zh/intlayer_with_tanstack+solid.md +1 -630
- package/docs/zh/intlayer_with_tanstack.md +1 -628
- package/docs/zh/intlayer_with_vanilla.md +0 -283
- package/docs/zh/intlayer_with_vite+lit.md +1 -395
- package/docs/zh/intlayer_with_vite+preact.md +4 -226
- package/docs/zh/intlayer_with_vite+react.md +59 -294
- package/docs/zh/intlayer_with_vite+react_compiler.md +1 -176
- package/docs/zh/intlayer_with_vite+solid.md +17 -306
- package/docs/zh/intlayer_with_vite+svelte.md +131 -84
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -426
- package/docs/zh/intlayer_with_vite+vue.md +124 -144
- package/docs/zh/mcp_server.md +26 -0
- package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
- package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/zh/packages/@intlayer_babel/export.md +131 -0
- package/docs/zh/packages/angular-intlayer/exports.md +13 -9
- package/docs/zh/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/intlayer/comparePaths.md +173 -0
- package/docs/zh/packages/intlayer/exports.md +18 -13
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/zh/packages/next-intlayer/exports.md +4 -0
- package/docs/zh/packages/next-intlayer/usePathname.md +136 -0
- package/docs/zh/packages/preact-intlayer/exports.md +10 -6
- package/docs/zh/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/zh/packages/react-intlayer/exports.md +5 -1
- package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
- package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/zh/packages/react-intlayer/usePathname.md +88 -0
- package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
- package/docs/zh/packages/solid-intlayer/exports.md +15 -11
- package/docs/zh/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/svelte-intlayer/exports.md +13 -9
- package/docs/zh/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/zh/packages/vue-intlayer/exports.md +14 -10
- package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/zh/plugins/sync-json.md +222 -50
- package/docs/zh/releases/v6.md +28 -0
- package/docs/zh/releases/v7.md +128 -0
- package/docs/zh/releases/v8.md +191 -1
- package/docs/zh/releases/v9.md +312 -0
- package/docs/zh/roadmap.md +6 -0
- package/docs/zh/vs_code_extension.md +0 -7
- package/docs/zh-TW/intlayer_with_angular_21.md +20 -4
- package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
- package/frequent_questions/pt/translated_path_url.md +1 -1
- package/package.json +8 -8
- package/src/generated/docs.entry.ts +560 -20
- package/dist/esm/_virtual/_rolldown/runtime.mjs +0 -8
- package/docs/ar/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/de/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en-GB/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/es/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/fr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/hi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/id/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/it/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ja/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ko/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pl/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pt/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ru/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/tr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/uk/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/vi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/zh/dynamic_dictionaries/dynamic_content.md +0 -271
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-09-09
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-06-23
|
|
4
4
|
title: "TanStack Start i18n - 翻译你的应用的完整指南"
|
|
5
5
|
description: "告别 i18next。2026 年构建多语言 (i18n) TanStack Start 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
|
|
6
6
|
keywords:
|
|
@@ -90,275 +90,6 @@ Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的
|
|
|
90
90
|
|
|
91
91
|
---
|
|
92
92
|
|
|
93
|
-
## 在 Tanstack Start 应用中设置 Intlayer 的分步指南
|
|
94
|
-
|
|
95
|
-
<Tabs defaultTab="video">
|
|
96
|
-
<Tab label="视频" value="video">
|
|
97
|
-
|
|
98
|
-
<iframe title="Tanstack Start 的最佳 i18n 解决方案?发现 Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/_XTdKVWaeqg?autoplay=0&origin=https://intlayer.org&controls=0&rel=1"/>
|
|
99
|
-
|
|
100
|
-
</Tab>
|
|
101
|
-
<Tab label="代码" value="code">
|
|
102
|
-
|
|
103
|
-
<iframe
|
|
104
|
-
src="https://ide.intlayer.org/aymericzip/intlayer-tanstack-start-template?file=intlayer.config.ts"
|
|
105
|
-
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
|
|
106
|
-
title="演示 CodeSandbox - 如何使用 Intlayer 国际化您的应用程序"
|
|
107
|
-
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
|
|
108
|
-
loading="lazy"
|
|
109
|
-
/>
|
|
110
|
-
|
|
111
|
-
</Tab>
|
|
112
|
-
<Tab label="演示" value="demo">
|
|
113
|
-
|
|
114
|
-
<iframe
|
|
115
|
-
src="https://intlayer-tanstack-start-template.vercel.app"
|
|
116
|
-
className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
|
|
117
|
-
title="演示 - intlayer-tanstack-start-template"
|
|
118
|
-
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
|
|
119
|
-
loading="lazy"
|
|
120
|
-
/>
|
|
121
|
-
|
|
122
|
-
</Tab>
|
|
123
|
-
</Tabs>
|
|
124
|
-
|
|
125
|
-
在 GitHub 上查看[应用程序模板](https://github.com/aymericzip/intlayer-tanstack-start-template)。
|
|
126
|
-
|
|
127
|
-
### 第一步:创建项目
|
|
128
|
-
|
|
129
|
-
首先,按照 TanStack Start 网站上的[新建项目](https://tanstack.com/start/latest/docs/framework/react/quick-start)指南创建一个新的 TanStack Start 项目。
|
|
130
|
-
|
|
131
|
-
### 第二步:安装 Intlayer 包
|
|
132
|
-
|
|
133
|
-
使用您喜欢的包管理器安装所需的包:
|
|
134
|
-
|
|
135
|
-
```bash packageManager="npm"
|
|
136
|
-
npm install intlayer react-intlayer
|
|
137
|
-
npm install vite-intlayer --save-dev
|
|
138
|
-
npx intlayer init
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
```bash packageManager="pnpm"
|
|
142
|
-
pnpm add intlayer react-intlayer
|
|
143
|
-
pnpm add vite-intlayer --save-dev
|
|
144
|
-
pnpm intlayer init
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
```bash packageManager="yarn"
|
|
148
|
-
yarn add intlayer react-intlayer
|
|
149
|
-
yarn add vite-intlayer --save-dev
|
|
150
|
-
yarn intlayer init
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
```bash packageManager="bun"
|
|
154
|
-
bun add intlayer react-intlayer
|
|
155
|
-
bun add vite-intlayer --dev
|
|
156
|
-
bun x intlayer init
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
- **intlayer**
|
|
160
|
-
|
|
161
|
-
核心包,提供用于配置管理、翻译、[内容声明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md),转译以及[命令行工具](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)的国际化工具。
|
|
162
|
-
|
|
163
|
-
- **react-intlayer**
|
|
164
|
-
将 Intlayer 集成到 React 应用中的包。它为 React 国际化提供上下文提供者和钩子。
|
|
165
|
-
|
|
166
|
-
- **vite-intlayer**
|
|
167
|
-
包含用于将 Intlayer 集成到[Vite 打包器](https://vite.dev/guide/why.html#why-bundle-for-production)的 Vite 插件,以及用于检测用户首选语言、管理 Cookie 和处理 URL 重定向的中间件。
|
|
168
|
-
|
|
169
|
-
### 第三步:项目配置
|
|
170
|
-
|
|
171
|
-
创建一个配置文件来配置您的应用程序语言:
|
|
172
|
-
|
|
173
|
-
```typescript fileName="intlayer.config.ts"
|
|
174
|
-
import type { IntlayerConfig } from "intlayer";
|
|
175
|
-
|
|
176
|
-
import { Locales } from "intlayer";
|
|
177
|
-
|
|
178
|
-
const config: IntlayerConfig = {
|
|
179
|
-
internationalization: {
|
|
180
|
-
defaultLocale: Locales.ENGLISH,
|
|
181
|
-
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
182
|
-
},
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
export default config;
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
> 通过此配置文件,您可以设置本地化 URL、中间件重定向、cookie 名称、内容声明的位置和扩展名、禁用控制台中的 Intlayer 日志等。有关可用参数的完整列表,请参阅[配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
|
|
189
|
-
|
|
190
|
-
### 第四步:在您的 Vite 配置中集成 Intlayer
|
|
191
|
-
|
|
192
|
-
将 intlayer 插件添加到您的配置中:
|
|
193
|
-
|
|
194
|
-
```typescript fileName="vite.config.ts"
|
|
195
|
-
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
196
|
-
import viteReact from "@vitejs/plugin-react";
|
|
197
|
-
import { nitro } from "nitro/vite";
|
|
198
|
-
import { defineConfig } from "vite";
|
|
199
|
-
import { intlayer } from "vite-intlayer";
|
|
200
|
-
|
|
201
|
-
const config = defineConfig({
|
|
202
|
-
plugins: [
|
|
203
|
-
nitro(),
|
|
204
|
-
intlayer(),
|
|
205
|
-
tanstackStart({
|
|
206
|
-
router: {
|
|
207
|
-
routeFileIgnorePattern:
|
|
208
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
209
|
-
},
|
|
210
|
-
}),
|
|
211
|
-
viteReact(),
|
|
212
|
-
],
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
export default config;
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
> `intlayer()` Vite 插件用于将 Intlayer 集成到 Vite 中。它确保构建内容声明文件并在开发模式下监视它们。它在 Vite 应用中定义了 Intlayer 环境变量。此外,它还提供别名以优化性能。
|
|
219
|
-
|
|
220
|
-
### 第五步:创建根布局
|
|
221
|
-
|
|
222
|
-
配置您的根布局以支持国际化,使用 `useParams` 检测当前 locale 并在 `html` 标签上设置 `lang` 和 `dir` 属性。
|
|
223
|
-
|
|
224
|
-
```tsx fileName="src/routes/__root.tsx"
|
|
225
|
-
import {
|
|
226
|
-
createRootRouteWithContext,
|
|
227
|
-
HeadContent,
|
|
228
|
-
Scripts,
|
|
229
|
-
} from "@tanstack/react-router";
|
|
230
|
-
import { defaultLocale, getHTMLTextDir } from "intlayer";
|
|
231
|
-
import { type ReactNode } from "react";
|
|
232
|
-
import { IntlayerProvider } from "react-intlayer";
|
|
233
|
-
import { Route as LocaleRoute } from "./{-$locale}/route";
|
|
234
|
-
|
|
235
|
-
export const Route = createRootRouteWithContext<{}>()({
|
|
236
|
-
head: () => ({
|
|
237
|
-
meta: [
|
|
238
|
-
{
|
|
239
|
-
charSet: "utf-8",
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
content: "width=device-width, initial-scale=1",
|
|
243
|
-
name: "viewport",
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
title: "TanStack Start Starter",
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
}),
|
|
250
|
-
|
|
251
|
-
shellComponent: RootDocument,
|
|
252
|
-
});
|
|
253
|
-
|
|
254
|
-
function RootDocument({ children }: { children: ReactNode }) {
|
|
255
|
-
const params = LocaleRoute.useParams();
|
|
256
|
-
const locale = params?.locale ?? defaultLocale;
|
|
257
|
-
|
|
258
|
-
return (
|
|
259
|
-
<html dir={getHTMLTextDir(locale)} lang={locale}>
|
|
260
|
-
<head>
|
|
261
|
-
<HeadContent />
|
|
262
|
-
</head>
|
|
263
|
-
<body>
|
|
264
|
-
<IntlayerProvider locale={locale}>{children}</IntlayerProvider>
|
|
265
|
-
<Scripts />
|
|
266
|
-
</body>
|
|
267
|
-
</html>
|
|
268
|
-
);
|
|
269
|
-
}
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
> 如果您想在字符串属性中使用内容,比如 `alt`、`title`、`href`、`aria-label` 等,可以使用函数的值,例如:
|
|
273
|
-
|
|
274
|
-
> ```html
|
|
275
|
-
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
276
|
-
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
277
|
-
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
278
|
-
> ```
|
|
279
|
-
|
|
280
|
-
### 第六步:创建 Locale 布局
|
|
281
|
-
|
|
282
|
-
创建一个处理 locale 前缀并执行验证的布局。
|
|
283
|
-
|
|
284
|
-
```tsx fileName="src/routes/{-$locale}/route.tsx"
|
|
285
|
-
import { createFileRoute, Outlet, redirect } from "@tanstack/react-router";
|
|
286
|
-
import { validatePrefix } from "intlayer";
|
|
287
|
-
|
|
288
|
-
export const Route = createFileRoute("/{-$locale}")({
|
|
289
|
-
beforeLoad: ({ params }) => {
|
|
290
|
-
const localeParam = params.locale;
|
|
291
|
-
|
|
292
|
-
// 验证 locale 前缀
|
|
293
|
-
const { isValid, localePrefix } = validatePrefix(localeParam);
|
|
294
|
-
|
|
295
|
-
if (!isValid) {
|
|
296
|
-
throw redirect({
|
|
297
|
-
to: "/{-$locale}/404",
|
|
298
|
-
params: { locale: localePrefix },
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
component: Outlet,
|
|
303
|
-
});
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
> 这里,`{-$locale}` 是一个动态路由参数,会被当前 locale 替换。此表示法使插槽可选,允许它与 `'prefix-no-default'` 等路由模式一起工作。
|
|
307
|
-
|
|
308
|
-
> 请注意,如果您在同一路由中使用多个动态段(例如,`/{-$locale}/other-path/$anotherDynamicPath/...`),此插槽可能会导致问题。
|
|
309
|
-
> 对于 `'prefix-all'` 模式,您可能更喜欢将插槽切换为 `$locale`。
|
|
310
|
-
> 对于 `'no-prefix'` 或 `'search-params'` 模式,您可以完全删除插槽。
|
|
311
|
-
|
|
312
|
-
### 第七步:声明您的内容
|
|
313
|
-
|
|
314
|
-
创建并管理您的内容声明以存储翻译:
|
|
315
|
-
|
|
316
|
-
```tsx fileName="src/contents/page.content.ts"
|
|
317
|
-
import type { Dictionary } from "intlayer";
|
|
318
|
-
|
|
319
|
-
import { t } from "intlayer";
|
|
320
|
-
|
|
321
|
-
const appContent = {
|
|
322
|
-
content: {
|
|
323
|
-
links: {
|
|
324
|
-
about: t({
|
|
325
|
-
zh: "关于",
|
|
326
|
-
en: "About",
|
|
327
|
-
es: "Acerca de",
|
|
328
|
-
fr: "À propos",
|
|
329
|
-
}),
|
|
330
|
-
home: t({
|
|
331
|
-
zh: "首页",
|
|
332
|
-
en: "Home",
|
|
333
|
-
es: "Inicio",
|
|
334
|
-
fr: "Accueil",
|
|
335
|
-
}),
|
|
336
|
-
},
|
|
337
|
-
meta: {
|
|
338
|
-
title: t({
|
|
339
|
-
zh: "欢迎使用 Intlayer + TanStack Router",
|
|
340
|
-
en: "Welcome to Intlayer + TanStack Router",
|
|
341
|
-
es: "Bienvenido a Intlayer + TanStack Router",
|
|
342
|
-
fr: "Bienvenue à Intlayer + TanStack Router",
|
|
343
|
-
}),
|
|
344
|
-
description: t({
|
|
345
|
-
zh: "这是一个使用 Intlayer 和 TanStack Router 的示例",
|
|
346
|
-
en: "This is an example of using Intlayer with TanStack Router",
|
|
347
|
-
es: "Este es un ejemplo de uso de Intlayer con TanStack Router",
|
|
348
|
-
fr: "Ceci est un exemple d'utilisation d'Intlayer avec TanStack Router",
|
|
349
|
-
}),
|
|
350
|
-
},
|
|
351
|
-
},
|
|
352
|
-
key: "app",
|
|
353
|
-
} satisfies Dictionary;
|
|
354
|
-
|
|
355
|
-
export default appContent;
|
|
356
|
-
```
|
|
357
|
-
|
|
358
|
-
> 您的内容声明可以在应用程序中的任何位置定义,只要它们被包含在 `contentDir` 目录中(默认是 `./app`)。并且文件扩展名需匹配内容声明文件扩展名(默认是 `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)。
|
|
359
|
-
|
|
360
|
-
> 更多详情,请参阅[内容声明文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
|
|
361
|
-
|
|
362
93
|
### 第八步:创建支持多语言的组件和钩子
|
|
363
94
|
|
|
364
95
|
创建一个用于多语言导航的 `LocalizedLink` 组件:
|
|
@@ -463,54 +194,6 @@ export const useLocalizedNavigate = () => {
|
|
|
463
194
|
};
|
|
464
195
|
```
|
|
465
196
|
|
|
466
|
-
### 第九步:在您的页面中使用 Intlayer
|
|
467
|
-
|
|
468
|
-
在整个应用程序中访问您的内容字典:
|
|
469
|
-
|
|
470
|
-
#### 本地化首页
|
|
471
|
-
|
|
472
|
-
```tsx fileName="src/routes/{-$locale}/index.tsx"
|
|
473
|
-
import { createFileRoute } from "@tanstack/react-router";
|
|
474
|
-
import { getIntlayer } from "intlayer";
|
|
475
|
-
import { useIntlayer } from "react-intlayer";
|
|
476
|
-
|
|
477
|
-
import LocaleSwitcher from "@/components/locale-switcher";
|
|
478
|
-
import { LocalizedLink } from "@/components/localized-link";
|
|
479
|
-
import { useLocalizedNavigate } from "@/hooks/useLocalizedNavigate";
|
|
480
|
-
|
|
481
|
-
export const Route = createFileRoute("/{-$locale}/")({
|
|
482
|
-
component: RouteComponent,
|
|
483
|
-
});
|
|
484
|
-
|
|
485
|
-
function RouteComponent() {
|
|
486
|
-
const content = useIntlayer("app");
|
|
487
|
-
const navigate = useLocalizedNavigate();
|
|
488
|
-
|
|
489
|
-
return (
|
|
490
|
-
<div>
|
|
491
|
-
<div>
|
|
492
|
-
{content.title}
|
|
493
|
-
<LocaleSwitcher />
|
|
494
|
-
<div>
|
|
495
|
-
<LocalizedLink to="/">{content.links.home}</LocalizedLink>
|
|
496
|
-
<LocalizedLink to="/about">{content.links.about}</LocalizedLink>
|
|
497
|
-
</div>
|
|
498
|
-
<div>
|
|
499
|
-
<button onClick={() => navigate({ to: "/" })}>
|
|
500
|
-
{content.links.home}
|
|
501
|
-
</button>
|
|
502
|
-
<button onClick={() => navigate({ to: "/about" })}>
|
|
503
|
-
{content.links.about}
|
|
504
|
-
</button>
|
|
505
|
-
</div>
|
|
506
|
-
</div>
|
|
507
|
-
</div>
|
|
508
|
-
);
|
|
509
|
-
}
|
|
510
|
-
```
|
|
511
|
-
|
|
512
|
-
> 要了解更多关于 `useIntlayer` 钩子的内容,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)。
|
|
513
|
-
|
|
514
197
|
### 第十步:创建语言切换组件
|
|
515
198
|
|
|
516
199
|
创建一个组件,允许用户切换语言:
|
|
@@ -572,298 +255,6 @@ export const LocaleSwitcher: FC = () => {
|
|
|
572
255
|
|
|
573
256
|
> 要了解有关 `useLocale` 钩子的更多信息,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
|
|
574
257
|
|
|
575
|
-
### 第十一步:HTML 属性管理
|
|
576
|
-
|
|
577
|
-
如第5步所示,您可以在根组件中使用 `useParams` 管理 `html` 标签的 `lang` 和 `dir` 属性。这确保在服务器和客户端上正确设置属性。
|
|
578
|
-
|
|
579
|
-
```tsx fileName="src/routes/__root.tsx"
|
|
580
|
-
function RootDocument({ children }: { children: ReactNode }) {
|
|
581
|
-
const params = LocaleRoute.useParams();
|
|
582
|
-
const locale = params?.locale ?? defaultLocale;
|
|
583
|
-
|
|
584
|
-
return (
|
|
585
|
-
<html dir={getHTMLTextDir(locale)} lang={locale}>
|
|
586
|
-
{/* ... */}
|
|
587
|
-
</html>
|
|
588
|
-
);
|
|
589
|
-
}
|
|
590
|
-
```
|
|
591
|
-
|
|
592
|
-
---
|
|
593
|
-
|
|
594
|
-
### 第十二步:添加中间件(可选)
|
|
595
|
-
|
|
596
|
-
您还可以使用 `intlayerProxy` 为您的应用程序添加服务器端路由。该插件将根据 URL 自动检测当前语言环境,并设置相应的语言环境 Cookie。如果未指定语言环境,插件将根据用户浏览器的语言偏好确定最合适的语言环境。如果未检测到语言环境,它将重定向到默认语言环境。
|
|
597
|
-
|
|
598
|
-
> 注意,要在生产环境中使用 `intlayerProxy`,您需要将 `vite-intlayer` 包从 `devDependencies` 切换到 `dependencies`。
|
|
599
|
-
|
|
600
|
-
```typescript {7,14-17} fileName="vite.config.ts"
|
|
601
|
-
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
602
|
-
import viteReact from "@vitejs/plugin-react";
|
|
603
|
-
import { nitro } from "nitro/vite";
|
|
604
|
-
import { defineConfig } from "vite";
|
|
605
|
-
import { intlayer, intlayerProxy } from "vite-intlayer";
|
|
606
|
-
|
|
607
|
-
export default defineConfig({
|
|
608
|
-
plugins: [
|
|
609
|
-
intlayerProxy(), // 如果使用 Nitro,代理应放在服务器之前
|
|
610
|
-
nitro(),
|
|
611
|
-
intlayer(),
|
|
612
|
-
tanstackStart({
|
|
613
|
-
router: {
|
|
614
|
-
routeFileIgnorePattern:
|
|
615
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
616
|
-
},
|
|
617
|
-
}),
|
|
618
|
-
viteReact(),
|
|
619
|
-
],
|
|
620
|
-
});
|
|
621
|
-
```
|
|
622
|
-
|
|
623
|
-
---
|
|
624
|
-
|
|
625
|
-
### 第十二步:国际化您的元数据(可选)
|
|
626
|
-
|
|
627
|
-
您还可以使用 `getIntlayer` 钩子在整个应用程序中访问您的内容字典:
|
|
628
|
-
|
|
629
|
-
```tsx fileName="src/routes/{-$locale}/index.tsx"
|
|
630
|
-
import { createFileRoute } from "@tanstack/react-router";
|
|
631
|
-
import { getIntlayer } from "intlayer";
|
|
632
|
-
|
|
633
|
-
export const Route = createFileRoute("/{-$locale}/")({
|
|
634
|
-
component: RouteComponent,
|
|
635
|
-
head: ({ params }) => {
|
|
636
|
-
const { locale } = params;
|
|
637
|
-
const path = "/"; // The path for this route
|
|
638
|
-
|
|
639
|
-
const metaContent = getIntlayer("app", locale);
|
|
640
|
-
|
|
641
|
-
return {
|
|
642
|
-
links: [
|
|
643
|
-
// Canonical link: Points to the current localized page
|
|
644
|
-
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
645
|
-
|
|
646
|
-
// Hreflang: Tell Google about all localized versions
|
|
647
|
-
...localeMap(({ locale: mapLocale }) => ({
|
|
648
|
-
rel: "alternate",
|
|
649
|
-
hrefLang: mapLocale,
|
|
650
|
-
href: getLocalizedUrl(path, mapLocale),
|
|
651
|
-
})),
|
|
652
|
-
|
|
653
|
-
// x-default: For users in unmatched languages
|
|
654
|
-
// Define the default fallback locale (usually your primary language)
|
|
655
|
-
{
|
|
656
|
-
rel: "alternate",
|
|
657
|
-
hrefLang: "x-default",
|
|
658
|
-
href: getLocalizedUrl(path, defaultLocale),
|
|
659
|
-
},
|
|
660
|
-
],
|
|
661
|
-
meta: [
|
|
662
|
-
{ title: metaContent.title },
|
|
663
|
-
{ name: "description", content: metaContent.meta.description },
|
|
664
|
-
],
|
|
665
|
-
};
|
|
666
|
-
},
|
|
667
|
-
});
|
|
668
|
-
```
|
|
669
|
-
|
|
670
|
-
---
|
|
671
|
-
|
|
672
|
-
### 第十三步:在您的 server actions 中获取 locale(可选)
|
|
673
|
-
|
|
674
|
-
您可能希望从 server actions 或 API 端点内部访问当前 locale。
|
|
675
|
-
您可以使用 `intlayer` 中的 `getLocale` 辅助函数来实现这一点。
|
|
676
|
-
|
|
677
|
-
以下是使用 TanStack Start 的 server functions 的示例:
|
|
678
|
-
|
|
679
|
-
```tsx fileName="src/routes/{-$locale}/index.tsx"
|
|
680
|
-
import { createServerFn } from "@tanstack/react-start";
|
|
681
|
-
import {
|
|
682
|
-
getRequestHeader,
|
|
683
|
-
getRequestHeaders,
|
|
684
|
-
} from "@tanstack/react-start/server";
|
|
685
|
-
import { getCookie, getIntlayer, getLocale } from "intlayer";
|
|
686
|
-
|
|
687
|
-
export const getLocaleServer = createServerFn().handler(async () => {
|
|
688
|
-
const locale = await getLocale({
|
|
689
|
-
// 从请求中获取 cookie(默认:'INTLAYER_LOCALE')
|
|
690
|
-
getCookie: (name) => {
|
|
691
|
-
const cookieString = getRequestHeader("cookie");
|
|
692
|
-
|
|
693
|
-
return getCookie(name, cookieString);
|
|
694
|
-
},
|
|
695
|
-
// 从请求中获取 header(默认:'x-intlayer-locale')
|
|
696
|
-
// 使用 Accept-Language 协商作为后备
|
|
697
|
-
getHeader: (name) => getRequestHeader(name),
|
|
698
|
-
});
|
|
699
|
-
|
|
700
|
-
// 使用 getIntlayer() 检索一些内容
|
|
701
|
-
const content = getIntlayer("app", locale);
|
|
702
|
-
|
|
703
|
-
return { locale, content };
|
|
704
|
-
});
|
|
705
|
-
```
|
|
706
|
-
|
|
707
|
-
---
|
|
708
|
-
|
|
709
|
-
### 第十四步:管理未找到的页面(可选)
|
|
710
|
-
|
|
711
|
-
当用户访问不存在的页面时,您可以显示自定义的未找到页面,并且区域设置前缀可能会影响未找到页面的触发方式。
|
|
712
|
-
|
|
713
|
-
#### 了解 TanStack Router 使用区域设置前缀的 404 处理
|
|
714
|
-
|
|
715
|
-
在 TanStack Router 中,使用本地化路由处理 404 页面需要采用多层方法:
|
|
716
|
-
|
|
717
|
-
1. **专用 404 路由**:用于显示 404 UI 的特定路由
|
|
718
|
-
2. **路由级验证**:验证区域设置前缀并将无效的前缀重定向到 404
|
|
719
|
-
3. **捕获所有路由**:捕获区域设置段内任何不匹配的路径
|
|
720
|
-
|
|
721
|
-
```tsx fileName="src/routes/{-$locale}/404.tsx"
|
|
722
|
-
import { createFileRoute } from "@tanstack/react-router";
|
|
723
|
-
|
|
724
|
-
// 这将创建一个专用的 /[locale]/404 路由
|
|
725
|
-
// 它既作为直接路由使用,也可以在其他文件中作为组件导入
|
|
726
|
-
export const Route = createFileRoute("/{-$locale}/404")({
|
|
727
|
-
component: NotFoundComponent,
|
|
728
|
-
});
|
|
729
|
-
|
|
730
|
-
// 单独导出,以便可以在 notFoundComponent 和 catch-all 路由中重用
|
|
731
|
-
export function NotFoundComponent() {
|
|
732
|
-
return (
|
|
733
|
-
<div>
|
|
734
|
-
<h1>404</h1>
|
|
735
|
-
</div>
|
|
736
|
-
);
|
|
737
|
-
}
|
|
738
|
-
```
|
|
739
|
-
|
|
740
|
-
```tsx fileName="src/routes/{-$locale}/route.tsx"
|
|
741
|
-
import { createFileRoute, Outlet, redirect } from "@tanstack/react-router";
|
|
742
|
-
import { validatePrefix } from "intlayer";
|
|
743
|
-
import { NotFoundComponent } from "./404";
|
|
744
|
-
|
|
745
|
-
export const Route = createFileRoute("/{-$locale}")({
|
|
746
|
-
// beforeLoad 在路由渲染之前运行(在服务器和客户端上)
|
|
747
|
-
// 这是验证 locale 前缀的理想位置
|
|
748
|
-
beforeLoad: ({ params }) => {
|
|
749
|
-
const localeParam = params.locale;
|
|
750
|
-
|
|
751
|
-
// validatePrefix 检查 locale 是否根据您的 intlayer 配置有效
|
|
752
|
-
const { isValid, localePrefix } = validatePrefix(localeParam);
|
|
753
|
-
|
|
754
|
-
if (!isValid) {
|
|
755
|
-
// 无效的 locale 前缀 - 重定向到具有有效 locale 前缀的 404 页面
|
|
756
|
-
throw redirect({
|
|
757
|
-
to: "/{-$locale}/404",
|
|
758
|
-
params: { locale: localePrefix },
|
|
759
|
-
});
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
component: Outlet,
|
|
763
|
-
// notFoundComponent 在子路由不存在时被调用
|
|
764
|
-
// 例如,/en/不存在的页面 在 /en 布局内触发此操作
|
|
765
|
-
notFoundComponent: NotFoundComponent,
|
|
766
|
-
});
|
|
767
|
-
```
|
|
768
|
-
|
|
769
|
-
```tsx fileName="src/routes/{-$locale}/$.tsx"
|
|
770
|
-
import { createFileRoute } from "@tanstack/react-router";
|
|
771
|
-
|
|
772
|
-
import { NotFoundComponent } from "./404";
|
|
773
|
-
|
|
774
|
-
// $ (splat/catch-all) 路由匹配任何与其他路由不匹配的路径
|
|
775
|
-
// 例如,/en/某个/深度/嵌套/无效/路径
|
|
776
|
-
// 这确保区域设置内所有不匹配的路径都显示 404 页面
|
|
777
|
-
// 没有这个,不匹配的深层路径可能会显示空白页面或错误
|
|
778
|
-
export const Route = createFileRoute("/{-$locale}/$")({
|
|
779
|
-
component: NotFoundComponent,
|
|
780
|
-
});
|
|
781
|
-
```
|
|
782
|
-
|
|
783
|
-
---
|
|
784
|
-
|
|
785
|
-
### 第十五步:提取组件中的内容(可选)
|
|
786
|
-
|
|
787
|
-
如果您有现有的代码库,转换数千个文件可能会非常耗时。
|
|
788
|
-
|
|
789
|
-
为了简化此过程,Intlayer 提供了 [编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) / [提取器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 来转换您的组件并提取内容。
|
|
790
|
-
|
|
791
|
-
要进行设置,您可以在 `intlayer.config.ts` 文件中添加 `compiler` 部分:
|
|
792
|
-
|
|
793
|
-
```typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
794
|
-
import { type IntlayerConfig } from "intlayer";
|
|
795
|
-
|
|
796
|
-
const config: IntlayerConfig = {
|
|
797
|
-
// ... 您的其他配置
|
|
798
|
-
compiler: {
|
|
799
|
-
/**
|
|
800
|
-
* 指示是否应启用编译器。
|
|
801
|
-
*/
|
|
802
|
-
enabled: true,
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* 定义输出文件路径
|
|
806
|
-
*/
|
|
807
|
-
output: ({ fileName, extension }) => `./${fileName}${extension}`,
|
|
808
|
-
|
|
809
|
-
/**
|
|
810
|
-
* 指示在转换后是否应保存组件。这样,编译器只需运行一次即可转换应用程序,然后即可将其删除。
|
|
811
|
-
*/
|
|
812
|
-
saveComponents: false,
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* 字典键前缀
|
|
816
|
-
*/
|
|
817
|
-
dictionaryKeyPrefix: "",
|
|
818
|
-
},
|
|
819
|
-
};
|
|
820
|
-
|
|
821
|
-
export default config;
|
|
822
|
-
```
|
|
823
|
-
|
|
824
|
-
<Tabs>
|
|
825
|
-
<Tab value='提取命令'>
|
|
826
|
-
|
|
827
|
-
运行提取器以转换组件并提取内容
|
|
828
|
-
|
|
829
|
-
```bash packageManager="npm"
|
|
830
|
-
npx intlayer extract
|
|
831
|
-
```
|
|
832
|
-
|
|
833
|
-
```bash packageManager="pnpm"
|
|
834
|
-
pnpm intlayer extract
|
|
835
|
-
```
|
|
836
|
-
|
|
837
|
-
```bash packageManager="yarn"
|
|
838
|
-
yarn intlayer extract
|
|
839
|
-
```
|
|
840
|
-
|
|
841
|
-
```bash packageManager="bun"
|
|
842
|
-
bun x intlayer extract
|
|
843
|
-
```
|
|
844
|
-
|
|
845
|
-
</Tab>
|
|
846
|
-
<Tab value='Babel 编译器'>
|
|
847
|
-
|
|
848
|
-
更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
|
|
849
|
-
|
|
850
|
-
```ts fileName="vite.config.ts"
|
|
851
|
-
import { defineConfig } from "vite";
|
|
852
|
-
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
853
|
-
|
|
854
|
-
export default defineConfig({
|
|
855
|
-
plugins: [
|
|
856
|
-
intlayer(),
|
|
857
|
-
intlayerCompiler(), // 添加编译器插件
|
|
858
|
-
],
|
|
859
|
-
});
|
|
860
|
-
```
|
|
861
|
-
|
|
862
|
-
</Tab>
|
|
863
|
-
</Tabs>
|
|
864
|
-
|
|
865
|
-
---
|
|
866
|
-
|
|
867
258
|
### 第十六步:生成站点地图 (Sitemap)(可选)
|
|
868
259
|
|
|
869
260
|
Intlayer 附带一个内置的站点地图生成器,可帮助您轻松为应用程序创建站点地图。它能够处理本地化路由,并为搜索引擎添加必要的元数据。
|
|
@@ -939,24 +330,6 @@ export const Route = createFileRoute("/sitemap.xml")({
|
|
|
939
330
|
|
|
940
331
|
---
|
|
941
332
|
|
|
942
|
-
### 第十七步:TypeScript 配置 (可选)
|
|
943
|
-
|
|
944
|
-
Intlayer 通过模块扩充来利用 TypeScript 的优势,增强您的代码库。
|
|
945
|
-
|
|
946
|
-
确保自动生成的类型已包含在您的 TypeScript 配置中。
|
|
947
|
-
|
|
948
|
-
```json5 fileName="tsconfig.json"
|
|
949
|
-
{
|
|
950
|
-
// ... 现有配置
|
|
951
|
-
include: [
|
|
952
|
-
// ... 现有包含
|
|
953
|
-
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
954
|
-
],
|
|
955
|
-
}
|
|
956
|
-
```
|
|
957
|
-
|
|
958
|
-
---
|
|
959
|
-
|
|
960
333
|
### Git 配置
|
|
961
334
|
|
|
962
335
|
建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。
|