@intlayer/docs 9.0.0-canary.3 → 9.0.0-canary.5
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 +160 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +160 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +8 -0
- 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/fill.md +8 -0
- 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 +3 -1
- package/docs/ar/configuration.md +19 -17
- package/docs/ar/custom_domains.md +1 -1
- package/docs/ar/custom_url_rewrites.md +1 -1
- package/docs/ar/dictionary/content_file.md +4 -7
- package/docs/ar/dictionary/enumeration.md +0 -187
- package/docs/ar/dictionary/file.md +8 -0
- package/docs/ar/dictionary/nesting.md +39 -0
- package/docs/ar/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +129 -2
- package/docs/ar/intlayer_with_astro_lit.md +21 -9
- package/docs/ar/intlayer_with_astro_preact.md +21 -9
- package/docs/ar/intlayer_with_astro_react.md +21 -9
- package/docs/ar/intlayer_with_astro_solid.md +21 -9
- package/docs/ar/intlayer_with_astro_svelte.md +21 -9
- package/docs/ar/intlayer_with_astro_vanilla.md +21 -9
- package/docs/ar/intlayer_with_astro_vue.md +21 -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 +20 -4
- 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 +144 -6
- package/docs/ar/intlayer_with_nextjs_compiler.md +21 -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 +56 -4
- package/docs/ar/intlayer_with_react_router_v7.md +21 -99
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +40 -100
- package/docs/ar/intlayer_with_svelte_kit.md +7 -181
- package/docs/ar/intlayer_with_tanstack+solid.md +23 -5
- package/docs/ar/intlayer_with_tanstack.md +21 -5
- package/docs/ar/intlayer_with_vite+lit.md +21 -5
- package/docs/ar/intlayer_with_vite+preact.md +60 -44
- package/docs/ar/intlayer_with_vite+react.md +21 -5
- package/docs/ar/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/ar/intlayer_with_vite+solid.md +45 -29
- package/docs/ar/intlayer_with_vite+svelte.md +32 -16
- package/docs/ar/intlayer_with_vite+vanilla.md +21 -5
- package/docs/ar/intlayer_with_vite+vue.md +64 -118
- 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/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/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/vue-intlayer/exports.md +4 -0
- package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ar/releases/v6.md +28 -0
- package/docs/ar/releases/v7.md +128 -0
- package/docs/ar/releases/v9.md +37 -1
- package/docs/ar/roadmap.md +6 -0
- package/docs/bn/intlayer_with_angular_21.md +20 -4
- package/docs/bn/intlayer_with_fastify.md +20 -8
- package/docs/bn/intlayer_with_hono.md +20 -4
- package/docs/bn/intlayer_with_vite+lit.md +20 -4
- package/docs/bn/intlayer_with_vite+vanilla.md +20 -4
- package/docs/bn/packages/intlayer/comparePaths.md +173 -0
- 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_vite+lit.md +20 -4
- package/docs/cs/intlayer_with_vite+vanilla.md +20 -4
- 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/fill.md +8 -0
- package/docs/de/cli/init.md +20 -0
- 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 +3 -1
- package/docs/de/configuration.md +19 -17
- package/docs/de/custom_domains.md +1 -1
- package/docs/de/custom_url_rewrites.md +1 -1
- package/docs/de/dictionary/content_file.md +4 -0
- package/docs/de/dictionary/enumeration.md +0 -199
- package/docs/de/dictionary/file.md +8 -0
- package/docs/de/dictionary/insertion.md +0 -4
- package/docs/de/dictionary/nesting.md +39 -0
- package/docs/de/dictionary/translation.md +0 -61
- package/docs/de/dynamic_dictionaries/index.md +6 -0
- 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 +20 -4
- 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 +129 -2
- package/docs/de/intlayer_with_astro_lit.md +21 -9
- package/docs/de/intlayer_with_astro_preact.md +21 -9
- package/docs/de/intlayer_with_astro_react.md +21 -9
- package/docs/de/intlayer_with_astro_solid.md +21 -9
- package/docs/de/intlayer_with_astro_svelte.md +21 -9
- package/docs/de/intlayer_with_astro_vanilla.md +21 -9
- package/docs/de/intlayer_with_astro_vue.md +21 -9
- 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 +24 -6
- 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 +21 -5
- package/docs/de/intlayer_with_nextjs_compiler.md +49 -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 +36 -0
- package/docs/de/intlayer_with_react_router_v7.md +21 -99
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -91
- package/docs/de/intlayer_with_svelte_kit.md +7 -181
- package/docs/de/intlayer_with_tanstack+solid.md +23 -5
- package/docs/de/intlayer_with_tanstack.md +21 -5
- package/docs/de/intlayer_with_vite+lit.md +21 -5
- package/docs/de/intlayer_with_vite+preact.md +81 -61
- package/docs/de/intlayer_with_vite+react.md +21 -5
- package/docs/de/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/de/intlayer_with_vite+solid.md +53 -46
- package/docs/de/intlayer_with_vite+svelte.md +27 -29
- package/docs/de/intlayer_with_vite+vanilla.md +21 -5
- package/docs/de/intlayer_with_vite+vue.md +74 -106
- package/docs/de/mcp_server.md +22 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/de/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/de/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/de/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/de/releases/v6.md +10 -6
- package/docs/de/releases/v7.md +128 -0
- package/docs/de/releases/v9.md +37 -1
- package/docs/de/roadmap.md +6 -16
- package/docs/en/bundle_optimization.md +8 -3
- package/docs/en/compiler.md +12 -6
- package/docs/en/configuration.md +22 -8
- package/docs/en/custom_domains.md +2 -0
- package/docs/en/custom_url_rewrites.md +2 -0
- package/docs/en/intlayer_with_adonisjs.md +20 -4
- package/docs/en/intlayer_with_analog.md +20 -4
- 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 +20 -4
- 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 +22 -4
- package/docs/en/intlayer_with_nextjs_compiler.md +22 -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 +28 -4
- package/docs/en/intlayer_with_react_router_v7.md +22 -4
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +2 -0
- package/docs/en/intlayer_with_svelte_kit.md +24 -4
- package/docs/en/intlayer_with_tanstack+solid.md +22 -4
- package/docs/en/intlayer_with_tanstack.md +22 -4
- package/docs/en/intlayer_with_vite+lit.md +22 -4
- package/docs/en/intlayer_with_vite+preact.md +22 -4
- package/docs/en/intlayer_with_vite+react.md +22 -4
- package/docs/en/intlayer_with_vite+react_compiler.md +22 -4
- package/docs/en/intlayer_with_vite+solid.md +22 -4
- package/docs/en/intlayer_with_vite+svelte.md +22 -4
- package/docs/en/intlayer_with_vite+vanilla.md +24 -4
- package/docs/en/intlayer_with_vite+vue.md +22 -4
- package/docs/en/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/en/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/en/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/en/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en/releases/v9.md +38 -1
- 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/fill.md +8 -0
- package/docs/en-GB/cli/login.md +0 -36
- 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 +3 -1
- package/docs/en-GB/configuration.md +4 -1
- package/docs/en-GB/custom_domains.md +1 -1
- package/docs/en-GB/custom_url_rewrites.md +1 -1
- package/docs/en-GB/dictionary/content_file.md +4 -7
- package/docs/en-GB/dictionary/file.md +8 -0
- package/docs/en-GB/dictionary/function_fetching.md +0 -4
- package/docs/en-GB/dictionary/nesting.md +8 -0
- package/docs/en-GB/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +129 -2
- package/docs/en-GB/intlayer_with_astro_lit.md +21 -9
- package/docs/en-GB/intlayer_with_astro_preact.md +21 -9
- package/docs/en-GB/intlayer_with_astro_react.md +21 -9
- package/docs/en-GB/intlayer_with_astro_solid.md +21 -9
- package/docs/en-GB/intlayer_with_astro_svelte.md +21 -9
- package/docs/en-GB/intlayer_with_astro_vanilla.md +21 -9
- package/docs/en-GB/intlayer_with_astro_vue.md +21 -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 +40 -8
- 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 +76 -8
- package/docs/en-GB/intlayer_with_react_router_v7.md +21 -5
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +40 -5
- package/docs/en-GB/intlayer_with_svelte_kit.md +7 -181
- package/docs/en-GB/intlayer_with_tanstack+solid.md +23 -5
- package/docs/en-GB/intlayer_with_tanstack.md +21 -5
- package/docs/en-GB/intlayer_with_vite+lit.md +21 -5
- package/docs/en-GB/intlayer_with_vite+preact.md +25 -5
- package/docs/en-GB/intlayer_with_vite+react.md +21 -5
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/en-GB/intlayer_with_vite+solid.md +21 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +21 -5
- package/docs/en-GB/intlayer_with_vite+vanilla.md +21 -5
- package/docs/en-GB/intlayer_with_vite+vue.md +29 -184
- 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/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/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/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 +0 -59
- 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 +190 -0
- package/docs/en-GB/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/es/cli/login.md +0 -36
- 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 +3 -1
- package/docs/es/configuration.md +19 -17
- package/docs/es/custom_domains.md +1 -1
- package/docs/es/custom_url_rewrites.md +1 -1
- package/docs/es/dictionary/content_file.md +4 -0
- package/docs/es/dictionary/file.md +8 -0
- package/docs/es/dictionary/nesting.md +39 -0
- package/docs/es/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +129 -2
- package/docs/es/intlayer_with_astro_lit.md +21 -9
- package/docs/es/intlayer_with_astro_preact.md +21 -9
- package/docs/es/intlayer_with_astro_react.md +21 -9
- package/docs/es/intlayer_with_astro_solid.md +21 -9
- package/docs/es/intlayer_with_astro_svelte.md +21 -9
- package/docs/es/intlayer_with_astro_vanilla.md +21 -9
- package/docs/es/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +21 -5
- package/docs/es/intlayer_with_nextjs_compiler.md +21 -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 +56 -4
- package/docs/es/intlayer_with_react_router_v7.md +21 -99
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/es/intlayer_with_svelte_kit.md +7 -181
- package/docs/es/intlayer_with_tanstack+solid.md +23 -5
- package/docs/es/intlayer_with_tanstack.md +21 -5
- package/docs/es/intlayer_with_vite+lit.md +21 -5
- package/docs/es/intlayer_with_vite+preact.md +25 -5
- package/docs/es/intlayer_with_vite+react.md +21 -5
- package/docs/es/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/es/intlayer_with_vite+solid.md +21 -5
- package/docs/es/intlayer_with_vite+svelte.md +21 -5
- package/docs/es/intlayer_with_vite+vanilla.md +21 -5
- package/docs/es/intlayer_with_vite+vue.md +38 -90
- package/docs/es/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/es/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/es/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/es/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/es/releases/v6.md +28 -0
- package/docs/es/releases/v7.md +128 -0
- package/docs/es/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/fr/cli/login.md +0 -36
- 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 +3 -1
- package/docs/fr/configuration.md +20 -17
- package/docs/fr/custom_domains.md +1 -1
- package/docs/fr/custom_url_rewrites.md +14 -14
- package/docs/fr/dictionary/content_file.md +4 -0
- package/docs/fr/dictionary/enumeration.md +0 -187
- package/docs/fr/dictionary/file.md +8 -0
- package/docs/fr/dictionary/nesting.md +39 -0
- package/docs/fr/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +129 -2
- package/docs/fr/intlayer_with_astro_lit.md +21 -9
- package/docs/fr/intlayer_with_astro_preact.md +21 -9
- package/docs/fr/intlayer_with_astro_react.md +21 -9
- package/docs/fr/intlayer_with_astro_solid.md +21 -9
- package/docs/fr/intlayer_with_astro_svelte.md +21 -9
- package/docs/fr/intlayer_with_astro_vanilla.md +21 -9
- package/docs/fr/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +21 -5
- package/docs/fr/intlayer_with_nextjs_compiler.md +21 -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 +36 -0
- package/docs/fr/intlayer_with_react_router_v7.md +21 -99
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -100
- package/docs/fr/intlayer_with_svelte_kit.md +7 -213
- package/docs/fr/intlayer_with_tanstack+solid.md +23 -5
- package/docs/fr/intlayer_with_tanstack.md +21 -5
- package/docs/fr/intlayer_with_vite+lit.md +21 -5
- package/docs/fr/intlayer_with_vite+preact.md +25 -5
- package/docs/fr/intlayer_with_vite+react.md +21 -5
- package/docs/fr/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/fr/intlayer_with_vite+solid.md +21 -5
- package/docs/fr/intlayer_with_vite+svelte.md +21 -5
- package/docs/fr/intlayer_with_vite+vanilla.md +21 -5
- package/docs/fr/intlayer_with_vite+vue.md +33 -87
- package/docs/fr/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/fr/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +14 -10
- package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/fr/plugins/sync-json.md +0 -59
- package/docs/fr/releases/v6.md +28 -0
- package/docs/fr/releases/v7.md +128 -0
- package/docs/fr/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/hi/cli/login.md +0 -36
- 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 +3 -1
- package/docs/hi/configuration.md +19 -17
- package/docs/hi/custom_domains.md +1 -1
- package/docs/hi/custom_url_rewrites.md +1 -1
- package/docs/hi/dictionary/enumeration.md +0 -187
- package/docs/hi/dictionary/file.md +8 -0
- package/docs/hi/dictionary/nesting.md +39 -0
- package/docs/hi/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +130 -3
- package/docs/hi/intlayer_with_astro_lit.md +1 -1
- package/docs/hi/intlayer_with_astro_preact.md +1 -1
- package/docs/hi/intlayer_with_astro_react.md +1 -1
- package/docs/hi/intlayer_with_astro_solid.md +1 -1
- package/docs/hi/intlayer_with_astro_svelte.md +1 -1
- package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
- package/docs/hi/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +36 -0
- package/docs/hi/intlayer_with_react_router_v7.md +21 -99
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +40 -100
- package/docs/hi/intlayer_with_svelte_kit.md +7 -181
- package/docs/hi/intlayer_with_tanstack+solid.md +23 -5
- package/docs/hi/intlayer_with_tanstack.md +21 -5
- package/docs/hi/intlayer_with_vite+lit.md +21 -5
- package/docs/hi/intlayer_with_vite+preact.md +21 -5
- package/docs/hi/intlayer_with_vite+react.md +21 -5
- package/docs/hi/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/hi/intlayer_with_vite+solid.md +21 -5
- package/docs/hi/intlayer_with_vite+svelte.md +52 -52
- package/docs/hi/intlayer_with_vite+vanilla.md +21 -5
- package/docs/hi/intlayer_with_vite+vue.md +43 -75
- 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/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/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/vue-intlayer/exports.md +14 -10
- package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/hi/releases/v6.md +28 -0
- package/docs/hi/releases/v7.md +128 -0
- package/docs/hi/releases/v9.md +37 -1
- 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/fill.md +8 -0
- 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 +3 -1
- package/docs/id/configuration.md +19 -17
- package/docs/id/custom_domains.md +1 -1
- package/docs/id/custom_url_rewrites.md +14 -16
- package/docs/id/dictionary/content_file.md +0 -7
- package/docs/id/dictionary/enumeration.md +0 -187
- package/docs/id/dictionary/nesting.md +39 -0
- package/docs/id/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +130 -3
- package/docs/id/intlayer_with_astro_lit.md +21 -9
- package/docs/id/intlayer_with_astro_preact.md +21 -9
- package/docs/id/intlayer_with_astro_react.md +21 -9
- package/docs/id/intlayer_with_astro_solid.md +21 -9
- package/docs/id/intlayer_with_astro_svelte.md +21 -9
- package/docs/id/intlayer_with_astro_vanilla.md +21 -9
- package/docs/id/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +196 -58
- package/docs/id/intlayer_with_nextjs_compiler.md +21 -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 +8 -45
- package/docs/id/intlayer_with_react_router_v7.md +21 -99
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -87
- package/docs/id/intlayer_with_svelte_kit.md +7 -181
- package/docs/id/intlayer_with_tanstack+solid.md +23 -5
- package/docs/id/intlayer_with_tanstack.md +21 -5
- package/docs/id/intlayer_with_vite+lit.md +21 -5
- package/docs/id/intlayer_with_vite+preact.md +77 -61
- package/docs/id/intlayer_with_vite+react.md +69 -53
- package/docs/id/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/id/intlayer_with_vite+solid.md +53 -46
- package/docs/id/intlayer_with_vite+svelte.md +47 -33
- package/docs/id/intlayer_with_vite+vanilla.md +21 -5
- package/docs/id/intlayer_with_vite+vue.md +69 -105
- 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/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/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/vue-intlayer/exports.md +4 -0
- package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/id/releases/v6.md +4 -0
- package/docs/id/releases/v7.md +128 -0
- package/docs/id/releases/v9.md +37 -1
- 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/fill.md +8 -0
- 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 +3 -1
- package/docs/it/configuration.md +19 -17
- package/docs/it/custom_domains.md +1 -1
- package/docs/it/custom_url_rewrites.md +1 -1
- package/docs/it/dictionary/content_file.md +4 -7
- package/docs/it/dictionary/enumeration.md +0 -197
- package/docs/it/dictionary/file.md +8 -0
- package/docs/it/dictionary/nesting.md +39 -0
- package/docs/it/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +129 -2
- package/docs/it/intlayer_with_astro_lit.md +21 -9
- package/docs/it/intlayer_with_astro_preact.md +21 -9
- package/docs/it/intlayer_with_astro_react.md +21 -9
- package/docs/it/intlayer_with_astro_solid.md +21 -9
- package/docs/it/intlayer_with_astro_svelte.md +21 -9
- package/docs/it/intlayer_with_astro_vanilla.md +21 -9
- package/docs/it/intlayer_with_astro_vue.md +21 -9
- 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 +31 -4
- 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 +196 -58
- package/docs/it/intlayer_with_nextjs_compiler.md +21 -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 +56 -4
- package/docs/it/intlayer_with_react_router_v7.md +21 -99
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/it/intlayer_with_svelte_kit.md +7 -213
- package/docs/it/intlayer_with_tanstack+solid.md +23 -5
- package/docs/it/intlayer_with_tanstack.md +21 -5
- package/docs/it/intlayer_with_vite+lit.md +21 -5
- package/docs/it/intlayer_with_vite+preact.md +81 -61
- package/docs/it/intlayer_with_vite+react.md +69 -5
- package/docs/it/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/it/intlayer_with_vite+solid.md +53 -46
- package/docs/it/intlayer_with_vite+svelte.md +47 -33
- package/docs/it/intlayer_with_vite+vanilla.md +21 -5
- package/docs/it/intlayer_with_vite+vue.md +73 -127
- package/docs/it/mcp_server.md +22 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/it/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/it/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/it/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/it/releases/v6.md +28 -0
- package/docs/it/releases/v7.md +128 -0
- package/docs/it/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/ja/cli/list_projects.md +0 -18
- 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 +3 -1
- package/docs/ja/configuration.md +19 -17
- package/docs/ja/custom_domains.md +1 -1
- package/docs/ja/custom_url_rewrites.md +1 -1
- package/docs/ja/dictionary/content_file.md +4 -0
- package/docs/ja/dictionary/enumeration.md +0 -187
- package/docs/ja/dictionary/function_fetching.md +0 -27
- package/docs/ja/dictionary/markdown.md +1348 -0
- package/docs/ja/dictionary/nesting.md +39 -0
- package/docs/ja/dictionary/translation.md +0 -119
- 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 +24 -4
- 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 +129 -2
- package/docs/ja/intlayer_with_astro_lit.md +21 -9
- package/docs/ja/intlayer_with_astro_preact.md +21 -9
- package/docs/ja/intlayer_with_astro_react.md +21 -9
- package/docs/ja/intlayer_with_astro_solid.md +21 -9
- package/docs/ja/intlayer_with_astro_svelte.md +21 -9
- package/docs/ja/intlayer_with_astro_vanilla.md +21 -9
- package/docs/ja/intlayer_with_astro_vue.md +21 -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 +20 -4
- 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 +196 -58
- package/docs/ja/intlayer_with_nextjs_compiler.md +21 -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 +36 -0
- package/docs/ja/intlayer_with_react_router_v7.md +1 -23
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/ja/intlayer_with_svelte_kit.md +12 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +23 -5
- package/docs/ja/intlayer_with_tanstack.md +23 -5
- package/docs/ja/intlayer_with_vite+lit.md +21 -5
- package/docs/ja/intlayer_with_vite+preact.md +704 -1
- package/docs/ja/intlayer_with_vite+react.md +1 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/ja/intlayer_with_vite+solid.md +53 -46
- package/docs/ja/intlayer_with_vite+svelte.md +49 -33
- package/docs/ja/intlayer_with_vite+vanilla.md +21 -5
- package/docs/ja/intlayer_with_vite+vue.md +90 -118
- package/docs/ja/mcp_server.md +26 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/ja/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ja/releases/v6.md +28 -0
- package/docs/ja/releases/v7.md +128 -0
- package/docs/ja/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/ko/cli/login.md +0 -36
- 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 +3 -1
- package/docs/ko/configuration.md +19 -17
- package/docs/ko/custom_domains.md +1 -1
- package/docs/ko/custom_url_rewrites.md +1 -1
- package/docs/ko/dictionary/content_file.md +4 -27
- package/docs/ko/dictionary/enumeration.md +0 -187
- package/docs/ko/dictionary/insertion.md +0 -6
- package/docs/ko/dictionary/nesting.md +39 -0
- package/docs/ko/dictionary/translation.md +0 -84
- 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 +46 -10
- 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 +156 -9
- package/docs/ko/intlayer_with_astro_lit.md +32 -10
- package/docs/ko/intlayer_with_astro_preact.md +32 -10
- package/docs/ko/intlayer_with_astro_react.md +32 -10
- package/docs/ko/intlayer_with_astro_solid.md +32 -10
- package/docs/ko/intlayer_with_astro_svelte.md +32 -10
- package/docs/ko/intlayer_with_astro_vanilla.md +29 -9
- package/docs/ko/intlayer_with_astro_vue.md +52 -18
- 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 +0 -108
- 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 +228 -67
- package/docs/ko/intlayer_with_nextjs_compiler.md +32 -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 +56 -266
- package/docs/ko/intlayer_with_react_router_v7.md +58 -104
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +77 -105
- package/docs/ko/intlayer_with_storybook.md +28 -8
- package/docs/ko/intlayer_with_svelte_kit.md +44 -178
- package/docs/ko/intlayer_with_tanstack+solid.md +81 -23
- package/docs/ko/intlayer_with_tanstack.md +79 -23
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +61 -17
- package/docs/ko/intlayer_with_vite+preact.md +107 -99
- package/docs/ko/intlayer_with_vite+react.md +99 -16
- package/docs/ko/intlayer_with_vite+react_compiler.md +43 -11
- package/docs/ko/intlayer_with_vite+solid.md +86 -154
- package/docs/ko/intlayer_with_vite+svelte.md +78 -42
- package/docs/ko/intlayer_with_vite+vanilla.md +64 -18
- package/docs/ko/intlayer_with_vite+vue.md +105 -115
- package/docs/ko/mcp_server.md +22 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/ko/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ko/releases/v6.md +28 -0
- package/docs/ko/releases/v7.md +128 -0
- package/docs/ko/releases/v9.md +37 -1
- package/docs/ko/roadmap.md +6 -0
- 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_vite+lit.md +20 -4
- package/docs/nl/intlayer_with_vite+vanilla.md +20 -4
- 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/fill.md +8 -0
- package/docs/pl/cli/login.md +0 -36
- 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/configuration.md +15 -16
- package/docs/pl/dictionary/content_file.md +0 -40
- package/docs/pl/dictionary/enumeration.md +0 -187
- package/docs/pl/dictionary/nesting.md +39 -0
- package/docs/pl/dictionary/translation.md +0 -61
- package/docs/pl/formatters.md +120 -0
- package/docs/pl/intlayer_with_adonisjs.md +20 -4
- package/docs/pl/intlayer_with_analog.md +20 -4
- 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 +179 -0
- package/docs/pl/intlayer_with_astro_lit.md +20 -8
- package/docs/pl/intlayer_with_astro_preact.md +20 -8
- package/docs/pl/intlayer_with_astro_react.md +20 -8
- package/docs/pl/intlayer_with_astro_solid.md +20 -8
- package/docs/pl/intlayer_with_astro_svelte.md +20 -8
- package/docs/pl/intlayer_with_astro_vanilla.md +20 -8
- package/docs/pl/intlayer_with_astro_vue.md +20 -8
- 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 +20 -4
- 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 +20 -4
- package/docs/pl/intlayer_with_nextjs_compiler.md +20 -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 +8 -45
- package/docs/pl/intlayer_with_react_router_v7.md +20 -98
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +0 -95
- package/docs/pl/intlayer_with_svelte_kit.md +6 -184
- package/docs/pl/intlayer_with_tanstack+solid.md +20 -4
- package/docs/pl/intlayer_with_tanstack.md +20 -4
- package/docs/pl/intlayer_with_vite+lit.md +20 -4
- package/docs/pl/intlayer_with_vite+preact.md +76 -60
- package/docs/pl/intlayer_with_vite+react.md +68 -52
- package/docs/pl/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/pl/intlayer_with_vite+solid.md +52 -45
- package/docs/pl/intlayer_with_vite+svelte.md +48 -32
- package/docs/pl/intlayer_with_vite+vanilla.md +20 -4
- package/docs/pl/intlayer_with_vite+vue.md +68 -74
- 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/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/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/vue-intlayer/exports.md +4 -0
- package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pl/plugins/sync-json.md +0 -59
- package/docs/pl/releases/v6.md +4 -0
- package/docs/pl/releases/v7.md +128 -0
- package/docs/pl/releases/v9.md +36 -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/fill.md +8 -0
- package/docs/pt/cli/login.md +0 -36
- 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 +2 -2
- package/docs/pt/configuration.md +16 -17
- package/docs/pt/custom_domains.md +1 -6
- package/docs/pt/custom_url_rewrites.md +1 -1
- package/docs/pt/dictionary/content_file.md +4 -7
- package/docs/pt/dictionary/enumeration.md +3 -190
- package/docs/pt/dictionary/file.md +8 -0
- package/docs/pt/dictionary/nesting.md +39 -0
- package/docs/pt/dictionary/translation.md +0 -61
- 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 +23 -7
- 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 +182 -3
- package/docs/pt/intlayer_with_astro_lit.md +23 -11
- package/docs/pt/intlayer_with_astro_preact.md +23 -11
- package/docs/pt/intlayer_with_astro_react.md +23 -11
- package/docs/pt/intlayer_with_astro_solid.md +23 -11
- package/docs/pt/intlayer_with_astro_svelte.md +23 -11
- package/docs/pt/intlayer_with_astro_vanilla.md +23 -11
- package/docs/pt/intlayer_with_astro_vue.md +23 -11
- 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 +34 -7
- 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 +26 -10
- package/docs/pt/intlayer_with_nextjs_compiler.md +21 -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 +59 -7
- package/docs/pt/intlayer_with_react_router_v7.md +28 -88
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -98
- package/docs/pt/intlayer_with_storybook.md +3 -3
- package/docs/pt/intlayer_with_svelte_kit.md +9 -219
- package/docs/pt/intlayer_with_tanstack+solid.md +23 -7
- package/docs/pt/intlayer_with_tanstack.md +23 -7
- package/docs/pt/intlayer_with_vanilla.md +3 -3
- package/docs/pt/intlayer_with_vite+lit.md +23 -7
- package/docs/pt/intlayer_with_vite+preact.md +23 -7
- package/docs/pt/intlayer_with_vite+react.md +30 -14
- package/docs/pt/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/pt/intlayer_with_vite+solid.md +23 -7
- package/docs/pt/intlayer_with_vite+svelte.md +51 -35
- package/docs/pt/intlayer_with_vite+vanilla.md +23 -7
- package/docs/pt/intlayer_with_vite+vue.md +27 -7
- package/docs/pt/mcp_server.md +22 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/pt/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +5 -1
- package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
- 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/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/ru/cli/login.md +0 -36
- 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 +3 -1
- package/docs/ru/configuration.md +19 -17
- package/docs/ru/custom_domains.md +1 -1
- package/docs/ru/custom_url_rewrites.md +1 -1
- package/docs/ru/dictionary/content_file.md +4 -27
- package/docs/ru/dictionary/enumeration.md +0 -199
- package/docs/ru/dictionary/file.md +8 -0
- package/docs/ru/dictionary/markdown.md +510 -0
- package/docs/ru/dictionary/nesting.md +8 -0
- package/docs/ru/dictionary/translation.md +0 -61
- 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 +20 -4
- 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 +129 -2
- package/docs/ru/intlayer_with_astro_lit.md +1 -1
- package/docs/ru/intlayer_with_astro_preact.md +1 -1
- package/docs/ru/intlayer_with_astro_react.md +1 -1
- package/docs/ru/intlayer_with_astro_solid.md +1 -1
- package/docs/ru/intlayer_with_astro_svelte.md +1 -1
- package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
- package/docs/ru/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +21 -5
- package/docs/ru/intlayer_with_nextjs_compiler.md +21 -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 +56 -53
- package/docs/ru/intlayer_with_react_router_v7.md +21 -99
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/ru/intlayer_with_svelte_kit.md +7 -181
- package/docs/ru/intlayer_with_tanstack+solid.md +23 -5
- package/docs/ru/intlayer_with_tanstack.md +21 -5
- package/docs/ru/intlayer_with_vite+lit.md +21 -5
- package/docs/ru/intlayer_with_vite+preact.md +77 -61
- package/docs/ru/intlayer_with_vite+react.md +23 -5
- package/docs/ru/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/ru/intlayer_with_vite+solid.md +53 -46
- package/docs/ru/intlayer_with_vite+svelte.md +47 -33
- package/docs/ru/intlayer_with_vite+vanilla.md +21 -5
- package/docs/ru/intlayer_with_vite+vue.md +73 -105
- package/docs/ru/mcp_server.md +22 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/ru/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ru/releases/v6.md +28 -0
- package/docs/ru/releases/v7.md +128 -0
- package/docs/ru/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/tr/cli/login.md +0 -10
- 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 +3 -1
- package/docs/tr/configuration.md +19 -17
- package/docs/tr/custom_domains.md +1 -1
- package/docs/tr/custom_url_rewrites.md +1 -1
- package/docs/tr/dictionary/content_file.md +4 -27
- package/docs/tr/dictionary/enumeration.md +0 -187
- package/docs/tr/dictionary/file.md +8 -0
- package/docs/tr/dictionary/nesting.md +39 -0
- package/docs/tr/dictionary/translation.md +0 -88
- 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 +24 -4
- 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 +21 -9
- package/docs/tr/intlayer_with_astro_preact.md +21 -9
- package/docs/tr/intlayer_with_astro_react.md +21 -9
- package/docs/tr/intlayer_with_astro_solid.md +21 -9
- package/docs/tr/intlayer_with_astro_svelte.md +21 -9
- package/docs/tr/intlayer_with_astro_vanilla.md +21 -9
- package/docs/tr/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +21 -5
- package/docs/tr/intlayer_with_nextjs_compiler.md +21 -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 +56 -34
- package/docs/tr/intlayer_with_react_router_v7.md +21 -99
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/tr/intlayer_with_svelte_kit.md +7 -181
- package/docs/tr/intlayer_with_tanstack+solid.md +23 -5
- package/docs/tr/intlayer_with_tanstack.md +21 -5
- package/docs/tr/intlayer_with_vite+lit.md +21 -5
- package/docs/tr/intlayer_with_vite+preact.md +77 -61
- package/docs/tr/intlayer_with_vite+react.md +69 -53
- package/docs/tr/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/tr/intlayer_with_vite+solid.md +53 -46
- package/docs/tr/intlayer_with_vite+svelte.md +47 -33
- package/docs/tr/intlayer_with_vite+vanilla.md +21 -5
- package/docs/tr/intlayer_with_vite+vue.md +74 -106
- package/docs/tr/mcp_server.md +22 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/tr/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +20 -4
- 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/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/vue-intlayer/exports.md +4 -0
- package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/tr/releases/v6.md +28 -0
- package/docs/tr/releases/v7.md +128 -0
- package/docs/tr/releases/v9.md +37 -1
- 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/fill.md +8 -0
- 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 +3 -1
- package/docs/uk/configuration.md +19 -17
- package/docs/uk/custom_domains.md +1 -1
- package/docs/uk/custom_url_rewrites.md +1 -1
- package/docs/uk/dictionary/content_file.md +0 -7
- package/docs/uk/dictionary/enumeration.md +0 -187
- package/docs/uk/dictionary/nesting.md +39 -0
- package/docs/uk/dictionary/translation.md +0 -72
- 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 +24 -4
- 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 +130 -3
- package/docs/uk/intlayer_with_astro_lit.md +21 -9
- package/docs/uk/intlayer_with_astro_preact.md +21 -9
- package/docs/uk/intlayer_with_astro_react.md +21 -9
- package/docs/uk/intlayer_with_astro_solid.md +21 -9
- package/docs/uk/intlayer_with_astro_svelte.md +21 -9
- package/docs/uk/intlayer_with_astro_vanilla.md +21 -9
- package/docs/uk/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +21 -5
- package/docs/uk/intlayer_with_nextjs_compiler.md +21 -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 +8 -45
- package/docs/uk/intlayer_with_react_router_v7.md +21 -99
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/uk/intlayer_with_svelte_kit.md +21 -5
- package/docs/uk/intlayer_with_tanstack+solid.md +23 -5
- package/docs/uk/intlayer_with_tanstack.md +21 -5
- package/docs/uk/intlayer_with_vite+lit.md +21 -5
- package/docs/uk/intlayer_with_vite+preact.md +77 -61
- package/docs/uk/intlayer_with_vite+react.md +69 -53
- package/docs/uk/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/uk/intlayer_with_vite+solid.md +53 -46
- package/docs/uk/intlayer_with_vite+svelte.md +49 -33
- package/docs/uk/intlayer_with_vite+vanilla.md +21 -5
- package/docs/uk/intlayer_with_vite+vue.md +69 -105
- 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/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/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/vue-intlayer/exports.md +4 -0
- package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/uk/releases/v6.md +4 -0
- package/docs/uk/releases/v7.md +4 -0
- package/docs/uk/releases/v9.md +37 -1
- 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_vite+lit.md +20 -4
- package/docs/ur/intlayer_with_vite+vanilla.md +20 -4
- 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/fill.md +8 -0
- package/docs/vi/cli/login.md +0 -36
- 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 +3 -1
- package/docs/vi/configuration.md +19 -17
- package/docs/vi/custom_domains.md +1 -1
- package/docs/vi/custom_url_rewrites.md +1 -1
- package/docs/vi/dictionary/content_file.md +0 -7
- package/docs/vi/dictionary/enumeration.md +0 -199
- package/docs/vi/dictionary/insertion.md +0 -2
- package/docs/vi/dictionary/nesting.md +39 -0
- package/docs/vi/dictionary/translation.md +0 -61
- 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 +24 -4
- 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 +130 -3
- package/docs/vi/intlayer_with_astro_lit.md +21 -9
- package/docs/vi/intlayer_with_astro_preact.md +21 -9
- package/docs/vi/intlayer_with_astro_react.md +21 -9
- package/docs/vi/intlayer_with_astro_solid.md +21 -9
- package/docs/vi/intlayer_with_astro_svelte.md +21 -9
- package/docs/vi/intlayer_with_astro_vanilla.md +21 -9
- package/docs/vi/intlayer_with_astro_vue.md +21 -9
- 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 +20 -4
- 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 +489 -5
- package/docs/vi/intlayer_with_nextjs_16.md +21 -5
- package/docs/vi/intlayer_with_nextjs_compiler.md +21 -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 +8 -45
- package/docs/vi/intlayer_with_react_router_v7.md +21 -99
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -87
- package/docs/vi/intlayer_with_svelte_kit.md +7 -181
- package/docs/vi/intlayer_with_tanstack+solid.md +23 -5
- package/docs/vi/intlayer_with_tanstack.md +21 -5
- package/docs/vi/intlayer_with_vite+lit.md +21 -5
- package/docs/vi/intlayer_with_vite+preact.md +77 -61
- package/docs/vi/intlayer_with_vite+react.md +69 -53
- package/docs/vi/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/vi/intlayer_with_vite+solid.md +53 -46
- package/docs/vi/intlayer_with_vite+svelte.md +49 -35
- package/docs/vi/intlayer_with_vite+vanilla.md +21 -5
- package/docs/vi/intlayer_with_vite+vue.md +69 -105
- 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/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/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/vue-intlayer/exports.md +14 -10
- package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/vi/releases/v6.md +4 -0
- package/docs/vi/releases/v7.md +128 -0
- package/docs/vi/releases/v9.md +37 -1
- 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/fill.md +8 -0
- package/docs/zh/cli/login.md +0 -36
- 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 +3 -1
- package/docs/zh/configuration.md +19 -17
- package/docs/zh/custom_domains.md +1 -1
- package/docs/zh/custom_url_rewrites.md +14 -16
- package/docs/zh/dictionary/content_file.md +16 -20
- package/docs/zh/dictionary/enumeration.md +0 -187
- package/docs/zh/dictionary/function_fetching.md +0 -27
- package/docs/zh/dictionary/insertion.md +0 -64
- package/docs/zh/dictionary/nesting.md +39 -0
- package/docs/zh/dictionary/translation.md +0 -84
- 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 +242 -60
- package/docs/zh/intlayer_with_astro_lit.md +128 -82
- package/docs/zh/intlayer_with_astro_preact.md +122 -76
- package/docs/zh/intlayer_with_astro_react.md +124 -78
- package/docs/zh/intlayer_with_astro_solid.md +124 -78
- package/docs/zh/intlayer_with_astro_svelte.md +124 -78
- package/docs/zh/intlayer_with_astro_vanilla.md +121 -77
- package/docs/zh/intlayer_with_astro_vue.md +116 -70
- 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 +149 -91
- package/docs/zh/intlayer_with_nextjs_compiler.md +172 -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 +55 -190
- package/docs/zh/intlayer_with_react_router_v7.md +21 -346
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -316
- package/docs/zh/intlayer_with_storybook.md +0 -240
- package/docs/zh/intlayer_with_svelte_kit.md +1 -517
- 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 +1 -225
- package/docs/zh/intlayer_with_vite+react.md +2 -2
- 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 +124 -82
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -426
- package/docs/zh/intlayer_with_vite+vue.md +115 -140
- 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/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/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/vue-intlayer/exports.md +14 -10
- package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/zh/releases/v6.md +28 -0
- package/docs/zh/releases/v7.md +128 -0
- package/docs/zh/releases/v8.md +190 -0
- package/docs/zh/releases/v9.md +37 -1
- 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 +7 -7
- package/src/generated/docs.entry.ts +160 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: usePathname 函数文档 | vue-intlayer
|
|
5
|
+
description: 了解如何使用 vue-intlayer 包中的 usePathname 函数
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- 国际化 (Internationalization)
|
|
12
|
+
- 文档 (Documentation)
|
|
13
|
+
- Vue
|
|
14
|
+
- JavaScript
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- packages
|
|
18
|
+
- vue-intlayer
|
|
19
|
+
- usePathname
|
|
20
|
+
history:
|
|
21
|
+
- version: 10.0.0
|
|
22
|
+
date: 2026-06-23
|
|
23
|
+
changes: "添加 usePathname 实用程序"
|
|
24
|
+
- version: 8.2.0
|
|
25
|
+
date: 2026-06-22
|
|
26
|
+
changes: "初始化历史记录"
|
|
27
|
+
author: aymericzip
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Vue 集成:`usePathname` 文档
|
|
31
|
+
|
|
32
|
+
`usePathname` 函数返回当前浏览器的路径名(pathname),并以 Vue `ComputedRef<string>` 的形式提供移除了 locale 片段后的路径名。这对于构建可感知 locale 的导航非常有用——例如,确定哪个导航项处于激活状态——而无需手动移除 locale 前缀。
|
|
33
|
+
|
|
34
|
+
## 在 Vue 中导入 `usePathname`
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { usePathname } from "vue-intlayer";
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## 概览
|
|
41
|
+
|
|
42
|
+
`usePathname` 创建一个 Vue 计算引用 (computed ref),它读取 `window.location.pathname`,通过 `getPathWithoutLocale` 移除 locale 前缀,并且每当浏览器触发 `popstate` 事件(后退/前进导航)时自动更新其值。该值可以直接在你的 Vue 模板或 setup 函数中使用。
|
|
43
|
+
|
|
44
|
+
## 用法
|
|
45
|
+
|
|
46
|
+
```vue fileName="src/components/NavItem.vue"
|
|
47
|
+
<script setup lang="ts">
|
|
48
|
+
import { usePathname } from "vue-intlayer";
|
|
49
|
+
|
|
50
|
+
const props = defineProps<{
|
|
51
|
+
href: string;
|
|
52
|
+
label: string;
|
|
53
|
+
}>();
|
|
54
|
+
|
|
55
|
+
const pathname = usePathname();
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<template>
|
|
59
|
+
<a :href="href" :aria-current="pathname === href ? 'page' : undefined">
|
|
60
|
+
{{ label }}
|
|
61
|
+
</a>
|
|
62
|
+
</template>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 返回值
|
|
66
|
+
|
|
67
|
+
| 类型 | 描述 |
|
|
68
|
+
| --------------------- | ---------------------------------------------------------------- |
|
|
69
|
+
| `ComputedRef<string>` | Vue Computed Ref,包含不带 locale 前缀的当前路径名(pathname)。 |
|
|
70
|
+
|
|
71
|
+
## 行为
|
|
72
|
+
|
|
73
|
+
- **Locale 剥离 (Locale stripping)**:移除路径开头的 locale 片段(例如:`/zh/dashboard` → `/dashboard`)。
|
|
74
|
+
- **响应式 (Reactive)**:在每次 `popstate` 事件(浏览器后退 / 前进导航)时更新值。
|
|
75
|
+
- **SSR 安全 (SSR-safe)**:当 `window` 不可用时返回 `""`。
|
|
76
|
+
- **清理 (Cleanup)**:`popstate` 监听器在初始化时全局添加,由于 Vue 对生命周期的管理,通常不需要在每个组件中手动进行清理。
|
|
77
|
+
|
|
78
|
+
## 示例
|
|
79
|
+
|
|
80
|
+
```vue fileName="src/components/Sidebar.vue"
|
|
81
|
+
<script setup lang="ts">
|
|
82
|
+
import { usePathname } from "vue-intlayer";
|
|
83
|
+
|
|
84
|
+
const links = [
|
|
85
|
+
{ href: "/dashboard", label: "仪表盘" },
|
|
86
|
+
{ href: "/settings", label: "设置" },
|
|
87
|
+
];
|
|
88
|
+
|
|
89
|
+
const pathname = usePathname();
|
|
90
|
+
</script>
|
|
91
|
+
|
|
92
|
+
<template>
|
|
93
|
+
<nav>
|
|
94
|
+
<a
|
|
95
|
+
v-for="link in links"
|
|
96
|
+
:key="link.href"
|
|
97
|
+
:href="link.href"
|
|
98
|
+
:style="{ fontWeight: pathname === link.href ? 'bold' : 'normal' }"
|
|
99
|
+
>
|
|
100
|
+
{{ link.label }}
|
|
101
|
+
</a>
|
|
102
|
+
</nav>
|
|
103
|
+
</template>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## 相关内容
|
|
107
|
+
|
|
108
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/vue-intlayer/useLocale.md) — 当前 locale 及其切换器
|
|
109
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getPathWithoutLocale.md) — 此 hook 所使用的底层实用函数
|
package/docs/zh/releases/v6.md
CHANGED
|
@@ -25,6 +25,10 @@ author: aymericzip
|
|
|
25
25
|
|
|
26
26
|
欢迎使用 Intlayer v6!本次发布重点提升了性能、开发者体验和可靠性。以下是主要亮点,包括迁移说明和可复制粘贴的示例。
|
|
27
27
|
|
|
28
|
+
## 目录
|
|
29
|
+
|
|
30
|
+
<TOC levels={[2]} maxDepth={1} />
|
|
31
|
+
|
|
28
32
|
## 亮点
|
|
29
33
|
|
|
30
34
|
- 新命令:`npx intlayer content test` 用于检测缺失的翻译
|
|
@@ -294,6 +298,24 @@ bun x intlayer live --with 'vite preview'
|
|
|
294
298
|
|
|
295
299
|
---
|
|
296
300
|
|
|
301
|
+
## 使用 turbopack 监视文件的并行进程
|
|
302
|
+
|
|
303
|
+
当在 Next.js 14 及以上版本中使用 Turbopack 作为开发服务器,并使用 `next dev --turbopack` 命令时,默认情况下字典更改不会被自动检测。
|
|
304
|
+
|
|
305
|
+
这个限制发生是因为 Turbopack 无法运行 webpack 插件来并行监视内容文件中的更改。
|
|
306
|
+
|
|
307
|
+
为了解决这个问题,我们使用 `--with` 选项来运行 `intlayer watch` 命令,同时运行开发服务器和 Intlayer 构建监视器。
|
|
308
|
+
|
|
309
|
+
```json5 fileName="package.json"
|
|
310
|
+
{
|
|
311
|
+
"scripts": {
|
|
312
|
+
"dev": "npx intlayer watch --with 'next dev --turbopack'",
|
|
313
|
+
},
|
|
314
|
+
}
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
---
|
|
318
|
+
|
|
297
319
|
## 迁移说明
|
|
298
320
|
|
|
299
321
|
- 移除:`dictionaryOutput`(之前为 `i18next` 或 `next-intl`)。此功能将在未来版本中以可插拔适配器形式回归。请从配置中删除该字段。
|
|
@@ -312,6 +334,12 @@ bun x intlayer live --with 'vite preview'
|
|
|
312
334
|
|
|
313
335
|
---
|
|
314
336
|
|
|
337
|
+
## 从 v6 到 v7 的迁移说明
|
|
338
|
+
|
|
339
|
+
查看 [从 v6 到 v7 的迁移说明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/releases/v7.md) 了解更多信息。
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
315
343
|
## 有用的链接
|
|
316
344
|
|
|
317
345
|
- [CLI 参考](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)
|
package/docs/zh/releases/v7.md
CHANGED
|
@@ -25,6 +25,10 @@ author: aymericzip
|
|
|
25
25
|
|
|
26
26
|
欢迎使用 Intlayer v7!此次重大版本发布带来了性能、类型安全和开发者体验的显著提升。以下是主要亮点,包括迁移说明和实用示例。
|
|
27
27
|
|
|
28
|
+
## 目录
|
|
29
|
+
|
|
30
|
+
<TOC levels={[2]} maxDepth={1} />
|
|
31
|
+
|
|
28
32
|
## 亮点
|
|
29
33
|
|
|
30
34
|
- 缓存策略以加快构建速度
|
|
@@ -261,6 +265,126 @@ setLocale("en");
|
|
|
261
265
|
|
|
262
266
|
---
|
|
263
267
|
|
|
268
|
+
## 自动代码格式化:formatCommand 配置
|
|
269
|
+
|
|
270
|
+
v7 在编辑器配置中引入了 `formatCommand` 选项,允许你在 Intlayer 写入内容文件时自动格式化这些文件。这确保了内容声明文件的代码风格和格式的一致性。
|
|
271
|
+
|
|
272
|
+
如果未设置,Intlayer 将尝试自动检测格式化命令。通过尝试解析以下命令:prettier、biome、eslint。
|
|
273
|
+
|
|
274
|
+
### 配置
|
|
275
|
+
|
|
276
|
+
`formatCommand` 选项接受一个字符串模板,其中 `{{file}}` 将被替换为实际的文件路径:
|
|
277
|
+
|
|
278
|
+
```typescript fileName="intlayer.config.ts"
|
|
279
|
+
export default {
|
|
280
|
+
content: {
|
|
281
|
+
formatCommand: 'bun x biome format "{{file}}" --write --log-level none',
|
|
282
|
+
},
|
|
283
|
+
};
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### 支持的格式化工具
|
|
287
|
+
|
|
288
|
+
你可以使用任何接受文件路径作为参数的代码格式化工具:
|
|
289
|
+
|
|
290
|
+
**使用 Biome:**
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
formatCommand: 'bun x biome format "{{file}}" --write --log-level none';
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
**使用 Prettier:**
|
|
297
|
+
|
|
298
|
+
```typescript
|
|
299
|
+
formatCommand: 'npx prettier --write "{{file}}" --log-level silent';
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
**使用 ESLint:**
|
|
303
|
+
|
|
304
|
+
```typescript
|
|
305
|
+
formatCommand: 'npx eslint --fix "{{file}}" --quiet';
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
**使用 Bun 的内置格式化工具:**
|
|
309
|
+
|
|
310
|
+
```typescript
|
|
311
|
+
formatCommand: 'bun format "{{file}}"';
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
### 优势
|
|
315
|
+
|
|
316
|
+
- **一致的格式化**:所有内容文件都根据您的项目风格指南自动格式化
|
|
317
|
+
- **开发者体验**:Intlayer 写入文件后无需手动格式化
|
|
318
|
+
- **团队一致性**:确保所有团队成员对内容文件应用相同的格式化
|
|
319
|
+
- **CI/CD 集成**:内容文件在自动化工作流中保持一致的格式化
|
|
320
|
+
|
|
321
|
+
### 工作原理
|
|
322
|
+
|
|
323
|
+
当 Intlayer 写入或更新内容声明文件(`.content.ts`、`.content.js` 等)时,它会自动在该文件上运行指定的格式化命令。`{{file}}` 占位符被替换为实际的文件路径,命令在项目的基础目录中执行。
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## 字典配置:更好的组织和结构
|
|
328
|
+
|
|
329
|
+
v7 引入了一个新的专属 `dictionary` 配置部分,为字典相关设置和改进的内容管理提供了更好的组织。
|
|
330
|
+
|
|
331
|
+
### 新的字典配置结构
|
|
332
|
+
|
|
333
|
+
`fill` 属性已从 `content` 部分移到新的 `dictionary` 部分,提供了更清晰的关注点分离:
|
|
334
|
+
|
|
335
|
+
**v6 配置:**
|
|
336
|
+
|
|
337
|
+
```typescript fileName="intlayer.config.ts"
|
|
338
|
+
export default {
|
|
339
|
+
content: {
|
|
340
|
+
autoFill: "./{{fileName}}.content.json",
|
|
341
|
+
contentDir: ["src"],
|
|
342
|
+
},
|
|
343
|
+
};
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
**v7 配置:**
|
|
347
|
+
|
|
348
|
+
```typescript fileName="intlayer.config.ts"
|
|
349
|
+
export default {
|
|
350
|
+
content: {
|
|
351
|
+
contentDir: ["src"],
|
|
352
|
+
},
|
|
353
|
+
dictionary: {
|
|
354
|
+
fill: "./{{fileName}}.content.json",
|
|
355
|
+
},
|
|
356
|
+
};
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### 新结构的优势
|
|
360
|
+
|
|
361
|
+
- **更清晰的组织**: 字典特定的设置现在被分组在一起
|
|
362
|
+
- **更好的关注点分离**: 内容发现与字典操作清晰分离
|
|
363
|
+
- **增强的可维护性**: 更容易理解和修改字典相关的配置
|
|
364
|
+
- **未来的可扩展性**: 字典部分可以容纳额外的字典特定设置
|
|
365
|
+
- **全面的字典管理**: 包括 `title`、`live`、`priority`、`tags`、`version` 和 `description` 等属性,用于创建和管理新的字典
|
|
366
|
+
|
|
367
|
+
### 配置使用
|
|
368
|
+
|
|
369
|
+
字典配置有两个主要目的:
|
|
370
|
+
|
|
371
|
+
1. **默认值**:在创建内容声明文件时定义默认值
|
|
372
|
+
2. **回退行为**:当未定义特定字段时提供回退值,允许您全局定义字典操作行为
|
|
373
|
+
|
|
374
|
+
字典部分包含用于字典管理的全面属性:
|
|
375
|
+
|
|
376
|
+
- **`fill`**:内容生成的自动填充行为
|
|
377
|
+
- **`title`**:新字典的默认标题
|
|
378
|
+
- **`live`**:用于实时更新的实时同步配置
|
|
379
|
+
- **`priority`**:字典解析的优先级设置
|
|
380
|
+
- **`tags`**:用于内容组织的默认标签
|
|
381
|
+
- **`version`**:字典更新的版本管理
|
|
382
|
+
- **`description`**:新内容的默认描述
|
|
383
|
+
|
|
384
|
+
有关内容声明文件以及如何应用配置值的更多信息,请参阅[内容文件文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
264
388
|
## fill 命令:更新行为以更好地管理内容
|
|
265
389
|
|
|
266
390
|
v7 引入了 `fill` 命令的改进行为,提供了更可预测和灵活的内容管理:
|
|
@@ -408,6 +532,10 @@ const content = {
|
|
|
408
532
|
- **`middleware.prefixDefault`**:被 `routing.mode` 替代
|
|
409
533
|
- **`middleware.noPrefix`**:被 `routing.mode` 替代
|
|
410
534
|
|
|
535
|
+
### 新配置
|
|
536
|
+
|
|
537
|
+
- **`editor.formatCommand`**: 用于自动格式化内容文件的新选项
|
|
538
|
+
|
|
411
539
|
### 迁移映射
|
|
412
540
|
|
|
413
541
|
#### 配置映射
|
package/docs/zh/releases/v8.md
CHANGED
|
@@ -409,6 +409,16 @@ Intlayer v8 对富内容的处理方式进行了重大改进,引入了 **HTML
|
|
|
409
409
|
|
|
410
410
|
---
|
|
411
411
|
|
|
412
|
+
## YAML & Markdown 内容文件 (v8.10.0)
|
|
413
|
+
|
|
414
|
+
您现在可以直接使用 `.content.md` 和 `.content.yaml` 文件扩展名声明内容。这非常适合长篇内容、博客、文档和隐私政策。
|
|
415
|
+
|
|
416
|
+
这些文件可以从可视化编辑器完全编辑,为非技术团队成员提供了简化的工作流程。
|
|
417
|
+
|
|
418
|
+
有关更多详细信息,请参阅 [YAML 内容文件文档](https://intlayer.org/doc/concept/content#yaml-content-file) 和 [Markdown 内容文件文档](https://intlayer.org/doc/concept/content/markdown)。
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
412
422
|
## 自定义 URL 重写
|
|
413
423
|
|
|
414
424
|
Intlayer v8 引入对 **自定义 URL 重写** 的支持,允许你定义与标准 `/locale/path` 结构不同的特定语言路径。此功能可显著提升本地 SEO,并为非英文用户提供更自然的使用体验。
|
|
@@ -753,6 +763,62 @@ export default {
|
|
|
753
763
|
</Tab>
|
|
754
764
|
</Tabs>
|
|
755
765
|
|
|
766
|
+
## Unicode CLDR 复数规则 (v8.8.0)
|
|
767
|
+
|
|
768
|
+
基于 Unicode CLDR 项目定义的复数规则,引入了一个新的 `plural` 节点助手,改进了对复杂语言的支持。
|
|
769
|
+
|
|
770
|
+
```typescript fileName="src/openings.content.ts"
|
|
771
|
+
import { plural, t, type Dictionary } from "intlayer";
|
|
772
|
+
|
|
773
|
+
const openingsContent = {
|
|
774
|
+
key: "total_openings",
|
|
775
|
+
content: {
|
|
776
|
+
totalOpenings: t({
|
|
777
|
+
zh: plural({
|
|
778
|
+
one: "{{count}} 个职位",
|
|
779
|
+
other: "{{count}} 个职位",
|
|
780
|
+
}),
|
|
781
|
+
en: plural({
|
|
782
|
+
one: "{{count}} opening",
|
|
783
|
+
other: "{{count}} openings",
|
|
784
|
+
}),
|
|
785
|
+
fr: plural({
|
|
786
|
+
one: "{{count}} offre",
|
|
787
|
+
other: "{{count}} offres",
|
|
788
|
+
}),
|
|
789
|
+
}),
|
|
790
|
+
},
|
|
791
|
+
} satisfies Dictionary;
|
|
792
|
+
|
|
793
|
+
export default openingsContent;
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
然后,你可以在你的框架组件中动态传递计数:
|
|
797
|
+
|
|
798
|
+
```tsx
|
|
799
|
+
import type { FC } from "react";
|
|
800
|
+
import { useIntlayer } from "react-intlayer";
|
|
801
|
+
|
|
802
|
+
const OpeningsComponent: FC<{ count: number }> = ({ count }) => {
|
|
803
|
+
const { totalOpenings } = useIntlayer("total_openings");
|
|
804
|
+
|
|
805
|
+
return (
|
|
806
|
+
<div>
|
|
807
|
+
{/* 英文: */}
|
|
808
|
+
{/* count=0 → "0 openings" (other) */}
|
|
809
|
+
{/* count=1 → "1 opening" (one) */}
|
|
810
|
+
{/* count=2 → "2 openings" (other) */}
|
|
811
|
+
{/* count=21 → "21 openings" (other) */}
|
|
812
|
+
<p>{totalOpenings(count)}</p>
|
|
813
|
+
</div>
|
|
814
|
+
);
|
|
815
|
+
};
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
更多信息,请参见 [复数化文档](https://intlayer.org/doc/concept/content/plural)。
|
|
819
|
+
|
|
820
|
+
---
|
|
821
|
+
|
|
756
822
|
## 内容 Schema 验证
|
|
757
823
|
|
|
758
824
|
Intlayer v8 为字典引入了 schema 验证。你现在可以在配置中使用 Zod 定义可重用的验证 schema,并将其应用到你的内容文件中。这可以确保你的内容始终遵循预期的结构,并在构建时 (build time)捕获错误。
|
|
@@ -797,6 +863,34 @@ export default aboutPageMetaContent;
|
|
|
797
863
|
|
|
798
864
|
---
|
|
799
865
|
|
|
866
|
+
## TypeScript: IntlayerNode Primitive Accessors
|
|
867
|
+
|
|
868
|
+
`IntlayerNode` 类型已更新,允许直接在内容节点上调用原始 JavaScript 方法。这使得可以直接与本地化内容交互,就像它是一个标准字符串、数字、布尔值或数组原始类型一样。
|
|
869
|
+
|
|
870
|
+
支持 React、Preact、Solid、Svelte、Vue 和 Angular。
|
|
871
|
+
|
|
872
|
+
### String 示例
|
|
873
|
+
|
|
874
|
+
```typescript
|
|
875
|
+
content.placeholder; // 返回 IntlayerNode<string>
|
|
876
|
+
content.placeholder.value; // 返回 string
|
|
877
|
+
content.placeholder.toString(); // 返回 string
|
|
878
|
+
content.placeholder.toLowerCase(); // 返回 string
|
|
879
|
+
String(content.placeholder); // 返回 string
|
|
880
|
+
content.placeholder.toUpperCase(); // 返回大写字符串
|
|
881
|
+
content.placeholder.replace("a", "b"); // 返回修改后的字符串
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
### Array Example
|
|
885
|
+
|
|
886
|
+
```typescript
|
|
887
|
+
content.myArrayOfString // 返回 IntlayerNode<Array<string>>
|
|
888
|
+
content.myArrayOfString.find(...) // 返回元素
|
|
889
|
+
content.myArrayOfString.join(', ') // 返回连接的字符串
|
|
890
|
+
```
|
|
891
|
+
|
|
892
|
+
---
|
|
893
|
+
|
|
800
894
|
### 增强的自动内容检测
|
|
801
895
|
|
|
802
896
|
在 v8 中,Intlayer 能智能检测内容字符串中的 Markdown 语法、HTML 标签和变量插入。这意味着通常可以省略像 `md()`、`html()` 或 `insert()` 这样的辅助函数。
|
|
@@ -1002,6 +1096,17 @@ Intlayer 的 VSCode 扩展在 v8 中迎来重大更新,以简化你的国际
|
|
|
1002
1096
|
|
|
1003
1097
|
---
|
|
1004
1098
|
|
|
1099
|
+
## 工具:C++ Watcher & OXC-based LSP (v8.12.0)
|
|
1100
|
+
|
|
1101
|
+
Intlayer v8.12.0 为开发者体验带来了重大改进:
|
|
1102
|
+
|
|
1103
|
+
- **Parcel Watcher**:内容监听器已从 `chokidar` 迁移到 `@parcel/watcher`,利用原生 C++ 文件监听来提供更快的更新和显著降低的内存消耗。
|
|
1104
|
+
- **新的语言服务器协议 (LSP)**:一个全新的 LSP 现已推出。采用基于 OXC 的解析构建,它帮助您的 IDE 和 AI 代理无缝链接 `useIntlayer('my-key')` 调用与其对应的 `.content` 文件,反之亦然。
|
|
1105
|
+
|
|
1106
|
+
有关详细信息,请参阅 [LSP 文档](https://intlayer.org/doc/lsp)。
|
|
1107
|
+
|
|
1108
|
+
---
|
|
1109
|
+
|
|
1005
1110
|
## 编译器优化
|
|
1006
1111
|
|
|
1007
1112
|
Intlayer v8 为 Markdown 和 HTML 编译器引入了新的缓存层。这确保在相同配置下相同的内容字符串只被解析一次,从而显著降低在重新渲染或在多个地方使用相同内容时的开销。
|
|
@@ -1057,6 +1162,48 @@ Intlayer v8 为 Markdown 和 HTML 编译器引入了新的缓存层。这确保
|
|
|
1057
1162
|
|
|
1058
1163
|
---
|
|
1059
1164
|
|
|
1165
|
+
## 实验性构建优化:代码缩小和清理 (v8.7.0)
|
|
1166
|
+
|
|
1167
|
+
Intlayer v8.7.0 在你的 `intlayer.config.ts` 中引入了新的实验性构建功能,旨在优化你的生产包:
|
|
1168
|
+
|
|
1169
|
+
- **字典缩小化**:缩小字典文件以减小大小。
|
|
1170
|
+
- **未使用密钥清理**:扫描并从字典中移除未使用的翻译密钥,将活跃密钥重命名为短字符(例如 `"products" -> "a"`、`"pricing" -> "b"`)。这可将包大小减少多达 5%。
|
|
1171
|
+
- **禁用 TypeScript 检查**:通过在编译步骤中禁用 TypeScript 类型检查来加快构建速度。
|
|
1172
|
+
|
|
1173
|
+
```typescript fileName="intlayer.config.ts"
|
|
1174
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
1175
|
+
|
|
1176
|
+
const config: IntlayerConfig = {
|
|
1177
|
+
internationalization: {
|
|
1178
|
+
locales: [Locales.ENGLISH, Locales.FRENCH],
|
|
1179
|
+
defaultLocale: Locales.ENGLISH,
|
|
1180
|
+
},
|
|
1181
|
+
dictionary: {
|
|
1182
|
+
importMode: "dynamic",
|
|
1183
|
+
},
|
|
1184
|
+
build: {
|
|
1185
|
+
/**
|
|
1186
|
+
* 缩小字典以减少包大小。
|
|
1187
|
+
*/
|
|
1188
|
+
minify: true,
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* 清理字典中的未使用密钥
|
|
1192
|
+
*/
|
|
1193
|
+
purge: true,
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* 指示构建是否应检查 TypeScript 类型
|
|
1197
|
+
*/
|
|
1198
|
+
checkTypes: false,
|
|
1199
|
+
},
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
export default config;
|
|
1203
|
+
```
|
|
1204
|
+
|
|
1205
|
+
---
|
|
1206
|
+
|
|
1060
1207
|
## 灵活性:统一导入模式
|
|
1061
1208
|
|
|
1062
1209
|
`live` 布尔属性已被弃用,改用更为全面的 `importMode` 属性。这样可以明确定义 dictionaries 应如何加载:静态、动态,或通过实时同步。
|
|
@@ -1204,6 +1351,49 @@ export default {
|
|
|
1204
1351
|
|
|
1205
1352
|
---
|
|
1206
1353
|
|
|
1354
|
+
## Angular 支持:Vite Bundler (v8.11.0)
|
|
1355
|
+
|
|
1356
|
+
对于 Angular 用户,Intlayer 现在通过新的自定义 esbuild 插件原生支持 Vite bundler,加快了开发和构建时间。
|
|
1357
|
+
|
|
1358
|
+
有关配置详情,请参阅 [Angular 环境文档](https://intlayer.org/doc/environment/angular)。
|
|
1359
|
+
|
|
1360
|
+
---
|
|
1361
|
+
|
|
1362
|
+
## 网站地图生成 (v8.6.0)
|
|
1363
|
+
|
|
1364
|
+
Intlayer 现在根据您的语言环境和路由模式自动生成网站地图。这对于 TanStack Router 等路由架构中的 SEO 优化特别有用:
|
|
1365
|
+
|
|
1366
|
+
```typescript fileName="src/routes/sitemap.xml.ts"
|
|
1367
|
+
import { createFileRoute } from "@tanstack/react-router";
|
|
1368
|
+
import { generateSitemap } from "intlayer";
|
|
1369
|
+
|
|
1370
|
+
const SITE_URL = (
|
|
1371
|
+
import.meta.env.VITE_SITE_URL ?? "http://localhost:3000"
|
|
1372
|
+
).replace(/\/$/, "");
|
|
1373
|
+
|
|
1374
|
+
export const Route = createFileRoute("/sitemap.xml")({
|
|
1375
|
+
server: {
|
|
1376
|
+
handlers: {
|
|
1377
|
+
GET: async () => {
|
|
1378
|
+
const sitemap = generateSitemap(
|
|
1379
|
+
[
|
|
1380
|
+
{ path: "/", changefreq: "daily", priority: 1.0 },
|
|
1381
|
+
{ path: "/about", changefreq: "monthly", priority: 0.8 },
|
|
1382
|
+
],
|
|
1383
|
+
{ siteUrl: SITE_URL }
|
|
1384
|
+
);
|
|
1385
|
+
|
|
1386
|
+
return new Response(sitemap, {
|
|
1387
|
+
headers: { "Content-Type": "application/xml" },
|
|
1388
|
+
});
|
|
1389
|
+
},
|
|
1390
|
+
},
|
|
1391
|
+
},
|
|
1392
|
+
});
|
|
1393
|
+
```
|
|
1394
|
+
|
|
1395
|
+
---
|
|
1396
|
+
|
|
1207
1397
|
## 从 v7 的迁移说明
|
|
1208
1398
|
|
|
1209
1399
|
### 配置更改
|
package/docs/zh/releases/v9.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-06-14
|
|
3
|
-
updatedAt: 2026-06-
|
|
3
|
+
updatedAt: 2026-06-23
|
|
4
4
|
title: New Intlayer v9 - What's new?
|
|
5
5
|
description: Discover what's new in Intlayer v9. Introducing drop-in compatibility packages for popular i18n libraries and support for Collections, Variants, and Dynamic Records.
|
|
6
6
|
keywords:
|
|
@@ -204,6 +204,42 @@ At build time, `@intlayer/swc` and `@intlayer/babel` scan your files and replace
|
|
|
204
204
|
|
|
205
205
|
---
|
|
206
206
|
|
|
207
|
+
## Vite Plugin: 捆绑编译器和代理
|
|
208
|
+
|
|
209
|
+
`intlayer()` Vite 插件现在直接捆绑了**编译器**和**区域设置路由代理**,因此大多数项目只需在 `vite.config.ts` 中使用单个插件:
|
|
210
|
+
|
|
211
|
+
```ts fileName="vite.config.ts"
|
|
212
|
+
import { defineConfig } from "vite";
|
|
213
|
+
import { intlayer } from "vite-intlayer";
|
|
214
|
+
|
|
215
|
+
export default defineConfig({
|
|
216
|
+
plugins: [intlayer()],
|
|
217
|
+
});
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
- **Compiler**: 当 `compiler.enabled` 被设置且配置了 `compiler.output` 路径时,自动激活。您不再需要单独注册 `intlayerCompiler()`。
|
|
221
|
+
- **Proxy**: 根据新的 `routing.enableProxy` 选项自动激活(默认为 `true`)。它在开发、预览和生产 SSR 中连接区域设置检测 / 重定向 / 重写中间件。您不再需要单独注册 `intlayerProxy()`。
|
|
222
|
+
|
|
223
|
+
### `routing.enableProxy` 选项
|
|
224
|
+
|
|
225
|
+
新的 `routing.enableProxy` 选项控制是否启用区域语言路由代理。默认值为 `true`。当您想自己处理区域语言路由时,可以禁用它:
|
|
226
|
+
|
|
227
|
+
```ts fileName="intlayer.config.ts"
|
|
228
|
+
import type { IntlayerConfig } from "intlayer";
|
|
229
|
+
|
|
230
|
+
const config: IntlayerConfig = {
|
|
231
|
+
routing: {
|
|
232
|
+
enableProxy: false, // 默认值: true
|
|
233
|
+
},
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
export default config;
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
独立的 `intlayerCompiler()` 和 `intlayerProxy()` 插件仍然可用于高级设置。将它们与 `intlayer()` 一起注册是安全的 — 每个插件会自动去重并且仅运行一次。
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
207
243
|
## Migration notes from v8
|
|
208
244
|
|
|
209
245
|
If you are upgrading from v8, note that the v9 does not include breaking changes. But here are the key changes:
|
package/docs/zh/roadmap.md
CHANGED
|
@@ -119,13 +119,6 @@ Intlayer 建议将您的 AI API 密钥,以及 Intlayer 客户端 ID 和密钥
|
|
|
119
119
|
- **非破坏性**:不会覆盖已有的 `process.env` 值。
|
|
120
120
|
- **作用域**:文件从配置的基础目录解析(默认为工作区根目录)。
|
|
121
121
|
|
|
122
|
-
#### 选择活动环境
|
|
123
|
-
|
|
124
|
-
- **命令面板**:打开命令面板并运行 `Intlayer: Select Environment`,然后选择环境(例如,`development`、`staging`、`production`)。扩展将尝试加载上述优先级列表中第一个可用的文件,并显示类似“已从 `.env.<env>.local` 加载环境”的通知。
|
|
125
|
-
- **设置**:进入 `设置 → 扩展 → Intlayer`,并设置:
|
|
126
|
-
- **环境**:用于解析 `.env.<env>*` 文件的环境名称。
|
|
127
|
-
- (可选)**环境文件**:显式指定一个 `.env` 文件路径。提供后,该路径优先于推断的列表。
|
|
128
|
-
|
|
129
122
|
#### Monorepos 和自定义目录
|
|
130
123
|
|
|
131
124
|
- **命令面板**:打开命令面板并运行 `Intlayer: Select Environment`,然后选择环境(例如,`development`、`staging`、`production`)。扩展将尝试加载上述优先列表中的第一个可用文件,并显示类似“已从 `.env.<env>.local` 加载环境”的通知。
|
|
@@ -85,28 +85,44 @@ author: aymericzip
|
|
|
85
85
|
|
|
86
86
|
使用npm安裝必要的套件:
|
|
87
87
|
|
|
88
|
+
```bash packageManager="npm"
|
|
89
|
+
npx intlayer-cli init --interactive
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```bash packageManager="pnpm"
|
|
93
|
+
pnpm dlx intlayer-cli init --interactive
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```bash packageManager="yarn"
|
|
97
|
+
yarn dlx intlayer-cli init --interactive
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
```bash packageManager="bun"
|
|
101
|
+
bunx intlayer-cli init --interactive
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
> `--interactive` 標誌是可選的。如果您是 AI 代理,請使用 `intlayer-cli init`。
|
|
105
|
+
|
|
106
|
+
> 此命令將偵測您的環境並安裝所需的套件。例如:
|
|
107
|
+
|
|
88
108
|
```bash packageManager="npm"
|
|
89
109
|
npm install intlayer angular-intlayer
|
|
90
110
|
npm install @angular-builders/custom-esbuild --save-dev
|
|
91
|
-
npx intlayer init
|
|
92
111
|
```
|
|
93
112
|
|
|
94
113
|
```bash packageManager="pnpm"
|
|
95
114
|
pnpm add intlayer angular-intlayer
|
|
96
115
|
pnpm add @angular-builders/custom-esbuild --save-dev
|
|
97
|
-
pnpm intlayer init
|
|
98
116
|
```
|
|
99
117
|
|
|
100
118
|
```bash packageManager="yarn"
|
|
101
119
|
yarn add intlayer angular-intlayer
|
|
102
120
|
yarn add @angular-builders/custom-esbuild --save-dev
|
|
103
|
-
yarn intlayer init
|
|
104
121
|
```
|
|
105
122
|
|
|
106
123
|
```bash packageManager="bun"
|
|
107
124
|
bun add intlayer angular-intlayer
|
|
108
125
|
bun add @angular-builders/custom-esbuild --dev
|
|
109
|
-
bun x intlayer init
|
|
110
126
|
```
|
|
111
127
|
|
|
112
128
|
- **intlayer**
|