@intlayer/docs 8.12.5-canary.0 → 9.0.0-canary.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/intlayer_with_i18next.md +24 -4
- package/blog/ar/intlayer_with_next-i18next.md +20 -15
- package/blog/ar/intlayer_with_next-intl.md +24 -4
- package/blog/ar/intlayer_with_react-i18next.md +20 -4
- package/blog/ar/intlayer_with_react-intl.md +20 -4
- package/blog/ar/intlayer_with_vue-i18n.md +20 -4
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
- package/blog/ar/rag_powered_documentation_assistant.md +13 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
- package/blog/de/intlayer_with_i18next.md +34 -6
- package/blog/de/intlayer_with_next-i18next.md +30 -17
- package/blog/de/intlayer_with_next-intl.md +37 -7
- package/blog/de/intlayer_with_react-i18next.md +33 -7
- package/blog/de/intlayer_with_react-intl.md +33 -7
- package/blog/de/intlayer_with_vue-i18n.md +33 -7
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/de/rag_powered_documentation_assistant.md +0 -193
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/de/vue-i18n_vs_intlayer.md +8 -0
- package/blog/en/intlayer_with_i18next.md +20 -4
- package/blog/en/intlayer_with_next-i18next.md +20 -4
- package/blog/en/intlayer_with_next-intl.md +20 -4
- package/blog/en/intlayer_with_react-i18next.md +20 -4
- package/blog/en/intlayer_with_react-intl.md +20 -4
- package/blog/en/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/intlayer_with_i18next.md +24 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +20 -15
- package/blog/en-GB/intlayer_with_next-intl.md +24 -4
- package/blog/en-GB/intlayer_with_react-i18next.md +20 -4
- package/blog/en-GB/intlayer_with_react-intl.md +20 -4
- package/blog/en-GB/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
- package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
- package/blog/es/intlayer_with_i18next.md +24 -4
- package/blog/es/intlayer_with_next-i18next.md +20 -15
- package/blog/es/intlayer_with_next-intl.md +24 -4
- package/blog/es/intlayer_with_react-i18next.md +20 -4
- package/blog/es/intlayer_with_react-intl.md +20 -4
- package/blog/es/intlayer_with_vue-i18n.md +20 -4
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/es/rag_powered_documentation_assistant.md +13 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/es/vue-i18n_vs_intlayer.md +8 -0
- package/blog/fr/i18n_meaning.md +95 -0
- package/blog/fr/intlayer_with_i18next.md +20 -4
- package/blog/fr/intlayer_with_next-i18next.md +20 -15
- package/blog/fr/intlayer_with_next-intl.md +24 -4
- package/blog/fr/intlayer_with_react-i18next.md +20 -12
- package/blog/fr/intlayer_with_react-intl.md +20 -4
- package/blog/fr/intlayer_with_vue-i18n.md +20 -4
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/fr/rag_powered_documentation_assistant.md +0 -62
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
- package/blog/hi/intlayer_with_i18next.md +24 -4
- package/blog/hi/intlayer_with_next-i18next.md +20 -15
- package/blog/hi/intlayer_with_next-intl.md +24 -4
- package/blog/hi/intlayer_with_react-i18next.md +20 -4
- package/blog/hi/intlayer_with_react-intl.md +20 -4
- package/blog/hi/intlayer_with_vue-i18n.md +20 -4
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
- package/blog/hi/rag_powered_documentation_assistant.md +13 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
- package/blog/id/internationalization_and_SEO.md +0 -91
- package/blog/id/intlayer_with_i18next.md +24 -4
- package/blog/id/intlayer_with_next-i18next.md +20 -15
- package/blog/id/intlayer_with_next-intl.md +24 -4
- package/blog/id/intlayer_with_react-i18next.md +20 -4
- package/blog/id/intlayer_with_react-intl.md +20 -4
- package/blog/id/intlayer_with_vue-i18n.md +20 -4
- package/blog/id/rag_powered_documentation_assistant.md +13 -0
- package/blog/it/intlayer_with_i18next.md +37 -7
- package/blog/it/intlayer_with_next-i18next.md +33 -18
- package/blog/it/intlayer_with_next-intl.md +37 -7
- package/blog/it/intlayer_with_react-i18next.md +33 -7
- package/blog/it/intlayer_with_react-intl.md +33 -7
- package/blog/it/intlayer_with_vue-i18n.md +33 -7
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/it/rag_powered_documentation_assistant.md +0 -195
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/it/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ja/intlayer_with_i18next.md +24 -4
- package/blog/ja/intlayer_with_next-i18next.md +20 -15
- package/blog/ja/intlayer_with_next-intl.md +24 -4
- package/blog/ja/intlayer_with_react-i18next.md +20 -4
- package/blog/ja/intlayer_with_react-intl.md +20 -4
- package/blog/ja/intlayer_with_vue-i18n.md +20 -4
- package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/ja/rag_powered_documentation_assistant.md +13 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/intlayer_with_i18next.md +37 -7
- package/blog/ko/intlayer_with_next-i18next.md +33 -18
- package/blog/ko/intlayer_with_next-intl.md +37 -7
- package/blog/ko/intlayer_with_react-i18next.md +33 -7
- package/blog/ko/intlayer_with_react-intl.md +33 -7
- package/blog/ko/intlayer_with_vue-i18n.md +33 -7
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
- package/blog/ko/rag_powered_documentation_assistant.md +0 -194
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/what_is_internationalization.md +0 -4
- package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
- package/blog/pl/internationalization_and_SEO.md +0 -91
- package/blog/pl/intlayer_with_i18next.md +24 -4
- package/blog/pl/intlayer_with_next-i18next.md +20 -15
- package/blog/pl/intlayer_with_next-intl.md +24 -4
- package/blog/pl/intlayer_with_react-i18next.md +20 -4
- package/blog/pl/intlayer_with_react-intl.md +20 -4
- package/blog/pl/intlayer_with_vue-i18n.md +20 -4
- package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
- package/blog/pl/rag_powered_documentation_assistant.md +13 -0
- package/blog/pt/internationalization_and_SEO.md +1 -1
- package/blog/pt/intlayer_with_i18next.md +37 -7
- package/blog/pt/intlayer_with_next-i18next.md +33 -18
- package/blog/pt/intlayer_with_next-intl.md +37 -7
- package/blog/pt/intlayer_with_react-i18next.md +33 -7
- package/blog/pt/intlayer_with_react-intl.md +33 -11
- package/blog/pt/intlayer_with_vue-i18n.md +33 -7
- package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/pt/rag_powered_documentation_assistant.md +0 -195
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ru/intlayer_with_i18next.md +24 -4
- package/blog/ru/intlayer_with_next-i18next.md +20 -15
- package/blog/ru/intlayer_with_next-intl.md +24 -4
- package/blog/ru/intlayer_with_react-i18next.md +20 -4
- package/blog/ru/intlayer_with_react-intl.md +20 -4
- package/blog/ru/intlayer_with_vue-i18n.md +20 -4
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/ru/rag_powered_documentation_assistant.md +13 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
- package/blog/tr/intlayer_with_i18next.md +24 -4
- package/blog/tr/intlayer_with_next-i18next.md +20 -15
- package/blog/tr/intlayer_with_next-intl.md +24 -4
- package/blog/tr/intlayer_with_react-i18next.md +20 -4
- package/blog/tr/intlayer_with_react-intl.md +20 -4
- package/blog/tr/intlayer_with_vue-i18n.md +20 -4
- package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
- package/blog/tr/rag_powered_documentation_assistant.md +0 -38
- package/blog/uk/intlayer_with_i18next.md +20 -4
- package/blog/uk/intlayer_with_next-i18next.md +20 -4
- package/blog/uk/intlayer_with_next-intl.md +20 -4
- package/blog/uk/intlayer_with_react-i18next.md +20 -4
- package/blog/uk/intlayer_with_react-intl.md +20 -4
- package/blog/uk/intlayer_with_vue-i18n.md +20 -4
- package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
- package/blog/uk/rag_powered_documentation_assistant.md +13 -0
- package/blog/vi/internationalization_and_SEO.md +0 -91
- package/blog/vi/intlayer_with_i18next.md +24 -4
- package/blog/vi/intlayer_with_next-i18next.md +20 -15
- package/blog/vi/intlayer_with_next-intl.md +24 -4
- package/blog/vi/intlayer_with_react-i18next.md +20 -4
- package/blog/vi/intlayer_with_react-intl.md +20 -4
- package/blog/vi/intlayer_with_vue-i18n.md +20 -4
- package/blog/vi/rag_powered_documentation_assistant.md +13 -0
- package/blog/zh/intlayer_with_i18next.md +4 -31
- package/blog/zh/intlayer_with_next-i18next.md +0 -42
- package/blog/zh/intlayer_with_next-intl.md +4 -31
- package/blog/zh/intlayer_with_react-i18next.md +0 -31
- package/blog/zh/intlayer_with_react-intl.md +0 -31
- package/blog/zh/intlayer_with_vue-i18n.md +0 -31
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/zh/nextjs-multilingual-seo-comparison.md +0 -30
- package/blog/zh/rag_powered_documentation_assistant.md +0 -191
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
- package/dist/cjs/generated/docs.entry.cjs +580 -20
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +580 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +29 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -0
- package/docs/ar/autoFill.md +81 -0
- package/docs/ar/benchmark/solid.md +22 -0
- package/docs/ar/benchmark/svelte.md +22 -0
- package/docs/ar/benchmark/tanstack.md +22 -0
- package/docs/ar/cli/ci.md +22 -0
- package/docs/ar/cli/doc-review.md +110 -4
- package/docs/ar/cli/fill.md +8 -0
- package/docs/ar/cli/index.md +1 -1
- package/docs/ar/cli/scan.md +1 -1
- package/docs/ar/compat/i18n-js.md +44 -0
- package/docs/ar/compat/i18next.md +59 -0
- package/docs/ar/compat/index.md +51 -0
- package/docs/ar/compat/lingui.md +44 -0
- package/docs/ar/compat/next-i18next.md +57 -0
- package/docs/ar/compat/next-intl.md +59 -0
- package/docs/ar/compat/next-translate.md +45 -0
- package/docs/ar/compat/ngx-translate.md +45 -0
- package/docs/ar/compat/nuxtjs-i18n.md +46 -0
- package/docs/ar/compat/polyglot.md +45 -0
- package/docs/ar/compat/react-i18next.md +58 -0
- package/docs/ar/compat/react-intl.md +55 -0
- package/docs/ar/compat/svelte-i18n.md +47 -0
- package/docs/ar/compat/transloco.md +45 -0
- package/docs/ar/compat/vue-i18n.md +58 -0
- package/docs/ar/compiler.md +9 -4
- package/docs/ar/configuration.md +54 -19
- package/docs/ar/custom_domains.md +9 -3
- package/docs/ar/custom_url_rewrites.md +9 -3
- package/docs/ar/dictionary/condition.md +167 -5
- package/docs/ar/dictionary/content_file.md +4 -7
- package/docs/ar/dictionary/enumeration.md +353 -6
- package/docs/ar/dictionary/file.md +159 -1
- package/docs/ar/dictionary/gender.md +168 -7
- package/docs/ar/dictionary/nesting.md +187 -40
- package/docs/ar/dictionary/plurial.md +174 -5
- package/docs/ar/dictionary/translation.md +146 -53
- package/docs/ar/dynamic_dictionaries/collections.md +1 -1
- package/docs/ar/dynamic_dictionaries/index.md +25 -19
- package/docs/ar/dynamic_dictionaries/variants.md +281 -23
- package/docs/ar/formatters.md +59 -0
- package/docs/ar/how_works_intlayer.md +4 -0
- package/docs/ar/interest_of_intlayer.md +193 -0
- package/docs/ar/intlayer_CMS.md +22 -1
- package/docs/ar/intlayer_with_adonisjs.md +20 -4
- package/docs/ar/intlayer_with_analog.md +25 -5
- package/docs/ar/intlayer_with_angular_19.md +20 -4
- package/docs/ar/intlayer_with_angular_21.md +20 -4
- package/docs/ar/intlayer_with_astro.md +131 -2
- package/docs/ar/intlayer_with_astro_lit.md +23 -9
- package/docs/ar/intlayer_with_astro_preact.md +23 -9
- package/docs/ar/intlayer_with_astro_react.md +23 -9
- package/docs/ar/intlayer_with_astro_solid.md +23 -9
- package/docs/ar/intlayer_with_astro_svelte.md +23 -9
- package/docs/ar/intlayer_with_astro_vanilla.md +23 -9
- package/docs/ar/intlayer_with_astro_vue.md +23 -9
- package/docs/ar/intlayer_with_create_react_app.md +20 -18
- package/docs/ar/intlayer_with_express.md +20 -25
- package/docs/ar/intlayer_with_fastify.md +20 -8
- package/docs/ar/intlayer_with_hono.md +20 -4
- package/docs/ar/intlayer_with_lynx+react.md +26 -5
- package/docs/ar/intlayer_with_nestjs.md +20 -22
- package/docs/ar/intlayer_with_next-i18next.md +20 -4
- package/docs/ar/intlayer_with_nextjs_14.md +50 -11
- package/docs/ar/intlayer_with_nextjs_15.md +41 -5
- package/docs/ar/intlayer_with_nextjs_16.md +146 -6
- package/docs/ar/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ar/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ar/intlayer_with_nuxt.md +25 -7
- package/docs/ar/intlayer_with_react_native+expo.md +108 -74
- package/docs/ar/intlayer_with_react_router_v7.md +24 -100
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +43 -101
- package/docs/ar/intlayer_with_storybook.md +7 -1
- package/docs/ar/intlayer_with_svelte_kit.md +15 -184
- package/docs/ar/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ar/intlayer_with_tanstack.md +37 -12
- package/docs/ar/intlayer_with_vite+lit.md +29 -7
- package/docs/ar/intlayer_with_vite+preact.md +62 -44
- package/docs/ar/intlayer_with_vite+react.md +60 -39
- package/docs/ar/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ar/intlayer_with_vite+solid.md +47 -29
- package/docs/ar/intlayer_with_vite+svelte.md +36 -18
- package/docs/ar/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ar/intlayer_with_vite+vue.md +72 -121
- package/docs/ar/mcp_server.md +22 -0
- package/docs/ar/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/ar/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/ar/packages/@intlayer_babel/export.md +131 -0
- package/docs/ar/packages/angular-intlayer/exports.md +14 -10
- package/docs/ar/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/intlayer/comparePaths.md +173 -0
- package/docs/ar/packages/intlayer/exports.md +5 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
- package/docs/ar/packages/next-intlayer/exports.md +4 -0
- package/docs/ar/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ar/packages/preact-intlayer/exports.md +10 -6
- package/docs/ar/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ar/packages/react-intlayer/exports.md +4 -0
- package/docs/ar/packages/react-intlayer/t.md +0 -13
- package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
- package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
- package/docs/ar/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ar/packages/solid-intlayer/exports.md +4 -0
- package/docs/ar/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ar/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ar/packages/vue-intlayer/exports.md +4 -0
- package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ar/plugins/sync-json.md +221 -49
- package/docs/ar/releases/v6.md +28 -0
- package/docs/ar/releases/v7.md +128 -0
- package/docs/ar/releases/v8.md +187 -1
- package/docs/ar/releases/v9.md +395 -0
- package/docs/ar/roadmap.md +6 -0
- package/docs/ar/self_hosting.md +349 -0
- package/docs/bn/cli/index.md +1 -1
- package/docs/bn/cli/scan.md +1 -1
- package/docs/bn/configuration.md +36 -3
- package/docs/bn/custom_domains.md +8 -2
- package/docs/bn/intlayer_CMS.md +570 -0
- package/docs/bn/intlayer_with_angular_21.md +20 -4
- package/docs/bn/intlayer_with_fastify.md +20 -8
- package/docs/bn/intlayer_with_hono.md +20 -4
- package/docs/bn/intlayer_with_storybook.md +7 -1
- package/docs/bn/intlayer_with_vite+lit.md +28 -6
- package/docs/bn/intlayer_with_vite+vanilla.md +36 -9
- package/docs/bn/packages/intlayer/comparePaths.md +173 -0
- package/docs/bn/releases/v9.md +358 -0
- package/docs/cs/cli/index.md +1 -1
- package/docs/cs/cli/scan.md +1 -1
- package/docs/cs/configuration.md +35 -2
- package/docs/cs/custom_domains.md +8 -2
- package/docs/cs/intlayer_with_angular_21.md +20 -4
- package/docs/cs/intlayer_with_fastify.md +20 -8
- package/docs/cs/intlayer_with_hono.md +20 -4
- package/docs/cs/intlayer_with_storybook.md +7 -1
- package/docs/cs/intlayer_with_vite+lit.md +28 -6
- package/docs/cs/intlayer_with_vite+vanilla.md +36 -9
- package/docs/cs/packages/intlayer/comparePaths.md +173 -0
- package/docs/cs/releases/v9.md +358 -0
- package/docs/de/CI_CD.md +4 -0
- package/docs/de/autoFill.md +81 -0
- package/docs/de/benchmark/solid.md +22 -0
- package/docs/de/benchmark/svelte.md +22 -0
- package/docs/de/benchmark/tanstack.md +22 -0
- package/docs/de/cli/ci.md +22 -0
- package/docs/de/cli/doc-review.md +110 -4
- package/docs/de/cli/fill.md +8 -0
- package/docs/de/cli/index.md +1 -1
- package/docs/de/cli/init.md +20 -0
- package/docs/de/cli/scan.md +1 -1
- package/docs/de/compat/i18n-js.md +44 -0
- package/docs/de/compat/i18next.md +59 -0
- package/docs/de/compat/index.md +51 -0
- package/docs/de/compat/lingui.md +44 -0
- package/docs/de/compat/next-i18next.md +57 -0
- package/docs/de/compat/next-intl.md +59 -0
- package/docs/de/compat/next-translate.md +45 -0
- package/docs/de/compat/ngx-translate.md +45 -0
- package/docs/de/compat/nuxtjs-i18n.md +46 -0
- package/docs/de/compat/polyglot.md +45 -0
- package/docs/de/compat/react-i18next.md +58 -0
- package/docs/de/compat/react-intl.md +55 -0
- package/docs/de/compat/svelte-i18n.md +47 -0
- package/docs/de/compat/transloco.md +45 -0
- package/docs/de/compat/vue-i18n.md +58 -0
- package/docs/de/compiler.md +9 -4
- package/docs/de/configuration.md +53 -18
- package/docs/de/custom_domains.md +9 -3
- package/docs/de/custom_url_rewrites.md +9 -3
- package/docs/de/dictionary/condition.md +167 -5
- package/docs/de/dictionary/content_file.md +4 -0
- package/docs/de/dictionary/enumeration.md +584 -13
- package/docs/de/dictionary/file.md +159 -1
- package/docs/de/dictionary/gender.md +168 -7
- package/docs/de/dictionary/insertion.md +0 -4
- package/docs/de/dictionary/nesting.md +188 -41
- package/docs/de/dictionary/plurial.md +347 -7
- package/docs/de/dictionary/translation.md +146 -53
- package/docs/de/dynamic_dictionaries/collections.md +1 -1
- package/docs/de/dynamic_dictionaries/index.md +24 -18
- package/docs/de/dynamic_dictionaries/variants.md +273 -15
- package/docs/de/formatters.md +130 -0
- package/docs/de/how_works_intlayer.md +4 -0
- package/docs/de/intlayer_CMS.md +123 -1
- package/docs/de/intlayer_with_adonisjs.md +20 -4
- package/docs/de/intlayer_with_analog.md +25 -5
- package/docs/de/intlayer_with_angular_19.md +20 -4
- package/docs/de/intlayer_with_angular_21.md +20 -4
- package/docs/de/intlayer_with_astro.md +132 -3
- package/docs/de/intlayer_with_astro_lit.md +24 -10
- package/docs/de/intlayer_with_astro_preact.md +24 -10
- package/docs/de/intlayer_with_astro_react.md +24 -10
- package/docs/de/intlayer_with_astro_solid.md +24 -10
- package/docs/de/intlayer_with_astro_svelte.md +24 -10
- package/docs/de/intlayer_with_astro_vanilla.md +24 -10
- package/docs/de/intlayer_with_astro_vue.md +24 -10
- package/docs/de/intlayer_with_create_react_app.md +35 -4
- package/docs/de/intlayer_with_express.md +20 -27
- package/docs/de/intlayer_with_fastify.md +20 -8
- package/docs/de/intlayer_with_hono.md +20 -4
- package/docs/de/intlayer_with_lynx+react.md +30 -7
- package/docs/de/intlayer_with_nestjs.md +20 -12
- package/docs/de/intlayer_with_next-i18next.md +20 -4
- package/docs/de/intlayer_with_nextjs_14.md +48 -11
- package/docs/de/intlayer_with_nextjs_15.md +41 -5
- package/docs/de/intlayer_with_nextjs_16.md +23 -5
- package/docs/de/intlayer_with_nextjs_compiler.md +51 -1
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/de/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/de/intlayer_with_nuxt.md +25 -7
- package/docs/de/intlayer_with_react_native+expo.md +91 -68
- package/docs/de/intlayer_with_react_router_v7.md +24 -100
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +9 -94
- package/docs/de/intlayer_with_storybook.md +7 -1
- package/docs/de/intlayer_with_svelte_kit.md +16 -185
- package/docs/de/intlayer_with_tanstack+solid.md +39 -14
- package/docs/de/intlayer_with_tanstack.md +38 -13
- package/docs/de/intlayer_with_vite+lit.md +34 -9
- package/docs/de/intlayer_with_vite+preact.md +84 -62
- package/docs/de/intlayer_with_vite+react.md +78 -57
- package/docs/de/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/de/intlayer_with_vite+solid.md +56 -47
- package/docs/de/intlayer_with_vite+svelte.md +36 -33
- package/docs/de/intlayer_with_vite+vanilla.md +37 -10
- package/docs/de/intlayer_with_vite+vue.md +83 -110
- package/docs/de/mcp_server.md +22 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/de/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/de/packages/@intlayer_babel/export.md +131 -0
- package/docs/de/packages/angular-intlayer/exports.md +13 -9
- package/docs/de/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/de/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/packages/intlayer/exports.md +5 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/de/packages/next-intlayer/exports.md +4 -0
- package/docs/de/packages/next-intlayer/usePathname.md +136 -0
- package/docs/de/packages/preact-intlayer/exports.md +10 -6
- package/docs/de/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/de/packages/react-intlayer/exports.md +4 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
- package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/de/packages/react-intlayer/usePathname.md +87 -0
- package/docs/de/packages/react-native-intlayer/exports.md +47 -13
- package/docs/de/packages/solid-intlayer/exports.md +4 -0
- package/docs/de/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/de/packages/svelte-intlayer/exports.md +13 -9
- package/docs/de/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/de/packages/vue-intlayer/exports.md +4 -0
- package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/de/plugins/sync-json.md +221 -49
- package/docs/de/releases/v6.md +10 -6
- package/docs/de/releases/v7.md +128 -0
- package/docs/de/releases/v8.md +197 -1
- package/docs/de/releases/v9.md +376 -0
- package/docs/de/roadmap.md +6 -16
- package/docs/de/self_hosting.md +349 -0
- package/docs/en/CI_CD.md +7 -7
- package/docs/en/bundle_optimization.md +8 -3
- package/docs/en/cli/ci.md +62 -8
- package/docs/en/cli/doc-review.md +110 -4
- package/docs/en/cli/index.md +1 -1
- package/docs/en/cli/scan.md +1 -1
- package/docs/en/compat/i18n-js.md +44 -0
- package/docs/en/compat/i18next.md +59 -0
- package/docs/en/compat/index.md +51 -0
- package/docs/en/compat/lingui.md +44 -0
- package/docs/en/compat/next-i18next.md +57 -0
- package/docs/en/compat/next-intl.md +59 -0
- package/docs/en/compat/next-translate.md +45 -0
- package/docs/en/compat/ngx-translate.md +45 -0
- package/docs/en/compat/nuxtjs-i18n.md +46 -0
- package/docs/en/compat/polyglot.md +45 -0
- package/docs/en/compat/react-i18next.md +58 -0
- package/docs/en/compat/react-intl.md +55 -0
- package/docs/en/compat/svelte-i18n.md +47 -0
- package/docs/en/compat/transloco.md +45 -0
- package/docs/en/compat/vue-i18n.md +58 -0
- package/docs/en/compiler.md +16 -6
- package/docs/en/configuration.md +56 -9
- package/docs/en/custom_domains.md +10 -2
- package/docs/en/custom_url_rewrites.md +10 -2
- package/docs/en/dictionary/condition.md +163 -1
- package/docs/en/dictionary/enumeration.md +309 -7
- package/docs/en/dictionary/file.md +151 -1
- package/docs/en/dictionary/gender.md +162 -1
- package/docs/en/dictionary/nesting.md +173 -9
- package/docs/en/dictionary/plurial.md +155 -10
- package/docs/en/dictionary/translation.md +145 -52
- package/docs/en/dynamic_dictionaries/collections.md +1 -1
- package/docs/en/dynamic_dictionaries/index.md +21 -15
- package/docs/en/dynamic_dictionaries/variants.md +267 -9
- package/docs/en/intlayer_CMS.md +171 -1
- package/docs/en/intlayer_with_adonisjs.md +20 -4
- package/docs/en/intlayer_with_analog.md +25 -5
- package/docs/en/intlayer_with_angular_19.md +20 -4
- package/docs/en/intlayer_with_angular_21.md +20 -4
- package/docs/en/intlayer_with_astro.md +22 -8
- package/docs/en/intlayer_with_astro_lit.md +22 -8
- package/docs/en/intlayer_with_astro_preact.md +22 -8
- package/docs/en/intlayer_with_astro_react.md +22 -8
- package/docs/en/intlayer_with_astro_solid.md +22 -8
- package/docs/en/intlayer_with_astro_svelte.md +22 -8
- package/docs/en/intlayer_with_astro_vanilla.md +22 -8
- package/docs/en/intlayer_with_astro_vue.md +22 -8
- package/docs/en/intlayer_with_create_react_app.md +20 -4
- package/docs/en/intlayer_with_express.md +20 -4
- package/docs/en/intlayer_with_fastify.md +20 -8
- package/docs/en/intlayer_with_hono.md +20 -4
- package/docs/en/intlayer_with_lynx+react.md +26 -5
- package/docs/en/intlayer_with_nestjs.md +20 -4
- package/docs/en/intlayer_with_next-i18next.md +20 -4
- package/docs/en/intlayer_with_nextjs_14.md +22 -4
- package/docs/en/intlayer_with_nextjs_15.md +22 -4
- package/docs/en/intlayer_with_nextjs_16.md +24 -4
- package/docs/en/intlayer_with_nextjs_compiler.md +24 -4
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +22 -4
- package/docs/en/intlayer_with_nextjs_page_router.md +22 -4
- package/docs/en/intlayer_with_nuxt.md +25 -7
- package/docs/en/intlayer_with_react_native+expo.md +48 -23
- package/docs/en/intlayer_with_react_router_v7.md +30 -7
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +10 -3
- package/docs/en/intlayer_with_storybook.md +7 -1
- package/docs/en/intlayer_with_svelte_kit.md +30 -7
- package/docs/en/intlayer_with_tanstack+solid.md +40 -13
- package/docs/en/intlayer_with_tanstack.md +38 -11
- package/docs/en/intlayer_with_vite+lit.md +35 -8
- package/docs/en/intlayer_with_vite+preact.md +30 -7
- package/docs/en/intlayer_with_vite+react.md +30 -7
- package/docs/en/intlayer_with_vite+react_compiler.md +31 -6
- package/docs/en/intlayer_with_vite+solid.md +30 -7
- package/docs/en/intlayer_with_vite+svelte.md +30 -7
- package/docs/en/intlayer_with_vite+vanilla.md +37 -8
- package/docs/en/intlayer_with_vite+vue.md +30 -7
- package/docs/en/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/en/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/en/packages/@intlayer_babel/export.md +131 -0
- package/docs/en/packages/angular-intlayer/exports.md +13 -9
- package/docs/en/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en/packages/intlayer/comparePaths.md +173 -0
- package/docs/en/packages/intlayer/exports.md +18 -13
- package/docs/en/packages/next-intlayer/exports.md +4 -0
- package/docs/en/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en/packages/preact-intlayer/exports.md +10 -6
- package/docs/en/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en/packages/react-intlayer/exports.md +4 -0
- package/docs/en/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en/packages/react-native-intlayer/exports.md +47 -13
- package/docs/en/packages/solid-intlayer/exports.md +4 -0
- package/docs/en/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en/packages/vite-intlayer/exports.md +38 -13
- package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
- package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
- package/docs/en/packages/vue-intlayer/exports.md +4 -0
- package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en/plugins/sync-json.md +56 -3
- package/docs/en/releases/v8.md +187 -1
- package/docs/en/releases/v9.md +358 -0
- package/docs/en/self_hosting.md +349 -0
- package/docs/en-GB/CI_CD.md +4 -0
- package/docs/en-GB/autoFill.md +81 -0
- package/docs/en-GB/benchmark/solid.md +22 -0
- package/docs/en-GB/benchmark/svelte.md +22 -0
- package/docs/en-GB/benchmark/tanstack.md +22 -0
- package/docs/en-GB/cli/ci.md +22 -0
- package/docs/en-GB/cli/doc-review.md +110 -4
- package/docs/en-GB/cli/fill.md +8 -0
- package/docs/en-GB/cli/index.md +1 -1
- package/docs/en-GB/cli/login.md +0 -36
- package/docs/en-GB/cli/scan.md +1 -1
- package/docs/en-GB/cli/test.md +0 -36
- package/docs/en-GB/compat/i18n-js.md +44 -0
- package/docs/en-GB/compat/i18next.md +59 -0
- package/docs/en-GB/compat/index.md +51 -0
- package/docs/en-GB/compat/lingui.md +44 -0
- package/docs/en-GB/compat/next-i18next.md +57 -0
- package/docs/en-GB/compat/next-intl.md +59 -0
- package/docs/en-GB/compat/next-translate.md +45 -0
- package/docs/en-GB/compat/ngx-translate.md +45 -0
- package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
- package/docs/en-GB/compat/polyglot.md +45 -0
- package/docs/en-GB/compat/react-i18next.md +58 -0
- package/docs/en-GB/compat/react-intl.md +55 -0
- package/docs/en-GB/compat/svelte-i18n.md +47 -0
- package/docs/en-GB/compat/transloco.md +45 -0
- package/docs/en-GB/compat/vue-i18n.md +58 -0
- package/docs/en-GB/compiler.md +9 -4
- package/docs/en-GB/configuration.md +38 -2
- package/docs/en-GB/custom_domains.md +9 -3
- package/docs/en-GB/custom_url_rewrites.md +9 -3
- package/docs/en-GB/dictionary/condition.md +364 -1
- package/docs/en-GB/dictionary/content_file.md +4 -7
- package/docs/en-GB/dictionary/enumeration.md +577 -5
- package/docs/en-GB/dictionary/file.md +325 -1
- package/docs/en-GB/dictionary/function_fetching.md +0 -4
- package/docs/en-GB/dictionary/gender.md +375 -2
- package/docs/en-GB/dictionary/nesting.md +379 -74
- package/docs/en-GB/dictionary/plurial.md +347 -7
- package/docs/en-GB/dictionary/translation.md +315 -88
- package/docs/en-GB/dynamic_dictionaries/collections.md +1 -1
- package/docs/en-GB/dynamic_dictionaries/index.md +22 -16
- package/docs/en-GB/dynamic_dictionaries/variants.md +269 -11
- package/docs/en-GB/formatters.md +59 -0
- package/docs/en-GB/how_works_intlayer.md +4 -16
- package/docs/en-GB/intlayer_CMS.md +22 -1
- package/docs/en-GB/intlayer_with_adonisjs.md +20 -4
- package/docs/en-GB/intlayer_with_analog.md +25 -5
- package/docs/en-GB/intlayer_with_angular_19.md +20 -4
- package/docs/en-GB/intlayer_with_angular_21.md +20 -4
- package/docs/en-GB/intlayer_with_astro.md +131 -2
- package/docs/en-GB/intlayer_with_astro_lit.md +23 -9
- package/docs/en-GB/intlayer_with_astro_preact.md +23 -9
- package/docs/en-GB/intlayer_with_astro_react.md +23 -9
- package/docs/en-GB/intlayer_with_astro_solid.md +23 -9
- package/docs/en-GB/intlayer_with_astro_svelte.md +23 -9
- package/docs/en-GB/intlayer_with_astro_vanilla.md +23 -9
- package/docs/en-GB/intlayer_with_astro_vue.md +23 -9
- package/docs/en-GB/intlayer_with_create_react_app.md +38 -52
- package/docs/en-GB/intlayer_with_express.md +20 -27
- package/docs/en-GB/intlayer_with_fastify.md +20 -8
- package/docs/en-GB/intlayer_with_hono.md +20 -4
- package/docs/en-GB/intlayer_with_lynx+react.md +46 -9
- package/docs/en-GB/intlayer_with_nestjs.md +20 -12
- package/docs/en-GB/intlayer_with_next-i18next.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +33 -9
- package/docs/en-GB/intlayer_with_nextjs_15.md +43 -5
- package/docs/en-GB/intlayer_with_nextjs_16.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/en-GB/intlayer_with_nuxt.md +25 -7
- package/docs/en-GB/intlayer_with_react_native+expo.md +86 -67
- package/docs/en-GB/intlayer_with_react_router_v7.md +27 -8
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +46 -8
- package/docs/en-GB/intlayer_with_storybook.md +7 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +13 -184
- package/docs/en-GB/intlayer_with_tanstack+solid.md +39 -14
- package/docs/en-GB/intlayer_with_tanstack.md +35 -12
- package/docs/en-GB/intlayer_with_vite+lit.md +34 -9
- package/docs/en-GB/intlayer_with_vite+preact.md +25 -5
- package/docs/en-GB/intlayer_with_vite+react.md +27 -8
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/en-GB/intlayer_with_vite+solid.md +21 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +27 -8
- package/docs/en-GB/intlayer_with_vite+vanilla.md +36 -9
- package/docs/en-GB/intlayer_with_vite+vue.md +35 -187
- package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
- package/docs/en-GB/packages/angular-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/intlayer/comparePaths.md +173 -0
- package/docs/en-GB/packages/intlayer/exports.md +5 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
- package/docs/en-GB/packages/next-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en-GB/packages/preact-intlayer/exports.md +10 -6
- package/docs/en-GB/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en-GB/packages/react-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/en-GB/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
- package/docs/en-GB/packages/solid-intlayer/exports.md +15 -11
- package/docs/en-GB/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en-GB/packages/vue-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en-GB/plugins/sync-json.md +222 -50
- package/docs/en-GB/releases/v6.md +10 -6
- package/docs/en-GB/releases/v7.md +128 -0
- package/docs/en-GB/releases/v8.md +191 -1
- package/docs/en-GB/releases/v9.md +357 -0
- package/docs/en-GB/roadmap.md +6 -0
- package/docs/en-GB/self_hosting.md +349 -0
- package/docs/es/CI_CD.md +4 -0
- package/docs/es/autoFill.md +81 -0
- package/docs/es/benchmark/solid.md +22 -0
- package/docs/es/benchmark/svelte.md +22 -0
- package/docs/es/benchmark/tanstack.md +22 -0
- package/docs/es/cli/ci.md +22 -0
- package/docs/es/cli/doc-review.md +110 -4
- package/docs/es/cli/fill.md +8 -0
- package/docs/es/cli/index.md +1 -1
- package/docs/es/cli/login.md +0 -36
- package/docs/es/cli/scan.md +1 -1
- package/docs/es/compat/i18n-js.md +44 -0
- package/docs/es/compat/i18next.md +59 -0
- package/docs/es/compat/index.md +51 -0
- package/docs/es/compat/lingui.md +44 -0
- package/docs/es/compat/next-i18next.md +57 -0
- package/docs/es/compat/next-intl.md +61 -0
- package/docs/es/compat/next-translate.md +45 -0
- package/docs/es/compat/ngx-translate.md +45 -0
- package/docs/es/compat/nuxtjs-i18n.md +46 -0
- package/docs/es/compat/polyglot.md +45 -0
- package/docs/es/compat/react-i18next.md +58 -0
- package/docs/es/compat/react-intl.md +55 -0
- package/docs/es/compat/svelte-i18n.md +47 -0
- package/docs/es/compat/transloco.md +45 -0
- package/docs/es/compat/vue-i18n.md +58 -0
- package/docs/es/compiler.md +9 -4
- package/docs/es/configuration.md +54 -19
- package/docs/es/custom_domains.md +9 -3
- package/docs/es/custom_url_rewrites.md +9 -3
- package/docs/es/dictionary/condition.md +167 -5
- package/docs/es/dictionary/content_file.md +4 -0
- package/docs/es/dictionary/enumeration.md +537 -12
- package/docs/es/dictionary/file.md +159 -1
- package/docs/es/dictionary/gender.md +168 -7
- package/docs/es/dictionary/nesting.md +187 -40
- package/docs/es/dictionary/plurial.md +347 -7
- package/docs/es/dictionary/translation.md +146 -53
- package/docs/es/dynamic_dictionaries/collections.md +1 -1
- package/docs/es/dynamic_dictionaries/index.md +26 -20
- package/docs/es/dynamic_dictionaries/variants.md +276 -18
- package/docs/es/formatters.md +82 -0
- package/docs/es/how_works_intlayer.md +4 -4
- package/docs/es/intlayer_CMS.md +138 -1
- package/docs/es/intlayer_visual_editor.md +0 -23
- package/docs/es/intlayer_with_adonisjs.md +20 -4
- package/docs/es/intlayer_with_analog.md +25 -5
- package/docs/es/intlayer_with_angular_19.md +20 -4
- package/docs/es/intlayer_with_angular_21.md +20 -4
- package/docs/es/intlayer_with_astro.md +132 -3
- package/docs/es/intlayer_with_astro_lit.md +24 -10
- package/docs/es/intlayer_with_astro_preact.md +24 -10
- package/docs/es/intlayer_with_astro_react.md +24 -10
- package/docs/es/intlayer_with_astro_solid.md +24 -10
- package/docs/es/intlayer_with_astro_svelte.md +24 -10
- package/docs/es/intlayer_with_astro_vanilla.md +24 -10
- package/docs/es/intlayer_with_astro_vue.md +24 -10
- package/docs/es/intlayer_with_create_react_app.md +20 -4
- package/docs/es/intlayer_with_express.md +20 -8
- package/docs/es/intlayer_with_fastify.md +20 -8
- package/docs/es/intlayer_with_hono.md +20 -4
- package/docs/es/intlayer_with_lynx+react.md +26 -5
- package/docs/es/intlayer_with_nestjs.md +20 -22
- package/docs/es/intlayer_with_next-i18next.md +20 -4
- package/docs/es/intlayer_with_nextjs_14.md +30 -8
- package/docs/es/intlayer_with_nextjs_15.md +41 -5
- package/docs/es/intlayer_with_nextjs_16.md +23 -5
- package/docs/es/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/es/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/es/intlayer_with_nuxt.md +25 -7
- package/docs/es/intlayer_with_react_native+expo.md +92 -72
- package/docs/es/intlayer_with_react_router_v7.md +24 -100
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +10 -5
- package/docs/es/intlayer_with_storybook.md +7 -1
- package/docs/es/intlayer_with_svelte_kit.md +16 -185
- package/docs/es/intlayer_with_tanstack+solid.md +39 -14
- package/docs/es/intlayer_with_tanstack.md +38 -13
- package/docs/es/intlayer_with_vite+lit.md +34 -9
- package/docs/es/intlayer_with_vite+preact.md +28 -6
- package/docs/es/intlayer_with_vite+react.md +30 -9
- package/docs/es/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/es/intlayer_with_vite+solid.md +24 -6
- package/docs/es/intlayer_with_vite+svelte.md +25 -7
- package/docs/es/intlayer_with_vite+vanilla.md +37 -10
- package/docs/es/intlayer_with_vite+vue.md +47 -94
- package/docs/es/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/es/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/es/packages/@intlayer_babel/export.md +131 -0
- package/docs/es/packages/angular-intlayer/exports.md +13 -9
- package/docs/es/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/es/packages/express-intlayer/t.md +0 -9
- package/docs/es/packages/intlayer/comparePaths.md +173 -0
- package/docs/es/packages/intlayer/exports.md +18 -13
- package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/es/packages/next-intlayer/exports.md +4 -0
- package/docs/es/packages/next-intlayer/usePathname.md +136 -0
- package/docs/es/packages/preact-intlayer/exports.md +10 -6
- package/docs/es/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/es/packages/react-intlayer/exports.md +4 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/es/packages/react-intlayer/usePathname.md +87 -0
- package/docs/es/packages/react-native-intlayer/exports.md +47 -13
- package/docs/es/packages/solid-intlayer/exports.md +4 -0
- package/docs/es/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/es/packages/svelte-intlayer/exports.md +4 -0
- package/docs/es/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/es/packages/vue-intlayer/exports.md +4 -0
- package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/es/plugins/sync-json.md +221 -49
- package/docs/es/releases/v6.md +28 -0
- package/docs/es/releases/v7.md +128 -0
- package/docs/es/releases/v8.md +187 -1
- package/docs/es/releases/v9.md +372 -0
- package/docs/es/roadmap.md +6 -0
- package/docs/es/self_hosting.md +349 -0
- package/docs/fr/CI_CD.md +4 -0
- package/docs/fr/autoFill.md +81 -0
- package/docs/fr/benchmark/solid.md +22 -0
- package/docs/fr/benchmark/svelte.md +22 -0
- package/docs/fr/benchmark/tanstack.md +22 -0
- package/docs/fr/cli/ci.md +22 -0
- package/docs/fr/cli/doc-review.md +110 -4
- package/docs/fr/cli/fill.md +8 -0
- package/docs/fr/cli/index.md +1 -1
- package/docs/fr/cli/login.md +0 -36
- package/docs/fr/cli/scan.md +1 -1
- package/docs/fr/compat/i18n-js.md +44 -0
- package/docs/fr/compat/i18next.md +59 -0
- package/docs/fr/compat/index.md +51 -0
- package/docs/fr/compat/lingui.md +44 -0
- package/docs/fr/compat/next-i18next.md +57 -0
- package/docs/fr/compat/next-intl.md +59 -0
- package/docs/fr/compat/next-translate.md +45 -0
- package/docs/fr/compat/ngx-translate.md +45 -0
- package/docs/fr/compat/nuxtjs-i18n.md +46 -0
- package/docs/fr/compat/polyglot.md +45 -0
- package/docs/fr/compat/react-i18next.md +58 -0
- package/docs/fr/compat/react-intl.md +55 -0
- package/docs/fr/compat/svelte-i18n.md +47 -0
- package/docs/fr/compat/transloco.md +45 -0
- package/docs/fr/compat/vue-i18n.md +58 -0
- package/docs/fr/compiler.md +9 -4
- package/docs/fr/configuration.md +68 -32
- package/docs/fr/custom_domains.md +9 -3
- package/docs/fr/custom_url_rewrites.md +22 -16
- package/docs/fr/dictionary/condition.md +369 -6
- package/docs/fr/dictionary/content_file.md +4 -0
- package/docs/fr/dictionary/enumeration.md +353 -6
- package/docs/fr/dictionary/file.md +159 -1
- package/docs/fr/dictionary/gender.md +168 -7
- package/docs/fr/dictionary/nesting.md +358 -48
- package/docs/fr/dictionary/plurial.md +174 -5
- package/docs/fr/dictionary/translation.md +146 -53
- package/docs/fr/dynamic_dictionaries/collections.md +1 -1
- package/docs/fr/dynamic_dictionaries/index.md +27 -21
- package/docs/fr/dynamic_dictionaries/variants.md +274 -16
- package/docs/fr/formatters.md +171 -77
- package/docs/fr/how_works_intlayer.md +4 -0
- package/docs/fr/intlayer_CMS.md +123 -1
- package/docs/fr/intlayer_with_adonisjs.md +20 -4
- package/docs/fr/intlayer_with_analog.md +25 -5
- package/docs/fr/intlayer_with_angular_19.md +20 -4
- package/docs/fr/intlayer_with_angular_21.md +20 -4
- package/docs/fr/intlayer_with_astro.md +132 -3
- package/docs/fr/intlayer_with_astro_lit.md +24 -10
- package/docs/fr/intlayer_with_astro_preact.md +24 -10
- package/docs/fr/intlayer_with_astro_react.md +24 -10
- package/docs/fr/intlayer_with_astro_solid.md +24 -10
- package/docs/fr/intlayer_with_astro_svelte.md +24 -10
- package/docs/fr/intlayer_with_astro_vanilla.md +24 -10
- package/docs/fr/intlayer_with_astro_vue.md +24 -10
- package/docs/fr/intlayer_with_create_react_app.md +20 -18
- package/docs/fr/intlayer_with_express.md +20 -8
- package/docs/fr/intlayer_with_fastify.md +20 -8
- package/docs/fr/intlayer_with_hono.md +20 -4
- package/docs/fr/intlayer_with_lynx+react.md +26 -5
- package/docs/fr/intlayer_with_nestjs.md +20 -22
- package/docs/fr/intlayer_with_next-i18next.md +20 -4
- package/docs/fr/intlayer_with_nextjs_14.md +46 -9
- package/docs/fr/intlayer_with_nextjs_15.md +41 -5
- package/docs/fr/intlayer_with_nextjs_16.md +23 -5
- package/docs/fr/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/fr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/fr/intlayer_with_nuxt.md +20 -31
- package/docs/fr/intlayer_with_react_native+expo.md +95 -68
- package/docs/fr/intlayer_with_react_router_v7.md +24 -100
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +4 -101
- package/docs/fr/intlayer_with_storybook.md +7 -1
- package/docs/fr/intlayer_with_svelte_kit.md +16 -217
- package/docs/fr/intlayer_with_tanstack+solid.md +39 -14
- package/docs/fr/intlayer_with_tanstack.md +38 -13
- package/docs/fr/intlayer_with_vite+lit.md +34 -9
- package/docs/fr/intlayer_with_vite+preact.md +28 -6
- package/docs/fr/intlayer_with_vite+react.md +30 -9
- package/docs/fr/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/fr/intlayer_with_vite+solid.md +24 -6
- package/docs/fr/intlayer_with_vite+svelte.md +30 -9
- package/docs/fr/intlayer_with_vite+vanilla.md +37 -10
- package/docs/fr/intlayer_with_vite+vue.md +42 -91
- package/docs/fr/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/fr/packages/@intlayer_babel/export.md +131 -0
- package/docs/fr/packages/angular-intlayer/exports.md +13 -9
- package/docs/fr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/express-intlayer/t.md +0 -9
- package/docs/fr/packages/intlayer/comparePaths.md +173 -0
- package/docs/fr/packages/intlayer/exports.md +18 -13
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
- package/docs/fr/packages/next-intlayer/exports.md +4 -0
- package/docs/fr/packages/next-intlayer/t.md +1 -1
- package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
- package/docs/fr/packages/preact-intlayer/exports.md +10 -6
- package/docs/fr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/fr/packages/react-intlayer/exports.md +4 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
- package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/fr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
- package/docs/fr/packages/solid-intlayer/exports.md +4 -0
- package/docs/fr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/svelte-intlayer/exports.md +4 -0
- package/docs/fr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/fr/packages/vue-intlayer/exports.md +14 -10
- package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/fr/plugins/sync-json.md +221 -49
- package/docs/fr/releases/v6.md +28 -0
- package/docs/fr/releases/v7.md +128 -0
- package/docs/fr/releases/v8.md +187 -1
- package/docs/fr/releases/v9.md +372 -0
- package/docs/fr/roadmap.md +6 -0
- package/docs/fr/self_hosting.md +349 -0
- package/docs/hi/CI_CD.md +4 -0
- package/docs/hi/autoFill.md +81 -0
- package/docs/hi/benchmark/solid.md +22 -0
- package/docs/hi/benchmark/svelte.md +22 -0
- package/docs/hi/benchmark/tanstack.md +22 -0
- package/docs/hi/cli/ci.md +22 -0
- package/docs/hi/cli/doc-review.md +110 -4
- package/docs/hi/cli/fill.md +8 -0
- package/docs/hi/cli/index.md +1 -1
- package/docs/hi/cli/login.md +0 -36
- package/docs/hi/cli/scan.md +1 -1
- package/docs/hi/compat/i18n-js.md +44 -0
- package/docs/hi/compat/i18next.md +59 -0
- package/docs/hi/compat/index.md +51 -0
- package/docs/hi/compat/lingui.md +44 -0
- package/docs/hi/compat/next-i18next.md +57 -0
- package/docs/hi/compat/next-intl.md +59 -0
- package/docs/hi/compat/next-translate.md +45 -0
- package/docs/hi/compat/ngx-translate.md +45 -0
- package/docs/hi/compat/nuxtjs-i18n.md +46 -0
- package/docs/hi/compat/polyglot.md +45 -0
- package/docs/hi/compat/react-i18next.md +58 -0
- package/docs/hi/compat/react-intl.md +55 -0
- package/docs/hi/compat/svelte-i18n.md +47 -0
- package/docs/hi/compat/transloco.md +45 -0
- package/docs/hi/compat/vue-i18n.md +58 -0
- package/docs/hi/compiler.md +9 -4
- package/docs/hi/configuration.md +67 -32
- package/docs/hi/custom_domains.md +9 -3
- package/docs/hi/custom_url_rewrites.md +9 -3
- package/docs/hi/dictionary/condition.md +167 -5
- package/docs/hi/dictionary/enumeration.md +353 -6
- package/docs/hi/dictionary/file.md +159 -1
- package/docs/hi/dictionary/gender.md +168 -7
- package/docs/hi/dictionary/nesting.md +188 -41
- package/docs/hi/dictionary/plurial.md +174 -5
- package/docs/hi/dictionary/translation.md +145 -56
- package/docs/hi/dynamic_dictionaries/collections.md +1 -1
- package/docs/hi/dynamic_dictionaries/index.md +29 -23
- package/docs/hi/dynamic_dictionaries/variants.md +283 -25
- package/docs/hi/formatters.md +85 -0
- package/docs/hi/how_works_intlayer.md +2 -0
- package/docs/hi/interest_of_intlayer.md +194 -0
- package/docs/hi/intlayer_CMS.md +22 -1
- package/docs/hi/intlayer_with_adonisjs.md +20 -4
- package/docs/hi/intlayer_with_analog.md +25 -5
- package/docs/hi/intlayer_with_angular_19.md +20 -4
- package/docs/hi/intlayer_with_angular_21.md +20 -4
- package/docs/hi/intlayer_with_astro.md +136 -6
- package/docs/hi/intlayer_with_astro_lit.md +7 -4
- package/docs/hi/intlayer_with_astro_preact.md +7 -4
- package/docs/hi/intlayer_with_astro_react.md +7 -4
- package/docs/hi/intlayer_with_astro_solid.md +7 -4
- package/docs/hi/intlayer_with_astro_svelte.md +7 -4
- package/docs/hi/intlayer_with_astro_vanilla.md +7 -4
- package/docs/hi/intlayer_with_astro_vue.md +27 -12
- package/docs/hi/intlayer_with_create_react_app.md +35 -4
- package/docs/hi/intlayer_with_express.md +20 -27
- package/docs/hi/intlayer_with_fastify.md +20 -8
- package/docs/hi/intlayer_with_hono.md +20 -4
- package/docs/hi/intlayer_with_lynx+react.md +26 -5
- package/docs/hi/intlayer_with_nestjs.md +20 -12
- package/docs/hi/intlayer_with_next-i18next.md +20 -4
- package/docs/hi/intlayer_with_nextjs_14.md +51 -12
- package/docs/hi/intlayer_with_nextjs_15.md +41 -5
- package/docs/hi/intlayer_with_nextjs_16.md +196 -58
- package/docs/hi/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/hi/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/hi/intlayer_with_nuxt.md +20 -31
- package/docs/hi/intlayer_with_react_native+expo.md +131 -87
- package/docs/hi/intlayer_with_react_router_v7.md +27 -102
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +46 -103
- package/docs/hi/intlayer_with_storybook.md +7 -1
- package/docs/hi/intlayer_with_svelte_kit.md +19 -187
- package/docs/hi/intlayer_with_tanstack+solid.md +39 -14
- package/docs/hi/intlayer_with_tanstack.md +41 -15
- package/docs/hi/intlayer_with_vite+lit.md +29 -7
- package/docs/hi/intlayer_with_vite+preact.md +27 -8
- package/docs/hi/intlayer_with_vite+react.md +33 -11
- package/docs/hi/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/hi/intlayer_with_vite+solid.md +27 -8
- package/docs/hi/intlayer_with_vite+svelte.md +59 -56
- package/docs/hi/intlayer_with_vite+vanilla.md +37 -10
- package/docs/hi/intlayer_with_vite+vue.md +55 -81
- package/docs/hi/mcp_server.md +22 -0
- package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
- package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/hi/packages/@intlayer_babel/export.md +131 -0
- package/docs/hi/packages/angular-intlayer/exports.md +13 -9
- package/docs/hi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/intlayer/comparePaths.md +173 -0
- package/docs/hi/packages/intlayer/exports.md +18 -13
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/hi/packages/intlayer/index.md +20 -4
- package/docs/hi/packages/next-intlayer/exports.md +4 -0
- package/docs/hi/packages/next-intlayer/t.md +2 -0
- package/docs/hi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/hi/packages/preact-intlayer/exports.md +10 -6
- package/docs/hi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/hi/packages/react-intlayer/exports.md +3 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
- package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/hi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
- package/docs/hi/packages/solid-intlayer/exports.md +15 -11
- package/docs/hi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/hi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/hi/packages/vue-intlayer/exports.md +14 -10
- package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/hi/plugins/sync-json.md +220 -48
- package/docs/hi/releases/v6.md +28 -0
- package/docs/hi/releases/v7.md +128 -0
- package/docs/hi/releases/v8.md +188 -2
- package/docs/hi/releases/v9.md +374 -0
- package/docs/hi/roadmap.md +6 -0
- package/docs/hi/self_hosting.md +349 -0
- package/docs/id/autoFill.md +20 -0
- package/docs/id/benchmark/solid.md +22 -0
- package/docs/id/benchmark/svelte.md +22 -0
- package/docs/id/benchmark/tanstack.md +22 -0
- package/docs/id/cli/ci.md +22 -0
- package/docs/id/cli/doc-review.md +110 -4
- package/docs/id/cli/fill.md +8 -0
- package/docs/id/cli/index.md +1 -1
- package/docs/id/cli/scan.md +1 -1
- package/docs/id/compat/i18n-js.md +44 -0
- package/docs/id/compat/i18next.md +59 -0
- package/docs/id/compat/index.md +51 -0
- package/docs/id/compat/lingui.md +44 -0
- package/docs/id/compat/next-i18next.md +57 -0
- package/docs/id/compat/next-intl.md +59 -0
- package/docs/id/compat/next-translate.md +45 -0
- package/docs/id/compat/ngx-translate.md +45 -0
- package/docs/id/compat/nuxtjs-i18n.md +46 -0
- package/docs/id/compat/polyglot.md +45 -0
- package/docs/id/compat/react-i18next.md +58 -0
- package/docs/id/compat/react-intl.md +55 -0
- package/docs/id/compat/svelte-i18n.md +47 -0
- package/docs/id/compat/transloco.md +45 -0
- package/docs/id/compat/vue-i18n.md +58 -0
- package/docs/id/compiler.md +9 -4
- package/docs/id/configuration.md +53 -18
- package/docs/id/custom_domains.md +9 -3
- package/docs/id/custom_url_rewrites.md +22 -18
- package/docs/id/dictionary/condition.md +167 -5
- package/docs/id/dictionary/content_file.md +0 -7
- package/docs/id/dictionary/enumeration.md +353 -6
- package/docs/id/dictionary/file.md +318 -2
- package/docs/id/dictionary/gender.md +381 -8
- package/docs/id/dictionary/nesting.md +359 -49
- package/docs/id/dictionary/plurial.md +174 -5
- package/docs/id/dictionary/translation.md +146 -53
- package/docs/id/dynamic_dictionaries/collections.md +1 -1
- package/docs/id/dynamic_dictionaries/index.md +26 -20
- package/docs/id/dynamic_dictionaries/variants.md +275 -17
- package/docs/id/formatters.md +120 -0
- package/docs/id/interest_of_intlayer.md +193 -0
- package/docs/id/intlayer_with_adonisjs.md +20 -4
- package/docs/id/intlayer_with_analog.md +25 -5
- package/docs/id/intlayer_with_angular_19.md +20 -4
- package/docs/id/intlayer_with_angular_21.md +20 -4
- package/docs/id/intlayer_with_astro.md +133 -4
- package/docs/id/intlayer_with_astro_lit.md +24 -10
- package/docs/id/intlayer_with_astro_preact.md +24 -10
- package/docs/id/intlayer_with_astro_react.md +24 -10
- package/docs/id/intlayer_with_astro_solid.md +24 -10
- package/docs/id/intlayer_with_astro_svelte.md +24 -10
- package/docs/id/intlayer_with_astro_vanilla.md +24 -10
- package/docs/id/intlayer_with_astro_vue.md +24 -10
- package/docs/id/intlayer_with_create_react_app.md +20 -4
- package/docs/id/intlayer_with_express.md +20 -4
- package/docs/id/intlayer_with_fastify.md +20 -8
- package/docs/id/intlayer_with_hono.md +20 -4
- package/docs/id/intlayer_with_lynx+react.md +26 -5
- package/docs/id/intlayer_with_nestjs.md +20 -4
- package/docs/id/intlayer_with_next-i18next.md +20 -4
- package/docs/id/intlayer_with_nextjs_14.md +21 -5
- package/docs/id/intlayer_with_nextjs_15.md +21 -5
- package/docs/id/intlayer_with_nextjs_16.md +198 -58
- package/docs/id/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/id/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/id/intlayer_with_nuxt.md +25 -7
- package/docs/id/intlayer_with_react_native+expo.md +45 -65
- package/docs/id/intlayer_with_react_router_v7.md +24 -100
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/id/intlayer_with_storybook.md +7 -1
- package/docs/id/intlayer_with_svelte_kit.md +16 -185
- package/docs/id/intlayer_with_tanstack+solid.md +39 -14
- package/docs/id/intlayer_with_tanstack.md +38 -13
- package/docs/id/intlayer_with_vite+lit.md +29 -7
- package/docs/id/intlayer_with_vite+preact.md +80 -62
- package/docs/id/intlayer_with_vite+react.md +78 -57
- package/docs/id/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/id/intlayer_with_vite+solid.md +56 -47
- package/docs/id/intlayer_with_vite+svelte.md +52 -36
- package/docs/id/intlayer_with_vite+vanilla.md +37 -10
- package/docs/id/intlayer_with_vite+vue.md +78 -109
- package/docs/id/mcp_server.md +22 -0
- package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/id/packages/@intlayer_babel/export.md +131 -0
- package/docs/id/packages/angular-intlayer/exports.md +14 -10
- package/docs/id/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/id/packages/intlayer/comparePaths.md +173 -0
- package/docs/id/packages/intlayer/exports.md +5 -0
- package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/id/packages/next-intlayer/exports.md +4 -0
- package/docs/id/packages/next-intlayer/usePathname.md +136 -0
- package/docs/id/packages/preact-intlayer/exports.md +10 -6
- package/docs/id/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/id/packages/react-intlayer/exports.md +4 -0
- package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/id/packages/react-intlayer/usePathname.md +87 -0
- package/docs/id/packages/react-native-intlayer/exports.md +47 -13
- package/docs/id/packages/solid-intlayer/exports.md +4 -0
- package/docs/id/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/id/packages/svelte-intlayer/exports.md +13 -9
- package/docs/id/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/id/packages/vue-intlayer/exports.md +4 -0
- package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/id/plugins/sync-json.md +221 -49
- package/docs/id/releases/v6.md +4 -0
- package/docs/id/releases/v7.md +128 -0
- package/docs/id/releases/v8.md +191 -2
- package/docs/id/releases/v9.md +346 -0
- package/docs/id/roadmap.md +0 -16
- package/docs/id/self_hosting.md +349 -0
- package/docs/it/CI_CD.md +4 -0
- package/docs/it/autoFill.md +81 -0
- package/docs/it/benchmark/solid.md +22 -0
- package/docs/it/benchmark/svelte.md +22 -0
- package/docs/it/benchmark/tanstack.md +22 -0
- package/docs/it/cli/ci.md +22 -0
- package/docs/it/cli/doc-review.md +110 -4
- package/docs/it/cli/fill.md +8 -0
- package/docs/it/cli/index.md +1 -1
- package/docs/it/cli/scan.md +1 -1
- package/docs/it/compat/i18n-js.md +44 -0
- package/docs/it/compat/i18next.md +59 -0
- package/docs/it/compat/index.md +51 -0
- package/docs/it/compat/lingui.md +44 -0
- package/docs/it/compat/next-i18next.md +57 -0
- package/docs/it/compat/next-intl.md +59 -0
- package/docs/it/compat/next-translate.md +45 -0
- package/docs/it/compat/ngx-translate.md +45 -0
- package/docs/it/compat/nuxtjs-i18n.md +46 -0
- package/docs/it/compat/polyglot.md +45 -0
- package/docs/it/compat/react-i18next.md +58 -0
- package/docs/it/compat/react-intl.md +55 -0
- package/docs/it/compat/svelte-i18n.md +47 -0
- package/docs/it/compat/transloco.md +45 -0
- package/docs/it/compat/vue-i18n.md +58 -0
- package/docs/it/compiler.md +9 -4
- package/docs/it/configuration.md +67 -32
- package/docs/it/custom_domains.md +9 -3
- package/docs/it/custom_url_rewrites.md +9 -3
- package/docs/it/dictionary/condition.md +167 -5
- package/docs/it/dictionary/content_file.md +4 -7
- package/docs/it/dictionary/enumeration.md +349 -12
- package/docs/it/dictionary/file.md +326 -2
- package/docs/it/dictionary/gender.md +168 -7
- package/docs/it/dictionary/nesting.md +188 -41
- package/docs/it/dictionary/plurial.md +347 -7
- package/docs/it/dictionary/translation.md +146 -53
- package/docs/it/dynamic_dictionaries/collections.md +1 -1
- package/docs/it/dynamic_dictionaries/index.md +27 -21
- package/docs/it/dynamic_dictionaries/variants.md +274 -16
- package/docs/it/formatters.md +82 -0
- package/docs/it/how_works_intlayer.md +4 -4
- package/docs/it/intlayer_CMS.md +123 -1
- package/docs/it/intlayer_with_adonisjs.md +20 -4
- package/docs/it/intlayer_with_analog.md +25 -5
- package/docs/it/intlayer_with_angular_19.md +20 -4
- package/docs/it/intlayer_with_angular_21.md +20 -4
- package/docs/it/intlayer_with_astro.md +132 -3
- package/docs/it/intlayer_with_astro_lit.md +24 -10
- package/docs/it/intlayer_with_astro_preact.md +24 -10
- package/docs/it/intlayer_with_astro_react.md +24 -10
- package/docs/it/intlayer_with_astro_solid.md +24 -10
- package/docs/it/intlayer_with_astro_svelte.md +24 -10
- package/docs/it/intlayer_with_astro_vanilla.md +24 -10
- package/docs/it/intlayer_with_astro_vue.md +24 -10
- package/docs/it/intlayer_with_create_react_app.md +20 -18
- package/docs/it/intlayer_with_express.md +20 -8
- package/docs/it/intlayer_with_fastify.md +20 -8
- package/docs/it/intlayer_with_hono.md +20 -4
- package/docs/it/intlayer_with_lynx+react.md +37 -5
- package/docs/it/intlayer_with_nestjs.md +20 -12
- package/docs/it/intlayer_with_next-i18next.md +20 -4
- package/docs/it/intlayer_with_nextjs_14.md +50 -13
- package/docs/it/intlayer_with_nextjs_15.md +41 -5
- package/docs/it/intlayer_with_nextjs_16.md +198 -58
- package/docs/it/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/it/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/it/intlayer_with_nuxt.md +25 -7
- package/docs/it/intlayer_with_react_native+expo.md +81 -64
- package/docs/it/intlayer_with_react_router_v7.md +24 -100
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/it/intlayer_with_storybook.md +7 -1
- package/docs/it/intlayer_with_svelte_kit.md +16 -217
- package/docs/it/intlayer_with_tanstack+solid.md +39 -14
- package/docs/it/intlayer_with_tanstack.md +38 -13
- package/docs/it/intlayer_with_vite+lit.md +34 -9
- package/docs/it/intlayer_with_vite+preact.md +84 -62
- package/docs/it/intlayer_with_vite+react.md +78 -57
- package/docs/it/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/it/intlayer_with_vite+solid.md +56 -47
- package/docs/it/intlayer_with_vite+svelte.md +51 -35
- package/docs/it/intlayer_with_vite+vanilla.md +37 -10
- package/docs/it/intlayer_with_vite+vue.md +82 -131
- package/docs/it/mcp_server.md +22 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/it/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/it/packages/@intlayer_babel/export.md +131 -0
- package/docs/it/packages/angular-intlayer/exports.md +13 -9
- package/docs/it/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/it/packages/intlayer/comparePaths.md +173 -0
- package/docs/it/packages/intlayer/exports.md +18 -13
- package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/it/packages/next-intlayer/exports.md +4 -0
- package/docs/it/packages/next-intlayer/t.md +34 -0
- package/docs/it/packages/next-intlayer/usePathname.md +136 -0
- package/docs/it/packages/preact-intlayer/exports.md +10 -6
- package/docs/it/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/it/packages/react-intlayer/exports.md +20 -16
- package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
- package/docs/it/packages/react-intlayer/usePathname.md +87 -0
- package/docs/it/packages/react-native-intlayer/exports.md +47 -13
- package/docs/it/packages/solid-intlayer/exports.md +4 -0
- package/docs/it/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/it/packages/svelte-intlayer/exports.md +4 -0
- package/docs/it/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/it/packages/vue-intlayer/exports.md +4 -0
- package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/it/plugins/sync-json.md +223 -51
- package/docs/it/releases/v6.md +28 -0
- package/docs/it/releases/v7.md +128 -0
- package/docs/it/releases/v8.md +200 -2
- package/docs/it/releases/v9.md +376 -0
- package/docs/it/roadmap.md +6 -0
- package/docs/it/self_hosting.md +349 -0
- package/docs/ja/CI_CD.md +4 -0
- package/docs/ja/autoFill.md +81 -0
- package/docs/ja/benchmark/solid.md +22 -0
- package/docs/ja/benchmark/svelte.md +22 -0
- package/docs/ja/benchmark/tanstack.md +22 -0
- package/docs/ja/cli/ci.md +22 -0
- package/docs/ja/cli/doc-review.md +110 -4
- package/docs/ja/cli/fill.md +8 -0
- package/docs/ja/cli/index.md +1 -1
- package/docs/ja/cli/list_projects.md +0 -18
- package/docs/ja/cli/scan.md +1 -1
- package/docs/ja/compat/i18n-js.md +44 -0
- package/docs/ja/compat/i18next.md +59 -0
- package/docs/ja/compat/index.md +51 -0
- package/docs/ja/compat/lingui.md +44 -0
- package/docs/ja/compat/next-i18next.md +57 -0
- package/docs/ja/compat/next-intl.md +59 -0
- package/docs/ja/compat/next-translate.md +45 -0
- package/docs/ja/compat/ngx-translate.md +45 -0
- package/docs/ja/compat/nuxtjs-i18n.md +46 -0
- package/docs/ja/compat/polyglot.md +45 -0
- package/docs/ja/compat/react-i18next.md +58 -0
- package/docs/ja/compat/react-intl.md +55 -0
- package/docs/ja/compat/svelte-i18n.md +47 -0
- package/docs/ja/compat/transloco.md +45 -0
- package/docs/ja/compat/vue-i18n.md +58 -0
- package/docs/ja/compiler.md +9 -4
- package/docs/ja/configuration.md +68 -33
- package/docs/ja/custom_domains.md +9 -3
- package/docs/ja/custom_url_rewrites.md +9 -3
- package/docs/ja/dictionary/condition.md +167 -5
- package/docs/ja/dictionary/content_file.md +4 -0
- package/docs/ja/dictionary/enumeration.md +353 -6
- package/docs/ja/dictionary/file.md +151 -1
- package/docs/ja/dictionary/function_fetching.md +0 -27
- package/docs/ja/dictionary/gender.md +168 -7
- package/docs/ja/dictionary/markdown.md +1348 -0
- package/docs/ja/dictionary/nesting.md +187 -40
- package/docs/ja/dictionary/plurial.md +174 -5
- package/docs/ja/dictionary/translation.md +134 -92
- package/docs/ja/dynamic_dictionaries/collections.md +1 -1
- package/docs/ja/dynamic_dictionaries/index.md +28 -22
- package/docs/ja/dynamic_dictionaries/variants.md +277 -19
- package/docs/ja/formatters.md +77 -0
- package/docs/ja/how_works_intlayer.md +4 -2
- package/docs/ja/intlayer_CMS.md +197 -10
- package/docs/ja/intlayer_visual_editor.md +0 -4
- package/docs/ja/intlayer_with_adonisjs.md +20 -4
- package/docs/ja/intlayer_with_analog.md +29 -5
- package/docs/ja/intlayer_with_angular_19.md +20 -4
- package/docs/ja/intlayer_with_angular_21.md +20 -4
- package/docs/ja/intlayer_with_astro.md +131 -2
- package/docs/ja/intlayer_with_astro_lit.md +23 -9
- package/docs/ja/intlayer_with_astro_preact.md +23 -9
- package/docs/ja/intlayer_with_astro_react.md +23 -9
- package/docs/ja/intlayer_with_astro_solid.md +23 -9
- package/docs/ja/intlayer_with_astro_svelte.md +23 -9
- package/docs/ja/intlayer_with_astro_vanilla.md +23 -9
- package/docs/ja/intlayer_with_astro_vue.md +23 -9
- package/docs/ja/intlayer_with_create_react_app.md +20 -20
- package/docs/ja/intlayer_with_express.md +20 -8
- package/docs/ja/intlayer_with_fastify.md +20 -8
- package/docs/ja/intlayer_with_hono.md +20 -4
- package/docs/ja/intlayer_with_lynx+react.md +26 -5
- package/docs/ja/intlayer_with_nestjs.md +20 -12
- package/docs/ja/intlayer_with_next-i18next.md +20 -4
- package/docs/ja/intlayer_with_nextjs_14.md +46 -24
- package/docs/ja/intlayer_with_nextjs_15.md +41 -5
- package/docs/ja/intlayer_with_nextjs_16.md +198 -58
- package/docs/ja/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ja/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ja/intlayer_with_nuxt.md +25 -7
- package/docs/ja/intlayer_with_react_native+expo.md +139 -137
- package/docs/ja/intlayer_with_react_router_v7.md +9 -26
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ja/intlayer_with_storybook.md +7 -1
- package/docs/ja/intlayer_with_svelte_kit.md +14 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ja/intlayer_with_tanstack.md +39 -14
- package/docs/ja/intlayer_with_vite+lit.md +34 -9
- package/docs/ja/intlayer_with_vite+preact.md +709 -1
- package/docs/ja/intlayer_with_vite+react.md +293 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ja/intlayer_with_vite+solid.md +56 -47
- package/docs/ja/intlayer_with_vite+svelte.md +54 -36
- package/docs/ja/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ja/intlayer_with_vite+vue.md +99 -122
- package/docs/ja/mcp_server.md +26 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ja/packages/@intlayer_babel/export.md +131 -0
- package/docs/ja/packages/angular-intlayer/exports.md +13 -9
- package/docs/ja/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ja/packages/express-intlayer/t.md +0 -9
- package/docs/ja/packages/intlayer/comparePaths.md +173 -0
- package/docs/ja/packages/intlayer/exports.md +5 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ja/packages/next-intlayer/exports.md +4 -0
- package/docs/ja/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ja/packages/preact-intlayer/exports.md +10 -6
- package/docs/ja/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ja/packages/react-intlayer/exports.md +21 -16
- package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
- package/docs/ja/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
- package/docs/ja/packages/solid-intlayer/exports.md +4 -0
- package/docs/ja/packages/solid-intlayer/usePathname.md +120 -0
- package/docs/ja/packages/svelte-intlayer/exports.md +13 -9
- package/docs/ja/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ja/packages/vue-intlayer/exports.md +4 -0
- package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ja/plugins/sync-json.md +221 -49
- package/docs/ja/releases/v6.md +28 -0
- package/docs/ja/releases/v7.md +128 -0
- package/docs/ja/releases/v8.md +193 -4
- package/docs/ja/releases/v9.md +346 -0
- package/docs/ja/roadmap.md +6 -0
- package/docs/ja/self_hosting.md +349 -0
- package/docs/ko/CI_CD.md +4 -0
- package/docs/ko/autoFill.md +81 -0
- package/docs/ko/benchmark/solid.md +22 -0
- package/docs/ko/benchmark/svelte.md +22 -0
- package/docs/ko/benchmark/tanstack.md +22 -0
- package/docs/ko/cli/ci.md +22 -0
- package/docs/ko/cli/doc-review.md +110 -4
- package/docs/ko/cli/fill.md +8 -0
- package/docs/ko/cli/index.md +1 -1
- package/docs/ko/cli/login.md +0 -36
- package/docs/ko/cli/scan.md +1 -1
- package/docs/ko/compat/i18n-js.md +44 -0
- package/docs/ko/compat/i18next.md +59 -0
- package/docs/ko/compat/index.md +51 -0
- package/docs/ko/compat/lingui.md +44 -0
- package/docs/ko/compat/next-i18next.md +55 -0
- package/docs/ko/compat/next-intl.md +59 -0
- package/docs/ko/compat/next-translate.md +45 -0
- package/docs/ko/compat/ngx-translate.md +45 -0
- package/docs/ko/compat/nuxtjs-i18n.md +46 -0
- package/docs/ko/compat/polyglot.md +45 -0
- package/docs/ko/compat/react-i18next.md +58 -0
- package/docs/ko/compat/react-intl.md +55 -0
- package/docs/ko/compat/svelte-i18n.md +47 -0
- package/docs/ko/compat/transloco.md +45 -0
- package/docs/ko/compat/vue-i18n.md +58 -0
- package/docs/ko/compiler.md +9 -4
- package/docs/ko/configuration.md +67 -32
- package/docs/ko/custom_domains.md +9 -3
- package/docs/ko/custom_url_rewrites.md +9 -3
- package/docs/ko/dictionary/condition.md +167 -5
- package/docs/ko/dictionary/content_file.md +4 -27
- package/docs/ko/dictionary/enumeration.md +353 -6
- package/docs/ko/dictionary/file.md +151 -1
- package/docs/ko/dictionary/gender.md +168 -7
- package/docs/ko/dictionary/insertion.md +0 -6
- package/docs/ko/dictionary/nesting.md +187 -40
- package/docs/ko/dictionary/plurial.md +174 -5
- package/docs/ko/dictionary/translation.md +142 -65
- package/docs/ko/dynamic_dictionaries/collections.md +1 -1
- package/docs/ko/dynamic_dictionaries/index.md +24 -18
- package/docs/ko/dynamic_dictionaries/variants.md +274 -16
- package/docs/ko/formatters.md +71 -0
- package/docs/ko/how_works_intlayer.md +4 -0
- package/docs/ko/intlayer_CMS.md +195 -6
- package/docs/ko/intlayer_visual_editor.md +0 -2
- package/docs/ko/intlayer_with_adonisjs.md +20 -4
- package/docs/ko/intlayer_with_analog.md +51 -11
- package/docs/ko/intlayer_with_angular_19.md +42 -10
- package/docs/ko/intlayer_with_angular_21.md +42 -10
- package/docs/ko/intlayer_with_astro.md +159 -10
- package/docs/ko/intlayer_with_astro_lit.md +35 -11
- package/docs/ko/intlayer_with_astro_preact.md +35 -11
- package/docs/ko/intlayer_with_astro_react.md +35 -11
- package/docs/ko/intlayer_with_astro_solid.md +35 -11
- package/docs/ko/intlayer_with_astro_svelte.md +35 -11
- package/docs/ko/intlayer_with_astro_vanilla.md +32 -10
- package/docs/ko/intlayer_with_astro_vue.md +55 -19
- package/docs/ko/intlayer_with_create_react_app.md +39 -23
- package/docs/ko/intlayer_with_express.md +20 -27
- package/docs/ko/intlayer_with_fastify.md +20 -8
- package/docs/ko/intlayer_with_hono.md +20 -4
- package/docs/ko/intlayer_with_lynx+react.md +6 -109
- package/docs/ko/intlayer_with_nestjs.md +20 -22
- package/docs/ko/intlayer_with_next-i18next.md +20 -4
- package/docs/ko/intlayer_with_nextjs_14.md +59 -25
- package/docs/ko/intlayer_with_nextjs_15.md +84 -18
- package/docs/ko/intlayer_with_nextjs_16.md +230 -67
- package/docs/ko/intlayer_with_nextjs_compiler.md +34 -297
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +51 -15
- package/docs/ko/intlayer_with_nextjs_page_router.md +62 -16
- package/docs/ko/intlayer_with_nuxt.md +54 -14
- package/docs/ko/intlayer_with_react_native+expo.md +134 -137
- package/docs/ko/intlayer_with_react_router_v7.md +61 -105
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +80 -106
- package/docs/ko/intlayer_with_storybook.md +35 -9
- package/docs/ko/intlayer_with_svelte_kit.md +53 -182
- package/docs/ko/intlayer_with_tanstack+solid.md +97 -32
- package/docs/ko/intlayer_with_tanstack.md +96 -31
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +74 -21
- package/docs/ko/intlayer_with_vite+preact.md +110 -100
- package/docs/ko/intlayer_with_vite+react.md +127 -484
- package/docs/ko/intlayer_with_vite+react_compiler.md +52 -13
- package/docs/ko/intlayer_with_vite+solid.md +86 -154
- package/docs/ko/intlayer_with_vite+svelte.md +83 -45
- package/docs/ko/intlayer_with_vite+vanilla.md +80 -23
- package/docs/ko/intlayer_with_vite+vue.md +114 -119
- package/docs/ko/mcp_server.md +22 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ko/packages/@intlayer_babel/export.md +131 -0
- package/docs/ko/packages/angular-intlayer/exports.md +14 -10
- package/docs/ko/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/express-intlayer/t.md +0 -9
- package/docs/ko/packages/intlayer/comparePaths.md +173 -0
- package/docs/ko/packages/intlayer/exports.md +5 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ko/packages/next-intlayer/exports.md +4 -0
- package/docs/ko/packages/next-intlayer/t.md +34 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
- package/docs/ko/packages/next-intlayer/usePathname.md +140 -0
- package/docs/ko/packages/preact-intlayer/exports.md +10 -6
- package/docs/ko/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ko/packages/react-intlayer/exports.md +4 -0
- package/docs/ko/packages/react-intlayer/t.md +0 -20
- package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ko/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ko/packages/solid-intlayer/exports.md +4 -0
- package/docs/ko/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ko/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ko/packages/vue-intlayer/exports.md +4 -0
- package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ko/plugins/sync-json.md +222 -50
- package/docs/ko/releases/v6.md +28 -0
- package/docs/ko/releases/v7.md +128 -0
- package/docs/ko/releases/v8.md +192 -1
- package/docs/ko/releases/v9.md +345 -0
- package/docs/ko/roadmap.md +6 -0
- package/docs/ko/self_hosting.md +349 -0
- package/docs/nl/cli/index.md +1 -1
- package/docs/nl/cli/scan.md +1 -1
- package/docs/nl/configuration.md +36 -3
- package/docs/nl/custom_domains.md +8 -2
- package/docs/nl/intlayer_with_angular_21.md +20 -4
- package/docs/nl/intlayer_with_fastify.md +20 -8
- package/docs/nl/intlayer_with_hono.md +20 -4
- package/docs/nl/intlayer_with_storybook.md +7 -1
- package/docs/nl/intlayer_with_vite+lit.md +28 -6
- package/docs/nl/intlayer_with_vite+vanilla.md +36 -9
- package/docs/nl/packages/intlayer/comparePaths.md +173 -0
- package/docs/nl/releases/v9.md +358 -0
- package/docs/pl/autoFill.md +20 -0
- package/docs/pl/benchmark/___NOTE.md +101 -0
- package/docs/pl/benchmark/___nextjs.md +198 -0
- package/docs/pl/benchmark/___solid.md +36 -0
- package/docs/pl/benchmark/___svelte.md +36 -0
- package/docs/pl/benchmark/___tanstack.md +36 -0
- package/docs/pl/benchmark/___vue.md +36 -0
- package/docs/pl/benchmark/solid.md +22 -0
- package/docs/pl/benchmark/svelte.md +22 -0
- package/docs/pl/benchmark/tanstack.md +22 -0
- package/docs/pl/cli/ci.md +22 -0
- package/docs/pl/cli/doc-review.md +110 -4
- package/docs/pl/cli/fill.md +8 -0
- package/docs/pl/cli/index.md +1 -1
- package/docs/pl/cli/login.md +0 -36
- package/docs/pl/cli/scan.md +1 -1
- package/docs/pl/compat/i18n-js.md +44 -0
- package/docs/pl/compat/i18next.md +59 -0
- package/docs/pl/compat/index.md +51 -0
- package/docs/pl/compat/lingui.md +44 -0
- package/docs/pl/compat/next-i18next.md +57 -0
- package/docs/pl/compat/next-intl.md +59 -0
- package/docs/pl/compat/next-translate.md +45 -0
- package/docs/pl/compat/ngx-translate.md +45 -0
- package/docs/pl/compat/nuxtjs-i18n.md +46 -0
- package/docs/pl/compat/polyglot.md +45 -0
- package/docs/pl/compat/react-i18next.md +58 -0
- package/docs/pl/compat/react-intl.md +55 -0
- package/docs/pl/compat/svelte-i18n.md +47 -0
- package/docs/pl/compat/transloco.md +45 -0
- package/docs/pl/compat/vue-i18n.md +58 -0
- package/docs/pl/compiler.md +6 -3
- package/docs/pl/configuration.md +50 -18
- package/docs/pl/custom_domains.md +8 -2
- package/docs/pl/custom_url_rewrites.md +8 -2
- package/docs/pl/dictionary/condition.md +167 -5
- package/docs/pl/dictionary/content_file.md +0 -40
- package/docs/pl/dictionary/enumeration.md +353 -6
- package/docs/pl/dictionary/file.md +318 -2
- package/docs/pl/dictionary/gender.md +168 -7
- package/docs/pl/dictionary/nesting.md +187 -40
- package/docs/pl/dictionary/plurial.md +174 -5
- package/docs/pl/dictionary/translation.md +146 -53
- package/docs/pl/dynamic_dictionaries/collections.md +1 -1
- package/docs/pl/dynamic_dictionaries/index.md +27 -21
- package/docs/pl/dynamic_dictionaries/variants.md +276 -18
- package/docs/pl/formatters.md +120 -0
- package/docs/pl/intlayer_CMS.md +16 -1
- package/docs/pl/intlayer_with_adonisjs.md +20 -4
- package/docs/pl/intlayer_with_analog.md +25 -5
- package/docs/pl/intlayer_with_angular_19.md +20 -4
- package/docs/pl/intlayer_with_angular_21.md +20 -4
- package/docs/pl/intlayer_with_astro.md +182 -1
- package/docs/pl/intlayer_with_astro_lit.md +23 -9
- package/docs/pl/intlayer_with_astro_preact.md +23 -9
- package/docs/pl/intlayer_with_astro_react.md +23 -9
- package/docs/pl/intlayer_with_astro_solid.md +23 -9
- package/docs/pl/intlayer_with_astro_svelte.md +23 -9
- package/docs/pl/intlayer_with_astro_vanilla.md +23 -9
- package/docs/pl/intlayer_with_astro_vue.md +23 -9
- package/docs/pl/intlayer_with_create_react_app.md +20 -4
- package/docs/pl/intlayer_with_express.md +20 -4
- package/docs/pl/intlayer_with_fastify.md +20 -8
- package/docs/pl/intlayer_with_hono.md +20 -4
- package/docs/pl/intlayer_with_lynx+react.md +26 -5
- package/docs/pl/intlayer_with_nestjs.md +20 -4
- package/docs/pl/intlayer_with_next-i18next.md +20 -4
- package/docs/pl/intlayer_with_nextjs_14.md +20 -4
- package/docs/pl/intlayer_with_nextjs_15.md +20 -4
- package/docs/pl/intlayer_with_nextjs_16.md +22 -4
- package/docs/pl/intlayer_with_nextjs_compiler.md +22 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/pl/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/pl/intlayer_with_nuxt.md +25 -7
- package/docs/pl/intlayer_with_react_native+expo.md +75 -78
- package/docs/pl/intlayer_with_react_router_v7.md +23 -99
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -96
- package/docs/pl/intlayer_with_storybook.md +7 -1
- package/docs/pl/intlayer_with_svelte_kit.md +15 -188
- package/docs/pl/intlayer_with_tanstack+solid.md +38 -13
- package/docs/pl/intlayer_with_tanstack.md +37 -12
- package/docs/pl/intlayer_with_vite+lit.md +28 -6
- package/docs/pl/intlayer_with_vite+preact.md +79 -61
- package/docs/pl/intlayer_with_vite+react.md +77 -56
- package/docs/pl/intlayer_with_vite+react_compiler.md +29 -6
- package/docs/pl/intlayer_with_vite+solid.md +55 -46
- package/docs/pl/intlayer_with_vite+svelte.md +52 -34
- package/docs/pl/intlayer_with_vite+vanilla.md +36 -9
- package/docs/pl/intlayer_with_vite+vue.md +77 -78
- package/docs/pl/mcp_server.md +22 -0
- package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
- package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
- package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
- package/docs/pl/packages/@intlayer_babel/export.md +131 -0
- package/docs/pl/packages/angular-intlayer/exports.md +13 -9
- package/docs/pl/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/packages/intlayer/exports.md +5 -0
- package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
- package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/pl/packages/next-intlayer/exports.md +4 -0
- package/docs/pl/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pl/packages/preact-intlayer/exports.md +10 -6
- package/docs/pl/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pl/packages/react-intlayer/exports.md +4 -0
- package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pl/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pl/packages/solid-intlayer/exports.md +4 -0
- package/docs/pl/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pl/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pl/packages/vue-intlayer/exports.md +4 -0
- package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pl/plugins/sync-json.md +222 -50
- package/docs/pl/releases/v6.md +4 -0
- package/docs/pl/releases/v7.md +128 -0
- package/docs/pl/releases/v8.md +188 -2
- package/docs/pl/releases/v9.md +373 -0
- package/docs/pl/roadmap.md +0 -16
- package/docs/pl/self_hosting.md +349 -0
- package/docs/pt/CI_CD.md +4 -0
- package/docs/pt/autoFill.md +117 -14
- package/docs/pt/benchmark/index.md +5 -5
- package/docs/pt/benchmark/solid.md +22 -0
- package/docs/pt/benchmark/svelte.md +22 -0
- package/docs/pt/benchmark/tanstack.md +22 -0
- package/docs/pt/cli/ci.md +22 -0
- package/docs/pt/cli/doc-review.md +110 -4
- package/docs/pt/cli/fill.md +8 -0
- package/docs/pt/cli/index.md +1 -1
- package/docs/pt/cli/login.md +0 -36
- package/docs/pt/cli/scan.md +1 -1
- package/docs/pt/compat/i18n-js.md +44 -0
- package/docs/pt/compat/i18next.md +59 -0
- package/docs/pt/compat/index.md +51 -0
- package/docs/pt/compat/lingui.md +44 -0
- package/docs/pt/compat/next-i18next.md +57 -0
- package/docs/pt/compat/next-intl.md +59 -0
- package/docs/pt/compat/next-translate.md +45 -0
- package/docs/pt/compat/ngx-translate.md +45 -0
- package/docs/pt/compat/nuxtjs-i18n.md +46 -0
- package/docs/pt/compat/polyglot.md +45 -0
- package/docs/pt/compat/react-i18next.md +58 -0
- package/docs/pt/compat/react-intl.md +55 -0
- package/docs/pt/compat/svelte-i18n.md +47 -0
- package/docs/pt/compat/transloco.md +45 -0
- package/docs/pt/compat/vue-i18n.md +58 -0
- package/docs/pt/compiler.md +8 -5
- package/docs/pt/configuration.md +65 -33
- package/docs/pt/custom_domains.md +9 -8
- package/docs/pt/custom_url_rewrites.md +9 -3
- package/docs/pt/dictionary/condition.md +167 -5
- package/docs/pt/dictionary/content_file.md +4 -7
- package/docs/pt/dictionary/enumeration.md +353 -6
- package/docs/pt/dictionary/file.md +159 -1
- package/docs/pt/dictionary/gender.md +168 -7
- package/docs/pt/dictionary/nesting.md +187 -40
- package/docs/pt/dictionary/plurial.md +347 -7
- package/docs/pt/dictionary/translation.md +146 -53
- package/docs/pt/dynamic_dictionaries/collections.md +1 -1
- package/docs/pt/dynamic_dictionaries/index.md +26 -20
- package/docs/pt/dynamic_dictionaries/variants.md +277 -19
- package/docs/pt/formatters.md +86 -0
- package/docs/pt/how_works_intlayer.md +4 -0
- package/docs/pt/intlayer_CMS.md +138 -1
- package/docs/pt/intlayer_with_adonisjs.md +20 -4
- package/docs/pt/intlayer_with_analog.md +28 -8
- package/docs/pt/intlayer_with_angular_19.md +27 -11
- package/docs/pt/intlayer_with_angular_21.md +23 -7
- package/docs/pt/intlayer_with_astro.md +185 -4
- package/docs/pt/intlayer_with_astro_lit.md +26 -12
- package/docs/pt/intlayer_with_astro_preact.md +26 -12
- package/docs/pt/intlayer_with_astro_react.md +26 -12
- package/docs/pt/intlayer_with_astro_solid.md +26 -12
- package/docs/pt/intlayer_with_astro_svelte.md +26 -12
- package/docs/pt/intlayer_with_astro_vanilla.md +26 -12
- package/docs/pt/intlayer_with_astro_vue.md +26 -12
- package/docs/pt/intlayer_with_create_react_app.md +20 -18
- package/docs/pt/intlayer_with_express.md +20 -27
- package/docs/pt/intlayer_with_fastify.md +20 -8
- package/docs/pt/intlayer_with_hono.md +20 -4
- package/docs/pt/intlayer_with_lynx+react.md +40 -8
- package/docs/pt/intlayer_with_nestjs.md +20 -22
- package/docs/pt/intlayer_with_next-i18next.md +20 -4
- package/docs/pt/intlayer_with_nextjs_14.md +46 -11
- package/docs/pt/intlayer_with_nextjs_15.md +47 -11
- package/docs/pt/intlayer_with_nextjs_16.md +28 -10
- package/docs/pt/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +26 -10
- package/docs/pt/intlayer_with_nextjs_page_router.md +30 -10
- package/docs/pt/intlayer_with_nuxt.md +28 -10
- package/docs/pt/intlayer_with_react_native+expo.md +85 -65
- package/docs/pt/intlayer_with_react_router_v7.md +36 -91
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -99
- package/docs/pt/intlayer_with_storybook.md +10 -4
- package/docs/pt/intlayer_with_svelte_kit.md +18 -223
- package/docs/pt/intlayer_with_tanstack+solid.md +41 -16
- package/docs/pt/intlayer_with_tanstack.md +40 -15
- package/docs/pt/intlayer_with_vanilla.md +3 -3
- package/docs/pt/intlayer_with_vite+lit.md +36 -11
- package/docs/pt/intlayer_with_vite+preact.md +26 -8
- package/docs/pt/intlayer_with_vite+react.md +39 -18
- package/docs/pt/intlayer_with_vite+react_compiler.md +34 -11
- package/docs/pt/intlayer_with_vite+solid.md +26 -8
- package/docs/pt/intlayer_with_vite+svelte.md +55 -37
- package/docs/pt/intlayer_with_vite+vanilla.md +39 -12
- package/docs/pt/intlayer_with_vite+vue.md +36 -11
- package/docs/pt/mcp_server.md +22 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/pt/packages/@intlayer_babel/export.md +131 -0
- package/docs/pt/packages/angular-intlayer/exports.md +14 -10
- package/docs/pt/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/hono-intlayer/t.md +1 -1
- package/docs/pt/packages/intlayer/comparePaths.md +173 -0
- package/docs/pt/packages/intlayer/exports.md +5 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/pt/packages/next-intlayer/exports.md +4 -0
- package/docs/pt/packages/next-intlayer/t.md +34 -0
- package/docs/pt/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pt/packages/preact-intlayer/exports.md +10 -6
- package/docs/pt/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pt/packages/react-intlayer/exports.md +21 -17
- package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pt/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pt/packages/solid-intlayer/exports.md +4 -0
- package/docs/pt/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pt/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pt/packages/vue-intlayer/exports.md +5 -1
- package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pt/plugins/sync-json.md +221 -49
- package/docs/pt/plugins/sync-po.md +1 -1
- package/docs/pt/readme.md +3 -3
- package/docs/pt/releases/v6.md +28 -0
- package/docs/pt/releases/v7.md +128 -0
- package/docs/pt/releases/v8.md +187 -1
- package/docs/pt/releases/v9.md +376 -0
- package/docs/pt/roadmap.md +6 -0
- package/docs/pt/self_hosting.md +349 -0
- package/docs/ru/CI_CD.md +4 -0
- package/docs/ru/autoFill.md +81 -0
- package/docs/ru/benchmark/solid.md +22 -0
- package/docs/ru/benchmark/svelte.md +22 -0
- package/docs/ru/benchmark/tanstack.md +22 -0
- package/docs/ru/cli/ci.md +22 -0
- package/docs/ru/cli/doc-review.md +110 -4
- package/docs/ru/cli/fill.md +8 -0
- package/docs/ru/cli/index.md +1 -1
- package/docs/ru/cli/login.md +0 -36
- package/docs/ru/cli/scan.md +1 -1
- package/docs/ru/compat/i18n-js.md +44 -0
- package/docs/ru/compat/i18next.md +59 -0
- package/docs/ru/compat/index.md +51 -0
- package/docs/ru/compat/lingui.md +44 -0
- package/docs/ru/compat/next-i18next.md +57 -0
- package/docs/ru/compat/next-intl.md +59 -0
- package/docs/ru/compat/next-translate.md +45 -0
- package/docs/ru/compat/ngx-translate.md +45 -0
- package/docs/ru/compat/nuxtjs-i18n.md +46 -0
- package/docs/ru/compat/polyglot.md +45 -0
- package/docs/ru/compat/react-i18next.md +58 -0
- package/docs/ru/compat/react-intl.md +55 -0
- package/docs/ru/compat/svelte-i18n.md +47 -0
- package/docs/ru/compat/transloco.md +45 -0
- package/docs/ru/compat/vue-i18n.md +58 -0
- package/docs/ru/compiler.md +9 -4
- package/docs/ru/configuration.md +53 -18
- package/docs/ru/custom_domains.md +9 -3
- package/docs/ru/custom_url_rewrites.md +9 -3
- package/docs/ru/dictionary/condition.md +366 -39
- package/docs/ru/dictionary/content_file.md +4 -27
- package/docs/ru/dictionary/enumeration.md +584 -13
- package/docs/ru/dictionary/file.md +326 -2
- package/docs/ru/dictionary/gender.md +168 -7
- package/docs/ru/dictionary/markdown.md +510 -0
- package/docs/ru/dictionary/nesting.md +376 -71
- package/docs/ru/dictionary/plurial.md +347 -7
- package/docs/ru/dictionary/translation.md +316 -89
- package/docs/ru/dynamic_dictionaries/collections.md +1 -1
- package/docs/ru/dynamic_dictionaries/index.md +26 -20
- package/docs/ru/dynamic_dictionaries/variants.md +278 -20
- package/docs/ru/formatters.md +136 -0
- package/docs/ru/how_works_intlayer.md +4 -0
- package/docs/ru/intlayer_CMS.md +202 -15
- package/docs/ru/intlayer_with_adonisjs.md +20 -4
- package/docs/ru/intlayer_with_analog.md +25 -5
- package/docs/ru/intlayer_with_angular_19.md +20 -4
- package/docs/ru/intlayer_with_angular_21.md +20 -4
- package/docs/ru/intlayer_with_astro.md +132 -3
- package/docs/ru/intlayer_with_astro_lit.md +4 -2
- package/docs/ru/intlayer_with_astro_preact.md +4 -2
- package/docs/ru/intlayer_with_astro_react.md +4 -2
- package/docs/ru/intlayer_with_astro_solid.md +4 -2
- package/docs/ru/intlayer_with_astro_svelte.md +4 -2
- package/docs/ru/intlayer_with_astro_vanilla.md +4 -2
- package/docs/ru/intlayer_with_astro_vue.md +24 -10
- package/docs/ru/intlayer_with_create_react_app.md +20 -4
- package/docs/ru/intlayer_with_express.md +20 -27
- package/docs/ru/intlayer_with_fastify.md +20 -8
- package/docs/ru/intlayer_with_hono.md +20 -4
- package/docs/ru/intlayer_with_lynx+react.md +26 -5
- package/docs/ru/intlayer_with_nestjs.md +20 -22
- package/docs/ru/intlayer_with_next-i18next.md +20 -4
- package/docs/ru/intlayer_with_nextjs_14.md +51 -12
- package/docs/ru/intlayer_with_nextjs_15.md +41 -5
- package/docs/ru/intlayer_with_nextjs_16.md +23 -5
- package/docs/ru/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ru/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ru/intlayer_with_nuxt.md +25 -7
- package/docs/ru/intlayer_with_react_native+expo.md +90 -71
- package/docs/ru/intlayer_with_react_router_v7.md +24 -100
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ru/intlayer_with_storybook.md +7 -1
- package/docs/ru/intlayer_with_svelte_kit.md +16 -185
- package/docs/ru/intlayer_with_tanstack+solid.md +39 -14
- package/docs/ru/intlayer_with_tanstack.md +38 -13
- package/docs/ru/intlayer_with_vite+lit.md +34 -9
- package/docs/ru/intlayer_with_vite+preact.md +80 -62
- package/docs/ru/intlayer_with_vite+react.md +80 -56
- package/docs/ru/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/ru/intlayer_with_vite+solid.md +56 -47
- package/docs/ru/intlayer_with_vite+svelte.md +51 -35
- package/docs/ru/intlayer_with_vite+vanilla.md +37 -10
- package/docs/ru/intlayer_with_vite+vue.md +82 -109
- package/docs/ru/mcp_server.md +22 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/ru/packages/@intlayer_babel/export.md +131 -0
- package/docs/ru/packages/angular-intlayer/exports.md +13 -9
- package/docs/ru/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/intlayer/comparePaths.md +173 -0
- package/docs/ru/packages/intlayer/exports.md +5 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ru/packages/next-intlayer/exports.md +4 -0
- package/docs/ru/packages/next-intlayer/t.md +34 -0
- package/docs/ru/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ru/packages/preact-intlayer/exports.md +10 -6
- package/docs/ru/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ru/packages/react-intlayer/exports.md +4 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
- package/docs/ru/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
- package/docs/ru/packages/solid-intlayer/exports.md +4 -0
- package/docs/ru/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ru/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ru/packages/vue-intlayer/exports.md +4 -0
- package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ru/plugins/sync-json.md +268 -95
- package/docs/ru/releases/v6.md +28 -0
- package/docs/ru/releases/v7.md +128 -0
- package/docs/ru/releases/v8.md +194 -2
- package/docs/ru/releases/v9.md +374 -0
- package/docs/ru/roadmap.md +6 -0
- package/docs/ru/self_hosting.md +349 -0
- package/docs/tr/CI_CD.md +4 -0
- package/docs/tr/autoFill.md +81 -0
- package/docs/tr/benchmark/solid.md +22 -0
- package/docs/tr/benchmark/svelte.md +22 -0
- package/docs/tr/benchmark/tanstack.md +22 -0
- package/docs/tr/cli/ci.md +22 -0
- package/docs/tr/cli/doc-review.md +110 -4
- package/docs/tr/cli/fill.md +8 -0
- package/docs/tr/cli/index.md +1 -1
- package/docs/tr/cli/login.md +0 -10
- package/docs/tr/cli/scan.md +1 -1
- package/docs/tr/compat/i18n-js.md +44 -0
- package/docs/tr/compat/i18next.md +59 -0
- package/docs/tr/compat/index.md +51 -0
- package/docs/tr/compat/lingui.md +44 -0
- package/docs/tr/compat/next-i18next.md +57 -0
- package/docs/tr/compat/next-intl.md +59 -0
- package/docs/tr/compat/next-translate.md +45 -0
- package/docs/tr/compat/ngx-translate.md +45 -0
- package/docs/tr/compat/nuxtjs-i18n.md +46 -0
- package/docs/tr/compat/polyglot.md +45 -0
- package/docs/tr/compat/react-i18next.md +58 -0
- package/docs/tr/compat/react-intl.md +55 -0
- package/docs/tr/compat/svelte-i18n.md +47 -0
- package/docs/tr/compat/transloco.md +45 -0
- package/docs/tr/compat/vue-i18n.md +58 -0
- package/docs/tr/compiler.md +9 -4
- package/docs/tr/configuration.md +53 -18
- package/docs/tr/custom_domains.md +9 -3
- package/docs/tr/custom_url_rewrites.md +9 -3
- package/docs/tr/dictionary/condition.md +167 -5
- package/docs/tr/dictionary/content_file.md +4 -27
- package/docs/tr/dictionary/enumeration.md +353 -6
- package/docs/tr/dictionary/file.md +159 -1
- package/docs/tr/dictionary/gender.md +168 -7
- package/docs/tr/dictionary/nesting.md +187 -40
- package/docs/tr/dictionary/plurial.md +174 -5
- package/docs/tr/dictionary/translation.md +142 -76
- package/docs/tr/dynamic_dictionaries/collections.md +1 -1
- package/docs/tr/dynamic_dictionaries/index.md +28 -22
- package/docs/tr/dynamic_dictionaries/variants.md +275 -17
- package/docs/tr/formatters.md +59 -0
- package/docs/tr/how_works_intlayer.md +4 -0
- package/docs/tr/intlayer_CMS.md +22 -1
- package/docs/tr/intlayer_with_adonisjs.md +20 -4
- package/docs/tr/intlayer_with_analog.md +29 -5
- package/docs/tr/intlayer_with_angular_19.md +20 -4
- package/docs/tr/intlayer_with_angular_21.md +20 -4
- package/docs/tr/intlayer_with_astro.md +134 -77
- package/docs/tr/intlayer_with_astro_lit.md +24 -10
- package/docs/tr/intlayer_with_astro_preact.md +24 -10
- package/docs/tr/intlayer_with_astro_react.md +24 -10
- package/docs/tr/intlayer_with_astro_solid.md +24 -10
- package/docs/tr/intlayer_with_astro_svelte.md +24 -10
- package/docs/tr/intlayer_with_astro_vanilla.md +24 -10
- package/docs/tr/intlayer_with_astro_vue.md +24 -10
- package/docs/tr/intlayer_with_create_react_app.md +20 -4
- package/docs/tr/intlayer_with_express.md +20 -8
- package/docs/tr/intlayer_with_fastify.md +20 -8
- package/docs/tr/intlayer_with_hono.md +20 -4
- package/docs/tr/intlayer_with_lynx+react.md +26 -5
- package/docs/tr/intlayer_with_nestjs.md +20 -12
- package/docs/tr/intlayer_with_next-i18next.md +20 -4
- package/docs/tr/intlayer_with_nextjs_14.md +115 -12
- package/docs/tr/intlayer_with_nextjs_15.md +41 -5
- package/docs/tr/intlayer_with_nextjs_16.md +23 -5
- package/docs/tr/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/tr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/tr/intlayer_with_nuxt.md +25 -7
- package/docs/tr/intlayer_with_react_native+expo.md +80 -79
- package/docs/tr/intlayer_with_react_router_v7.md +24 -100
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/tr/intlayer_with_storybook.md +7 -1
- package/docs/tr/intlayer_with_svelte_kit.md +16 -185
- package/docs/tr/intlayer_with_tanstack+solid.md +39 -14
- package/docs/tr/intlayer_with_tanstack.md +38 -13
- package/docs/tr/intlayer_with_vite+lit.md +29 -7
- package/docs/tr/intlayer_with_vite+preact.md +80 -62
- package/docs/tr/intlayer_with_vite+react.md +78 -57
- package/docs/tr/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/tr/intlayer_with_vite+solid.md +56 -47
- package/docs/tr/intlayer_with_vite+svelte.md +51 -35
- package/docs/tr/intlayer_with_vite+vanilla.md +37 -10
- package/docs/tr/intlayer_with_vite+vue.md +83 -110
- package/docs/tr/mcp_server.md +22 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_next-intl_to_intlayer.md +21 -5
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +21 -5
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +21 -5
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +21 -5
- package/docs/tr/packages/@intlayer_babel/export.md +131 -0
- package/docs/tr/packages/angular-intlayer/exports.md +13 -9
- package/docs/tr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/intlayer/comparePaths.md +173 -0
- package/docs/tr/packages/intlayer/exports.md +18 -13
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/tr/packages/next-intlayer/exports.md +4 -0
- package/docs/tr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/tr/packages/preact-intlayer/exports.md +10 -6
- package/docs/tr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/tr/packages/react-intlayer/exports.md +4 -0
- package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
- package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/tr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
- package/docs/tr/packages/solid-intlayer/exports.md +4 -0
- package/docs/tr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/svelte-intlayer/exports.md +13 -9
- package/docs/tr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/tr/packages/vue-intlayer/exports.md +4 -0
- package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/tr/plugins/sync-json.md +221 -50
- package/docs/tr/releases/v6.md +28 -0
- package/docs/tr/releases/v7.md +128 -0
- package/docs/tr/releases/v8.md +187 -1
- package/docs/tr/releases/v9.md +361 -0
- package/docs/tr/roadmap.md +6 -0
- package/docs/tr/self_hosting.md +349 -0
- package/docs/uk/benchmark/solid.md +22 -0
- package/docs/uk/benchmark/svelte.md +22 -0
- package/docs/uk/benchmark/tanstack.md +22 -0
- package/docs/uk/cli/ci.md +22 -0
- package/docs/uk/cli/doc-review.md +110 -4
- package/docs/uk/cli/fill.md +8 -0
- package/docs/uk/cli/index.md +1 -1
- package/docs/uk/cli/scan.md +1 -1
- package/docs/uk/compat/i18n-js.md +44 -0
- package/docs/uk/compat/i18next.md +59 -0
- package/docs/uk/compat/index.md +51 -0
- package/docs/uk/compat/lingui.md +44 -0
- package/docs/uk/compat/next-i18next.md +57 -0
- package/docs/uk/compat/next-intl.md +59 -0
- package/docs/uk/compat/next-translate.md +45 -0
- package/docs/uk/compat/ngx-translate.md +45 -0
- package/docs/uk/compat/nuxtjs-i18n.md +46 -0
- package/docs/uk/compat/polyglot.md +45 -0
- package/docs/uk/compat/react-i18next.md +58 -0
- package/docs/uk/compat/react-intl.md +55 -0
- package/docs/uk/compat/svelte-i18n.md +47 -0
- package/docs/uk/compat/transloco.md +45 -0
- package/docs/uk/compat/vue-i18n.md +58 -0
- package/docs/uk/compiler.md +9 -4
- package/docs/uk/configuration.md +53 -18
- package/docs/uk/custom_domains.md +9 -3
- package/docs/uk/custom_url_rewrites.md +9 -3
- package/docs/uk/dictionary/condition.md +167 -5
- package/docs/uk/dictionary/content_file.md +0 -7
- package/docs/uk/dictionary/enumeration.md +353 -6
- package/docs/uk/dictionary/file.md +318 -2
- package/docs/uk/dictionary/gender.md +381 -8
- package/docs/uk/dictionary/nesting.md +186 -39
- package/docs/uk/dictionary/plurial.md +174 -5
- package/docs/uk/dictionary/translation.md +146 -64
- package/docs/uk/dynamic_dictionaries/collections.md +1 -1
- package/docs/uk/dynamic_dictionaries/index.md +26 -20
- package/docs/uk/dynamic_dictionaries/variants.md +278 -20
- package/docs/uk/formatters.md +142 -58
- package/docs/uk/interest_of_intlayer.md +194 -0
- package/docs/uk/intlayer_CMS.md +16 -1
- package/docs/uk/intlayer_with_adonisjs.md +20 -4
- package/docs/uk/intlayer_with_analog.md +29 -5
- package/docs/uk/intlayer_with_angular_19.md +20 -4
- package/docs/uk/intlayer_with_angular_21.md +20 -4
- package/docs/uk/intlayer_with_astro.md +133 -4
- package/docs/uk/intlayer_with_astro_lit.md +24 -10
- package/docs/uk/intlayer_with_astro_preact.md +24 -10
- package/docs/uk/intlayer_with_astro_react.md +24 -10
- package/docs/uk/intlayer_with_astro_solid.md +24 -10
- package/docs/uk/intlayer_with_astro_svelte.md +24 -10
- package/docs/uk/intlayer_with_astro_vanilla.md +24 -10
- package/docs/uk/intlayer_with_astro_vue.md +24 -10
- package/docs/uk/intlayer_with_create_react_app.md +20 -4
- package/docs/uk/intlayer_with_express.md +20 -4
- package/docs/uk/intlayer_with_fastify.md +20 -8
- package/docs/uk/intlayer_with_hono.md +20 -4
- package/docs/uk/intlayer_with_lynx+react.md +26 -5
- package/docs/uk/intlayer_with_nestjs.md +20 -4
- package/docs/uk/intlayer_with_next-i18next.md +20 -4
- package/docs/uk/intlayer_with_nextjs_14.md +21 -5
- package/docs/uk/intlayer_with_nextjs_15.md +21 -5
- package/docs/uk/intlayer_with_nextjs_16.md +23 -5
- package/docs/uk/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/uk/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/uk/intlayer_with_nuxt.md +20 -31
- package/docs/uk/intlayer_with_react_native+expo.md +64 -84
- package/docs/uk/intlayer_with_react_router_v7.md +24 -100
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/uk/intlayer_with_storybook.md +7 -1
- package/docs/uk/intlayer_with_svelte_kit.md +30 -9
- package/docs/uk/intlayer_with_tanstack+solid.md +39 -14
- package/docs/uk/intlayer_with_tanstack.md +38 -13
- package/docs/uk/intlayer_with_vite+lit.md +29 -7
- package/docs/uk/intlayer_with_vite+preact.md +80 -62
- package/docs/uk/intlayer_with_vite+react.md +78 -57
- package/docs/uk/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/uk/intlayer_with_vite+solid.md +56 -47
- package/docs/uk/intlayer_with_vite+svelte.md +58 -37
- package/docs/uk/intlayer_with_vite+vanilla.md +37 -10
- package/docs/uk/intlayer_with_vite+vue.md +78 -109
- package/docs/uk/mcp_server.md +22 -0
- package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/uk/packages/@intlayer_babel/export.md +131 -0
- package/docs/uk/packages/angular-intlayer/exports.md +14 -10
- package/docs/uk/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/intlayer/comparePaths.md +173 -0
- package/docs/uk/packages/intlayer/exports.md +5 -0
- package/docs/uk/packages/next-intlayer/exports.md +4 -0
- package/docs/uk/packages/next-intlayer/usePathname.md +136 -0
- package/docs/uk/packages/preact-intlayer/exports.md +10 -6
- package/docs/uk/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/uk/packages/react-intlayer/exports.md +4 -0
- package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/uk/packages/react-intlayer/usePathname.md +87 -0
- package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
- package/docs/uk/packages/solid-intlayer/exports.md +5 -1
- package/docs/uk/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/svelte-intlayer/exports.md +4 -0
- package/docs/uk/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/uk/packages/vue-intlayer/exports.md +4 -0
- package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/uk/plugins/sync-json.md +56 -3
- package/docs/uk/releases/v6.md +4 -0
- package/docs/uk/releases/v7.md +4 -0
- package/docs/uk/releases/v8.md +191 -3
- package/docs/uk/releases/v9.md +373 -0
- package/docs/uk/self_hosting.md +349 -0
- package/docs/ur/cli/index.md +1 -1
- package/docs/ur/cli/scan.md +1 -1
- package/docs/ur/configuration.md +36 -3
- package/docs/ur/custom_domains.md +8 -2
- package/docs/ur/intlayer_with_angular_21.md +20 -4
- package/docs/ur/intlayer_with_fastify.md +20 -8
- package/docs/ur/intlayer_with_hono.md +20 -4
- package/docs/ur/intlayer_with_storybook.md +7 -1
- package/docs/ur/intlayer_with_vite+lit.md +28 -6
- package/docs/ur/intlayer_with_vite+vanilla.md +36 -9
- package/docs/ur/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/autoFill.md +20 -0
- package/docs/vi/benchmark/solid.md +22 -0
- package/docs/vi/benchmark/svelte.md +22 -0
- package/docs/vi/benchmark/tanstack.md +22 -0
- package/docs/vi/cli/ci.md +22 -0
- package/docs/vi/cli/doc-review.md +110 -4
- package/docs/vi/cli/fill.md +8 -0
- package/docs/vi/cli/index.md +1 -1
- package/docs/vi/cli/login.md +0 -36
- package/docs/vi/cli/scan.md +1 -1
- package/docs/vi/compat/i18n-js.md +44 -0
- package/docs/vi/compat/i18next.md +59 -0
- package/docs/vi/compat/index.md +51 -0
- package/docs/vi/compat/lingui.md +44 -0
- package/docs/vi/compat/next-i18next.md +57 -0
- package/docs/vi/compat/next-intl.md +59 -0
- package/docs/vi/compat/next-translate.md +45 -0
- package/docs/vi/compat/ngx-translate.md +45 -0
- package/docs/vi/compat/nuxtjs-i18n.md +46 -0
- package/docs/vi/compat/polyglot.md +45 -0
- package/docs/vi/compat/react-i18next.md +58 -0
- package/docs/vi/compat/react-intl.md +55 -0
- package/docs/vi/compat/svelte-i18n.md +47 -0
- package/docs/vi/compat/transloco.md +45 -0
- package/docs/vi/compat/vue-i18n.md +58 -0
- package/docs/vi/compiler.md +9 -4
- package/docs/vi/configuration.md +68 -33
- package/docs/vi/custom_domains.md +9 -3
- package/docs/vi/custom_url_rewrites.md +9 -3
- package/docs/vi/dictionary/condition.md +167 -5
- package/docs/vi/dictionary/content_file.md +0 -7
- package/docs/vi/dictionary/enumeration.md +395 -17
- package/docs/vi/dictionary/file.md +318 -2
- package/docs/vi/dictionary/gender.md +168 -7
- package/docs/vi/dictionary/insertion.md +0 -2
- package/docs/vi/dictionary/nesting.md +362 -52
- package/docs/vi/dictionary/plurial.md +174 -5
- package/docs/vi/dictionary/translation.md +146 -53
- package/docs/vi/dynamic_dictionaries/collections.md +1 -1
- package/docs/vi/dynamic_dictionaries/index.md +29 -23
- package/docs/vi/dynamic_dictionaries/variants.md +279 -21
- package/docs/vi/formatters.md +124 -0
- package/docs/vi/interest_of_intlayer.md +193 -0
- package/docs/vi/intlayer_with_adonisjs.md +20 -4
- package/docs/vi/intlayer_with_analog.md +29 -5
- package/docs/vi/intlayer_with_angular_19.md +20 -4
- package/docs/vi/intlayer_with_angular_21.md +20 -4
- package/docs/vi/intlayer_with_astro.md +133 -4
- package/docs/vi/intlayer_with_astro_lit.md +24 -10
- package/docs/vi/intlayer_with_astro_preact.md +24 -10
- package/docs/vi/intlayer_with_astro_react.md +24 -10
- package/docs/vi/intlayer_with_astro_solid.md +24 -10
- package/docs/vi/intlayer_with_astro_svelte.md +24 -10
- package/docs/vi/intlayer_with_astro_vanilla.md +24 -10
- package/docs/vi/intlayer_with_astro_vue.md +24 -10
- package/docs/vi/intlayer_with_create_react_app.md +20 -4
- package/docs/vi/intlayer_with_express.md +20 -4
- package/docs/vi/intlayer_with_fastify.md +20 -8
- package/docs/vi/intlayer_with_hono.md +20 -4
- package/docs/vi/intlayer_with_lynx+react.md +26 -5
- package/docs/vi/intlayer_with_nestjs.md +20 -4
- package/docs/vi/intlayer_with_next-i18next.md +20 -4
- package/docs/vi/intlayer_with_nextjs_14.md +21 -5
- package/docs/vi/intlayer_with_nextjs_15.md +491 -5
- package/docs/vi/intlayer_with_nextjs_16.md +23 -5
- package/docs/vi/intlayer_with_nextjs_compiler.md +23 -26
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/vi/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/vi/intlayer_with_nuxt.md +20 -31
- package/docs/vi/intlayer_with_react_native+expo.md +43 -64
- package/docs/vi/intlayer_with_react_router_v7.md +24 -100
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/vi/intlayer_with_storybook.md +7 -1
- package/docs/vi/intlayer_with_svelte_kit.md +16 -185
- package/docs/vi/intlayer_with_tanstack+solid.md +39 -14
- package/docs/vi/intlayer_with_tanstack.md +38 -13
- package/docs/vi/intlayer_with_vite+lit.md +29 -7
- package/docs/vi/intlayer_with_vite+preact.md +80 -62
- package/docs/vi/intlayer_with_vite+react.md +78 -57
- package/docs/vi/intlayer_with_vite+react_compiler.md +30 -7
- package/docs/vi/intlayer_with_vite+solid.md +56 -47
- package/docs/vi/intlayer_with_vite+svelte.md +58 -39
- package/docs/vi/intlayer_with_vite+vanilla.md +37 -10
- package/docs/vi/intlayer_with_vite+vue.md +78 -109
- package/docs/vi/mcp_server.md +22 -0
- package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/vi/packages/@intlayer_babel/export.md +131 -0
- package/docs/vi/packages/angular-intlayer/exports.md +14 -10
- package/docs/vi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/packages/intlayer/exports.md +5 -0
- package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/vi/packages/next-intlayer/exports.md +4 -0
- package/docs/vi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/vi/packages/preact-intlayer/exports.md +10 -6
- package/docs/vi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/vi/packages/react-intlayer/exports.md +20 -16
- package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
- package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/vi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
- package/docs/vi/packages/solid-intlayer/exports.md +15 -11
- package/docs/vi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/vi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/vi/packages/vue-intlayer/exports.md +14 -10
- package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/vi/plugins/sync-json.md +229 -57
- package/docs/vi/releases/v6.md +4 -0
- package/docs/vi/releases/v7.md +128 -0
- package/docs/vi/releases/v8.md +190 -1
- package/docs/vi/releases/v9.md +346 -0
- package/docs/vi/self_hosting.md +349 -0
- package/docs/zh/CI_CD.md +1 -1
- package/docs/zh/autoFill.md +81 -0
- package/docs/zh/benchmark/solid.md +22 -0
- package/docs/zh/benchmark/svelte.md +22 -0
- package/docs/zh/benchmark/tanstack.md +22 -0
- package/docs/zh/cli/ci.md +22 -0
- package/docs/zh/cli/doc-review.md +110 -4
- package/docs/zh/cli/fill.md +8 -0
- package/docs/zh/cli/index.md +1 -1
- package/docs/zh/cli/login.md +0 -36
- package/docs/zh/cli/scan.md +1 -1
- package/docs/zh/compat/i18n-js.md +44 -0
- package/docs/zh/compat/i18next.md +59 -0
- package/docs/zh/compat/index.md +51 -0
- package/docs/zh/compat/lingui.md +44 -0
- package/docs/zh/compat/next-i18next.md +57 -0
- package/docs/zh/compat/next-intl.md +59 -0
- package/docs/zh/compat/next-translate.md +45 -0
- package/docs/zh/compat/ngx-translate.md +45 -0
- package/docs/zh/compat/nuxtjs-i18n.md +46 -0
- package/docs/zh/compat/polyglot.md +45 -0
- package/docs/zh/compat/react-i18next.md +58 -0
- package/docs/zh/compat/react-intl.md +55 -0
- package/docs/zh/compat/svelte-i18n.md +47 -0
- package/docs/zh/compat/transloco.md +45 -0
- package/docs/zh/compat/vue-i18n.md +58 -0
- package/docs/zh/compiler.md +9 -4
- package/docs/zh/configuration.md +67 -32
- package/docs/zh/custom_domains.md +9 -3
- package/docs/zh/custom_url_rewrites.md +22 -18
- package/docs/zh/dictionary/condition.md +167 -5
- package/docs/zh/dictionary/content_file.md +16 -20
- package/docs/zh/dictionary/enumeration.md +353 -6
- package/docs/zh/dictionary/file.md +151 -1
- package/docs/zh/dictionary/function_fetching.md +0 -27
- package/docs/zh/dictionary/gender.md +168 -7
- package/docs/zh/dictionary/insertion.md +0 -64
- package/docs/zh/dictionary/nesting.md +186 -39
- package/docs/zh/dictionary/plurial.md +174 -5
- package/docs/zh/dictionary/translation.md +141 -64
- package/docs/zh/dynamic_dictionaries/collections.md +1 -1
- package/docs/zh/dynamic_dictionaries/index.md +25 -19
- package/docs/zh/dynamic_dictionaries/variants.md +275 -17
- package/docs/zh/formatters.md +77 -0
- package/docs/zh/how_works_intlayer.md +4 -4
- package/docs/zh/intlayer_CMS.md +21 -0
- package/docs/zh/intlayer_with_adonisjs.md +20 -4
- package/docs/zh/intlayer_with_analog.md +4 -154
- package/docs/zh/intlayer_with_angular_19.md +0 -232
- package/docs/zh/intlayer_with_angular_21.md +20 -4
- package/docs/zh/intlayer_with_astro.md +245 -61
- package/docs/zh/intlayer_with_astro_lit.md +131 -83
- package/docs/zh/intlayer_with_astro_preact.md +125 -77
- package/docs/zh/intlayer_with_astro_react.md +127 -79
- package/docs/zh/intlayer_with_astro_solid.md +127 -79
- package/docs/zh/intlayer_with_astro_svelte.md +127 -79
- package/docs/zh/intlayer_with_astro_vanilla.md +124 -78
- package/docs/zh/intlayer_with_astro_vue.md +119 -71
- package/docs/zh/intlayer_with_create_react_app.md +17 -306
- package/docs/zh/intlayer_with_express.md +20 -27
- package/docs/zh/intlayer_with_fastify.md +20 -8
- package/docs/zh/intlayer_with_hono.md +20 -4
- package/docs/zh/intlayer_with_lynx+react.md +0 -259
- package/docs/zh/intlayer_with_nestjs.md +20 -22
- package/docs/zh/intlayer_with_next-i18next.md +20 -4
- package/docs/zh/intlayer_with_nextjs_14.md +83 -29
- package/docs/zh/intlayer_with_nextjs_15.md +84 -18
- package/docs/zh/intlayer_with_nextjs_16.md +151 -91
- package/docs/zh/intlayer_with_nextjs_compiler.md +174 -144
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/zh/intlayer_with_nextjs_page_router.md +71 -19
- package/docs/zh/intlayer_with_nuxt.md +5 -149
- package/docs/zh/intlayer_with_react_native+expo.md +160 -156
- package/docs/zh/intlayer_with_react_router_v7.md +24 -347
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +4 -317
- package/docs/zh/intlayer_with_storybook.md +7 -241
- package/docs/zh/intlayer_with_svelte_kit.md +10 -521
- package/docs/zh/intlayer_with_tanstack+solid.md +1 -630
- package/docs/zh/intlayer_with_tanstack.md +1 -628
- package/docs/zh/intlayer_with_vanilla.md +0 -283
- package/docs/zh/intlayer_with_vite+lit.md +1 -395
- package/docs/zh/intlayer_with_vite+preact.md +4 -226
- package/docs/zh/intlayer_with_vite+react.md +59 -294
- package/docs/zh/intlayer_with_vite+react_compiler.md +1 -176
- package/docs/zh/intlayer_with_vite+solid.md +17 -306
- package/docs/zh/intlayer_with_vite+svelte.md +131 -84
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -426
- package/docs/zh/intlayer_with_vite+vue.md +124 -144
- package/docs/zh/mcp_server.md +26 -0
- package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
- package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/zh/packages/@intlayer_babel/export.md +131 -0
- package/docs/zh/packages/angular-intlayer/exports.md +13 -9
- package/docs/zh/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/intlayer/comparePaths.md +173 -0
- package/docs/zh/packages/intlayer/exports.md +18 -13
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/zh/packages/next-intlayer/exports.md +4 -0
- package/docs/zh/packages/next-intlayer/usePathname.md +136 -0
- package/docs/zh/packages/preact-intlayer/exports.md +10 -6
- package/docs/zh/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/zh/packages/react-intlayer/exports.md +5 -1
- package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
- package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/zh/packages/react-intlayer/usePathname.md +88 -0
- package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
- package/docs/zh/packages/solid-intlayer/exports.md +15 -11
- package/docs/zh/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/svelte-intlayer/exports.md +13 -9
- package/docs/zh/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/zh/packages/vue-intlayer/exports.md +14 -10
- package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/zh/plugins/sync-json.md +222 -50
- package/docs/zh/releases/v6.md +28 -0
- package/docs/zh/releases/v7.md +128 -0
- package/docs/zh/releases/v8.md +191 -1
- package/docs/zh/releases/v9.md +342 -0
- package/docs/zh/roadmap.md +6 -0
- package/docs/zh/self_hosting.md +349 -0
- package/docs/zh/vs_code_extension.md +0 -7
- package/docs/zh-TW/intlayer_with_angular_21.md +20 -4
- package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
- package/frequent_questions/pt/translated_path_url.md +1 -1
- package/package.json +8 -8
- package/src/generated/docs.entry.ts +580 -20
- package/dist/esm/_virtual/_rolldown/runtime.mjs +0 -8
- package/docs/ar/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/de/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en-GB/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/es/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/fr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/hi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/id/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/it/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ja/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ko/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pl/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pt/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ru/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/tr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/uk/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/vi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/zh/dynamic_dictionaries/dynamic_content.md +0 -271
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-06-23
|
|
4
4
|
title: "Astro + Vue i18n - 翻译你的应用的完整指南"
|
|
5
5
|
description: "告别 i18next。2026 年构建多语言 (i18n) Astro + Vue 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
|
|
6
6
|
keywords:
|
|
@@ -71,58 +71,84 @@ Intlayer 经过优化,可与 Astro 完美配合,提供**多语言路由**、
|
|
|
71
71
|
|
|
72
72
|
不要将大量 JSON 文件加载到页面中,而只需加载必要的内容。 Intlayer 有助于**将捆绑包和页面大小减少多达 50%**。
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
<AccordionGroup>
|
|
75
|
+
<Accordion header="可维护性">
|
|
75
76
|
|
|
76
77
|
确定应用程序内容的范围**有利于大型应用程序的维护**。您可以复制或删除单个功能文件夹,而无需承担检查整个内容代码库的精神负担。此外,Intlayer 具有**完全类型化 (fully typed)**,以确保您的内容的准确性。
|
|
77
78
|
|
|
78
|
-
|
|
79
|
+
</Accordion>
|
|
80
|
+
|
|
81
|
+
<Accordion header="人工智能代理">
|
|
79
82
|
|
|
80
83
|
共置内容**减少大型语言模型 (LLM) 所需的上下文**。 Intlayer 还附带了一套工具,例如用于测试缺失翻译的 **CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** 和 **[agent技能](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**,使 AI 代理的开发者体验 (DX) 更加流畅。
|
|
81
84
|
|
|
82
|
-
|
|
85
|
+
</Accordion>
|
|
86
|
+
|
|
87
|
+
<Accordion header="自动化">
|
|
83
88
|
|
|
84
89
|
使用您选择的法学硕士,通过自动化在 CI/CD 管道中进行翻译,而费用由您的 AI 提供商承担。 Intlayer 还提供了一个**编译器**来自动提取内容,以及一个[网络平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)来帮助**在后台翻译**。
|
|
85
90
|
|
|
86
|
-
|
|
91
|
+
</Accordion>
|
|
92
|
+
|
|
93
|
+
<Accordion header="表现">
|
|
87
94
|
|
|
88
95
|
将大量 JSON 文件连接到组件可能会导致性能和反应性问题。 Intlayer 可在构建时 (build time)优化您的内容加载。
|
|
89
96
|
|
|
90
|
-
|
|
97
|
+
</Accordion>
|
|
98
|
+
|
|
99
|
+
<Accordion header="无需开发即可扩展">
|
|
91
100
|
|
|
92
101
|
Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)**和一个**[完整的 CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)** 来帮助您管理多语言内容**实时**,与译员、文案人员和其他团队成员无缝协作。内容可以本地和/或远程存储。
|
|
93
102
|
|
|
103
|
+
</Accordion>
|
|
104
|
+
</AccordionGroup>
|
|
105
|
+
|
|
94
106
|
---
|
|
95
107
|
|
|
96
108
|
## 在 Astro + Vue 中配置 Intlayer 的分步指南
|
|
97
109
|
|
|
98
110
|
在 GitHub 上查看[应用程序模板](https://github.com/aymericzip/intlayer-astro-template)。
|
|
99
111
|
|
|
100
|
-
|
|
112
|
+
<Steps>
|
|
113
|
+
|
|
114
|
+
<Step number={1} title="安装依赖">
|
|
101
115
|
|
|
102
116
|
使用您喜欢的包管理器安装所需的软件包:
|
|
103
117
|
|
|
104
118
|
```bash packageManager="npm"
|
|
105
|
-
|
|
119
|
+
npx intlayer-cli init --interactive
|
|
120
|
+
```
|
|
106
121
|
|
|
107
|
-
|
|
122
|
+
```bash packageManager="pnpm"
|
|
123
|
+
pnpm dlx intlayer-cli init --interactive
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
```bash packageManager="yarn"
|
|
127
|
+
yarn dlx intlayer-cli init --interactive
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
```bash packageManager="bun"
|
|
131
|
+
bunx intlayer-cli init --interactive
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
> `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
|
|
135
|
+
|
|
136
|
+
> 该命令将检测您的环境并安装所需的软件包。例如:
|
|
137
|
+
|
|
138
|
+
```bash packageManager="npm"
|
|
139
|
+
npm install intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
108
140
|
```
|
|
109
141
|
|
|
110
142
|
```bash packageManager="pnpm"
|
|
111
143
|
pnpm add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
112
|
-
|
|
113
|
-
pnpm intlayer init
|
|
114
144
|
```
|
|
115
145
|
|
|
116
146
|
```bash packageManager="yarn"
|
|
117
147
|
yarn add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
118
|
-
|
|
119
|
-
yarn intlayer init
|
|
120
148
|
```
|
|
121
149
|
|
|
122
150
|
```bash packageManager="bun"
|
|
123
151
|
bun add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
124
|
-
|
|
125
|
-
bun x intlayer init
|
|
126
152
|
```
|
|
127
153
|
|
|
128
154
|
- **intlayer**
|
|
@@ -140,7 +166,9 @@ bun x intlayer init
|
|
|
140
166
|
- **@astrojs/vue**
|
|
141
167
|
官方 Astro 集成,允许使用 Vue 组件岛 (islands)。
|
|
142
168
|
|
|
143
|
-
|
|
169
|
+
</Step>
|
|
170
|
+
|
|
171
|
+
<Step number={2} title="配置您的项目">
|
|
144
172
|
|
|
145
173
|
创建一个配置文件来定义您的应用程序语言:
|
|
146
174
|
|
|
@@ -164,7 +192,9 @@ export default config;
|
|
|
164
192
|
|
|
165
193
|
> 通过此配置文件,您可以配置本地化 URL、中间件重定向、Cookie 名称、内容声明的位置和扩展名、在控制台中禁用 Intlayer 日志等。有关可用参数的完整列表,请参阅[配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
|
|
166
194
|
|
|
167
|
-
|
|
195
|
+
</Step>
|
|
196
|
+
|
|
197
|
+
<Step number={3} title="在 Astro 配置中集成 Intlayer">
|
|
168
198
|
|
|
169
199
|
将 intlayer 插件和 Vue 集成添加到您的 Astro 配置中。
|
|
170
200
|
|
|
@@ -185,7 +215,9 @@ export default defineConfig({
|
|
|
185
215
|
|
|
186
216
|
> `vue()` 集成允许通过 `client:only="vue"` 使用 Vue 组件岛。
|
|
187
217
|
|
|
188
|
-
|
|
218
|
+
</Step>
|
|
219
|
+
|
|
220
|
+
<Step number={4} title="声明您的内容">
|
|
189
221
|
|
|
190
222
|
创建并管理您的内容声明以存储翻译:
|
|
191
223
|
|
|
@@ -211,7 +243,9 @@ export default appContent;
|
|
|
211
243
|
|
|
212
244
|
> 有关更多信息,请参阅[内容声明文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
|
|
213
245
|
|
|
214
|
-
|
|
246
|
+
</Step>
|
|
247
|
+
|
|
248
|
+
<Step number={5} title="在 Astro 中使用内容">
|
|
215
249
|
|
|
216
250
|
您可以使用 `intlayer` 导出的核心辅助函数直接在 `.astro` 文件中消费词典。您还应在每个页面添加 SEO 元数据(如 hreflang 和规范链接),并为客户端交互内容引入 Vue 岛。
|
|
217
251
|
|
|
@@ -291,7 +325,9 @@ const { title } = getIntlayer("app", locale);
|
|
|
291
325
|
> - **`prefix-all`**:所有 URL 都有语言前缀。如果您不需要单独处理根目录,可以使用标准的 `[locale]`。
|
|
292
326
|
> - **`search-param` 或 `no-prefix`**:不需要语言文件夹名。语言通过查询参数或 Cookie 处理。
|
|
293
327
|
|
|
294
|
-
|
|
328
|
+
</Step>
|
|
329
|
+
|
|
330
|
+
<Step number={6} title="创建 Vue 岛组件">
|
|
295
331
|
|
|
296
332
|
创建一个包装 Vue 应用程序并接收服务端检测到的语言的岛组件。在调用组合式函数之前,您必须通过调用 `installIntlayer` 将 Intlayer 插件注册到 Vue 实例。
|
|
297
333
|
|
|
@@ -350,7 +386,9 @@ const { title } = useIntlayer("app");
|
|
|
350
386
|
|
|
351
387
|
> `locale` 属性从 Astro 页面(服务端检测)传递并用于初始化 `installIntlayer`,这决定了树中所有组合式函数的初始语言。
|
|
352
388
|
|
|
353
|
-
|
|
389
|
+
</Step>
|
|
390
|
+
|
|
391
|
+
<Step number={7} title="添加语言切换器">
|
|
354
392
|
|
|
355
393
|
语言切换功能直接内置在 Vue 岛模板中(参见上面的第六步)。它使用来自 `vue-intlayer` 的 `useLocale` 组合式函数,并在用户选择新语言时导航到本地化 URL:
|
|
356
394
|
|
|
@@ -398,7 +436,9 @@ const {
|
|
|
398
436
|
> **关于持久性的说明:**
|
|
399
437
|
> 使用 `onLocaleChange` 通过 `window.location.href` 重定向,确保访问了新的语言 URL,允许 Intlayer 中间件设置语言 Cookie 并记住用户在未来访问时的首选语言。
|
|
400
438
|
|
|
401
|
-
|
|
439
|
+
</Step>
|
|
440
|
+
|
|
441
|
+
<Step number={8} title="站点地图和 Robots.txt">
|
|
402
442
|
|
|
403
443
|
Intlayer 提供了实用工具来动态创建您的本地化站点地图和 robots.txt 文件。
|
|
404
444
|
|
|
@@ -458,55 +498,9 @@ export const GET: APIRoute = ({ site }) => {
|
|
|
458
498
|
};
|
|
459
499
|
```
|
|
460
500
|
|
|
461
|
-
|
|
501
|
+
</Step>
|
|
462
502
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-

|
|
466
|
-
|
|
467
|
-

|
|
468
|
-
|
|
469
|
-
确保您的 TypeScript 配置包含自动生成的类型。
|
|
470
|
-
|
|
471
|
-
```json5 fileName="tsconfig.json"
|
|
472
|
-
{
|
|
473
|
-
// ... 您现有的 TypeScript 配置
|
|
474
|
-
"include": [
|
|
475
|
-
// ... 您现有的 TypeScript 配置
|
|
476
|
-
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
477
|
-
],
|
|
478
|
-
}
|
|
479
|
-
```
|
|
480
|
-
|
|
481
|
-
### Git 配置
|
|
482
|
-
|
|
483
|
-
建议忽略 Intlayer 生成的文件。这可以避免将它们提交到您的 Git 仓库。
|
|
484
|
-
|
|
485
|
-
为此,您可以将以下说明添加到 `.gitignore` 文件中:
|
|
486
|
-
|
|
487
|
-
```bash
|
|
488
|
-
# 忽略 Intlayer 生成的文件
|
|
489
|
-
.intlayer
|
|
490
|
-
```
|
|
491
|
-
|
|
492
|
-
### VS Code 扩展
|
|
493
|
-
|
|
494
|
-
为了改善使用 Intlayer 的开发体验,您可以安装**官方 Intlayer VS Code 扩展**。
|
|
495
|
-
|
|
496
|
-
[从 VS Code Marketplace 安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
497
|
-
|
|
498
|
-
此扩展提供:
|
|
499
|
-
|
|
500
|
-
- 翻译键的**自动补全**。
|
|
501
|
-
- 缺失翻译的**实时错误检测**。
|
|
502
|
-
- 翻译内容的**内联预览**。
|
|
503
|
-
- 轻松创建和更新翻译的**快速操作**。
|
|
504
|
-
|
|
505
|
-
有关使用该扩展的更多信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
|
|
506
|
-
|
|
507
|
-
---
|
|
508
|
-
|
|
509
|
-
### 第十五步:提取组件中的内容(可选)
|
|
503
|
+
<Step number={15} title="提取组件中的内容(可选)" isOptional={true}>
|
|
510
504
|
|
|
511
505
|
如果您有现有的代码库,转换数千个文件可能会非常耗时。
|
|
512
506
|
|
|
@@ -569,6 +563,8 @@ bun x intlayer extract
|
|
|
569
563
|
</Tab>
|
|
570
564
|
<Tab value='Babel 编译器'>
|
|
571
565
|
|
|
566
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
567
|
+
|
|
572
568
|
更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
|
|
573
569
|
|
|
574
570
|
```ts fileName="vite.config.ts"
|
|
@@ -578,7 +574,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
578
574
|
export default defineConfig({
|
|
579
575
|
plugins: [
|
|
580
576
|
intlayer(),
|
|
581
|
-
intlayerCompiler(), //
|
|
577
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
582
578
|
],
|
|
583
579
|
});
|
|
584
580
|
```
|
|
@@ -588,6 +584,58 @@ export default defineConfig({
|
|
|
588
584
|
|
|
589
585
|
---
|
|
590
586
|
|
|
587
|
+
</Step>
|
|
588
|
+
|
|
589
|
+
</Steps>
|
|
590
|
+
|
|
591
|
+
### TypeScript 配置
|
|
592
|
+
|
|
593
|
+
Intlayer 使用模块扩展来利用 TypeScript,使您的代码库更加健壮。
|
|
594
|
+
|
|
595
|
+

|
|
596
|
+
|
|
597
|
+

|
|
598
|
+
|
|
599
|
+
确保您的 TypeScript 配置包含自动生成的类型。
|
|
600
|
+
|
|
601
|
+
```json5 fileName="tsconfig.json"
|
|
602
|
+
{
|
|
603
|
+
// ... 您现有的 TypeScript 配置
|
|
604
|
+
"include": [
|
|
605
|
+
// ... 您现有的 TypeScript 配置
|
|
606
|
+
".intlayer/**/*.ts", // 包含自动生成的类型
|
|
607
|
+
],
|
|
608
|
+
}
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
### Git 配置
|
|
612
|
+
|
|
613
|
+
建议忽略 Intlayer 生成的文件。这可以避免将它们提交到您的 Git 仓库。
|
|
614
|
+
|
|
615
|
+
为此,您可以将以下说明添加到 `.gitignore` 文件中:
|
|
616
|
+
|
|
617
|
+
```bash
|
|
618
|
+
# 忽略 Intlayer 生成的文件
|
|
619
|
+
.intlayer
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
### VS Code 扩展
|
|
623
|
+
|
|
624
|
+
为了改善使用 Intlayer 的开发体验,您可以安装**官方 Intlayer VS Code 扩展**。
|
|
625
|
+
|
|
626
|
+
[从 VS Code Marketplace 安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
627
|
+
|
|
628
|
+
此扩展提供:
|
|
629
|
+
|
|
630
|
+
- 翻译键的**自动补全**。
|
|
631
|
+
- 缺失翻译的**实时错误检测**。
|
|
632
|
+
- 翻译内容的**内联预览**。
|
|
633
|
+
- 轻松创建和更新翻译的**快速操作**。
|
|
634
|
+
|
|
635
|
+
有关使用该扩展的更多信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
|
|
636
|
+
|
|
637
|
+
---
|
|
638
|
+
|
|
591
639
|
### 深入了解
|
|
592
640
|
|
|
593
641
|
如果您想了解更多,还可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用 [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 将您的内容外部化。
|
|
@@ -33,41 +33,44 @@ author: aymericzip
|
|
|
33
33
|
|
|
34
34
|
请参阅 GitHub 上的[应用模板](https://github.com/aymericzip/intlayer-react-cra-template)。
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
### 第一步:安装依赖
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
使用 npm 安装必要的包:
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
```bash packageManager="npm"
|
|
41
|
+
npx intlayer-cli init --interactive
|
|
42
|
+
```
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
- **享受高级功能**,如动态语言检测和切换。
|
|
44
|
+
```bash packageManager="pnpm"
|
|
45
|
+
pnpm dlx intlayer-cli init --interactive
|
|
46
|
+
```
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
```bash packageManager="yarn"
|
|
49
|
+
yarn dlx intlayer-cli init --interactive
|
|
50
|
+
```
|
|
48
51
|
|
|
49
|
-
|
|
52
|
+
```bash packageManager="bun"
|
|
53
|
+
bunx intlayer-cli init --interactive
|
|
54
|
+
```
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
> `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
|
|
57
|
+
|
|
58
|
+
> 该命令将检测您的环境并安装所需的软件包。例如:
|
|
52
59
|
|
|
53
60
|
```bash packageManager="npm"
|
|
54
61
|
npm install intlayer react-intlayer react-scripts-intlayer
|
|
55
|
-
npx intlayer init
|
|
56
62
|
```
|
|
57
63
|
|
|
58
64
|
```bash packageManager="pnpm"
|
|
59
65
|
pnpm add intlayer react-intlayer react-scripts-intlayer
|
|
60
|
-
pnpm intlayer init
|
|
61
66
|
```
|
|
62
67
|
|
|
63
68
|
```bash packageManager="yarn"
|
|
64
69
|
yarn add intlayer react-intlayer react-scripts-intlayer
|
|
65
|
-
yarn intlayer init
|
|
66
70
|
```
|
|
67
71
|
|
|
68
72
|
```bash packageManager="bun"
|
|
69
73
|
bun add intlayer react-intlayer react-scripts-intlayer
|
|
70
|
-
bun x intlayer init
|
|
71
74
|
```
|
|
72
75
|
|
|
73
76
|
- **intlayer**
|
|
@@ -82,194 +85,6 @@ bun x intlayer init
|
|
|
82
85
|
|
|
83
86
|
包括 `react-scripts-intlayer` 命令和插件,用于将 Intlayer 集成到基于 Create React App 的应用中。这些插件基于 [craco](https://craco.js.org/),并包含对 [Webpack](https://webpack.js.org/) 打包器的额外配置。
|
|
84
87
|
|
|
85
|
-
### 第二步:配置您的项目
|
|
86
|
-
|
|
87
|
-
创建一个配置文件来配置您的应用程序语言:
|
|
88
|
-
|
|
89
|
-
```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
90
|
-
import { Locales, type IntlayerConfig } from "intlayer";
|
|
91
|
-
|
|
92
|
-
const config: IntlayerConfig = {
|
|
93
|
-
internationalization: {
|
|
94
|
-
locales: [
|
|
95
|
-
Locales.ENGLISH,
|
|
96
|
-
Locales.FRENCH,
|
|
97
|
-
Locales.SPANISH,
|
|
98
|
-
// 您的其他语言
|
|
99
|
-
],
|
|
100
|
-
defaultLocale: Locales.ENGLISH,
|
|
101
|
-
},
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
export default config;
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
> 通过此配置文件,您可以设置本地化 URL、中间件重定向、Cookie 名称、内容声明的位置和扩展名、禁用控制台中的 Intlayer 日志等。有关可用参数的完整列表,请参阅 [配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
|
|
108
|
-
|
|
109
|
-
### 第三步:在 CRA 配置中集成 Intlayer
|
|
110
|
-
|
|
111
|
-
更改您的脚本以使用 react-intlayer:
|
|
112
|
-
|
|
113
|
-
```json fileName="package.json"
|
|
114
|
-
"scripts": {
|
|
115
|
-
"build": "react-scripts-intlayer build",
|
|
116
|
-
"start": "react-scripts-intlayer start",
|
|
117
|
-
"transpile": "intlayer build"
|
|
118
|
-
},
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
> `react-scripts-intlayer` 脚本基于 [CRACO](https://craco.js.org/)。您也可以基于 Intlayer craco 插件实现自己的设置。[查看示例](https://github.com/aymericzip/intlayer/blob/main/examples/react-app/craco.config.js)。
|
|
122
|
-
|
|
123
|
-
### 第四步:声明您的内容
|
|
124
|
-
|
|
125
|
-
创建并管理您的内容声明以存储翻译:
|
|
126
|
-
|
|
127
|
-
> `react-scripts-intlayer` 脚本基于 [CRACO](https://craco.js.org/)。您也可以基于 Intlayer craco 插件实现自己的设置。[查看示例](https://github.com/aymericzip/intlayer/blob/main/examples/react-app/craco.config.js)。
|
|
128
|
-
|
|
129
|
-
### 第四步:声明您的内容
|
|
130
|
-
|
|
131
|
-
创建并管理您的内容声明以存储翻译:
|
|
132
|
-
|
|
133
|
-
```tsx fileName="src/app.content.tsx" codeFormat={["typescript", "esm"]}
|
|
134
|
-
import { t, type Dictionary } from "intlayer";
|
|
135
|
-
import React, { type ReactNode } from "react";
|
|
136
|
-
|
|
137
|
-
const appContent = {
|
|
138
|
-
key: "app",
|
|
139
|
-
content: {
|
|
140
|
-
getStarted: t<ReactNode>({
|
|
141
|
-
en: (
|
|
142
|
-
<>
|
|
143
|
-
Edit <code>src/App.tsx</code> and save to reload
|
|
144
|
-
</>
|
|
145
|
-
),
|
|
146
|
-
fr: (
|
|
147
|
-
<>
|
|
148
|
-
Éditez <code>src/App.tsx</code> et enregistrez pour recharger
|
|
149
|
-
</>
|
|
150
|
-
),
|
|
151
|
-
es: (
|
|
152
|
-
<>
|
|
153
|
-
Edita <code>src/App.tsx</code> y guarda para recargar
|
|
154
|
-
</>
|
|
155
|
-
),
|
|
156
|
-
}),
|
|
157
|
-
reactLink: {
|
|
158
|
-
href: "https://reactjs.org",
|
|
159
|
-
content: t({
|
|
160
|
-
en: "Learn React",
|
|
161
|
-
fr: "Apprendre React",
|
|
162
|
-
es: "Aprender React",
|
|
163
|
-
}),
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
} satisfies Dictionary;
|
|
167
|
-
|
|
168
|
-
export default appContent;
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
```jsx fileName="src/app.content.csx" codeFormat="commonjs"
|
|
172
|
-
const { t } = require("intlayer");
|
|
173
|
-
|
|
174
|
-
/** @type {import('intlayer').Dictionary} */
|
|
175
|
-
const appContent = {
|
|
176
|
-
key: "app",
|
|
177
|
-
content: {
|
|
178
|
-
getStarted: t({
|
|
179
|
-
en: "Get started by editing",
|
|
180
|
-
fr: "Commencez par éditer",
|
|
181
|
-
es: "Comience por editar",
|
|
182
|
-
zh: "通过编辑开始",
|
|
183
|
-
}),
|
|
184
|
-
reactLink: {
|
|
185
|
-
href: "https://reactjs.org",
|
|
186
|
-
content: t({
|
|
187
|
-
en: "Learn React",
|
|
188
|
-
fr: "Apprendre React",
|
|
189
|
-
es: "Aprender React",
|
|
190
|
-
zh: "学习 React",
|
|
191
|
-
}),
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
module.exports = appContent;
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
> 您的内容声明可以在应用程序中的任何位置定义,只要它们包含在 `contentDir` 目录中(默认情况下为 `./src`),并且文件扩展名符合内容声明的要求(默认情况下为 `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)。
|
|
200
|
-
|
|
201
|
-
> 有关更多详细信息,请参阅 [内容声明文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
|
|
202
|
-
|
|
203
|
-
> 如果您的内容文件包含 TSX 代码,您应该考虑在内容文件中导入 `import React from "react";`。
|
|
204
|
-
|
|
205
|
-
### 第五步:在代码中使用 Intlayer
|
|
206
|
-
|
|
207
|
-
在整个应用程序中访问您的内容字典:
|
|
208
|
-
|
|
209
|
-
```tsx {4,7} fileName="src/App.tsx" codeFormat={["typescript", "esm"]}
|
|
210
|
-
import logo from "./logo.svg";
|
|
211
|
-
import "./App.css";
|
|
212
|
-
import type { FC } from "react";
|
|
213
|
-
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
214
|
-
|
|
215
|
-
const AppContent: FC = () => {
|
|
216
|
-
const content = useIntlayer("app");
|
|
217
|
-
|
|
218
|
-
return (
|
|
219
|
-
<div className="App">
|
|
220
|
-
<img src={logo} className="App-logo" alt="logo" />
|
|
221
|
-
|
|
222
|
-
{content.getStarted}
|
|
223
|
-
<a
|
|
224
|
-
className="App-link"
|
|
225
|
-
href={content.reactLink.href.value}
|
|
226
|
-
target="_blank"
|
|
227
|
-
rel="noopener noreferrer"
|
|
228
|
-
>
|
|
229
|
-
{content.reactLink.content}
|
|
230
|
-
</a>
|
|
231
|
-
</div>
|
|
232
|
-
);
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
const App: FC = () => (
|
|
236
|
-
<IntlayerProvider>
|
|
237
|
-
<AppContent />
|
|
238
|
-
</IntlayerProvider>
|
|
239
|
-
);
|
|
240
|
-
|
|
241
|
-
export default App;
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
> 注意:如果您想在 `string` 属性中使用您的内容,例如 `alt`、`title`、`href`、`aria-label` 等,您可以使用函数的值,例如:
|
|
245
|
-
|
|
246
|
-
> ```html
|
|
247
|
-
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
248
|
-
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
249
|
-
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
250
|
-
> ```
|
|
251
|
-
>
|
|
252
|
-
> 要了解有关 `useIntlayer` 钩子的更多信息,请参阅 [文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)。
|
|
253
|
-
|
|
254
|
-
### (可选)第六步:更改内容的语言
|
|
255
|
-
|
|
256
|
-
要更改内容的语言,您可以使用 `useLocale` 钩子提供的 `setLocale` 函数。此函数允许您设置应用程序的语言环境并相应地更新内容。
|
|
257
|
-
|
|
258
|
-
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat={["typescript", "esm"]}
|
|
259
|
-
import { Locales } from "intlayer";
|
|
260
|
-
import { useLocale } from "react-intlayer";
|
|
261
|
-
|
|
262
|
-
const LocaleSwitcher = () => {
|
|
263
|
-
const { setLocale } = useLocale();
|
|
264
|
-
|
|
265
|
-
return (
|
|
266
|
-
<button onClick={() => setLocale(Locales.English)}>切换语言到英语</button>
|
|
267
|
-
);
|
|
268
|
-
};
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
> 要了解有关 `useLocale` 钩子的更多信息,请参阅 [文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
|
|
272
|
-
|
|
273
88
|
### (可选)第七步:为您的应用添加本地化路由
|
|
274
89
|
|
|
275
90
|
此步骤的目的是为每种语言创建唯一的路由。这对于 SEO 和 SEO 友好的 URL 非常有用。
|
|
@@ -414,96 +229,6 @@ const App: FC = () => (
|
|
|
414
229
|
);
|
|
415
230
|
```
|
|
416
231
|
|
|
417
|
-
### (可选)第八步:在语言环境更改时更改 URL
|
|
418
|
-
|
|
419
|
-
要在语言环境更改时更改 URL,您可以使用 `useLocale` 钩子提供的 `onLocaleChange` 属性。同时,您可以使用 `react-router-dom` 的 `useLocation` 和 `useNavigate` 钩子来更新 URL 路径。
|
|
420
|
-
|
|
421
|
-
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat={["typescript", "esm"]}
|
|
422
|
-
import { useLocation, useNavigate } from "react-router-dom";
|
|
423
|
-
import {
|
|
424
|
-
Locales,
|
|
425
|
-
getHTMLTextDir,
|
|
426
|
-
getLocaleName,
|
|
427
|
-
getLocalizedUrl,
|
|
428
|
-
} from "intlayer";
|
|
429
|
-
import { useLocale } from "react-intlayer";
|
|
430
|
-
import { type FC } from "react";
|
|
431
|
-
|
|
432
|
-
const LocaleSwitcher: FC = () => {
|
|
433
|
-
const { pathname, search } = useLocation(); // 获取当前 URL 路径。例如:/fr/about?foo=bar
|
|
434
|
-
const navigate = useNavigate();
|
|
435
|
-
|
|
436
|
-
const { locale, availableLocales, setLocale } = useLocale({
|
|
437
|
-
onLocaleChange: (locale) => {
|
|
438
|
-
// 使用更新的语言环境构造 URL
|
|
439
|
-
// 示例:/es/about?foo=bar
|
|
440
|
-
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
441
|
-
|
|
442
|
-
// 更新 URL 路径
|
|
443
|
-
navigate(pathWithLocale);
|
|
444
|
-
},
|
|
445
|
-
});
|
|
446
|
-
|
|
447
|
-
return (
|
|
448
|
-
<div>
|
|
449
|
-
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
450
|
-
<div id="localePopover" popover="auto">
|
|
451
|
-
{availableLocales.map((localeItem) => (
|
|
452
|
-
<a
|
|
453
|
-
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
454
|
-
hrefLang={localeItem}
|
|
455
|
-
aria-current={locale === localeItem ? "page" : undefined}
|
|
456
|
-
onClick={(e) => {
|
|
457
|
-
e.preventDefault();
|
|
458
|
-
setLocale(localeItem);
|
|
459
|
-
}}
|
|
460
|
-
key={localeItem}
|
|
461
|
-
>
|
|
462
|
-
<span>
|
|
463
|
-
{/* 语言环境 - 例如 FR */}
|
|
464
|
-
{localeItem}
|
|
465
|
-
</span>
|
|
466
|
-
<span>
|
|
467
|
-
{/* 语言名称(自身语言环境) - 例如 Français */}
|
|
468
|
-
{getLocaleName(localeItem, locale)}
|
|
469
|
-
</span>
|
|
470
|
-
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
471
|
-
{/* 当前语言环境下的语言名称 - 例如 Francés(当前语言环境为 Locales.SPANISH) */}
|
|
472
|
-
{getLocaleName(localeItem)}
|
|
473
|
-
</span>
|
|
474
|
-
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
475
|
-
{/* 英文中的语言名称 - 例如 French */}
|
|
476
|
-
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
477
|
-
</span>
|
|
478
|
-
</a>
|
|
479
|
-
))}
|
|
480
|
-
</div>
|
|
481
|
-
</div>
|
|
482
|
-
);
|
|
483
|
-
};
|
|
484
|
-
```
|
|
485
|
-
|
|
486
|
-
> 文档参考:
|
|
487
|
-
>
|
|
488
|
-
> - [`useLocale` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)
|
|
489
|
-
> - [`getLocaleName` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getLocaleName.md)
|
|
490
|
-
> - [`getLocalizedUrl` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getLocalizedUrl.md)
|
|
491
|
-
> - [`getHTMLTextDir` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getHTMLTextDir.md)
|
|
492
|
-
> - [`hrefLang` 属性](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=zh)
|
|
493
|
-
> - [`lang` 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Global_attributes/lang)
|
|
494
|
-
> - [`dir` 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Global_attributes/dir)
|
|
495
|
-
> - [`aria-current` 属性](https://developer.mozilla.org/zh-CN/docs/Web/Accessibility/ARIA/Attributes/aria-current)
|
|
496
|
-
|
|
497
|
-
### (可选)第九步:切换 HTML 的语言和方向属性
|
|
498
|
-
|
|
499
|
-
当您的应用支持多种语言时,动态更新 `<html>` 标签的 `lang` 和 `dir` 属性以匹配当前语言环境非常重要。这样可以确保:
|
|
500
|
-
|
|
501
|
-
- **可访问性**:屏幕阅读器和辅助技术依赖正确的 `lang` 属性来准确发音和解释内容。
|
|
502
|
-
- **文本渲染**:`dir`(方向)属性确保文本以正确的顺序呈现(例如,英语为从左到右,阿拉伯语或希伯来语为从右到左),这对可读性至关重要。
|
|
503
|
-
- **SEO**:搜索引擎使用 `lang` 属性来确定页面的语言,从而帮助在搜索结果中提供正确的本地化内容。
|
|
504
|
-
|
|
505
|
-
通过在语言环境更改时动态更新这些属性,您可以为所有支持的语言用户提供一致且可访问的体验。
|
|
506
|
-
|
|
507
232
|
#### 实现钩子
|
|
508
233
|
|
|
509
234
|
创建一个自定义钩子来管理 HTML 属性。该钩子监听语言环境更改并相应地更新属性:
|
|
@@ -596,20 +321,6 @@ Intlayer 使用模块增强来利用 TypeScript 的优势,使您的代码库
|
|
|
596
321
|
.intlayer
|
|
597
322
|
```
|
|
598
323
|
|
|
599
|
-
### VS Code 扩展
|
|
600
|
-
|
|
601
|
-
为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
|
|
602
|
-
[从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
603
|
-
|
|
604
|
-
此扩展提供:
|
|
605
|
-
|
|
606
|
-
- **翻译键的自动补全**。
|
|
607
|
-
- **实时检测缺失的翻译错误**。
|
|
608
|
-
- **内联预览已翻译的内容**。
|
|
609
|
-
- **快速操作**,轻松创建和更新翻译。
|
|
610
|
-
|
|
611
|
-
有关如何使用该扩展的更多详细信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
|
|
612
|
-
|
|
613
324
|
### 深入了解
|
|
614
325
|
|
|
615
326
|
要进一步了解,您可以实现 [可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md) 或使用 [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 外部化您的内容。
|