@intlayer/docs 9.0.0-canary.3 → 9.0.0-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/intlayer_with_i18next.md +24 -4
- package/blog/ar/intlayer_with_next-i18next.md +20 -15
- package/blog/ar/intlayer_with_next-intl.md +24 -4
- package/blog/ar/intlayer_with_react-i18next.md +20 -4
- package/blog/ar/intlayer_with_react-intl.md +20 -4
- package/blog/ar/intlayer_with_vue-i18n.md +20 -4
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
- package/blog/ar/rag_powered_documentation_assistant.md +13 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
- package/blog/de/intlayer_with_i18next.md +34 -6
- package/blog/de/intlayer_with_next-i18next.md +30 -17
- package/blog/de/intlayer_with_next-intl.md +37 -7
- package/blog/de/intlayer_with_react-i18next.md +33 -7
- package/blog/de/intlayer_with_react-intl.md +33 -7
- package/blog/de/intlayer_with_vue-i18n.md +33 -7
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/de/rag_powered_documentation_assistant.md +0 -193
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/de/vue-i18n_vs_intlayer.md +8 -0
- package/blog/en/intlayer_with_i18next.md +20 -4
- package/blog/en/intlayer_with_next-i18next.md +20 -4
- package/blog/en/intlayer_with_next-intl.md +20 -4
- package/blog/en/intlayer_with_react-i18next.md +20 -4
- package/blog/en/intlayer_with_react-intl.md +20 -4
- package/blog/en/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/intlayer_with_i18next.md +24 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +20 -15
- package/blog/en-GB/intlayer_with_next-intl.md +24 -4
- package/blog/en-GB/intlayer_with_react-i18next.md +20 -4
- package/blog/en-GB/intlayer_with_react-intl.md +20 -4
- package/blog/en-GB/intlayer_with_vue-i18n.md +20 -4
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
- package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
- package/blog/es/intlayer_with_i18next.md +24 -4
- package/blog/es/intlayer_with_next-i18next.md +20 -15
- package/blog/es/intlayer_with_next-intl.md +24 -4
- package/blog/es/intlayer_with_react-i18next.md +20 -4
- package/blog/es/intlayer_with_react-intl.md +20 -4
- package/blog/es/intlayer_with_vue-i18n.md +20 -4
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/es/rag_powered_documentation_assistant.md +13 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/es/vue-i18n_vs_intlayer.md +8 -0
- package/blog/fr/i18n_meaning.md +95 -0
- package/blog/fr/intlayer_with_i18next.md +20 -4
- package/blog/fr/intlayer_with_next-i18next.md +20 -15
- package/blog/fr/intlayer_with_next-intl.md +24 -4
- package/blog/fr/intlayer_with_react-i18next.md +20 -12
- package/blog/fr/intlayer_with_react-intl.md +20 -4
- package/blog/fr/intlayer_with_vue-i18n.md +20 -4
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/fr/rag_powered_documentation_assistant.md +0 -62
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
- package/blog/hi/intlayer_with_i18next.md +24 -4
- package/blog/hi/intlayer_with_next-i18next.md +20 -15
- package/blog/hi/intlayer_with_next-intl.md +24 -4
- package/blog/hi/intlayer_with_react-i18next.md +20 -4
- package/blog/hi/intlayer_with_react-intl.md +20 -4
- package/blog/hi/intlayer_with_vue-i18n.md +20 -4
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
- package/blog/hi/rag_powered_documentation_assistant.md +13 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
- package/blog/id/internationalization_and_SEO.md +0 -91
- package/blog/id/intlayer_with_i18next.md +24 -4
- package/blog/id/intlayer_with_next-i18next.md +20 -15
- package/blog/id/intlayer_with_next-intl.md +24 -4
- package/blog/id/intlayer_with_react-i18next.md +20 -4
- package/blog/id/intlayer_with_react-intl.md +20 -4
- package/blog/id/intlayer_with_vue-i18n.md +20 -4
- package/blog/id/rag_powered_documentation_assistant.md +13 -0
- package/blog/it/intlayer_with_i18next.md +37 -7
- package/blog/it/intlayer_with_next-i18next.md +33 -18
- package/blog/it/intlayer_with_next-intl.md +37 -7
- package/blog/it/intlayer_with_react-i18next.md +33 -7
- package/blog/it/intlayer_with_react-intl.md +33 -7
- package/blog/it/intlayer_with_vue-i18n.md +33 -7
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/it/rag_powered_documentation_assistant.md +0 -195
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/it/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ja/intlayer_with_i18next.md +24 -4
- package/blog/ja/intlayer_with_next-i18next.md +20 -15
- package/blog/ja/intlayer_with_next-intl.md +24 -4
- package/blog/ja/intlayer_with_react-i18next.md +20 -4
- package/blog/ja/intlayer_with_react-intl.md +20 -4
- package/blog/ja/intlayer_with_vue-i18n.md +20 -4
- package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/ja/rag_powered_documentation_assistant.md +13 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/intlayer_with_i18next.md +37 -7
- package/blog/ko/intlayer_with_next-i18next.md +33 -18
- package/blog/ko/intlayer_with_next-intl.md +37 -7
- package/blog/ko/intlayer_with_react-i18next.md +33 -7
- package/blog/ko/intlayer_with_react-intl.md +33 -7
- package/blog/ko/intlayer_with_vue-i18n.md +33 -7
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
- package/blog/ko/rag_powered_documentation_assistant.md +0 -194
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/what_is_internationalization.md +0 -4
- package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
- package/blog/pl/internationalization_and_SEO.md +0 -91
- package/blog/pl/intlayer_with_i18next.md +24 -4
- package/blog/pl/intlayer_with_next-i18next.md +20 -15
- package/blog/pl/intlayer_with_next-intl.md +24 -4
- package/blog/pl/intlayer_with_react-i18next.md +20 -4
- package/blog/pl/intlayer_with_react-intl.md +20 -4
- package/blog/pl/intlayer_with_vue-i18n.md +20 -4
- package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
- package/blog/pl/rag_powered_documentation_assistant.md +13 -0
- package/blog/pt/internationalization_and_SEO.md +1 -1
- package/blog/pt/intlayer_with_i18next.md +37 -7
- package/blog/pt/intlayer_with_next-i18next.md +33 -18
- package/blog/pt/intlayer_with_next-intl.md +37 -7
- package/blog/pt/intlayer_with_react-i18next.md +33 -7
- package/blog/pt/intlayer_with_react-intl.md +33 -11
- package/blog/pt/intlayer_with_vue-i18n.md +33 -7
- package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/pt/rag_powered_documentation_assistant.md +0 -195
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ru/intlayer_with_i18next.md +24 -4
- package/blog/ru/intlayer_with_next-i18next.md +20 -15
- package/blog/ru/intlayer_with_next-intl.md +24 -4
- package/blog/ru/intlayer_with_react-i18next.md +20 -4
- package/blog/ru/intlayer_with_react-intl.md +20 -4
- package/blog/ru/intlayer_with_vue-i18n.md +20 -4
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/ru/rag_powered_documentation_assistant.md +13 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
- package/blog/tr/intlayer_with_i18next.md +24 -4
- package/blog/tr/intlayer_with_next-i18next.md +20 -15
- package/blog/tr/intlayer_with_next-intl.md +24 -4
- package/blog/tr/intlayer_with_react-i18next.md +20 -4
- package/blog/tr/intlayer_with_react-intl.md +20 -4
- package/blog/tr/intlayer_with_vue-i18n.md +20 -4
- package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
- package/blog/tr/rag_powered_documentation_assistant.md +0 -38
- package/blog/uk/intlayer_with_i18next.md +20 -4
- package/blog/uk/intlayer_with_next-i18next.md +20 -4
- package/blog/uk/intlayer_with_next-intl.md +20 -4
- package/blog/uk/intlayer_with_react-i18next.md +20 -4
- package/blog/uk/intlayer_with_react-intl.md +20 -4
- package/blog/uk/intlayer_with_vue-i18n.md +20 -4
- package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
- package/blog/uk/rag_powered_documentation_assistant.md +13 -0
- package/blog/vi/internationalization_and_SEO.md +0 -91
- package/blog/vi/intlayer_with_i18next.md +24 -4
- package/blog/vi/intlayer_with_next-i18next.md +20 -15
- package/blog/vi/intlayer_with_next-intl.md +24 -4
- package/blog/vi/intlayer_with_react-i18next.md +20 -4
- package/blog/vi/intlayer_with_react-intl.md +20 -4
- package/blog/vi/intlayer_with_vue-i18n.md +20 -4
- package/blog/vi/rag_powered_documentation_assistant.md +13 -0
- package/blog/zh/intlayer_with_i18next.md +4 -31
- package/blog/zh/intlayer_with_next-i18next.md +0 -42
- package/blog/zh/intlayer_with_next-intl.md +4 -31
- package/blog/zh/intlayer_with_react-i18next.md +0 -31
- package/blog/zh/intlayer_with_react-intl.md +0 -31
- package/blog/zh/intlayer_with_vue-i18n.md +0 -31
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/zh/nextjs-multilingual-seo-comparison.md +0 -30
- package/blog/zh/rag_powered_documentation_assistant.md +0 -191
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
- package/dist/cjs/generated/docs.entry.cjs +160 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +160 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +8 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -0
- package/docs/ar/autoFill.md +81 -0
- package/docs/ar/benchmark/solid.md +22 -0
- package/docs/ar/benchmark/svelte.md +22 -0
- package/docs/ar/benchmark/tanstack.md +22 -0
- package/docs/ar/cli/ci.md +22 -0
- package/docs/ar/cli/fill.md +8 -0
- package/docs/ar/compat/i18n-js.md +44 -0
- package/docs/ar/compat/i18next.md +59 -0
- package/docs/ar/compat/index.md +51 -0
- package/docs/ar/compat/lingui.md +44 -0
- package/docs/ar/compat/next-i18next.md +57 -0
- package/docs/ar/compat/next-intl.md +59 -0
- package/docs/ar/compat/next-translate.md +45 -0
- package/docs/ar/compat/ngx-translate.md +45 -0
- package/docs/ar/compat/nuxtjs-i18n.md +46 -0
- package/docs/ar/compat/polyglot.md +45 -0
- package/docs/ar/compat/react-i18next.md +58 -0
- package/docs/ar/compat/react-intl.md +55 -0
- package/docs/ar/compat/svelte-i18n.md +47 -0
- package/docs/ar/compat/transloco.md +45 -0
- package/docs/ar/compat/vue-i18n.md +58 -0
- package/docs/ar/compiler.md +3 -1
- package/docs/ar/configuration.md +19 -17
- package/docs/ar/custom_domains.md +1 -1
- package/docs/ar/custom_url_rewrites.md +1 -1
- package/docs/ar/dictionary/content_file.md +4 -7
- package/docs/ar/dictionary/enumeration.md +0 -187
- package/docs/ar/dictionary/file.md +8 -0
- package/docs/ar/dictionary/nesting.md +39 -0
- package/docs/ar/dictionary/translation.md +0 -61
- package/docs/ar/formatters.md +59 -0
- package/docs/ar/how_works_intlayer.md +4 -0
- package/docs/ar/interest_of_intlayer.md +193 -0
- package/docs/ar/intlayer_CMS.md +6 -0
- package/docs/ar/intlayer_with_adonisjs.md +20 -4
- package/docs/ar/intlayer_with_analog.md +20 -4
- package/docs/ar/intlayer_with_angular_19.md +20 -4
- package/docs/ar/intlayer_with_angular_21.md +20 -4
- package/docs/ar/intlayer_with_astro.md +129 -2
- package/docs/ar/intlayer_with_astro_lit.md +21 -9
- package/docs/ar/intlayer_with_astro_preact.md +21 -9
- package/docs/ar/intlayer_with_astro_react.md +21 -9
- package/docs/ar/intlayer_with_astro_solid.md +21 -9
- package/docs/ar/intlayer_with_astro_svelte.md +21 -9
- package/docs/ar/intlayer_with_astro_vanilla.md +21 -9
- package/docs/ar/intlayer_with_astro_vue.md +21 -9
- package/docs/ar/intlayer_with_create_react_app.md +20 -18
- package/docs/ar/intlayer_with_express.md +20 -25
- package/docs/ar/intlayer_with_fastify.md +20 -8
- package/docs/ar/intlayer_with_hono.md +20 -4
- package/docs/ar/intlayer_with_lynx+react.md +20 -4
- package/docs/ar/intlayer_with_nestjs.md +20 -22
- package/docs/ar/intlayer_with_next-i18next.md +20 -4
- package/docs/ar/intlayer_with_nextjs_14.md +50 -11
- package/docs/ar/intlayer_with_nextjs_15.md +41 -5
- package/docs/ar/intlayer_with_nextjs_16.md +144 -6
- package/docs/ar/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ar/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ar/intlayer_with_nuxt.md +25 -7
- package/docs/ar/intlayer_with_react_native+expo.md +56 -4
- package/docs/ar/intlayer_with_react_router_v7.md +21 -99
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +40 -100
- package/docs/ar/intlayer_with_svelte_kit.md +7 -181
- package/docs/ar/intlayer_with_tanstack+solid.md +23 -5
- package/docs/ar/intlayer_with_tanstack.md +21 -5
- package/docs/ar/intlayer_with_vite+lit.md +21 -5
- package/docs/ar/intlayer_with_vite+preact.md +60 -44
- package/docs/ar/intlayer_with_vite+react.md +21 -5
- package/docs/ar/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/ar/intlayer_with_vite+solid.md +45 -29
- package/docs/ar/intlayer_with_vite+svelte.md +32 -16
- package/docs/ar/intlayer_with_vite+vanilla.md +21 -5
- package/docs/ar/intlayer_with_vite+vue.md +64 -118
- package/docs/ar/mcp_server.md +22 -0
- package/docs/ar/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/ar/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/ar/packages/angular-intlayer/exports.md +14 -10
- package/docs/ar/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/intlayer/comparePaths.md +173 -0
- package/docs/ar/packages/intlayer/exports.md +5 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
- package/docs/ar/packages/next-intlayer/exports.md +4 -0
- package/docs/ar/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ar/packages/preact-intlayer/exports.md +10 -6
- package/docs/ar/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ar/packages/react-intlayer/exports.md +4 -0
- package/docs/ar/packages/react-intlayer/t.md +0 -13
- package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
- package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
- package/docs/ar/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ar/packages/solid-intlayer/exports.md +4 -0
- package/docs/ar/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ar/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ar/packages/vue-intlayer/exports.md +4 -0
- package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ar/releases/v6.md +28 -0
- package/docs/ar/releases/v7.md +128 -0
- package/docs/ar/releases/v9.md +37 -1
- package/docs/ar/roadmap.md +6 -0
- package/docs/bn/intlayer_with_angular_21.md +20 -4
- package/docs/bn/intlayer_with_fastify.md +20 -8
- package/docs/bn/intlayer_with_hono.md +20 -4
- package/docs/bn/intlayer_with_vite+lit.md +20 -4
- package/docs/bn/intlayer_with_vite+vanilla.md +20 -4
- package/docs/bn/packages/intlayer/comparePaths.md +173 -0
- package/docs/cs/intlayer_with_angular_21.md +20 -4
- package/docs/cs/intlayer_with_fastify.md +20 -8
- package/docs/cs/intlayer_with_hono.md +20 -4
- package/docs/cs/intlayer_with_vite+lit.md +20 -4
- package/docs/cs/intlayer_with_vite+vanilla.md +20 -4
- package/docs/cs/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/CI_CD.md +4 -0
- package/docs/de/autoFill.md +81 -0
- package/docs/de/benchmark/solid.md +22 -0
- package/docs/de/benchmark/svelte.md +22 -0
- package/docs/de/benchmark/tanstack.md +22 -0
- package/docs/de/cli/ci.md +22 -0
- package/docs/de/cli/fill.md +8 -0
- package/docs/de/cli/init.md +20 -0
- package/docs/de/compat/i18n-js.md +44 -0
- package/docs/de/compat/i18next.md +59 -0
- package/docs/de/compat/index.md +51 -0
- package/docs/de/compat/lingui.md +44 -0
- package/docs/de/compat/next-i18next.md +57 -0
- package/docs/de/compat/next-intl.md +59 -0
- package/docs/de/compat/next-translate.md +45 -0
- package/docs/de/compat/ngx-translate.md +45 -0
- package/docs/de/compat/nuxtjs-i18n.md +46 -0
- package/docs/de/compat/polyglot.md +45 -0
- package/docs/de/compat/react-i18next.md +58 -0
- package/docs/de/compat/react-intl.md +55 -0
- package/docs/de/compat/svelte-i18n.md +47 -0
- package/docs/de/compat/transloco.md +45 -0
- package/docs/de/compat/vue-i18n.md +58 -0
- package/docs/de/compiler.md +3 -1
- package/docs/de/configuration.md +19 -17
- package/docs/de/custom_domains.md +1 -1
- package/docs/de/custom_url_rewrites.md +1 -1
- package/docs/de/dictionary/content_file.md +4 -0
- package/docs/de/dictionary/enumeration.md +0 -199
- package/docs/de/dictionary/file.md +8 -0
- package/docs/de/dictionary/insertion.md +0 -4
- package/docs/de/dictionary/nesting.md +39 -0
- package/docs/de/dictionary/translation.md +0 -61
- package/docs/de/dynamic_dictionaries/index.md +6 -0
- package/docs/de/formatters.md +130 -0
- package/docs/de/how_works_intlayer.md +4 -0
- package/docs/de/intlayer_CMS.md +6 -0
- package/docs/de/intlayer_with_adonisjs.md +20 -4
- package/docs/de/intlayer_with_analog.md +20 -4
- package/docs/de/intlayer_with_angular_19.md +20 -4
- package/docs/de/intlayer_with_angular_21.md +20 -4
- package/docs/de/intlayer_with_astro.md +129 -2
- package/docs/de/intlayer_with_astro_lit.md +21 -9
- package/docs/de/intlayer_with_astro_preact.md +21 -9
- package/docs/de/intlayer_with_astro_react.md +21 -9
- package/docs/de/intlayer_with_astro_solid.md +21 -9
- package/docs/de/intlayer_with_astro_svelte.md +21 -9
- package/docs/de/intlayer_with_astro_vanilla.md +21 -9
- package/docs/de/intlayer_with_astro_vue.md +21 -9
- package/docs/de/intlayer_with_create_react_app.md +35 -4
- package/docs/de/intlayer_with_express.md +20 -27
- package/docs/de/intlayer_with_fastify.md +20 -8
- package/docs/de/intlayer_with_hono.md +20 -4
- package/docs/de/intlayer_with_lynx+react.md +24 -6
- package/docs/de/intlayer_with_nestjs.md +20 -12
- package/docs/de/intlayer_with_next-i18next.md +20 -4
- package/docs/de/intlayer_with_nextjs_14.md +48 -11
- package/docs/de/intlayer_with_nextjs_15.md +41 -5
- package/docs/de/intlayer_with_nextjs_16.md +21 -5
- package/docs/de/intlayer_with_nextjs_compiler.md +49 -1
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/de/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/de/intlayer_with_nuxt.md +25 -7
- package/docs/de/intlayer_with_react_native+expo.md +36 -0
- package/docs/de/intlayer_with_react_router_v7.md +21 -99
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -91
- package/docs/de/intlayer_with_svelte_kit.md +7 -181
- package/docs/de/intlayer_with_tanstack+solid.md +23 -5
- package/docs/de/intlayer_with_tanstack.md +21 -5
- package/docs/de/intlayer_with_vite+lit.md +21 -5
- package/docs/de/intlayer_with_vite+preact.md +81 -61
- package/docs/de/intlayer_with_vite+react.md +21 -5
- package/docs/de/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/de/intlayer_with_vite+solid.md +53 -46
- package/docs/de/intlayer_with_vite+svelte.md +27 -29
- package/docs/de/intlayer_with_vite+vanilla.md +21 -5
- package/docs/de/intlayer_with_vite+vue.md +74 -106
- package/docs/de/mcp_server.md +22 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/de/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/de/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/de/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/de/packages/angular-intlayer/exports.md +13 -9
- package/docs/de/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/de/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/packages/intlayer/exports.md +5 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/de/packages/next-intlayer/exports.md +4 -0
- package/docs/de/packages/next-intlayer/usePathname.md +136 -0
- package/docs/de/packages/preact-intlayer/exports.md +10 -6
- package/docs/de/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/de/packages/react-intlayer/exports.md +4 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
- package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/de/packages/react-intlayer/usePathname.md +87 -0
- package/docs/de/packages/solid-intlayer/exports.md +4 -0
- package/docs/de/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/de/packages/svelte-intlayer/exports.md +13 -9
- package/docs/de/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/de/packages/vue-intlayer/exports.md +4 -0
- package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/de/releases/v6.md +10 -6
- package/docs/de/releases/v7.md +128 -0
- package/docs/de/releases/v9.md +37 -1
- package/docs/de/roadmap.md +6 -16
- package/docs/en/bundle_optimization.md +8 -3
- package/docs/en/compiler.md +12 -6
- package/docs/en/configuration.md +22 -8
- package/docs/en/custom_domains.md +2 -0
- package/docs/en/custom_url_rewrites.md +2 -0
- package/docs/en/intlayer_with_adonisjs.md +20 -4
- package/docs/en/intlayer_with_analog.md +20 -4
- package/docs/en/intlayer_with_angular_19.md +20 -4
- package/docs/en/intlayer_with_angular_21.md +20 -4
- package/docs/en/intlayer_with_astro.md +22 -8
- package/docs/en/intlayer_with_astro_lit.md +22 -8
- package/docs/en/intlayer_with_astro_preact.md +22 -8
- package/docs/en/intlayer_with_astro_react.md +22 -8
- package/docs/en/intlayer_with_astro_solid.md +22 -8
- package/docs/en/intlayer_with_astro_svelte.md +22 -8
- package/docs/en/intlayer_with_astro_vanilla.md +22 -8
- package/docs/en/intlayer_with_astro_vue.md +22 -8
- package/docs/en/intlayer_with_create_react_app.md +20 -4
- package/docs/en/intlayer_with_express.md +20 -4
- package/docs/en/intlayer_with_fastify.md +20 -8
- package/docs/en/intlayer_with_hono.md +20 -4
- package/docs/en/intlayer_with_lynx+react.md +20 -4
- package/docs/en/intlayer_with_nestjs.md +20 -4
- package/docs/en/intlayer_with_next-i18next.md +20 -4
- package/docs/en/intlayer_with_nextjs_14.md +22 -4
- package/docs/en/intlayer_with_nextjs_15.md +22 -4
- package/docs/en/intlayer_with_nextjs_16.md +22 -4
- package/docs/en/intlayer_with_nextjs_compiler.md +22 -4
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +22 -4
- package/docs/en/intlayer_with_nextjs_page_router.md +22 -4
- package/docs/en/intlayer_with_nuxt.md +25 -7
- package/docs/en/intlayer_with_react_native+expo.md +28 -4
- package/docs/en/intlayer_with_react_router_v7.md +22 -4
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +2 -0
- package/docs/en/intlayer_with_svelte_kit.md +24 -4
- package/docs/en/intlayer_with_tanstack+solid.md +22 -4
- package/docs/en/intlayer_with_tanstack.md +22 -4
- package/docs/en/intlayer_with_vite+lit.md +22 -4
- package/docs/en/intlayer_with_vite+preact.md +22 -4
- package/docs/en/intlayer_with_vite+react.md +22 -4
- package/docs/en/intlayer_with_vite+react_compiler.md +22 -4
- package/docs/en/intlayer_with_vite+solid.md +22 -4
- package/docs/en/intlayer_with_vite+svelte.md +22 -4
- package/docs/en/intlayer_with_vite+vanilla.md +24 -4
- package/docs/en/intlayer_with_vite+vue.md +22 -4
- package/docs/en/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/en/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/en/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/en/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/en/packages/angular-intlayer/exports.md +13 -9
- package/docs/en/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en/packages/intlayer/comparePaths.md +173 -0
- package/docs/en/packages/intlayer/exports.md +18 -13
- package/docs/en/packages/next-intlayer/exports.md +4 -0
- package/docs/en/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en/packages/preact-intlayer/exports.md +10 -6
- package/docs/en/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en/packages/react-intlayer/exports.md +4 -0
- package/docs/en/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en/packages/solid-intlayer/exports.md +4 -0
- package/docs/en/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en/packages/vue-intlayer/exports.md +4 -0
- package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en/releases/v9.md +38 -1
- package/docs/en-GB/CI_CD.md +4 -0
- package/docs/en-GB/autoFill.md +81 -0
- package/docs/en-GB/benchmark/solid.md +22 -0
- package/docs/en-GB/benchmark/svelte.md +22 -0
- package/docs/en-GB/benchmark/tanstack.md +22 -0
- package/docs/en-GB/cli/ci.md +22 -0
- package/docs/en-GB/cli/fill.md +8 -0
- package/docs/en-GB/cli/login.md +0 -36
- package/docs/en-GB/cli/test.md +0 -36
- package/docs/en-GB/compat/i18n-js.md +44 -0
- package/docs/en-GB/compat/i18next.md +59 -0
- package/docs/en-GB/compat/index.md +51 -0
- package/docs/en-GB/compat/lingui.md +44 -0
- package/docs/en-GB/compat/next-i18next.md +57 -0
- package/docs/en-GB/compat/next-intl.md +59 -0
- package/docs/en-GB/compat/next-translate.md +45 -0
- package/docs/en-GB/compat/ngx-translate.md +45 -0
- package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
- package/docs/en-GB/compat/polyglot.md +45 -0
- package/docs/en-GB/compat/react-i18next.md +58 -0
- package/docs/en-GB/compat/react-intl.md +55 -0
- package/docs/en-GB/compat/svelte-i18n.md +47 -0
- package/docs/en-GB/compat/transloco.md +45 -0
- package/docs/en-GB/compat/vue-i18n.md +58 -0
- package/docs/en-GB/compiler.md +3 -1
- package/docs/en-GB/configuration.md +4 -1
- package/docs/en-GB/custom_domains.md +1 -1
- package/docs/en-GB/custom_url_rewrites.md +1 -1
- package/docs/en-GB/dictionary/content_file.md +4 -7
- package/docs/en-GB/dictionary/file.md +8 -0
- package/docs/en-GB/dictionary/function_fetching.md +0 -4
- package/docs/en-GB/dictionary/nesting.md +8 -0
- package/docs/en-GB/dictionary/translation.md +0 -61
- package/docs/en-GB/formatters.md +59 -0
- package/docs/en-GB/how_works_intlayer.md +4 -16
- package/docs/en-GB/intlayer_CMS.md +6 -0
- package/docs/en-GB/intlayer_with_adonisjs.md +20 -4
- package/docs/en-GB/intlayer_with_analog.md +20 -4
- package/docs/en-GB/intlayer_with_angular_19.md +20 -4
- package/docs/en-GB/intlayer_with_angular_21.md +20 -4
- package/docs/en-GB/intlayer_with_astro.md +129 -2
- package/docs/en-GB/intlayer_with_astro_lit.md +21 -9
- package/docs/en-GB/intlayer_with_astro_preact.md +21 -9
- package/docs/en-GB/intlayer_with_astro_react.md +21 -9
- package/docs/en-GB/intlayer_with_astro_solid.md +21 -9
- package/docs/en-GB/intlayer_with_astro_svelte.md +21 -9
- package/docs/en-GB/intlayer_with_astro_vanilla.md +21 -9
- package/docs/en-GB/intlayer_with_astro_vue.md +21 -9
- package/docs/en-GB/intlayer_with_create_react_app.md +38 -52
- package/docs/en-GB/intlayer_with_express.md +20 -27
- package/docs/en-GB/intlayer_with_fastify.md +20 -8
- package/docs/en-GB/intlayer_with_hono.md +20 -4
- package/docs/en-GB/intlayer_with_lynx+react.md +40 -8
- package/docs/en-GB/intlayer_with_nestjs.md +20 -12
- package/docs/en-GB/intlayer_with_next-i18next.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +33 -9
- package/docs/en-GB/intlayer_with_nextjs_15.md +43 -5
- package/docs/en-GB/intlayer_with_nextjs_16.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +23 -5
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/en-GB/intlayer_with_nuxt.md +25 -7
- package/docs/en-GB/intlayer_with_react_native+expo.md +76 -8
- package/docs/en-GB/intlayer_with_react_router_v7.md +21 -5
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +40 -5
- package/docs/en-GB/intlayer_with_svelte_kit.md +7 -181
- package/docs/en-GB/intlayer_with_tanstack+solid.md +23 -5
- package/docs/en-GB/intlayer_with_tanstack.md +21 -5
- package/docs/en-GB/intlayer_with_vite+lit.md +21 -5
- package/docs/en-GB/intlayer_with_vite+preact.md +25 -5
- package/docs/en-GB/intlayer_with_vite+react.md +21 -5
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/en-GB/intlayer_with_vite+solid.md +21 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +21 -5
- package/docs/en-GB/intlayer_with_vite+vanilla.md +21 -5
- package/docs/en-GB/intlayer_with_vite+vue.md +29 -184
- package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/en-GB/packages/angular-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/intlayer/comparePaths.md +173 -0
- package/docs/en-GB/packages/intlayer/exports.md +5 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
- package/docs/en-GB/packages/next-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en-GB/packages/preact-intlayer/exports.md +10 -6
- package/docs/en-GB/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en-GB/packages/react-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/en-GB/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en-GB/packages/solid-intlayer/exports.md +15 -11
- package/docs/en-GB/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en-GB/packages/vue-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en-GB/plugins/sync-json.md +0 -59
- package/docs/en-GB/releases/v6.md +10 -6
- package/docs/en-GB/releases/v7.md +128 -0
- package/docs/en-GB/releases/v8.md +190 -0
- package/docs/en-GB/releases/v9.md +37 -1
- package/docs/en-GB/roadmap.md +6 -0
- package/docs/es/CI_CD.md +4 -0
- package/docs/es/autoFill.md +81 -0
- package/docs/es/benchmark/solid.md +22 -0
- package/docs/es/benchmark/svelte.md +22 -0
- package/docs/es/benchmark/tanstack.md +22 -0
- package/docs/es/cli/ci.md +22 -0
- package/docs/es/cli/fill.md +8 -0
- package/docs/es/cli/login.md +0 -36
- package/docs/es/compat/i18n-js.md +44 -0
- package/docs/es/compat/i18next.md +59 -0
- package/docs/es/compat/index.md +51 -0
- package/docs/es/compat/lingui.md +44 -0
- package/docs/es/compat/next-i18next.md +57 -0
- package/docs/es/compat/next-intl.md +61 -0
- package/docs/es/compat/next-translate.md +45 -0
- package/docs/es/compat/ngx-translate.md +45 -0
- package/docs/es/compat/nuxtjs-i18n.md +46 -0
- package/docs/es/compat/polyglot.md +45 -0
- package/docs/es/compat/react-i18next.md +58 -0
- package/docs/es/compat/react-intl.md +55 -0
- package/docs/es/compat/svelte-i18n.md +47 -0
- package/docs/es/compat/transloco.md +45 -0
- package/docs/es/compat/vue-i18n.md +58 -0
- package/docs/es/compiler.md +3 -1
- package/docs/es/configuration.md +19 -17
- package/docs/es/custom_domains.md +1 -1
- package/docs/es/custom_url_rewrites.md +1 -1
- package/docs/es/dictionary/content_file.md +4 -0
- package/docs/es/dictionary/file.md +8 -0
- package/docs/es/dictionary/nesting.md +39 -0
- package/docs/es/dictionary/translation.md +0 -61
- package/docs/es/formatters.md +82 -0
- package/docs/es/how_works_intlayer.md +4 -4
- package/docs/es/intlayer_CMS.md +21 -0
- package/docs/es/intlayer_visual_editor.md +0 -23
- package/docs/es/intlayer_with_adonisjs.md +20 -4
- package/docs/es/intlayer_with_analog.md +20 -4
- package/docs/es/intlayer_with_angular_19.md +20 -4
- package/docs/es/intlayer_with_angular_21.md +20 -4
- package/docs/es/intlayer_with_astro.md +129 -2
- package/docs/es/intlayer_with_astro_lit.md +21 -9
- package/docs/es/intlayer_with_astro_preact.md +21 -9
- package/docs/es/intlayer_with_astro_react.md +21 -9
- package/docs/es/intlayer_with_astro_solid.md +21 -9
- package/docs/es/intlayer_with_astro_svelte.md +21 -9
- package/docs/es/intlayer_with_astro_vanilla.md +21 -9
- package/docs/es/intlayer_with_astro_vue.md +21 -9
- package/docs/es/intlayer_with_create_react_app.md +20 -4
- package/docs/es/intlayer_with_express.md +20 -8
- package/docs/es/intlayer_with_fastify.md +20 -8
- package/docs/es/intlayer_with_hono.md +20 -4
- package/docs/es/intlayer_with_lynx+react.md +20 -4
- package/docs/es/intlayer_with_nestjs.md +20 -22
- package/docs/es/intlayer_with_next-i18next.md +20 -4
- package/docs/es/intlayer_with_nextjs_14.md +30 -8
- package/docs/es/intlayer_with_nextjs_15.md +41 -5
- package/docs/es/intlayer_with_nextjs_16.md +21 -5
- package/docs/es/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/es/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/es/intlayer_with_nuxt.md +25 -7
- package/docs/es/intlayer_with_react_native+expo.md +56 -4
- package/docs/es/intlayer_with_react_router_v7.md +21 -99
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
- package/docs/es/intlayer_with_svelte_kit.md +7 -181
- package/docs/es/intlayer_with_tanstack+solid.md +23 -5
- package/docs/es/intlayer_with_tanstack.md +21 -5
- package/docs/es/intlayer_with_vite+lit.md +21 -5
- package/docs/es/intlayer_with_vite+preact.md +25 -5
- package/docs/es/intlayer_with_vite+react.md +21 -5
- package/docs/es/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/es/intlayer_with_vite+solid.md +21 -5
- package/docs/es/intlayer_with_vite+svelte.md +21 -5
- package/docs/es/intlayer_with_vite+vanilla.md +21 -5
- package/docs/es/intlayer_with_vite+vue.md +38 -90
- package/docs/es/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/es/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/es/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/es/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/es/packages/angular-intlayer/exports.md +13 -9
- package/docs/es/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/es/packages/express-intlayer/t.md +0 -9
- package/docs/es/packages/intlayer/comparePaths.md +173 -0
- package/docs/es/packages/intlayer/exports.md +18 -13
- package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/es/packages/next-intlayer/exports.md +4 -0
- package/docs/es/packages/next-intlayer/usePathname.md +136 -0
- package/docs/es/packages/preact-intlayer/exports.md +10 -6
- package/docs/es/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/es/packages/react-intlayer/exports.md +4 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/es/packages/react-intlayer/usePathname.md +87 -0
- package/docs/es/packages/solid-intlayer/exports.md +4 -0
- package/docs/es/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/es/packages/svelte-intlayer/exports.md +4 -0
- package/docs/es/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/es/packages/vue-intlayer/exports.md +4 -0
- package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/es/releases/v6.md +28 -0
- package/docs/es/releases/v7.md +128 -0
- package/docs/es/releases/v9.md +37 -1
- package/docs/es/roadmap.md +6 -0
- package/docs/fr/CI_CD.md +4 -0
- package/docs/fr/autoFill.md +81 -0
- package/docs/fr/benchmark/solid.md +22 -0
- package/docs/fr/benchmark/svelte.md +22 -0
- package/docs/fr/benchmark/tanstack.md +22 -0
- package/docs/fr/cli/ci.md +22 -0
- package/docs/fr/cli/fill.md +8 -0
- package/docs/fr/cli/login.md +0 -36
- package/docs/fr/compat/i18n-js.md +44 -0
- package/docs/fr/compat/i18next.md +59 -0
- package/docs/fr/compat/index.md +51 -0
- package/docs/fr/compat/lingui.md +44 -0
- package/docs/fr/compat/next-i18next.md +57 -0
- package/docs/fr/compat/next-intl.md +59 -0
- package/docs/fr/compat/next-translate.md +45 -0
- package/docs/fr/compat/ngx-translate.md +45 -0
- package/docs/fr/compat/nuxtjs-i18n.md +46 -0
- package/docs/fr/compat/polyglot.md +45 -0
- package/docs/fr/compat/react-i18next.md +58 -0
- package/docs/fr/compat/react-intl.md +55 -0
- package/docs/fr/compat/svelte-i18n.md +47 -0
- package/docs/fr/compat/transloco.md +45 -0
- package/docs/fr/compat/vue-i18n.md +58 -0
- package/docs/fr/compiler.md +3 -1
- package/docs/fr/configuration.md +20 -17
- package/docs/fr/custom_domains.md +1 -1
- package/docs/fr/custom_url_rewrites.md +14 -14
- package/docs/fr/dictionary/content_file.md +4 -0
- package/docs/fr/dictionary/enumeration.md +0 -187
- package/docs/fr/dictionary/file.md +8 -0
- package/docs/fr/dictionary/nesting.md +39 -0
- package/docs/fr/dictionary/translation.md +0 -61
- package/docs/fr/formatters.md +171 -77
- package/docs/fr/how_works_intlayer.md +4 -0
- package/docs/fr/intlayer_CMS.md +6 -0
- package/docs/fr/intlayer_with_adonisjs.md +20 -4
- package/docs/fr/intlayer_with_analog.md +20 -4
- package/docs/fr/intlayer_with_angular_19.md +20 -4
- package/docs/fr/intlayer_with_angular_21.md +20 -4
- package/docs/fr/intlayer_with_astro.md +129 -2
- package/docs/fr/intlayer_with_astro_lit.md +21 -9
- package/docs/fr/intlayer_with_astro_preact.md +21 -9
- package/docs/fr/intlayer_with_astro_react.md +21 -9
- package/docs/fr/intlayer_with_astro_solid.md +21 -9
- package/docs/fr/intlayer_with_astro_svelte.md +21 -9
- package/docs/fr/intlayer_with_astro_vanilla.md +21 -9
- package/docs/fr/intlayer_with_astro_vue.md +21 -9
- package/docs/fr/intlayer_with_create_react_app.md +20 -18
- package/docs/fr/intlayer_with_express.md +20 -8
- package/docs/fr/intlayer_with_fastify.md +20 -8
- package/docs/fr/intlayer_with_hono.md +20 -4
- package/docs/fr/intlayer_with_lynx+react.md +20 -4
- package/docs/fr/intlayer_with_nestjs.md +20 -22
- package/docs/fr/intlayer_with_next-i18next.md +20 -4
- package/docs/fr/intlayer_with_nextjs_14.md +46 -9
- package/docs/fr/intlayer_with_nextjs_15.md +41 -5
- package/docs/fr/intlayer_with_nextjs_16.md +21 -5
- package/docs/fr/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/fr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/fr/intlayer_with_nuxt.md +20 -31
- package/docs/fr/intlayer_with_react_native+expo.md +36 -0
- package/docs/fr/intlayer_with_react_router_v7.md +21 -99
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -100
- package/docs/fr/intlayer_with_svelte_kit.md +7 -213
- package/docs/fr/intlayer_with_tanstack+solid.md +23 -5
- package/docs/fr/intlayer_with_tanstack.md +21 -5
- package/docs/fr/intlayer_with_vite+lit.md +21 -5
- package/docs/fr/intlayer_with_vite+preact.md +25 -5
- package/docs/fr/intlayer_with_vite+react.md +21 -5
- package/docs/fr/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/fr/intlayer_with_vite+solid.md +21 -5
- package/docs/fr/intlayer_with_vite+svelte.md +21 -5
- package/docs/fr/intlayer_with_vite+vanilla.md +21 -5
- package/docs/fr/intlayer_with_vite+vue.md +33 -87
- package/docs/fr/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/fr/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/fr/packages/angular-intlayer/exports.md +13 -9
- package/docs/fr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/express-intlayer/t.md +0 -9
- package/docs/fr/packages/intlayer/comparePaths.md +173 -0
- package/docs/fr/packages/intlayer/exports.md +18 -13
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
- package/docs/fr/packages/next-intlayer/exports.md +4 -0
- package/docs/fr/packages/next-intlayer/t.md +1 -1
- package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
- package/docs/fr/packages/preact-intlayer/exports.md +10 -6
- package/docs/fr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/fr/packages/react-intlayer/exports.md +4 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
- package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/fr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/fr/packages/solid-intlayer/exports.md +4 -0
- package/docs/fr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/svelte-intlayer/exports.md +4 -0
- package/docs/fr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/fr/packages/vue-intlayer/exports.md +14 -10
- package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/fr/plugins/sync-json.md +0 -59
- package/docs/fr/releases/v6.md +28 -0
- package/docs/fr/releases/v7.md +128 -0
- package/docs/fr/releases/v9.md +37 -1
- package/docs/fr/roadmap.md +6 -0
- package/docs/hi/CI_CD.md +4 -0
- package/docs/hi/autoFill.md +81 -0
- package/docs/hi/benchmark/solid.md +22 -0
- package/docs/hi/benchmark/svelte.md +22 -0
- package/docs/hi/benchmark/tanstack.md +22 -0
- package/docs/hi/cli/ci.md +22 -0
- package/docs/hi/cli/fill.md +8 -0
- package/docs/hi/cli/login.md +0 -36
- package/docs/hi/compat/i18n-js.md +44 -0
- package/docs/hi/compat/i18next.md +59 -0
- package/docs/hi/compat/index.md +51 -0
- package/docs/hi/compat/lingui.md +44 -0
- package/docs/hi/compat/next-i18next.md +57 -0
- package/docs/hi/compat/next-intl.md +59 -0
- package/docs/hi/compat/next-translate.md +45 -0
- package/docs/hi/compat/ngx-translate.md +45 -0
- package/docs/hi/compat/nuxtjs-i18n.md +46 -0
- package/docs/hi/compat/polyglot.md +45 -0
- package/docs/hi/compat/react-i18next.md +58 -0
- package/docs/hi/compat/react-intl.md +55 -0
- package/docs/hi/compat/svelte-i18n.md +47 -0
- package/docs/hi/compat/transloco.md +45 -0
- package/docs/hi/compat/vue-i18n.md +58 -0
- package/docs/hi/compiler.md +3 -1
- package/docs/hi/configuration.md +19 -17
- package/docs/hi/custom_domains.md +1 -1
- package/docs/hi/custom_url_rewrites.md +1 -1
- package/docs/hi/dictionary/enumeration.md +0 -187
- package/docs/hi/dictionary/file.md +8 -0
- package/docs/hi/dictionary/nesting.md +39 -0
- package/docs/hi/dictionary/translation.md +0 -61
- package/docs/hi/formatters.md +85 -0
- package/docs/hi/how_works_intlayer.md +2 -0
- package/docs/hi/interest_of_intlayer.md +194 -0
- package/docs/hi/intlayer_CMS.md +6 -0
- package/docs/hi/intlayer_with_adonisjs.md +20 -4
- package/docs/hi/intlayer_with_analog.md +20 -4
- package/docs/hi/intlayer_with_angular_19.md +20 -4
- package/docs/hi/intlayer_with_angular_21.md +20 -4
- package/docs/hi/intlayer_with_astro.md +130 -3
- package/docs/hi/intlayer_with_astro_lit.md +1 -1
- package/docs/hi/intlayer_with_astro_preact.md +1 -1
- package/docs/hi/intlayer_with_astro_react.md +1 -1
- package/docs/hi/intlayer_with_astro_solid.md +1 -1
- package/docs/hi/intlayer_with_astro_svelte.md +1 -1
- package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
- package/docs/hi/intlayer_with_astro_vue.md +21 -9
- package/docs/hi/intlayer_with_create_react_app.md +35 -4
- package/docs/hi/intlayer_with_express.md +20 -27
- package/docs/hi/intlayer_with_fastify.md +20 -8
- package/docs/hi/intlayer_with_hono.md +20 -4
- package/docs/hi/intlayer_with_lynx+react.md +20 -4
- package/docs/hi/intlayer_with_nestjs.md +20 -12
- package/docs/hi/intlayer_with_next-i18next.md +20 -4
- package/docs/hi/intlayer_with_nextjs_14.md +51 -12
- package/docs/hi/intlayer_with_nextjs_15.md +41 -5
- package/docs/hi/intlayer_with_nextjs_16.md +196 -58
- package/docs/hi/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/hi/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/hi/intlayer_with_nuxt.md +20 -31
- package/docs/hi/intlayer_with_react_native+expo.md +36 -0
- package/docs/hi/intlayer_with_react_router_v7.md +21 -99
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +40 -100
- package/docs/hi/intlayer_with_svelte_kit.md +7 -181
- package/docs/hi/intlayer_with_tanstack+solid.md +23 -5
- package/docs/hi/intlayer_with_tanstack.md +21 -5
- package/docs/hi/intlayer_with_vite+lit.md +21 -5
- package/docs/hi/intlayer_with_vite+preact.md +21 -5
- package/docs/hi/intlayer_with_vite+react.md +21 -5
- package/docs/hi/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/hi/intlayer_with_vite+solid.md +21 -5
- package/docs/hi/intlayer_with_vite+svelte.md +52 -52
- package/docs/hi/intlayer_with_vite+vanilla.md +21 -5
- package/docs/hi/intlayer_with_vite+vue.md +43 -75
- package/docs/hi/mcp_server.md +22 -0
- package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
- package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/hi/packages/angular-intlayer/exports.md +13 -9
- package/docs/hi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/intlayer/comparePaths.md +173 -0
- package/docs/hi/packages/intlayer/exports.md +18 -13
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/hi/packages/intlayer/index.md +20 -4
- package/docs/hi/packages/next-intlayer/exports.md +4 -0
- package/docs/hi/packages/next-intlayer/t.md +2 -0
- package/docs/hi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/hi/packages/preact-intlayer/exports.md +10 -6
- package/docs/hi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/hi/packages/react-intlayer/exports.md +3 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
- package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/hi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/hi/packages/solid-intlayer/exports.md +15 -11
- package/docs/hi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/hi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/hi/packages/vue-intlayer/exports.md +14 -10
- package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/hi/releases/v6.md +28 -0
- package/docs/hi/releases/v7.md +128 -0
- package/docs/hi/releases/v9.md +37 -1
- package/docs/hi/roadmap.md +6 -0
- package/docs/id/autoFill.md +20 -0
- package/docs/id/benchmark/solid.md +22 -0
- package/docs/id/benchmark/svelte.md +22 -0
- package/docs/id/benchmark/tanstack.md +22 -0
- package/docs/id/cli/ci.md +22 -0
- package/docs/id/cli/fill.md +8 -0
- package/docs/id/compat/i18n-js.md +44 -0
- package/docs/id/compat/i18next.md +59 -0
- package/docs/id/compat/index.md +51 -0
- package/docs/id/compat/lingui.md +44 -0
- package/docs/id/compat/next-i18next.md +57 -0
- package/docs/id/compat/next-intl.md +59 -0
- package/docs/id/compat/next-translate.md +45 -0
- package/docs/id/compat/ngx-translate.md +45 -0
- package/docs/id/compat/nuxtjs-i18n.md +46 -0
- package/docs/id/compat/polyglot.md +45 -0
- package/docs/id/compat/react-i18next.md +58 -0
- package/docs/id/compat/react-intl.md +55 -0
- package/docs/id/compat/svelte-i18n.md +47 -0
- package/docs/id/compat/transloco.md +45 -0
- package/docs/id/compat/vue-i18n.md +58 -0
- package/docs/id/compiler.md +3 -1
- package/docs/id/configuration.md +19 -17
- package/docs/id/custom_domains.md +1 -1
- package/docs/id/custom_url_rewrites.md +14 -16
- package/docs/id/dictionary/content_file.md +0 -7
- package/docs/id/dictionary/enumeration.md +0 -187
- package/docs/id/dictionary/nesting.md +39 -0
- package/docs/id/dictionary/translation.md +0 -61
- package/docs/id/formatters.md +120 -0
- package/docs/id/interest_of_intlayer.md +193 -0
- package/docs/id/intlayer_with_adonisjs.md +20 -4
- package/docs/id/intlayer_with_analog.md +20 -4
- package/docs/id/intlayer_with_angular_19.md +20 -4
- package/docs/id/intlayer_with_angular_21.md +20 -4
- package/docs/id/intlayer_with_astro.md +130 -3
- package/docs/id/intlayer_with_astro_lit.md +21 -9
- package/docs/id/intlayer_with_astro_preact.md +21 -9
- package/docs/id/intlayer_with_astro_react.md +21 -9
- package/docs/id/intlayer_with_astro_solid.md +21 -9
- package/docs/id/intlayer_with_astro_svelte.md +21 -9
- package/docs/id/intlayer_with_astro_vanilla.md +21 -9
- package/docs/id/intlayer_with_astro_vue.md +21 -9
- package/docs/id/intlayer_with_create_react_app.md +20 -4
- package/docs/id/intlayer_with_express.md +20 -4
- package/docs/id/intlayer_with_fastify.md +20 -8
- package/docs/id/intlayer_with_hono.md +20 -4
- package/docs/id/intlayer_with_lynx+react.md +20 -4
- package/docs/id/intlayer_with_nestjs.md +20 -4
- package/docs/id/intlayer_with_next-i18next.md +20 -4
- package/docs/id/intlayer_with_nextjs_14.md +21 -5
- package/docs/id/intlayer_with_nextjs_15.md +21 -5
- package/docs/id/intlayer_with_nextjs_16.md +196 -58
- package/docs/id/intlayer_with_nextjs_compiler.md +21 -26
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/id/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/id/intlayer_with_nuxt.md +25 -7
- package/docs/id/intlayer_with_react_native+expo.md +8 -45
- package/docs/id/intlayer_with_react_router_v7.md +21 -99
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -87
- package/docs/id/intlayer_with_svelte_kit.md +7 -181
- package/docs/id/intlayer_with_tanstack+solid.md +23 -5
- package/docs/id/intlayer_with_tanstack.md +21 -5
- package/docs/id/intlayer_with_vite+lit.md +21 -5
- package/docs/id/intlayer_with_vite+preact.md +77 -61
- package/docs/id/intlayer_with_vite+react.md +69 -53
- package/docs/id/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/id/intlayer_with_vite+solid.md +53 -46
- package/docs/id/intlayer_with_vite+svelte.md +47 -33
- package/docs/id/intlayer_with_vite+vanilla.md +21 -5
- package/docs/id/intlayer_with_vite+vue.md +69 -105
- package/docs/id/mcp_server.md +22 -0
- package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/id/packages/angular-intlayer/exports.md +14 -10
- package/docs/id/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/id/packages/intlayer/comparePaths.md +173 -0
- package/docs/id/packages/intlayer/exports.md +5 -0
- package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/id/packages/next-intlayer/exports.md +4 -0
- package/docs/id/packages/next-intlayer/usePathname.md +136 -0
- package/docs/id/packages/preact-intlayer/exports.md +10 -6
- package/docs/id/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/id/packages/react-intlayer/exports.md +4 -0
- package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/id/packages/react-intlayer/usePathname.md +87 -0
- package/docs/id/packages/solid-intlayer/exports.md +4 -0
- package/docs/id/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/id/packages/svelte-intlayer/exports.md +13 -9
- package/docs/id/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/id/packages/vue-intlayer/exports.md +4 -0
- package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/id/releases/v6.md +4 -0
- package/docs/id/releases/v7.md +128 -0
- package/docs/id/releases/v9.md +37 -1
- package/docs/id/roadmap.md +0 -16
- package/docs/it/CI_CD.md +4 -0
- package/docs/it/autoFill.md +81 -0
- package/docs/it/benchmark/solid.md +22 -0
- package/docs/it/benchmark/svelte.md +22 -0
- package/docs/it/benchmark/tanstack.md +22 -0
- package/docs/it/cli/ci.md +22 -0
- package/docs/it/cli/fill.md +8 -0
- package/docs/it/compat/i18n-js.md +44 -0
- package/docs/it/compat/i18next.md +59 -0
- package/docs/it/compat/index.md +51 -0
- package/docs/it/compat/lingui.md +44 -0
- package/docs/it/compat/next-i18next.md +57 -0
- package/docs/it/compat/next-intl.md +59 -0
- package/docs/it/compat/next-translate.md +45 -0
- package/docs/it/compat/ngx-translate.md +45 -0
- package/docs/it/compat/nuxtjs-i18n.md +46 -0
- package/docs/it/compat/polyglot.md +45 -0
- package/docs/it/compat/react-i18next.md +58 -0
- package/docs/it/compat/react-intl.md +55 -0
- package/docs/it/compat/svelte-i18n.md +47 -0
- package/docs/it/compat/transloco.md +45 -0
- package/docs/it/compat/vue-i18n.md +58 -0
- package/docs/it/compiler.md +3 -1
- package/docs/it/configuration.md +19 -17
- package/docs/it/custom_domains.md +1 -1
- package/docs/it/custom_url_rewrites.md +1 -1
- package/docs/it/dictionary/content_file.md +4 -7
- package/docs/it/dictionary/enumeration.md +0 -197
- package/docs/it/dictionary/file.md +8 -0
- package/docs/it/dictionary/nesting.md +39 -0
- package/docs/it/dictionary/translation.md +0 -61
- package/docs/it/formatters.md +82 -0
- package/docs/it/how_works_intlayer.md +4 -4
- package/docs/it/intlayer_CMS.md +6 -0
- package/docs/it/intlayer_with_adonisjs.md +20 -4
- package/docs/it/intlayer_with_analog.md +20 -4
- package/docs/it/intlayer_with_angular_19.md +20 -4
- package/docs/it/intlayer_with_angular_21.md +20 -4
- package/docs/it/intlayer_with_astro.md +129 -2
- package/docs/it/intlayer_with_astro_lit.md +21 -9
- package/docs/it/intlayer_with_astro_preact.md +21 -9
- package/docs/it/intlayer_with_astro_react.md +21 -9
- package/docs/it/intlayer_with_astro_solid.md +21 -9
- package/docs/it/intlayer_with_astro_svelte.md +21 -9
- package/docs/it/intlayer_with_astro_vanilla.md +21 -9
- package/docs/it/intlayer_with_astro_vue.md +21 -9
- package/docs/it/intlayer_with_create_react_app.md +20 -18
- package/docs/it/intlayer_with_express.md +20 -8
- package/docs/it/intlayer_with_fastify.md +20 -8
- package/docs/it/intlayer_with_hono.md +20 -4
- package/docs/it/intlayer_with_lynx+react.md +31 -4
- package/docs/it/intlayer_with_nestjs.md +20 -12
- package/docs/it/intlayer_with_next-i18next.md +20 -4
- package/docs/it/intlayer_with_nextjs_14.md +50 -13
- package/docs/it/intlayer_with_nextjs_15.md +41 -5
- package/docs/it/intlayer_with_nextjs_16.md +196 -58
- package/docs/it/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/it/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/it/intlayer_with_nuxt.md +25 -7
- package/docs/it/intlayer_with_react_native+expo.md +56 -4
- package/docs/it/intlayer_with_react_router_v7.md +21 -99
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/it/intlayer_with_svelte_kit.md +7 -213
- package/docs/it/intlayer_with_tanstack+solid.md +23 -5
- package/docs/it/intlayer_with_tanstack.md +21 -5
- package/docs/it/intlayer_with_vite+lit.md +21 -5
- package/docs/it/intlayer_with_vite+preact.md +81 -61
- package/docs/it/intlayer_with_vite+react.md +69 -5
- package/docs/it/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/it/intlayer_with_vite+solid.md +53 -46
- package/docs/it/intlayer_with_vite+svelte.md +47 -33
- package/docs/it/intlayer_with_vite+vanilla.md +21 -5
- package/docs/it/intlayer_with_vite+vue.md +73 -127
- package/docs/it/mcp_server.md +22 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/it/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/it/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/it/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/it/packages/angular-intlayer/exports.md +13 -9
- package/docs/it/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/it/packages/intlayer/comparePaths.md +173 -0
- package/docs/it/packages/intlayer/exports.md +18 -13
- package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/it/packages/next-intlayer/exports.md +4 -0
- package/docs/it/packages/next-intlayer/t.md +34 -0
- package/docs/it/packages/next-intlayer/usePathname.md +136 -0
- package/docs/it/packages/preact-intlayer/exports.md +10 -6
- package/docs/it/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/it/packages/react-intlayer/exports.md +20 -16
- package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
- package/docs/it/packages/react-intlayer/usePathname.md +87 -0
- package/docs/it/packages/solid-intlayer/exports.md +4 -0
- package/docs/it/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/it/packages/svelte-intlayer/exports.md +4 -0
- package/docs/it/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/it/packages/vue-intlayer/exports.md +4 -0
- package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/it/releases/v6.md +28 -0
- package/docs/it/releases/v7.md +128 -0
- package/docs/it/releases/v9.md +37 -1
- package/docs/it/roadmap.md +6 -0
- package/docs/ja/CI_CD.md +4 -0
- package/docs/ja/autoFill.md +81 -0
- package/docs/ja/benchmark/solid.md +22 -0
- package/docs/ja/benchmark/svelte.md +22 -0
- package/docs/ja/benchmark/tanstack.md +22 -0
- package/docs/ja/cli/ci.md +22 -0
- package/docs/ja/cli/fill.md +8 -0
- package/docs/ja/cli/list_projects.md +0 -18
- package/docs/ja/compat/i18n-js.md +44 -0
- package/docs/ja/compat/i18next.md +59 -0
- package/docs/ja/compat/index.md +51 -0
- package/docs/ja/compat/lingui.md +44 -0
- package/docs/ja/compat/next-i18next.md +57 -0
- package/docs/ja/compat/next-intl.md +59 -0
- package/docs/ja/compat/next-translate.md +45 -0
- package/docs/ja/compat/ngx-translate.md +45 -0
- package/docs/ja/compat/nuxtjs-i18n.md +46 -0
- package/docs/ja/compat/polyglot.md +45 -0
- package/docs/ja/compat/react-i18next.md +58 -0
- package/docs/ja/compat/react-intl.md +55 -0
- package/docs/ja/compat/svelte-i18n.md +47 -0
- package/docs/ja/compat/transloco.md +45 -0
- package/docs/ja/compat/vue-i18n.md +58 -0
- package/docs/ja/compiler.md +3 -1
- package/docs/ja/configuration.md +19 -17
- package/docs/ja/custom_domains.md +1 -1
- package/docs/ja/custom_url_rewrites.md +1 -1
- package/docs/ja/dictionary/content_file.md +4 -0
- package/docs/ja/dictionary/enumeration.md +0 -187
- package/docs/ja/dictionary/function_fetching.md +0 -27
- package/docs/ja/dictionary/markdown.md +1348 -0
- package/docs/ja/dictionary/nesting.md +39 -0
- package/docs/ja/dictionary/translation.md +0 -119
- package/docs/ja/formatters.md +77 -0
- package/docs/ja/how_works_intlayer.md +4 -2
- package/docs/ja/intlayer_CMS.md +6 -0
- package/docs/ja/intlayer_visual_editor.md +0 -4
- package/docs/ja/intlayer_with_adonisjs.md +20 -4
- package/docs/ja/intlayer_with_analog.md +24 -4
- package/docs/ja/intlayer_with_angular_19.md +20 -4
- package/docs/ja/intlayer_with_angular_21.md +20 -4
- package/docs/ja/intlayer_with_astro.md +129 -2
- package/docs/ja/intlayer_with_astro_lit.md +21 -9
- package/docs/ja/intlayer_with_astro_preact.md +21 -9
- package/docs/ja/intlayer_with_astro_react.md +21 -9
- package/docs/ja/intlayer_with_astro_solid.md +21 -9
- package/docs/ja/intlayer_with_astro_svelte.md +21 -9
- package/docs/ja/intlayer_with_astro_vanilla.md +21 -9
- package/docs/ja/intlayer_with_astro_vue.md +21 -9
- package/docs/ja/intlayer_with_create_react_app.md +20 -20
- package/docs/ja/intlayer_with_express.md +20 -8
- package/docs/ja/intlayer_with_fastify.md +20 -8
- package/docs/ja/intlayer_with_hono.md +20 -4
- package/docs/ja/intlayer_with_lynx+react.md +20 -4
- package/docs/ja/intlayer_with_nestjs.md +20 -12
- package/docs/ja/intlayer_with_next-i18next.md +20 -4
- package/docs/ja/intlayer_with_nextjs_14.md +46 -24
- package/docs/ja/intlayer_with_nextjs_15.md +41 -5
- package/docs/ja/intlayer_with_nextjs_16.md +196 -58
- package/docs/ja/intlayer_with_nextjs_compiler.md +21 -26
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ja/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ja/intlayer_with_nuxt.md +25 -7
- package/docs/ja/intlayer_with_react_native+expo.md +36 -0
- package/docs/ja/intlayer_with_react_router_v7.md +1 -23
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/ja/intlayer_with_svelte_kit.md +12 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +23 -5
- package/docs/ja/intlayer_with_tanstack.md +23 -5
- package/docs/ja/intlayer_with_vite+lit.md +21 -5
- package/docs/ja/intlayer_with_vite+preact.md +704 -1
- package/docs/ja/intlayer_with_vite+react.md +1 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/ja/intlayer_with_vite+solid.md +53 -46
- package/docs/ja/intlayer_with_vite+svelte.md +49 -33
- package/docs/ja/intlayer_with_vite+vanilla.md +21 -5
- package/docs/ja/intlayer_with_vite+vue.md +90 -118
- package/docs/ja/mcp_server.md +26 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/ja/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/ja/packages/angular-intlayer/exports.md +13 -9
- package/docs/ja/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ja/packages/express-intlayer/t.md +0 -9
- package/docs/ja/packages/intlayer/comparePaths.md +173 -0
- package/docs/ja/packages/intlayer/exports.md +5 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ja/packages/next-intlayer/exports.md +4 -0
- package/docs/ja/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ja/packages/preact-intlayer/exports.md +10 -6
- package/docs/ja/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ja/packages/react-intlayer/exports.md +21 -16
- package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
- package/docs/ja/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ja/packages/solid-intlayer/exports.md +4 -0
- package/docs/ja/packages/solid-intlayer/usePathname.md +120 -0
- package/docs/ja/packages/svelte-intlayer/exports.md +13 -9
- package/docs/ja/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ja/packages/vue-intlayer/exports.md +4 -0
- package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ja/releases/v6.md +28 -0
- package/docs/ja/releases/v7.md +128 -0
- package/docs/ja/releases/v9.md +37 -1
- package/docs/ja/roadmap.md +6 -0
- package/docs/ko/CI_CD.md +4 -0
- package/docs/ko/autoFill.md +81 -0
- package/docs/ko/benchmark/solid.md +22 -0
- package/docs/ko/benchmark/svelte.md +22 -0
- package/docs/ko/benchmark/tanstack.md +22 -0
- package/docs/ko/cli/ci.md +22 -0
- package/docs/ko/cli/fill.md +8 -0
- package/docs/ko/cli/login.md +0 -36
- package/docs/ko/compat/i18n-js.md +44 -0
- package/docs/ko/compat/i18next.md +59 -0
- package/docs/ko/compat/index.md +51 -0
- package/docs/ko/compat/lingui.md +44 -0
- package/docs/ko/compat/next-i18next.md +55 -0
- package/docs/ko/compat/next-intl.md +59 -0
- package/docs/ko/compat/next-translate.md +45 -0
- package/docs/ko/compat/ngx-translate.md +45 -0
- package/docs/ko/compat/nuxtjs-i18n.md +46 -0
- package/docs/ko/compat/polyglot.md +45 -0
- package/docs/ko/compat/react-i18next.md +58 -0
- package/docs/ko/compat/react-intl.md +55 -0
- package/docs/ko/compat/svelte-i18n.md +47 -0
- package/docs/ko/compat/transloco.md +45 -0
- package/docs/ko/compat/vue-i18n.md +58 -0
- package/docs/ko/compiler.md +3 -1
- package/docs/ko/configuration.md +19 -17
- package/docs/ko/custom_domains.md +1 -1
- package/docs/ko/custom_url_rewrites.md +1 -1
- package/docs/ko/dictionary/content_file.md +4 -27
- package/docs/ko/dictionary/enumeration.md +0 -187
- package/docs/ko/dictionary/insertion.md +0 -6
- package/docs/ko/dictionary/nesting.md +39 -0
- package/docs/ko/dictionary/translation.md +0 -84
- package/docs/ko/formatters.md +71 -0
- package/docs/ko/how_works_intlayer.md +4 -0
- package/docs/ko/intlayer_CMS.md +6 -0
- package/docs/ko/intlayer_visual_editor.md +0 -2
- package/docs/ko/intlayer_with_adonisjs.md +20 -4
- package/docs/ko/intlayer_with_analog.md +46 -10
- package/docs/ko/intlayer_with_angular_19.md +42 -10
- package/docs/ko/intlayer_with_angular_21.md +42 -10
- package/docs/ko/intlayer_with_astro.md +156 -9
- package/docs/ko/intlayer_with_astro_lit.md +32 -10
- package/docs/ko/intlayer_with_astro_preact.md +32 -10
- package/docs/ko/intlayer_with_astro_react.md +32 -10
- package/docs/ko/intlayer_with_astro_solid.md +32 -10
- package/docs/ko/intlayer_with_astro_svelte.md +32 -10
- package/docs/ko/intlayer_with_astro_vanilla.md +29 -9
- package/docs/ko/intlayer_with_astro_vue.md +52 -18
- package/docs/ko/intlayer_with_create_react_app.md +39 -23
- package/docs/ko/intlayer_with_express.md +20 -27
- package/docs/ko/intlayer_with_fastify.md +20 -8
- package/docs/ko/intlayer_with_hono.md +20 -4
- package/docs/ko/intlayer_with_lynx+react.md +0 -108
- package/docs/ko/intlayer_with_nestjs.md +20 -22
- package/docs/ko/intlayer_with_next-i18next.md +20 -4
- package/docs/ko/intlayer_with_nextjs_14.md +59 -25
- package/docs/ko/intlayer_with_nextjs_15.md +84 -18
- package/docs/ko/intlayer_with_nextjs_16.md +228 -67
- package/docs/ko/intlayer_with_nextjs_compiler.md +32 -297
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +51 -15
- package/docs/ko/intlayer_with_nextjs_page_router.md +62 -16
- package/docs/ko/intlayer_with_nuxt.md +54 -14
- package/docs/ko/intlayer_with_react_native+expo.md +56 -266
- package/docs/ko/intlayer_with_react_router_v7.md +58 -104
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +77 -105
- package/docs/ko/intlayer_with_storybook.md +28 -8
- package/docs/ko/intlayer_with_svelte_kit.md +44 -178
- package/docs/ko/intlayer_with_tanstack+solid.md +81 -23
- package/docs/ko/intlayer_with_tanstack.md +79 -23
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +61 -17
- package/docs/ko/intlayer_with_vite+preact.md +107 -99
- package/docs/ko/intlayer_with_vite+react.md +99 -16
- package/docs/ko/intlayer_with_vite+react_compiler.md +43 -11
- package/docs/ko/intlayer_with_vite+solid.md +86 -154
- package/docs/ko/intlayer_with_vite+svelte.md +78 -42
- package/docs/ko/intlayer_with_vite+vanilla.md +64 -18
- package/docs/ko/intlayer_with_vite+vue.md +105 -115
- package/docs/ko/mcp_server.md +22 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/ko/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/ko/packages/angular-intlayer/exports.md +14 -10
- package/docs/ko/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/express-intlayer/t.md +0 -9
- package/docs/ko/packages/intlayer/comparePaths.md +173 -0
- package/docs/ko/packages/intlayer/exports.md +5 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ko/packages/next-intlayer/exports.md +4 -0
- package/docs/ko/packages/next-intlayer/t.md +34 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
- package/docs/ko/packages/next-intlayer/usePathname.md +140 -0
- package/docs/ko/packages/preact-intlayer/exports.md +10 -6
- package/docs/ko/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ko/packages/react-intlayer/exports.md +4 -0
- package/docs/ko/packages/react-intlayer/t.md +0 -20
- package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ko/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ko/packages/solid-intlayer/exports.md +4 -0
- package/docs/ko/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ko/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ko/packages/vue-intlayer/exports.md +4 -0
- package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ko/releases/v6.md +28 -0
- package/docs/ko/releases/v7.md +128 -0
- package/docs/ko/releases/v9.md +37 -1
- package/docs/ko/roadmap.md +6 -0
- package/docs/nl/intlayer_with_angular_21.md +20 -4
- package/docs/nl/intlayer_with_fastify.md +20 -8
- package/docs/nl/intlayer_with_hono.md +20 -4
- package/docs/nl/intlayer_with_vite+lit.md +20 -4
- package/docs/nl/intlayer_with_vite+vanilla.md +20 -4
- package/docs/nl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/autoFill.md +20 -0
- package/docs/pl/benchmark/___NOTE.md +101 -0
- package/docs/pl/benchmark/___nextjs.md +198 -0
- package/docs/pl/benchmark/___solid.md +36 -0
- package/docs/pl/benchmark/___svelte.md +36 -0
- package/docs/pl/benchmark/___tanstack.md +36 -0
- package/docs/pl/benchmark/___vue.md +36 -0
- package/docs/pl/benchmark/solid.md +22 -0
- package/docs/pl/benchmark/svelte.md +22 -0
- package/docs/pl/benchmark/tanstack.md +22 -0
- package/docs/pl/cli/ci.md +22 -0
- package/docs/pl/cli/fill.md +8 -0
- package/docs/pl/cli/login.md +0 -36
- package/docs/pl/compat/i18n-js.md +44 -0
- package/docs/pl/compat/i18next.md +59 -0
- package/docs/pl/compat/index.md +51 -0
- package/docs/pl/compat/lingui.md +44 -0
- package/docs/pl/compat/next-i18next.md +57 -0
- package/docs/pl/compat/next-intl.md +59 -0
- package/docs/pl/compat/next-translate.md +45 -0
- package/docs/pl/compat/ngx-translate.md +45 -0
- package/docs/pl/compat/nuxtjs-i18n.md +46 -0
- package/docs/pl/compat/polyglot.md +45 -0
- package/docs/pl/compat/react-i18next.md +58 -0
- package/docs/pl/compat/react-intl.md +55 -0
- package/docs/pl/compat/svelte-i18n.md +47 -0
- package/docs/pl/compat/transloco.md +45 -0
- package/docs/pl/compat/vue-i18n.md +58 -0
- package/docs/pl/configuration.md +15 -16
- package/docs/pl/dictionary/content_file.md +0 -40
- package/docs/pl/dictionary/enumeration.md +0 -187
- package/docs/pl/dictionary/nesting.md +39 -0
- package/docs/pl/dictionary/translation.md +0 -61
- package/docs/pl/formatters.md +120 -0
- package/docs/pl/intlayer_with_adonisjs.md +20 -4
- package/docs/pl/intlayer_with_analog.md +20 -4
- package/docs/pl/intlayer_with_angular_19.md +20 -4
- package/docs/pl/intlayer_with_angular_21.md +20 -4
- package/docs/pl/intlayer_with_astro.md +179 -0
- package/docs/pl/intlayer_with_astro_lit.md +20 -8
- package/docs/pl/intlayer_with_astro_preact.md +20 -8
- package/docs/pl/intlayer_with_astro_react.md +20 -8
- package/docs/pl/intlayer_with_astro_solid.md +20 -8
- package/docs/pl/intlayer_with_astro_svelte.md +20 -8
- package/docs/pl/intlayer_with_astro_vanilla.md +20 -8
- package/docs/pl/intlayer_with_astro_vue.md +20 -8
- package/docs/pl/intlayer_with_create_react_app.md +20 -4
- package/docs/pl/intlayer_with_express.md +20 -4
- package/docs/pl/intlayer_with_fastify.md +20 -8
- package/docs/pl/intlayer_with_hono.md +20 -4
- package/docs/pl/intlayer_with_lynx+react.md +20 -4
- package/docs/pl/intlayer_with_nestjs.md +20 -4
- package/docs/pl/intlayer_with_next-i18next.md +20 -4
- package/docs/pl/intlayer_with_nextjs_14.md +20 -4
- package/docs/pl/intlayer_with_nextjs_15.md +20 -4
- package/docs/pl/intlayer_with_nextjs_16.md +20 -4
- package/docs/pl/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/pl/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/pl/intlayer_with_nuxt.md +25 -7
- package/docs/pl/intlayer_with_react_native+expo.md +8 -45
- package/docs/pl/intlayer_with_react_router_v7.md +20 -98
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +0 -95
- package/docs/pl/intlayer_with_svelte_kit.md +6 -184
- package/docs/pl/intlayer_with_tanstack+solid.md +20 -4
- package/docs/pl/intlayer_with_tanstack.md +20 -4
- package/docs/pl/intlayer_with_vite+lit.md +20 -4
- package/docs/pl/intlayer_with_vite+preact.md +76 -60
- package/docs/pl/intlayer_with_vite+react.md +68 -52
- package/docs/pl/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/pl/intlayer_with_vite+solid.md +52 -45
- package/docs/pl/intlayer_with_vite+svelte.md +48 -32
- package/docs/pl/intlayer_with_vite+vanilla.md +20 -4
- package/docs/pl/intlayer_with_vite+vue.md +68 -74
- package/docs/pl/mcp_server.md +22 -0
- package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
- package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
- package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
- package/docs/pl/packages/angular-intlayer/exports.md +13 -9
- package/docs/pl/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/packages/intlayer/exports.md +5 -0
- package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
- package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/pl/packages/next-intlayer/exports.md +4 -0
- package/docs/pl/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pl/packages/preact-intlayer/exports.md +10 -6
- package/docs/pl/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pl/packages/react-intlayer/exports.md +4 -0
- package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pl/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pl/packages/solid-intlayer/exports.md +4 -0
- package/docs/pl/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pl/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pl/packages/vue-intlayer/exports.md +4 -0
- package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pl/plugins/sync-json.md +0 -59
- package/docs/pl/releases/v6.md +4 -0
- package/docs/pl/releases/v7.md +128 -0
- package/docs/pl/releases/v9.md +36 -0
- package/docs/pl/roadmap.md +0 -16
- package/docs/pt/CI_CD.md +4 -0
- package/docs/pt/autoFill.md +117 -14
- package/docs/pt/benchmark/index.md +5 -5
- package/docs/pt/benchmark/solid.md +22 -0
- package/docs/pt/benchmark/svelte.md +22 -0
- package/docs/pt/benchmark/tanstack.md +22 -0
- package/docs/pt/cli/ci.md +22 -0
- package/docs/pt/cli/fill.md +8 -0
- package/docs/pt/cli/login.md +0 -36
- package/docs/pt/compat/i18n-js.md +44 -0
- package/docs/pt/compat/i18next.md +59 -0
- package/docs/pt/compat/index.md +51 -0
- package/docs/pt/compat/lingui.md +44 -0
- package/docs/pt/compat/next-i18next.md +57 -0
- package/docs/pt/compat/next-intl.md +59 -0
- package/docs/pt/compat/next-translate.md +45 -0
- package/docs/pt/compat/ngx-translate.md +45 -0
- package/docs/pt/compat/nuxtjs-i18n.md +46 -0
- package/docs/pt/compat/polyglot.md +45 -0
- package/docs/pt/compat/react-i18next.md +58 -0
- package/docs/pt/compat/react-intl.md +55 -0
- package/docs/pt/compat/svelte-i18n.md +47 -0
- package/docs/pt/compat/transloco.md +45 -0
- package/docs/pt/compat/vue-i18n.md +58 -0
- package/docs/pt/compiler.md +2 -2
- package/docs/pt/configuration.md +16 -17
- package/docs/pt/custom_domains.md +1 -6
- package/docs/pt/custom_url_rewrites.md +1 -1
- package/docs/pt/dictionary/content_file.md +4 -7
- package/docs/pt/dictionary/enumeration.md +3 -190
- package/docs/pt/dictionary/file.md +8 -0
- package/docs/pt/dictionary/nesting.md +39 -0
- package/docs/pt/dictionary/translation.md +0 -61
- package/docs/pt/formatters.md +86 -0
- package/docs/pt/how_works_intlayer.md +4 -0
- package/docs/pt/intlayer_CMS.md +21 -0
- package/docs/pt/intlayer_with_adonisjs.md +20 -4
- package/docs/pt/intlayer_with_analog.md +23 -7
- package/docs/pt/intlayer_with_angular_19.md +27 -11
- package/docs/pt/intlayer_with_angular_21.md +23 -7
- package/docs/pt/intlayer_with_astro.md +182 -3
- package/docs/pt/intlayer_with_astro_lit.md +23 -11
- package/docs/pt/intlayer_with_astro_preact.md +23 -11
- package/docs/pt/intlayer_with_astro_react.md +23 -11
- package/docs/pt/intlayer_with_astro_solid.md +23 -11
- package/docs/pt/intlayer_with_astro_svelte.md +23 -11
- package/docs/pt/intlayer_with_astro_vanilla.md +23 -11
- package/docs/pt/intlayer_with_astro_vue.md +23 -11
- package/docs/pt/intlayer_with_create_react_app.md +20 -18
- package/docs/pt/intlayer_with_express.md +20 -27
- package/docs/pt/intlayer_with_fastify.md +20 -8
- package/docs/pt/intlayer_with_hono.md +20 -4
- package/docs/pt/intlayer_with_lynx+react.md +34 -7
- package/docs/pt/intlayer_with_nestjs.md +20 -22
- package/docs/pt/intlayer_with_next-i18next.md +20 -4
- package/docs/pt/intlayer_with_nextjs_14.md +46 -11
- package/docs/pt/intlayer_with_nextjs_15.md +47 -11
- package/docs/pt/intlayer_with_nextjs_16.md +26 -10
- package/docs/pt/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +26 -10
- package/docs/pt/intlayer_with_nextjs_page_router.md +30 -10
- package/docs/pt/intlayer_with_nuxt.md +28 -10
- package/docs/pt/intlayer_with_react_native+expo.md +59 -7
- package/docs/pt/intlayer_with_react_router_v7.md +28 -88
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -98
- package/docs/pt/intlayer_with_storybook.md +3 -3
- package/docs/pt/intlayer_with_svelte_kit.md +9 -219
- package/docs/pt/intlayer_with_tanstack+solid.md +23 -7
- package/docs/pt/intlayer_with_tanstack.md +23 -7
- package/docs/pt/intlayer_with_vanilla.md +3 -3
- package/docs/pt/intlayer_with_vite+lit.md +23 -7
- package/docs/pt/intlayer_with_vite+preact.md +23 -7
- package/docs/pt/intlayer_with_vite+react.md +30 -14
- package/docs/pt/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/pt/intlayer_with_vite+solid.md +23 -7
- package/docs/pt/intlayer_with_vite+svelte.md +51 -35
- package/docs/pt/intlayer_with_vite+vanilla.md +23 -7
- package/docs/pt/intlayer_with_vite+vue.md +27 -7
- package/docs/pt/mcp_server.md +22 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/pt/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/pt/packages/angular-intlayer/exports.md +14 -10
- package/docs/pt/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/hono-intlayer/t.md +1 -1
- package/docs/pt/packages/intlayer/comparePaths.md +173 -0
- package/docs/pt/packages/intlayer/exports.md +5 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/pt/packages/next-intlayer/exports.md +4 -0
- package/docs/pt/packages/next-intlayer/t.md +34 -0
- package/docs/pt/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pt/packages/preact-intlayer/exports.md +10 -6
- package/docs/pt/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pt/packages/react-intlayer/exports.md +21 -17
- package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pt/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pt/packages/solid-intlayer/exports.md +4 -0
- package/docs/pt/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pt/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pt/packages/vue-intlayer/exports.md +5 -1
- package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pt/plugins/sync-po.md +1 -1
- package/docs/pt/readme.md +3 -3
- package/docs/pt/releases/v6.md +28 -0
- package/docs/pt/releases/v7.md +128 -0
- package/docs/pt/releases/v9.md +37 -1
- package/docs/pt/roadmap.md +6 -0
- package/docs/ru/CI_CD.md +4 -0
- package/docs/ru/autoFill.md +81 -0
- package/docs/ru/benchmark/solid.md +22 -0
- package/docs/ru/benchmark/svelte.md +22 -0
- package/docs/ru/benchmark/tanstack.md +22 -0
- package/docs/ru/cli/ci.md +22 -0
- package/docs/ru/cli/fill.md +8 -0
- package/docs/ru/cli/login.md +0 -36
- package/docs/ru/compat/i18n-js.md +44 -0
- package/docs/ru/compat/i18next.md +59 -0
- package/docs/ru/compat/index.md +51 -0
- package/docs/ru/compat/lingui.md +44 -0
- package/docs/ru/compat/next-i18next.md +57 -0
- package/docs/ru/compat/next-intl.md +59 -0
- package/docs/ru/compat/next-translate.md +45 -0
- package/docs/ru/compat/ngx-translate.md +45 -0
- package/docs/ru/compat/nuxtjs-i18n.md +46 -0
- package/docs/ru/compat/polyglot.md +45 -0
- package/docs/ru/compat/react-i18next.md +58 -0
- package/docs/ru/compat/react-intl.md +55 -0
- package/docs/ru/compat/svelte-i18n.md +47 -0
- package/docs/ru/compat/transloco.md +45 -0
- package/docs/ru/compat/vue-i18n.md +58 -0
- package/docs/ru/compiler.md +3 -1
- package/docs/ru/configuration.md +19 -17
- package/docs/ru/custom_domains.md +1 -1
- package/docs/ru/custom_url_rewrites.md +1 -1
- package/docs/ru/dictionary/content_file.md +4 -27
- package/docs/ru/dictionary/enumeration.md +0 -199
- package/docs/ru/dictionary/file.md +8 -0
- package/docs/ru/dictionary/markdown.md +510 -0
- package/docs/ru/dictionary/nesting.md +8 -0
- package/docs/ru/dictionary/translation.md +0 -61
- package/docs/ru/formatters.md +136 -0
- package/docs/ru/how_works_intlayer.md +4 -0
- package/docs/ru/intlayer_CMS.md +6 -0
- package/docs/ru/intlayer_with_adonisjs.md +20 -4
- package/docs/ru/intlayer_with_analog.md +20 -4
- package/docs/ru/intlayer_with_angular_19.md +20 -4
- package/docs/ru/intlayer_with_angular_21.md +20 -4
- package/docs/ru/intlayer_with_astro.md +129 -2
- package/docs/ru/intlayer_with_astro_lit.md +1 -1
- package/docs/ru/intlayer_with_astro_preact.md +1 -1
- package/docs/ru/intlayer_with_astro_react.md +1 -1
- package/docs/ru/intlayer_with_astro_solid.md +1 -1
- package/docs/ru/intlayer_with_astro_svelte.md +1 -1
- package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
- package/docs/ru/intlayer_with_astro_vue.md +21 -9
- package/docs/ru/intlayer_with_create_react_app.md +20 -4
- package/docs/ru/intlayer_with_express.md +20 -27
- package/docs/ru/intlayer_with_fastify.md +20 -8
- package/docs/ru/intlayer_with_hono.md +20 -4
- package/docs/ru/intlayer_with_lynx+react.md +20 -4
- package/docs/ru/intlayer_with_nestjs.md +20 -22
- package/docs/ru/intlayer_with_next-i18next.md +20 -4
- package/docs/ru/intlayer_with_nextjs_14.md +51 -12
- package/docs/ru/intlayer_with_nextjs_15.md +41 -5
- package/docs/ru/intlayer_with_nextjs_16.md +21 -5
- package/docs/ru/intlayer_with_nextjs_compiler.md +21 -5
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/ru/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/ru/intlayer_with_nuxt.md +25 -7
- package/docs/ru/intlayer_with_react_native+expo.md +56 -53
- package/docs/ru/intlayer_with_react_router_v7.md +21 -99
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/ru/intlayer_with_svelte_kit.md +7 -181
- package/docs/ru/intlayer_with_tanstack+solid.md +23 -5
- package/docs/ru/intlayer_with_tanstack.md +21 -5
- package/docs/ru/intlayer_with_vite+lit.md +21 -5
- package/docs/ru/intlayer_with_vite+preact.md +77 -61
- package/docs/ru/intlayer_with_vite+react.md +23 -5
- package/docs/ru/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/ru/intlayer_with_vite+solid.md +53 -46
- package/docs/ru/intlayer_with_vite+svelte.md +47 -33
- package/docs/ru/intlayer_with_vite+vanilla.md +21 -5
- package/docs/ru/intlayer_with_vite+vue.md +73 -105
- package/docs/ru/mcp_server.md +22 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/ru/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/ru/packages/angular-intlayer/exports.md +13 -9
- package/docs/ru/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/intlayer/comparePaths.md +173 -0
- package/docs/ru/packages/intlayer/exports.md +5 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ru/packages/next-intlayer/exports.md +4 -0
- package/docs/ru/packages/next-intlayer/t.md +34 -0
- package/docs/ru/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ru/packages/preact-intlayer/exports.md +10 -6
- package/docs/ru/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ru/packages/react-intlayer/exports.md +4 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
- package/docs/ru/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ru/packages/solid-intlayer/exports.md +4 -0
- package/docs/ru/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ru/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ru/packages/vue-intlayer/exports.md +4 -0
- package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ru/releases/v6.md +28 -0
- package/docs/ru/releases/v7.md +128 -0
- package/docs/ru/releases/v9.md +37 -1
- package/docs/ru/roadmap.md +6 -0
- package/docs/tr/CI_CD.md +4 -0
- package/docs/tr/autoFill.md +81 -0
- package/docs/tr/benchmark/solid.md +22 -0
- package/docs/tr/benchmark/svelte.md +22 -0
- package/docs/tr/benchmark/tanstack.md +22 -0
- package/docs/tr/cli/ci.md +22 -0
- package/docs/tr/cli/fill.md +8 -0
- package/docs/tr/cli/login.md +0 -10
- package/docs/tr/compat/i18n-js.md +44 -0
- package/docs/tr/compat/i18next.md +59 -0
- package/docs/tr/compat/index.md +51 -0
- package/docs/tr/compat/lingui.md +44 -0
- package/docs/tr/compat/next-i18next.md +57 -0
- package/docs/tr/compat/next-intl.md +59 -0
- package/docs/tr/compat/next-translate.md +45 -0
- package/docs/tr/compat/ngx-translate.md +45 -0
- package/docs/tr/compat/nuxtjs-i18n.md +46 -0
- package/docs/tr/compat/polyglot.md +45 -0
- package/docs/tr/compat/react-i18next.md +58 -0
- package/docs/tr/compat/react-intl.md +55 -0
- package/docs/tr/compat/svelte-i18n.md +47 -0
- package/docs/tr/compat/transloco.md +45 -0
- package/docs/tr/compat/vue-i18n.md +58 -0
- package/docs/tr/compiler.md +3 -1
- package/docs/tr/configuration.md +19 -17
- package/docs/tr/custom_domains.md +1 -1
- package/docs/tr/custom_url_rewrites.md +1 -1
- package/docs/tr/dictionary/content_file.md +4 -27
- package/docs/tr/dictionary/enumeration.md +0 -187
- package/docs/tr/dictionary/file.md +8 -0
- package/docs/tr/dictionary/nesting.md +39 -0
- package/docs/tr/dictionary/translation.md +0 -88
- package/docs/tr/formatters.md +59 -0
- package/docs/tr/how_works_intlayer.md +4 -0
- package/docs/tr/intlayer_CMS.md +6 -0
- package/docs/tr/intlayer_with_adonisjs.md +20 -4
- package/docs/tr/intlayer_with_analog.md +24 -4
- package/docs/tr/intlayer_with_angular_19.md +20 -4
- package/docs/tr/intlayer_with_angular_21.md +20 -4
- package/docs/tr/intlayer_with_astro.md +134 -77
- package/docs/tr/intlayer_with_astro_lit.md +21 -9
- package/docs/tr/intlayer_with_astro_preact.md +21 -9
- package/docs/tr/intlayer_with_astro_react.md +21 -9
- package/docs/tr/intlayer_with_astro_solid.md +21 -9
- package/docs/tr/intlayer_with_astro_svelte.md +21 -9
- package/docs/tr/intlayer_with_astro_vanilla.md +21 -9
- package/docs/tr/intlayer_with_astro_vue.md +21 -9
- package/docs/tr/intlayer_with_create_react_app.md +20 -4
- package/docs/tr/intlayer_with_express.md +20 -8
- package/docs/tr/intlayer_with_fastify.md +20 -8
- package/docs/tr/intlayer_with_hono.md +20 -4
- package/docs/tr/intlayer_with_lynx+react.md +20 -4
- package/docs/tr/intlayer_with_nestjs.md +20 -12
- package/docs/tr/intlayer_with_next-i18next.md +20 -4
- package/docs/tr/intlayer_with_nextjs_14.md +115 -12
- package/docs/tr/intlayer_with_nextjs_15.md +41 -5
- package/docs/tr/intlayer_with_nextjs_16.md +21 -5
- package/docs/tr/intlayer_with_nextjs_compiler.md +21 -26
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/tr/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/tr/intlayer_with_nuxt.md +25 -7
- package/docs/tr/intlayer_with_react_native+expo.md +56 -34
- package/docs/tr/intlayer_with_react_router_v7.md +21 -99
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/tr/intlayer_with_svelte_kit.md +7 -181
- package/docs/tr/intlayer_with_tanstack+solid.md +23 -5
- package/docs/tr/intlayer_with_tanstack.md +21 -5
- package/docs/tr/intlayer_with_vite+lit.md +21 -5
- package/docs/tr/intlayer_with_vite+preact.md +77 -61
- package/docs/tr/intlayer_with_vite+react.md +69 -53
- package/docs/tr/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/tr/intlayer_with_vite+solid.md +53 -46
- package/docs/tr/intlayer_with_vite+svelte.md +47 -33
- package/docs/tr/intlayer_with_vite+vanilla.md +21 -5
- package/docs/tr/intlayer_with_vite+vue.md +74 -106
- package/docs/tr/mcp_server.md +22 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +20 -4
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +20 -4
- package/docs/tr/migration_from_next-intl_to_intlayer.md +20 -4
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +20 -4
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +20 -4
- package/docs/tr/packages/angular-intlayer/exports.md +13 -9
- package/docs/tr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/intlayer/comparePaths.md +173 -0
- package/docs/tr/packages/intlayer/exports.md +18 -13
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/tr/packages/next-intlayer/exports.md +4 -0
- package/docs/tr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/tr/packages/preact-intlayer/exports.md +10 -6
- package/docs/tr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/tr/packages/react-intlayer/exports.md +4 -0
- package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
- package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/tr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/tr/packages/solid-intlayer/exports.md +4 -0
- package/docs/tr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/svelte-intlayer/exports.md +13 -9
- package/docs/tr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/tr/packages/vue-intlayer/exports.md +4 -0
- package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/tr/releases/v6.md +28 -0
- package/docs/tr/releases/v7.md +128 -0
- package/docs/tr/releases/v9.md +37 -1
- package/docs/tr/roadmap.md +6 -0
- package/docs/uk/benchmark/solid.md +22 -0
- package/docs/uk/benchmark/svelte.md +22 -0
- package/docs/uk/benchmark/tanstack.md +22 -0
- package/docs/uk/cli/ci.md +22 -0
- package/docs/uk/cli/fill.md +8 -0
- package/docs/uk/compat/i18n-js.md +44 -0
- package/docs/uk/compat/i18next.md +59 -0
- package/docs/uk/compat/index.md +51 -0
- package/docs/uk/compat/lingui.md +44 -0
- package/docs/uk/compat/next-i18next.md +57 -0
- package/docs/uk/compat/next-intl.md +59 -0
- package/docs/uk/compat/next-translate.md +45 -0
- package/docs/uk/compat/ngx-translate.md +45 -0
- package/docs/uk/compat/nuxtjs-i18n.md +46 -0
- package/docs/uk/compat/polyglot.md +45 -0
- package/docs/uk/compat/react-i18next.md +58 -0
- package/docs/uk/compat/react-intl.md +55 -0
- package/docs/uk/compat/svelte-i18n.md +47 -0
- package/docs/uk/compat/transloco.md +45 -0
- package/docs/uk/compat/vue-i18n.md +58 -0
- package/docs/uk/compiler.md +3 -1
- package/docs/uk/configuration.md +19 -17
- package/docs/uk/custom_domains.md +1 -1
- package/docs/uk/custom_url_rewrites.md +1 -1
- package/docs/uk/dictionary/content_file.md +0 -7
- package/docs/uk/dictionary/enumeration.md +0 -187
- package/docs/uk/dictionary/nesting.md +39 -0
- package/docs/uk/dictionary/translation.md +0 -72
- package/docs/uk/formatters.md +142 -58
- package/docs/uk/interest_of_intlayer.md +194 -0
- package/docs/uk/intlayer_with_adonisjs.md +20 -4
- package/docs/uk/intlayer_with_analog.md +24 -4
- package/docs/uk/intlayer_with_angular_19.md +20 -4
- package/docs/uk/intlayer_with_angular_21.md +20 -4
- package/docs/uk/intlayer_with_astro.md +130 -3
- package/docs/uk/intlayer_with_astro_lit.md +21 -9
- package/docs/uk/intlayer_with_astro_preact.md +21 -9
- package/docs/uk/intlayer_with_astro_react.md +21 -9
- package/docs/uk/intlayer_with_astro_solid.md +21 -9
- package/docs/uk/intlayer_with_astro_svelte.md +21 -9
- package/docs/uk/intlayer_with_astro_vanilla.md +21 -9
- package/docs/uk/intlayer_with_astro_vue.md +21 -9
- package/docs/uk/intlayer_with_create_react_app.md +20 -4
- package/docs/uk/intlayer_with_express.md +20 -4
- package/docs/uk/intlayer_with_fastify.md +20 -8
- package/docs/uk/intlayer_with_hono.md +20 -4
- package/docs/uk/intlayer_with_lynx+react.md +20 -4
- package/docs/uk/intlayer_with_nestjs.md +20 -4
- package/docs/uk/intlayer_with_next-i18next.md +20 -4
- package/docs/uk/intlayer_with_nextjs_14.md +21 -5
- package/docs/uk/intlayer_with_nextjs_15.md +21 -5
- package/docs/uk/intlayer_with_nextjs_16.md +21 -5
- package/docs/uk/intlayer_with_nextjs_compiler.md +21 -26
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/uk/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/uk/intlayer_with_nuxt.md +20 -31
- package/docs/uk/intlayer_with_react_native+expo.md +8 -45
- package/docs/uk/intlayer_with_react_router_v7.md +21 -99
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +1 -96
- package/docs/uk/intlayer_with_svelte_kit.md +21 -5
- package/docs/uk/intlayer_with_tanstack+solid.md +23 -5
- package/docs/uk/intlayer_with_tanstack.md +21 -5
- package/docs/uk/intlayer_with_vite+lit.md +21 -5
- package/docs/uk/intlayer_with_vite+preact.md +77 -61
- package/docs/uk/intlayer_with_vite+react.md +69 -53
- package/docs/uk/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/uk/intlayer_with_vite+solid.md +53 -46
- package/docs/uk/intlayer_with_vite+svelte.md +49 -33
- package/docs/uk/intlayer_with_vite+vanilla.md +21 -5
- package/docs/uk/intlayer_with_vite+vue.md +69 -105
- package/docs/uk/mcp_server.md +22 -0
- package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/uk/packages/angular-intlayer/exports.md +14 -10
- package/docs/uk/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/intlayer/comparePaths.md +173 -0
- package/docs/uk/packages/intlayer/exports.md +5 -0
- package/docs/uk/packages/next-intlayer/exports.md +4 -0
- package/docs/uk/packages/next-intlayer/usePathname.md +136 -0
- package/docs/uk/packages/preact-intlayer/exports.md +10 -6
- package/docs/uk/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/uk/packages/react-intlayer/exports.md +4 -0
- package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/uk/packages/react-intlayer/usePathname.md +87 -0
- package/docs/uk/packages/solid-intlayer/exports.md +5 -1
- package/docs/uk/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/svelte-intlayer/exports.md +4 -0
- package/docs/uk/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/uk/packages/vue-intlayer/exports.md +4 -0
- package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/uk/releases/v6.md +4 -0
- package/docs/uk/releases/v7.md +4 -0
- package/docs/uk/releases/v9.md +37 -1
- package/docs/ur/intlayer_with_angular_21.md +20 -4
- package/docs/ur/intlayer_with_fastify.md +20 -8
- package/docs/ur/intlayer_with_hono.md +20 -4
- package/docs/ur/intlayer_with_vite+lit.md +20 -4
- package/docs/ur/intlayer_with_vite+vanilla.md +20 -4
- package/docs/ur/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/autoFill.md +20 -0
- package/docs/vi/benchmark/solid.md +22 -0
- package/docs/vi/benchmark/svelte.md +22 -0
- package/docs/vi/benchmark/tanstack.md +22 -0
- package/docs/vi/cli/ci.md +22 -0
- package/docs/vi/cli/fill.md +8 -0
- package/docs/vi/cli/login.md +0 -36
- package/docs/vi/compat/i18n-js.md +44 -0
- package/docs/vi/compat/i18next.md +59 -0
- package/docs/vi/compat/index.md +51 -0
- package/docs/vi/compat/lingui.md +44 -0
- package/docs/vi/compat/next-i18next.md +57 -0
- package/docs/vi/compat/next-intl.md +59 -0
- package/docs/vi/compat/next-translate.md +45 -0
- package/docs/vi/compat/ngx-translate.md +45 -0
- package/docs/vi/compat/nuxtjs-i18n.md +46 -0
- package/docs/vi/compat/polyglot.md +45 -0
- package/docs/vi/compat/react-i18next.md +58 -0
- package/docs/vi/compat/react-intl.md +55 -0
- package/docs/vi/compat/svelte-i18n.md +47 -0
- package/docs/vi/compat/transloco.md +45 -0
- package/docs/vi/compat/vue-i18n.md +58 -0
- package/docs/vi/compiler.md +3 -1
- package/docs/vi/configuration.md +19 -17
- package/docs/vi/custom_domains.md +1 -1
- package/docs/vi/custom_url_rewrites.md +1 -1
- package/docs/vi/dictionary/content_file.md +0 -7
- package/docs/vi/dictionary/enumeration.md +0 -199
- package/docs/vi/dictionary/insertion.md +0 -2
- package/docs/vi/dictionary/nesting.md +39 -0
- package/docs/vi/dictionary/translation.md +0 -61
- package/docs/vi/formatters.md +124 -0
- package/docs/vi/interest_of_intlayer.md +193 -0
- package/docs/vi/intlayer_with_adonisjs.md +20 -4
- package/docs/vi/intlayer_with_analog.md +24 -4
- package/docs/vi/intlayer_with_angular_19.md +20 -4
- package/docs/vi/intlayer_with_angular_21.md +20 -4
- package/docs/vi/intlayer_with_astro.md +130 -3
- package/docs/vi/intlayer_with_astro_lit.md +21 -9
- package/docs/vi/intlayer_with_astro_preact.md +21 -9
- package/docs/vi/intlayer_with_astro_react.md +21 -9
- package/docs/vi/intlayer_with_astro_solid.md +21 -9
- package/docs/vi/intlayer_with_astro_svelte.md +21 -9
- package/docs/vi/intlayer_with_astro_vanilla.md +21 -9
- package/docs/vi/intlayer_with_astro_vue.md +21 -9
- package/docs/vi/intlayer_with_create_react_app.md +20 -4
- package/docs/vi/intlayer_with_express.md +20 -4
- package/docs/vi/intlayer_with_fastify.md +20 -8
- package/docs/vi/intlayer_with_hono.md +20 -4
- package/docs/vi/intlayer_with_lynx+react.md +20 -4
- package/docs/vi/intlayer_with_nestjs.md +20 -4
- package/docs/vi/intlayer_with_next-i18next.md +20 -4
- package/docs/vi/intlayer_with_nextjs_14.md +21 -5
- package/docs/vi/intlayer_with_nextjs_15.md +489 -5
- package/docs/vi/intlayer_with_nextjs_16.md +21 -5
- package/docs/vi/intlayer_with_nextjs_compiler.md +21 -26
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/vi/intlayer_with_nextjs_page_router.md +21 -5
- package/docs/vi/intlayer_with_nuxt.md +20 -31
- package/docs/vi/intlayer_with_react_native+expo.md +8 -45
- package/docs/vi/intlayer_with_react_router_v7.md +21 -99
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -87
- package/docs/vi/intlayer_with_svelte_kit.md +7 -181
- package/docs/vi/intlayer_with_tanstack+solid.md +23 -5
- package/docs/vi/intlayer_with_tanstack.md +21 -5
- package/docs/vi/intlayer_with_vite+lit.md +21 -5
- package/docs/vi/intlayer_with_vite+preact.md +77 -61
- package/docs/vi/intlayer_with_vite+react.md +69 -53
- package/docs/vi/intlayer_with_vite+react_compiler.md +21 -5
- package/docs/vi/intlayer_with_vite+solid.md +53 -46
- package/docs/vi/intlayer_with_vite+svelte.md +49 -35
- package/docs/vi/intlayer_with_vite+vanilla.md +21 -5
- package/docs/vi/intlayer_with_vite+vue.md +69 -105
- package/docs/vi/mcp_server.md +22 -0
- package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
- package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
- package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/vi/packages/angular-intlayer/exports.md +14 -10
- package/docs/vi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/packages/intlayer/exports.md +5 -0
- package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/vi/packages/next-intlayer/exports.md +4 -0
- package/docs/vi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/vi/packages/preact-intlayer/exports.md +10 -6
- package/docs/vi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/vi/packages/react-intlayer/exports.md +20 -16
- package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
- package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/vi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/vi/packages/solid-intlayer/exports.md +15 -11
- package/docs/vi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/vi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/vi/packages/vue-intlayer/exports.md +14 -10
- package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/vi/releases/v6.md +4 -0
- package/docs/vi/releases/v7.md +128 -0
- package/docs/vi/releases/v9.md +37 -1
- package/docs/zh/CI_CD.md +1 -1
- package/docs/zh/autoFill.md +81 -0
- package/docs/zh/benchmark/solid.md +22 -0
- package/docs/zh/benchmark/svelte.md +22 -0
- package/docs/zh/benchmark/tanstack.md +22 -0
- package/docs/zh/cli/ci.md +22 -0
- package/docs/zh/cli/fill.md +8 -0
- package/docs/zh/cli/login.md +0 -36
- package/docs/zh/compat/i18n-js.md +44 -0
- package/docs/zh/compat/i18next.md +59 -0
- package/docs/zh/compat/index.md +51 -0
- package/docs/zh/compat/lingui.md +44 -0
- package/docs/zh/compat/next-i18next.md +57 -0
- package/docs/zh/compat/next-intl.md +59 -0
- package/docs/zh/compat/next-translate.md +45 -0
- package/docs/zh/compat/ngx-translate.md +45 -0
- package/docs/zh/compat/nuxtjs-i18n.md +46 -0
- package/docs/zh/compat/polyglot.md +45 -0
- package/docs/zh/compat/react-i18next.md +58 -0
- package/docs/zh/compat/react-intl.md +55 -0
- package/docs/zh/compat/svelte-i18n.md +47 -0
- package/docs/zh/compat/transloco.md +45 -0
- package/docs/zh/compat/vue-i18n.md +58 -0
- package/docs/zh/compiler.md +3 -1
- package/docs/zh/configuration.md +19 -17
- package/docs/zh/custom_domains.md +1 -1
- package/docs/zh/custom_url_rewrites.md +14 -16
- package/docs/zh/dictionary/content_file.md +16 -20
- package/docs/zh/dictionary/enumeration.md +0 -187
- package/docs/zh/dictionary/function_fetching.md +0 -27
- package/docs/zh/dictionary/insertion.md +0 -64
- package/docs/zh/dictionary/nesting.md +39 -0
- package/docs/zh/dictionary/translation.md +0 -84
- package/docs/zh/formatters.md +77 -0
- package/docs/zh/how_works_intlayer.md +4 -4
- package/docs/zh/intlayer_CMS.md +21 -0
- package/docs/zh/intlayer_with_adonisjs.md +20 -4
- package/docs/zh/intlayer_with_analog.md +4 -154
- package/docs/zh/intlayer_with_angular_19.md +0 -232
- package/docs/zh/intlayer_with_angular_21.md +20 -4
- package/docs/zh/intlayer_with_astro.md +242 -60
- package/docs/zh/intlayer_with_astro_lit.md +128 -82
- package/docs/zh/intlayer_with_astro_preact.md +122 -76
- package/docs/zh/intlayer_with_astro_react.md +124 -78
- package/docs/zh/intlayer_with_astro_solid.md +124 -78
- package/docs/zh/intlayer_with_astro_svelte.md +124 -78
- package/docs/zh/intlayer_with_astro_vanilla.md +121 -77
- package/docs/zh/intlayer_with_astro_vue.md +116 -70
- package/docs/zh/intlayer_with_create_react_app.md +17 -306
- package/docs/zh/intlayer_with_express.md +20 -27
- package/docs/zh/intlayer_with_fastify.md +20 -8
- package/docs/zh/intlayer_with_hono.md +20 -4
- package/docs/zh/intlayer_with_lynx+react.md +0 -259
- package/docs/zh/intlayer_with_nestjs.md +20 -22
- package/docs/zh/intlayer_with_next-i18next.md +20 -4
- package/docs/zh/intlayer_with_nextjs_14.md +83 -29
- package/docs/zh/intlayer_with_nextjs_15.md +84 -18
- package/docs/zh/intlayer_with_nextjs_16.md +149 -91
- package/docs/zh/intlayer_with_nextjs_compiler.md +172 -144
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +21 -5
- package/docs/zh/intlayer_with_nextjs_page_router.md +71 -19
- package/docs/zh/intlayer_with_nuxt.md +5 -149
- package/docs/zh/intlayer_with_react_native+expo.md +55 -190
- package/docs/zh/intlayer_with_react_router_v7.md +21 -346
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -316
- package/docs/zh/intlayer_with_storybook.md +0 -240
- package/docs/zh/intlayer_with_svelte_kit.md +1 -517
- package/docs/zh/intlayer_with_tanstack+solid.md +1 -630
- package/docs/zh/intlayer_with_tanstack.md +1 -628
- package/docs/zh/intlayer_with_vanilla.md +0 -283
- package/docs/zh/intlayer_with_vite+lit.md +1 -395
- package/docs/zh/intlayer_with_vite+preact.md +1 -225
- package/docs/zh/intlayer_with_vite+react.md +2 -2
- package/docs/zh/intlayer_with_vite+react_compiler.md +1 -176
- package/docs/zh/intlayer_with_vite+solid.md +17 -306
- package/docs/zh/intlayer_with_vite+svelte.md +124 -82
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -426
- package/docs/zh/intlayer_with_vite+vue.md +115 -140
- package/docs/zh/mcp_server.md +26 -0
- package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
- package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
- package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
- package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
- package/docs/zh/packages/angular-intlayer/exports.md +13 -9
- package/docs/zh/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/intlayer/comparePaths.md +173 -0
- package/docs/zh/packages/intlayer/exports.md +18 -13
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/zh/packages/next-intlayer/exports.md +4 -0
- package/docs/zh/packages/next-intlayer/usePathname.md +136 -0
- package/docs/zh/packages/preact-intlayer/exports.md +10 -6
- package/docs/zh/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/zh/packages/react-intlayer/exports.md +5 -1
- package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
- package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/zh/packages/react-intlayer/usePathname.md +88 -0
- package/docs/zh/packages/solid-intlayer/exports.md +15 -11
- package/docs/zh/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/svelte-intlayer/exports.md +13 -9
- package/docs/zh/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/zh/packages/vue-intlayer/exports.md +14 -10
- package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/zh/releases/v6.md +28 -0
- package/docs/zh/releases/v7.md +128 -0
- package/docs/zh/releases/v8.md +190 -0
- package/docs/zh/releases/v9.md +37 -1
- package/docs/zh/roadmap.md +6 -0
- package/docs/zh/vs_code_extension.md +0 -7
- package/docs/zh-TW/intlayer_with_angular_21.md +20 -4
- package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
- package/frequent_questions/pt/translated_path_url.md +1 -1
- package/package.json +7 -7
- package/src/generated/docs.entry.ts +160 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: Documentation du Hook usePathname | next-intlayer
|
|
5
|
+
description: Découvrez comment utiliser le hook usePathname avec le package next-intlayer
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Internationalisation
|
|
12
|
+
- Documentation
|
|
13
|
+
- Next.js
|
|
14
|
+
- JavaScript
|
|
15
|
+
- React
|
|
16
|
+
slugs:
|
|
17
|
+
- doc
|
|
18
|
+
- packages
|
|
19
|
+
- next-intlayer
|
|
20
|
+
- usePathname
|
|
21
|
+
history:
|
|
22
|
+
- version: 10.0.0
|
|
23
|
+
date: 2026-06-23
|
|
24
|
+
changes: "Ajout de l'utilitaire usePathname"
|
|
25
|
+
- version: 8.2.0
|
|
26
|
+
date: 2026-06-22
|
|
27
|
+
changes: "Initialisation de l'historique"
|
|
28
|
+
author: aymericzip
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# Intégration Next.js : Documentation du Hook `usePathname`
|
|
32
|
+
|
|
33
|
+
Le hook `usePathname` retourne le chemin (pathname) actuel de Next.js en supprimant le segment de la locale. Il est utile pour créer une navigation adaptée à la locale — par exemple, déterminer quel élément de navigation est actif — sans avoir à retirer manuellement le préfixe de la locale.
|
|
34
|
+
|
|
35
|
+
## Importer `usePathname` dans Next.js
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { usePathname } from "next-intlayer";
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Aperçu
|
|
42
|
+
|
|
43
|
+
`usePathname` enveloppe le hook natif `usePathname()` de Next.js provenant de `next/navigation`, ajoute les paramètres de recherche (search params), et retire le préfixe de la locale via `getPathWithoutLocale`. Il se met à jour à chaque navigation côté client. Ce hook n'est disponible que dans les Composants Clients (Client Components, nécessite `"use client"`).
|
|
44
|
+
|
|
45
|
+
## Utilisation
|
|
46
|
+
|
|
47
|
+
```tsx fileName="src/components/NavItem.tsx" codeFormat={["typescript", "esm"]}
|
|
48
|
+
"use client";
|
|
49
|
+
|
|
50
|
+
import type { FC } from "react";
|
|
51
|
+
import { usePathname } from "next-intlayer";
|
|
52
|
+
|
|
53
|
+
type NavItemProps = {
|
|
54
|
+
href: string;
|
|
55
|
+
label: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const NavItem: FC<NavItemProps> = ({ href, label }) => {
|
|
59
|
+
const pathname = usePathname();
|
|
60
|
+
const isActive = pathname === href;
|
|
61
|
+
|
|
62
|
+
return (
|
|
63
|
+
<a href={href} aria-current={isActive ? "page" : undefined}>
|
|
64
|
+
{label}
|
|
65
|
+
</a>
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default NavItem;
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Valeur de retour
|
|
73
|
+
|
|
74
|
+
| Type | Description |
|
|
75
|
+
| -------- | --------------------------------------------------------------------------------------------------- |
|
|
76
|
+
| `string` | Le chemin actuel sans le préfixe de locale et les paramètres de recherche débarrassés de la locale. |
|
|
77
|
+
|
|
78
|
+
## Comportement
|
|
79
|
+
|
|
80
|
+
- **Suppression de la locale** : Retire le segment de locale initial (ex. `/fr/dashboard` → `/dashboard`).
|
|
81
|
+
- **Suppression des paramètres de recherche** : Retire également le paramètre de requête `?locale=...` lorsqu'un mode de routage basé sur les paramètres de recherche est utilisé.
|
|
82
|
+
- **Réactif** : Se met à jour à chaque navigation côté client via Next.js App Router.
|
|
83
|
+
- **Compatible SSR** : Retourne le chemin côté serveur lors du premier rendu, puis synchronise les paramètres de recherche côté client.
|
|
84
|
+
|
|
85
|
+
## Comparaison avec `useLocale`
|
|
86
|
+
|
|
87
|
+
`useLocale` de `next-intlayer` expose déjà `pathWithoutLocale` dans sa valeur de retour. Utilisez `usePathname` lorsque vous n'avez besoin que du chemin et non de la fonctionnalité de changement de locale.
|
|
88
|
+
|
|
89
|
+
```tsx codeFormat={["typescript", "esm"]}
|
|
90
|
+
// Lorsque vous avez besoin à la fois de l'état de la locale et du chemin :
|
|
91
|
+
import { useLocale } from "next-intlayer";
|
|
92
|
+
const { locale, pathWithoutLocale } = useLocale();
|
|
93
|
+
|
|
94
|
+
// Lorsque vous n'avez besoin que du chemin :
|
|
95
|
+
import { usePathname } from "next-intlayer";
|
|
96
|
+
const pathname = usePathname();
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Exemple
|
|
100
|
+
|
|
101
|
+
```tsx fileName="src/components/Sidebar.tsx" codeFormat={["typescript", "esm"]}
|
|
102
|
+
"use client";
|
|
103
|
+
|
|
104
|
+
import type { FC } from "react";
|
|
105
|
+
import { usePathname } from "next-intlayer";
|
|
106
|
+
|
|
107
|
+
const links = [
|
|
108
|
+
{ href: "/dashboard", label: "Tableau de bord" },
|
|
109
|
+
{ href: "/settings", label: "Paramètres" },
|
|
110
|
+
];
|
|
111
|
+
|
|
112
|
+
const Sidebar: FC = () => {
|
|
113
|
+
const pathname = usePathname();
|
|
114
|
+
|
|
115
|
+
return (
|
|
116
|
+
<nav>
|
|
117
|
+
{links.map(({ href, label }) => (
|
|
118
|
+
<a
|
|
119
|
+
key={href}
|
|
120
|
+
href={href}
|
|
121
|
+
style={{ fontWeight: pathname === href ? "bold" : "normal" }}
|
|
122
|
+
>
|
|
123
|
+
{label}
|
|
124
|
+
</a>
|
|
125
|
+
))}
|
|
126
|
+
</nav>
|
|
127
|
+
);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export default Sidebar;
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Liens connexes
|
|
134
|
+
|
|
135
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/next-intlayer/useLocale.md) — locale actuelle + sélecteur de locale (expose aussi `pathWithoutLocale`)
|
|
136
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPathWithoutLocale.md) — l'utilitaire sous-jacent utilisé par ce hook
|
|
@@ -23,14 +23,6 @@ Le hook `useRewriteURL` pour Next.js est un hook côté client qui gère automat
|
|
|
23
23
|
|
|
24
24
|
Ce hook fonctionne discrètement en utilisant `window.history.replaceState`, évitant des navigations redondantes via le routeur Next.js ou des rafraîchissements de page.
|
|
25
25
|
|
|
26
|
-
## Comment ça fonctionne
|
|
27
|
-
|
|
28
|
-
1. **Surveillance du chemin** : Le hook écoute les changements de la `locale` de l'utilisateur.
|
|
29
|
-
2. **Détection de réécriture** : Il compare le `window.location.pathname` actuel aux règles de réécriture dans votre configuration.
|
|
30
|
-
3. **Correction de l'URL** : Si un alias localisé plus lisible est trouvé pour le chemin courant, le hook déclenche un `window.history.replaceState` pour mettre à jour la barre d'adresse tout en maintenant l'utilisateur sur la même page interne.
|
|
31
|
-
|
|
32
|
-
## Pourquoi l'utiliser dans Next.js ?
|
|
33
|
-
|
|
34
26
|
## Utilisation
|
|
35
27
|
|
|
36
28
|
Appelez simplement le hook dans un Client Component qui fait partie de votre layout.
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- preact-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 10.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "Ajout de l'utilitaire usePathname"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "Documentation unifiée pour tous les exports"
|
|
@@ -40,12 +43,13 @@ npm install preact-intlayer
|
|
|
40
43
|
|
|
41
44
|
### Hooks
|
|
42
45
|
|
|
43
|
-
| Hook | Description | Doc associée
|
|
44
|
-
| --------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
45
|
-
| `useIntlayer` | Basé sur `useDictionary`, mais injecte une version optimisée du dictionnaire issue de la déclaration générée. | -
|
|
46
|
-
| `useDictionary` | Traite les objets qui ressemblent à des dictionnaires (clé, contenu). Il traite les traductions `t()`, les énumérations, etc. | -
|
|
47
|
-
| `useLocale` | Renvoie la locale actuelle et une fonction pour la définir. | -
|
|
48
|
-
| `
|
|
46
|
+
| Hook | Description | Doc associée |
|
|
47
|
+
| --------------- | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
48
|
+
| `useIntlayer` | Basé sur `useDictionary`, mais injecte une version optimisée du dictionnaire issue de la déclaration générée. | - |
|
|
49
|
+
| `useDictionary` | Traite les objets qui ressemblent à des dictionnaires (clé, contenu). Il traite les traductions `t()`, les énumérations, etc. | - |
|
|
50
|
+
| `useLocale` | Renvoie la locale actuelle et une fonction pour la définir. | - |
|
|
51
|
+
| `usePathname` | Hook qui retourne le chemin actuel avec le segment de locale retiré. Réactif à la navigation du navigateur via `popstate`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/preact-intlayer/usePathname.md) |
|
|
52
|
+
| `t` | Sélectionne le contenu en fonction de la locale courante. | [traduction](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/dictionary/translation.md) |
|
|
49
53
|
|
|
50
54
|
### Composants
|
|
51
55
|
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: Documentation du Hook usePathname | preact-intlayer
|
|
5
|
+
description: Découvrez comment utiliser le hook usePathname avec le package preact-intlayer
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Internationalisation
|
|
12
|
+
- Documentation
|
|
13
|
+
- Preact
|
|
14
|
+
- JavaScript
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- packages
|
|
18
|
+
- preact-intlayer
|
|
19
|
+
- usePathname
|
|
20
|
+
history:
|
|
21
|
+
- version: 10.0.0
|
|
22
|
+
date: 2026-06-23
|
|
23
|
+
changes: "Ajout de l'utilitaire usePathname"
|
|
24
|
+
- version: 8.2.0
|
|
25
|
+
date: 2026-06-22
|
|
26
|
+
changes: "Initialisation de l'historique"
|
|
27
|
+
author: aymericzip
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Intégration Preact : Documentation du Hook `usePathname`
|
|
31
|
+
|
|
32
|
+
Le hook `usePathname` retourne le chemin actuel du navigateur en supprimant le segment de la locale. Il est utile pour créer une navigation adaptée à la locale — par exemple, pour déterminer quel élément de navigation est actif — sans avoir à supprimer manuellement le préfixe de la locale.
|
|
33
|
+
|
|
34
|
+
## Importer `usePathname` dans Preact
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { usePathname } from "preact-intlayer";
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Aperçu
|
|
41
|
+
|
|
42
|
+
`usePathname` lit `window.location.pathname`, retire le préfixe de la locale via `getPathWithoutLocale`, et déclenche un nouveau rendu du composant chaque fois que le navigateur émet un événement `popstate` (navigation via les boutons Précédent/Suivant). Il retourne une chaîne vide pendant le rendu côté serveur (SSR).
|
|
43
|
+
|
|
44
|
+
## Utilisation
|
|
45
|
+
|
|
46
|
+
```tsx fileName="src/components/NavItem.tsx"
|
|
47
|
+
import type { FunctionComponent } from "preact";
|
|
48
|
+
import { usePathname } from "preact-intlayer";
|
|
49
|
+
|
|
50
|
+
type NavItemProps = {
|
|
51
|
+
href: string;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const NavItem: FunctionComponent<NavItemProps> = ({ href, label }) => {
|
|
56
|
+
const pathname = usePathname();
|
|
57
|
+
const isActive = pathname === href;
|
|
58
|
+
|
|
59
|
+
return (
|
|
60
|
+
<a href={href} aria-current={isActive ? "page" : undefined}>
|
|
61
|
+
{label}
|
|
62
|
+
</a>
|
|
63
|
+
);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export default NavItem;
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Valeur de Retour
|
|
70
|
+
|
|
71
|
+
| Type | Description |
|
|
72
|
+
| -------- | -------------------------------------------------------------------------------------- |
|
|
73
|
+
| `string` | Le chemin actuel sans le préfixe de la locale. Chaîne vide lors du rendu côté serveur. |
|
|
74
|
+
|
|
75
|
+
## Comportement
|
|
76
|
+
|
|
77
|
+
- **Suppression de la locale** : Retire le segment de locale au début de l'URL (ex. `/fr/dashboard` → `/dashboard`).
|
|
78
|
+
- **Réactif** : Se met à jour automatiquement lors des événements `popstate` (navigation Précédent / Suivant du navigateur).
|
|
79
|
+
- **Compatible SSR** : Retourne `""` lorsque `window` n'est pas disponible.
|
|
80
|
+
- **Nettoyage** : L'écouteur `popstate` est supprimé automatiquement lors du démontage du composant.
|
|
81
|
+
|
|
82
|
+
## Exemple
|
|
83
|
+
|
|
84
|
+
```tsx fileName="src/components/Sidebar.tsx"
|
|
85
|
+
import type { FunctionComponent } from "preact";
|
|
86
|
+
import { usePathname } from "preact-intlayer";
|
|
87
|
+
|
|
88
|
+
const links = [
|
|
89
|
+
{ href: "/dashboard", label: "Tableau de bord" },
|
|
90
|
+
{ href: "/settings", label: "Paramètres" },
|
|
91
|
+
];
|
|
92
|
+
|
|
93
|
+
const Sidebar: FunctionComponent = () => {
|
|
94
|
+
const pathname = usePathname();
|
|
95
|
+
|
|
96
|
+
return (
|
|
97
|
+
<nav>
|
|
98
|
+
{links.map(({ href, label }) => (
|
|
99
|
+
<a
|
|
100
|
+
key={href}
|
|
101
|
+
href={href}
|
|
102
|
+
style={{ fontWeight: pathname === href ? "bold" : "normal" }}
|
|
103
|
+
>
|
|
104
|
+
{label}
|
|
105
|
+
</a>
|
|
106
|
+
))}
|
|
107
|
+
</nav>
|
|
108
|
+
);
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export default Sidebar;
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Ressources associées
|
|
115
|
+
|
|
116
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/preact-intlayer/exports.md) — locale actuelle + sélecteur de locale
|
|
117
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPathWithoutLocale.md) — l'utilitaire sous-jacent employé par ce hook
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- react-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 10.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "Ajout de l'utilitaire usePathname"
|
|
17
20
|
- version: 7.5.14
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "Documentation unifiée pour tous les exports"
|
|
@@ -64,6 +67,7 @@ import "react-intlayer";
|
|
|
64
67
|
| `useDictionaryDynamic` | Hook qui gère des dictionnaires dynamiques chargés par clé. Utilise React Suspense en interne pour gérer les états de chargement. | - |
|
|
65
68
|
| `useLocale` | Hook côté client pour obtenir la locale courante, la locale par défaut, les locales disponibles, et une fonction pour mettre à jour la locale. | [useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/react-intlayer/useLocale.md) |
|
|
66
69
|
| `useLocaleBase` | Hook pour obtenir la locale actuelle et tous les champs associés (locale, defaultLocale, availableLocales, setLocale) depuis le contexte. | - |
|
|
70
|
+
| `usePathname` | Hook qui renvoie le chemin actuel (pathname) avec le segment de locale supprimé. Réactif à la navigation du navigateur via `popstate`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/react-intlayer/usePathname.md) |
|
|
67
71
|
| `useRewriteURL` | Hook côté client pour gérer les réécritures d'URL. Si une règle de réécriture existe pour le pathname et la locale actuels, elle mettra à jour l'URL. | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/react-intlayer/useRewriteURL.md) |
|
|
68
72
|
| `useI18n` | Hook qui fournit une fonction de traduction `t()` pour accéder au contenu imbriqué par clé. Imite le pattern i18next/next-intl. | [useI18n](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/react-intlayer/useI18n.md) |
|
|
69
73
|
| `useIntl` | Hook qui fournit un objet `Intl` lié à la locale. Injecte automatiquement la locale courante et utilise un cache optimisé. | - |
|
|
@@ -1,176 +1,60 @@
|
|
|
1
1
|
---
|
|
2
|
-
createdAt:
|
|
3
|
-
updatedAt:
|
|
4
|
-
title: Hook useDictionary -
|
|
5
|
-
description:
|
|
2
|
+
createdAt: 2026-01-21
|
|
3
|
+
updatedAt: 2026-01-21
|
|
4
|
+
title: Documentation du Hook useDictionary | react-intlayer
|
|
5
|
+
description: Découvrez comment utiliser le hook useDictionary pour le package react-intlayer
|
|
6
6
|
keywords:
|
|
7
7
|
- useDictionary
|
|
8
|
-
-
|
|
9
|
-
-
|
|
8
|
+
- dictionary
|
|
9
|
+
- Intlayer
|
|
10
10
|
- intlayer
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
- dictionnaire
|
|
14
|
-
- traduction
|
|
11
|
+
- Internationalisation
|
|
12
|
+
- Documentation
|
|
15
13
|
slugs:
|
|
16
14
|
- doc
|
|
17
15
|
- packages
|
|
18
16
|
- react-intlayer
|
|
19
17
|
- useDictionary
|
|
20
18
|
history:
|
|
21
|
-
- version:
|
|
22
|
-
date:
|
|
23
|
-
changes: "
|
|
19
|
+
- version: 7.5.14
|
|
20
|
+
date: 2026-01-21
|
|
21
|
+
changes: "Documentation unifiée pour tous les exports"
|
|
24
22
|
author: aymericzip
|
|
25
23
|
---
|
|
26
24
|
|
|
27
|
-
#
|
|
25
|
+
# Documentation du Hook useDictionary
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
Le hook `useDictionary` vous permet de traiter un objet qui ressemble à un dictionnaire (contenant des clés et du contenu) et de gérer les traductions, énumérations, etc., en son sein. Contrairement à `useIntlayer`, qui est conçu pour fonctionner avec les déclarations de dictionnaire générées, `useDictionary` est plus flexible et peut être utilisé avec n'importe quel objet qui suit la structure d'un dictionnaire.
|
|
30
28
|
|
|
31
|
-
##
|
|
29
|
+
## Utilisation
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- **Composant Client :**
|
|
36
|
-
|
|
37
|
-
```typescript codeFormat="typescript"
|
|
38
|
-
import { useDictionary } from "react-intlayer"; // Utilisé dans les composants React côté client
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
```javascript codeFormat="esm"
|
|
42
|
-
import { useDictionary } from "react-intlayer"; // Utilisé dans les composants React côté client
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
```javascript codeFormat="commonjs"
|
|
46
|
-
const { useDictionary } = require("react-intlayer"); // Utilisé dans les composants React côté client
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
- **Composant Serveur :**
|
|
50
|
-
|
|
51
|
-
```typescript codeFormat="typescript"
|
|
52
|
-
import { useDictionary } from "react-intlayer/server"; // Utilisé dans les composants React côté serveur
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
```javascript codeFormat="esm"
|
|
56
|
-
import { useDictionary } from "react-intlayer/server"; // Utilisé dans les composants React côté serveur
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
```javascript codeFormat="commonjs"
|
|
60
|
-
const { useDictionary } = require("react-intlayer/server"); // Utilisé dans les composants React côté serveur
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Paramètres
|
|
64
|
-
|
|
65
|
-
Le hook accepte deux paramètres :
|
|
66
|
-
|
|
67
|
-
1. **`dictionary`** : Un objet dictionnaire déclaré contenant le contenu localisé pour des clés spécifiques.
|
|
68
|
-
2. **`locale`** (optionnel) : La locale souhaitée. Par défaut, la locale du contexte actuel est utilisée si elle n'est pas spécifiée.
|
|
69
|
-
|
|
70
|
-
## Dictionnaire
|
|
71
|
-
|
|
72
|
-
Tous les objets dictionnaires doivent être déclarés dans des fichiers de contenu structurés afin d'assurer la sécurité des types et d'éviter les erreurs d'exécution. Vous pouvez trouver les [instructions d'installation ici](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/dictionary/content_file.md). Voici un exemple de déclaration de contenu :
|
|
73
|
-
|
|
74
|
-
```typescript fileName="./component.content.ts" contentDeclarationFormat={["typescript", "esm", "commonjs"]}
|
|
75
|
-
import { t, type Dictionary } from "intlayer";
|
|
76
|
-
|
|
77
|
-
const componentContent = {
|
|
78
|
-
key: "component-example",
|
|
79
|
-
content: {
|
|
80
|
-
title: t({
|
|
81
|
-
en: "Client Component Example",
|
|
82
|
-
fr: "Exemple de composant client",
|
|
83
|
-
es: "Ejemplo de componente cliente",
|
|
84
|
-
}),
|
|
85
|
-
content: t({
|
|
86
|
-
en: "This is the content of a client component example",
|
|
87
|
-
fr: "Ceci est le contenu d'un exemple de composant client",
|
|
88
|
-
es: "Este es el contenido de un ejemplo de componente cliente",
|
|
89
|
-
}),
|
|
90
|
-
},
|
|
91
|
-
} satisfies Dictionary;
|
|
92
|
-
|
|
93
|
-
export default componentContent;
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
```json fileName="./component.content.json" contentDeclarationFormat="json"
|
|
97
|
-
{
|
|
98
|
-
"$schema": "https://intlayer.org/schema.json",
|
|
99
|
-
"key": "component-example",
|
|
100
|
-
"content": {
|
|
101
|
-
"title": {
|
|
102
|
-
"nodeType": "translation",
|
|
103
|
-
"translation": {
|
|
104
|
-
"en": "Client Component Example",
|
|
105
|
-
"fr": "Exemple de composant client",
|
|
106
|
-
"es": "Ejemplo de componente cliente"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"content": {
|
|
110
|
-
"nodeType": "translation",
|
|
111
|
-
"translation": {
|
|
112
|
-
"en": "This is the content of a client component example",
|
|
113
|
-
"fr": "Ceci est le contenu d'un exemple de composant client",
|
|
114
|
-
"es": "Este es el contenido de un ejemplo de componente cliente"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## Exemple d'utilisation dans React
|
|
122
|
-
|
|
123
|
-
Voici un exemple de la façon d'utiliser le hook `useDictionary` dans un composant React :
|
|
124
|
-
|
|
125
|
-
```tsx fileName="./ComponentExample.tsx" codeFormat={["typescript", "esm"]}
|
|
126
|
-
import type { FC } from "react";
|
|
31
|
+
```tsx
|
|
127
32
|
import { useDictionary } from "react-intlayer";
|
|
128
|
-
import
|
|
129
|
-
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
};
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Intégration Serveur
|
|
143
|
-
|
|
144
|
-
Si vous utilisez le hook `useDictionary` en dehors du `IntlayerProvider`, la locale doit être explicitement fournie en paramètre lors du rendu du composant :
|
|
145
|
-
|
|
146
|
-
```tsx fileName="./ServerComponentExample.tsx" codeFormat={["typescript", "esm"]}
|
|
147
|
-
import type { FC } from "react";
|
|
148
|
-
import { useDictionary } from "react-intlayer/server";
|
|
149
|
-
import clientComponentExampleContent from "./component.content";
|
|
150
|
-
|
|
151
|
-
const ServerComponentExample: FC<{ locale: string }> = ({ locale }) => {
|
|
152
|
-
const { content } = useDictionary(clientComponentExampleContent, locale);
|
|
33
|
+
import { t } from "intlayer";
|
|
34
|
+
|
|
35
|
+
const MyComponent = () => {
|
|
36
|
+
const content = useDictionary({
|
|
37
|
+
key: "my_key",
|
|
38
|
+
content: {
|
|
39
|
+
myTranslation: t({
|
|
40
|
+
en: "Hello",
|
|
41
|
+
fr: "Bonjour",
|
|
42
|
+
}),
|
|
43
|
+
},
|
|
44
|
+
});
|
|
153
45
|
|
|
154
46
|
return (
|
|
155
47
|
<div>
|
|
156
|
-
<
|
|
157
|
-
<p>{content.content}</p>
|
|
48
|
+
<p>{content.myTranslation}</p>
|
|
158
49
|
</div>
|
|
159
50
|
);
|
|
160
51
|
};
|
|
161
52
|
```
|
|
162
53
|
|
|
163
|
-
##
|
|
164
|
-
|
|
165
|
-
Contrairement aux intégrations utilisant des éditeurs visuels, les attributs comme `buttonTitle.value` ne s'appliquent pas ici. Accédez directement aux chaînes localisées telles que déclarées dans votre contenu.
|
|
166
|
-
|
|
167
|
-
```jsx
|
|
168
|
-
<button title={content.title}>{content.content}</button>
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
## Conseils supplémentaires
|
|
54
|
+
## Description
|
|
172
55
|
|
|
173
|
-
|
|
174
|
-
- **Mises à jour de la localisation** : Lors de la mise à jour du contenu, assurez-vous que toutes les locales sont cohérentes pour éviter les traductions manquantes.
|
|
56
|
+
Le hook effectue les tâches suivantes :
|
|
175
57
|
|
|
176
|
-
|
|
58
|
+
1. **Détection de la locale** : Il utilise la locale actuelle du contexte `IntlayerProvider`.
|
|
59
|
+
2. **Traitement de la traduction** : il résout le contenu en fonction de la locale détectée, en traitant toutes les définitions `t()`, `enu()`, etc., trouvées dans l'objet.
|
|
60
|
+
3. **Contenu flexible** : Il fonctionne directement avec l'objet qui lui est passé, ce qui le rend idéal pour du contenu dynamique ou des objets qui ne font pas partie des dictionnaires standard pré-compilés.
|
|
@@ -29,49 +29,6 @@ author: aymericzip
|
|
|
29
29
|
|
|
30
30
|
Cette section fournit des instructions détaillées sur l'utilisation du hook `useIntlayer` dans les applications React, permettant une localisation efficace du contenu.
|
|
31
31
|
|
|
32
|
-
## Importer `useIntlayer` dans React
|
|
33
|
-
|
|
34
|
-
Le hook `useIntlayer` peut être intégré dans les applications React en l'important selon le contexte :
|
|
35
|
-
|
|
36
|
-
- **Composant Client :**
|
|
37
|
-
|
|
38
|
-
```typescript codeFormat="typescript"
|
|
39
|
-
import { useIntlayer } from "react-intlayer"; // Utilisé dans les composants React côté client
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
```javascript codeFormat="esm"
|
|
43
|
-
import { useIntlayer } from "react-intlayer"; // Utilisé dans les composants React côté client
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
```javascript codeFormat="commonjs"
|
|
47
|
-
const { useIntlayer } = require("react-intlayer"); // Utilisé dans les composants React côté client
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
- **Composant Serveur :**
|
|
51
|
-
|
|
52
|
-
```typescript codeFormat="commonjs"
|
|
53
|
-
import { useIntlayer } from "react-intlayer/server"; // Utilisé dans les composants React côté serveur
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
```javascript codeFormat="esm"
|
|
57
|
-
import { useIntlayer } from "react.intlayer/server"; // Utilisé dans les composants React côté serveur
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
```javascript codeFormat="commonjs"
|
|
61
|
-
const { useIntlayer } = require("react-intlayer/server"); // Utilisé dans les composants React côté serveur
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Paramètres
|
|
65
|
-
|
|
66
|
-
Le hook accepte deux paramètres :
|
|
67
|
-
|
|
68
|
-
1. **`key`** : La clé du dictionnaire pour récupérer le contenu localisé.
|
|
69
|
-
2. **`locale`** (optionnel) : La locale souhaitée. Par défaut, la locale du contexte est utilisée si elle n'est pas spécifiée.
|
|
70
|
-
|
|
71
|
-
## Dictionnaire
|
|
72
|
-
|
|
73
|
-
Toutes les clés du dictionnaire doivent être déclarées dans des fichiers de déclaration de contenu afin d'améliorer la sécurité des types et d'éviter les erreurs. Vous pouvez trouver les [instructions d'installation ici](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/dictionary/content_file.md).
|
|
74
|
-
|
|
75
32
|
## Exemple d'utilisation dans React
|
|
76
33
|
|
|
77
34
|
Démonstration du hook `useIntlayer` dans un composant React :
|
|
@@ -131,14 +88,6 @@ const ServerComponentExample = () => {
|
|
|
131
88
|
};
|
|
132
89
|
```
|
|
133
90
|
|
|
134
|
-
## Gestion des attributs
|
|
135
|
-
|
|
136
|
-
Lors de la localisation des attributs, accédez aux valeurs du contenu de manière appropriée :
|
|
137
|
-
|
|
138
|
-
```jsx
|
|
139
|
-
<button title={content.buttonTitle.value}>{content.buttonText}</button>
|
|
140
|
-
```
|
|
141
|
-
|
|
142
91
|
## Ressources supplémentaires
|
|
143
92
|
|
|
144
93
|
- **Éditeur visuel Intlayer** : Pour une expérience de gestion de contenu plus intuitive, consultez la documentation de l'éditeur visuel [ici](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/intlayer_visual_editor.md).
|