@intlayer/docs 9.0.0-canary.3 → 9.0.0-canary.4
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 +20 -4
- package/blog/ar/intlayer_with_next-i18next.md +20 -4
- package/blog/ar/intlayer_with_next-intl.md +20 -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/de/intlayer_with_i18next.md +30 -6
- package/blog/de/intlayer_with_next-i18next.md +30 -6
- package/blog/de/intlayer_with_next-intl.md +33 -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/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 +20 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +20 -4
- package/blog/en-GB/intlayer_with_next-intl.md +20 -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/es/intlayer_with_i18next.md +20 -4
- package/blog/es/intlayer_with_next-i18next.md +20 -4
- package/blog/es/intlayer_with_next-intl.md +20 -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/fr/intlayer_with_i18next.md +20 -4
- package/blog/fr/intlayer_with_next-i18next.md +20 -4
- package/blog/fr/intlayer_with_next-intl.md +20 -4
- package/blog/fr/intlayer_with_react-i18next.md +20 -4
- package/blog/fr/intlayer_with_react-intl.md +20 -4
- package/blog/fr/intlayer_with_vue-i18n.md +20 -4
- package/blog/hi/intlayer_with_i18next.md +20 -4
- package/blog/hi/intlayer_with_next-i18next.md +20 -4
- package/blog/hi/intlayer_with_next-intl.md +20 -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/id/intlayer_with_i18next.md +20 -4
- package/blog/id/intlayer_with_next-i18next.md +20 -4
- package/blog/id/intlayer_with_next-intl.md +20 -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/it/intlayer_with_i18next.md +33 -7
- package/blog/it/intlayer_with_next-i18next.md +33 -7
- package/blog/it/intlayer_with_next-intl.md +33 -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/ja/intlayer_with_i18next.md +20 -4
- package/blog/ja/intlayer_with_next-i18next.md +20 -4
- package/blog/ja/intlayer_with_next-intl.md +20 -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/ko/intlayer_with_i18next.md +33 -7
- package/blog/ko/intlayer_with_next-i18next.md +33 -7
- package/blog/ko/intlayer_with_next-intl.md +33 -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/pl/intlayer_with_i18next.md +20 -4
- package/blog/pl/intlayer_with_next-i18next.md +20 -4
- package/blog/pl/intlayer_with_next-intl.md +20 -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/pt/intlayer_with_i18next.md +33 -7
- package/blog/pt/intlayer_with_next-i18next.md +33 -7
- package/blog/pt/intlayer_with_next-intl.md +33 -7
- package/blog/pt/intlayer_with_react-i18next.md +33 -7
- package/blog/pt/intlayer_with_react-intl.md +33 -7
- package/blog/pt/intlayer_with_vue-i18n.md +33 -7
- package/blog/ru/intlayer_with_i18next.md +20 -4
- package/blog/ru/intlayer_with_next-i18next.md +20 -4
- package/blog/ru/intlayer_with_next-intl.md +20 -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/tr/intlayer_with_i18next.md +20 -4
- package/blog/tr/intlayer_with_next-i18next.md +20 -4
- package/blog/tr/intlayer_with_next-intl.md +20 -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/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/vi/intlayer_with_i18next.md +20 -4
- package/blog/vi/intlayer_with_next-i18next.md +20 -4
- package/blog/vi/intlayer_with_next-intl.md +20 -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/zh/intlayer_with_i18next.md +20 -4
- package/blog/zh/intlayer_with_next-i18next.md +20 -4
- package/blog/zh/intlayer_with_next-intl.md +20 -4
- package/blog/zh/intlayer_with_react-i18next.md +20 -4
- package/blog/zh/intlayer_with_react-intl.md +20 -4
- package/blog/zh/intlayer_with_vue-i18n.md +20 -4
- 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/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_lit.md +20 -8
- package/docs/ar/intlayer_with_astro_preact.md +20 -8
- package/docs/ar/intlayer_with_astro_react.md +20 -8
- package/docs/ar/intlayer_with_astro_solid.md +20 -8
- package/docs/ar/intlayer_with_astro_svelte.md +20 -8
- package/docs/ar/intlayer_with_astro_vanilla.md +20 -8
- package/docs/ar/intlayer_with_astro_vue.md +20 -8
- package/docs/ar/intlayer_with_create_react_app.md +20 -4
- package/docs/ar/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/ar/intlayer_with_next-i18next.md +20 -4
- package/docs/ar/intlayer_with_nextjs_14.md +20 -4
- package/docs/ar/intlayer_with_nextjs_15.md +20 -4
- package/docs/ar/intlayer_with_nextjs_16.md +20 -4
- package/docs/ar/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/ar/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/ar/intlayer_with_nuxt.md +25 -7
- package/docs/ar/intlayer_with_react_native+expo.md +20 -4
- package/docs/ar/intlayer_with_react_router_v7.md +20 -4
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +20 -4
- package/docs/ar/intlayer_with_svelte_kit.md +40 -8
- package/docs/ar/intlayer_with_tanstack+solid.md +20 -4
- package/docs/ar/intlayer_with_tanstack.md +20 -4
- package/docs/ar/intlayer_with_vite+lit.md +20 -4
- package/docs/ar/intlayer_with_vite+preact.md +20 -4
- package/docs/ar/intlayer_with_vite+react.md +20 -4
- package/docs/ar/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/ar/intlayer_with_vite+solid.md +20 -4
- package/docs/ar/intlayer_with_vite+svelte.md +20 -4
- package/docs/ar/intlayer_with_vite+vanilla.md +20 -4
- package/docs/ar/intlayer_with_vite+vue.md +20 -4
- 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/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/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/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/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_lit.md +20 -8
- package/docs/de/intlayer_with_astro_preact.md +20 -8
- package/docs/de/intlayer_with_astro_react.md +20 -8
- package/docs/de/intlayer_with_astro_solid.md +20 -8
- package/docs/de/intlayer_with_astro_svelte.md +20 -8
- package/docs/de/intlayer_with_astro_vanilla.md +20 -8
- package/docs/de/intlayer_with_astro_vue.md +20 -8
- package/docs/de/intlayer_with_create_react_app.md +20 -4
- package/docs/de/intlayer_with_express.md +20 -4
- 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 +20 -4
- package/docs/de/intlayer_with_nestjs.md +20 -4
- package/docs/de/intlayer_with_next-i18next.md +20 -4
- package/docs/de/intlayer_with_nextjs_14.md +20 -4
- package/docs/de/intlayer_with_nextjs_15.md +20 -4
- package/docs/de/intlayer_with_nextjs_16.md +20 -4
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/de/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/de/intlayer_with_nuxt.md +25 -7
- package/docs/de/intlayer_with_react_router_v7.md +20 -4
- package/docs/de/intlayer_with_svelte_kit.md +40 -8
- package/docs/de/intlayer_with_tanstack+solid.md +20 -4
- package/docs/de/intlayer_with_tanstack.md +20 -4
- package/docs/de/intlayer_with_vite+lit.md +20 -4
- package/docs/de/intlayer_with_vite+preact.md +20 -4
- package/docs/de/intlayer_with_vite+react.md +20 -4
- package/docs/de/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/de/intlayer_with_vite+solid.md +20 -4
- package/docs/de/intlayer_with_vite+vanilla.md +20 -4
- package/docs/de/intlayer_with_vite+vue.md +20 -4
- 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/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/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/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 +20 -8
- package/docs/en/intlayer_with_astro_lit.md +20 -8
- package/docs/en/intlayer_with_astro_preact.md +20 -8
- package/docs/en/intlayer_with_astro_react.md +20 -8
- package/docs/en/intlayer_with_astro_solid.md +20 -8
- package/docs/en/intlayer_with_astro_svelte.md +20 -8
- package/docs/en/intlayer_with_astro_vanilla.md +20 -8
- package/docs/en/intlayer_with_astro_vue.md +20 -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 +20 -4
- package/docs/en/intlayer_with_nextjs_15.md +20 -4
- package/docs/en/intlayer_with_nextjs_16.md +20 -4
- package/docs/en/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/en/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/en/intlayer_with_nuxt.md +25 -7
- package/docs/en/intlayer_with_react_native+expo.md +20 -4
- package/docs/en/intlayer_with_react_router_v7.md +20 -4
- package/docs/en/intlayer_with_svelte_kit.md +20 -4
- package/docs/en/intlayer_with_tanstack+solid.md +20 -4
- package/docs/en/intlayer_with_tanstack.md +20 -4
- package/docs/en/intlayer_with_vite+lit.md +20 -4
- package/docs/en/intlayer_with_vite+preact.md +20 -4
- package/docs/en/intlayer_with_vite+react.md +20 -4
- package/docs/en/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/en/intlayer_with_vite+solid.md +20 -4
- package/docs/en/intlayer_with_vite+svelte.md +20 -4
- package/docs/en/intlayer_with_vite+vanilla.md +20 -4
- package/docs/en/intlayer_with_vite+vue.md +20 -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-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_lit.md +20 -8
- package/docs/en-GB/intlayer_with_astro_preact.md +20 -8
- package/docs/en-GB/intlayer_with_astro_react.md +20 -8
- package/docs/en-GB/intlayer_with_astro_solid.md +20 -8
- package/docs/en-GB/intlayer_with_astro_svelte.md +20 -8
- package/docs/en-GB/intlayer_with_astro_vanilla.md +20 -8
- package/docs/en-GB/intlayer_with_astro_vue.md +20 -8
- package/docs/en-GB/intlayer_with_create_react_app.md +40 -8
- package/docs/en-GB/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/en-GB/intlayer_with_next-i18next.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_15.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_16.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/en-GB/intlayer_with_nuxt.md +25 -7
- package/docs/en-GB/intlayer_with_react_native+expo.md +40 -8
- package/docs/en-GB/intlayer_with_react_router_v7.md +20 -4
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +20 -4
- package/docs/en-GB/intlayer_with_svelte_kit.md +40 -8
- package/docs/en-GB/intlayer_with_tanstack+solid.md +20 -4
- package/docs/en-GB/intlayer_with_tanstack.md +20 -4
- package/docs/en-GB/intlayer_with_vite+lit.md +20 -4
- package/docs/en-GB/intlayer_with_vite+preact.md +20 -4
- package/docs/en-GB/intlayer_with_vite+react.md +20 -4
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/en-GB/intlayer_with_vite+solid.md +20 -4
- package/docs/en-GB/intlayer_with_vite+svelte.md +20 -4
- package/docs/en-GB/intlayer_with_vite+vanilla.md +20 -4
- package/docs/en-GB/intlayer_with_vite+vue.md +20 -4
- 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/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/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/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_lit.md +20 -8
- package/docs/es/intlayer_with_astro_preact.md +20 -8
- package/docs/es/intlayer_with_astro_react.md +20 -8
- package/docs/es/intlayer_with_astro_solid.md +20 -8
- package/docs/es/intlayer_with_astro_svelte.md +20 -8
- package/docs/es/intlayer_with_astro_vanilla.md +20 -8
- package/docs/es/intlayer_with_astro_vue.md +20 -8
- package/docs/es/intlayer_with_create_react_app.md +20 -4
- package/docs/es/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/es/intlayer_with_next-i18next.md +20 -4
- package/docs/es/intlayer_with_nextjs_14.md +20 -4
- package/docs/es/intlayer_with_nextjs_15.md +20 -4
- package/docs/es/intlayer_with_nextjs_16.md +20 -4
- package/docs/es/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/es/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/es/intlayer_with_nuxt.md +25 -7
- package/docs/es/intlayer_with_react_native+expo.md +20 -4
- package/docs/es/intlayer_with_react_router_v7.md +20 -4
- package/docs/es/intlayer_with_svelte_kit.md +40 -8
- package/docs/es/intlayer_with_tanstack+solid.md +20 -4
- package/docs/es/intlayer_with_tanstack.md +20 -4
- package/docs/es/intlayer_with_vite+lit.md +20 -4
- package/docs/es/intlayer_with_vite+preact.md +20 -4
- package/docs/es/intlayer_with_vite+react.md +20 -4
- package/docs/es/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/es/intlayer_with_vite+solid.md +20 -4
- package/docs/es/intlayer_with_vite+svelte.md +20 -4
- package/docs/es/intlayer_with_vite+vanilla.md +20 -4
- package/docs/es/intlayer_with_vite+vue.md +20 -4
- 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/intlayer/comparePaths.md +173 -0
- package/docs/es/packages/intlayer/exports.md +18 -13
- 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/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/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_lit.md +20 -8
- package/docs/fr/intlayer_with_astro_preact.md +20 -8
- package/docs/fr/intlayer_with_astro_react.md +20 -8
- package/docs/fr/intlayer_with_astro_solid.md +20 -8
- package/docs/fr/intlayer_with_astro_svelte.md +20 -8
- package/docs/fr/intlayer_with_astro_vanilla.md +20 -8
- package/docs/fr/intlayer_with_astro_vue.md +20 -8
- package/docs/fr/intlayer_with_create_react_app.md +20 -4
- package/docs/fr/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/fr/intlayer_with_next-i18next.md +20 -4
- package/docs/fr/intlayer_with_nextjs_14.md +20 -4
- package/docs/fr/intlayer_with_nextjs_15.md +20 -4
- package/docs/fr/intlayer_with_nextjs_16.md +20 -4
- package/docs/fr/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/fr/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/fr/intlayer_with_nuxt.md +20 -4
- package/docs/fr/intlayer_with_react_router_v7.md +20 -4
- package/docs/fr/intlayer_with_svelte_kit.md +40 -8
- package/docs/fr/intlayer_with_tanstack+solid.md +20 -4
- package/docs/fr/intlayer_with_tanstack.md +20 -4
- package/docs/fr/intlayer_with_vite+lit.md +20 -4
- package/docs/fr/intlayer_with_vite+preact.md +20 -4
- package/docs/fr/intlayer_with_vite+react.md +20 -4
- package/docs/fr/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/fr/intlayer_with_vite+solid.md +20 -4
- package/docs/fr/intlayer_with_vite+svelte.md +20 -4
- package/docs/fr/intlayer_with_vite+vanilla.md +20 -4
- package/docs/fr/intlayer_with_vite+vue.md +20 -4
- 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/intlayer/comparePaths.md +173 -0
- package/docs/fr/packages/intlayer/exports.md +18 -13
- package/docs/fr/packages/next-intlayer/exports.md +4 -0
- package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
- 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/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/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_vue.md +20 -8
- package/docs/hi/intlayer_with_create_react_app.md +20 -4
- package/docs/hi/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/hi/intlayer_with_next-i18next.md +20 -4
- package/docs/hi/intlayer_with_nextjs_14.md +20 -4
- package/docs/hi/intlayer_with_nextjs_15.md +20 -4
- package/docs/hi/intlayer_with_nextjs_16.md +20 -4
- package/docs/hi/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/hi/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/hi/intlayer_with_nuxt.md +20 -4
- package/docs/hi/intlayer_with_react_router_v7.md +20 -4
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +20 -4
- package/docs/hi/intlayer_with_svelte_kit.md +40 -8
- package/docs/hi/intlayer_with_tanstack+solid.md +20 -4
- package/docs/hi/intlayer_with_tanstack.md +20 -4
- package/docs/hi/intlayer_with_vite+lit.md +20 -4
- package/docs/hi/intlayer_with_vite+preact.md +20 -4
- package/docs/hi/intlayer_with_vite+react.md +20 -4
- package/docs/hi/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/hi/intlayer_with_vite+solid.md +20 -4
- package/docs/hi/intlayer_with_vite+svelte.md +20 -4
- package/docs/hi/intlayer_with_vite+vanilla.md +20 -4
- package/docs/hi/intlayer_with_vite+vue.md +20 -4
- 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/index.md +20 -4
- package/docs/hi/packages/next-intlayer/exports.md +4 -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/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/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_lit.md +20 -8
- package/docs/id/intlayer_with_astro_preact.md +20 -8
- package/docs/id/intlayer_with_astro_react.md +20 -8
- package/docs/id/intlayer_with_astro_solid.md +20 -8
- package/docs/id/intlayer_with_astro_svelte.md +20 -8
- package/docs/id/intlayer_with_astro_vanilla.md +20 -8
- package/docs/id/intlayer_with_astro_vue.md +20 -8
- 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 +20 -4
- package/docs/id/intlayer_with_nextjs_15.md +20 -4
- package/docs/id/intlayer_with_nextjs_16.md +20 -4
- package/docs/id/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/id/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/id/intlayer_with_nuxt.md +25 -7
- package/docs/id/intlayer_with_react_native+expo.md +20 -4
- package/docs/id/intlayer_with_react_router_v7.md +20 -4
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +20 -4
- package/docs/id/intlayer_with_svelte_kit.md +40 -8
- package/docs/id/intlayer_with_tanstack+solid.md +20 -4
- package/docs/id/intlayer_with_tanstack.md +20 -4
- package/docs/id/intlayer_with_vite+lit.md +20 -4
- package/docs/id/intlayer_with_vite+preact.md +20 -4
- package/docs/id/intlayer_with_vite+react.md +20 -4
- package/docs/id/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/id/intlayer_with_vite+solid.md +20 -4
- package/docs/id/intlayer_with_vite+svelte.md +20 -4
- package/docs/id/intlayer_with_vite+vanilla.md +20 -4
- package/docs/id/intlayer_with_vite+vue.md +20 -4
- 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/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/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/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_lit.md +20 -8
- package/docs/it/intlayer_with_astro_preact.md +20 -8
- package/docs/it/intlayer_with_astro_react.md +20 -8
- package/docs/it/intlayer_with_astro_solid.md +20 -8
- package/docs/it/intlayer_with_astro_svelte.md +20 -8
- package/docs/it/intlayer_with_astro_vanilla.md +20 -8
- package/docs/it/intlayer_with_astro_vue.md +20 -8
- package/docs/it/intlayer_with_create_react_app.md +20 -4
- package/docs/it/intlayer_with_express.md +20 -4
- 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 +20 -4
- package/docs/it/intlayer_with_nestjs.md +20 -4
- package/docs/it/intlayer_with_next-i18next.md +20 -4
- package/docs/it/intlayer_with_nextjs_14.md +20 -4
- package/docs/it/intlayer_with_nextjs_15.md +20 -4
- package/docs/it/intlayer_with_nextjs_16.md +20 -4
- package/docs/it/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/it/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/it/intlayer_with_nuxt.md +25 -7
- package/docs/it/intlayer_with_react_native+expo.md +20 -4
- package/docs/it/intlayer_with_react_router_v7.md +20 -4
- package/docs/it/intlayer_with_svelte_kit.md +40 -8
- package/docs/it/intlayer_with_tanstack+solid.md +20 -4
- package/docs/it/intlayer_with_tanstack.md +20 -4
- package/docs/it/intlayer_with_vite+lit.md +20 -4
- package/docs/it/intlayer_with_vite+preact.md +20 -4
- package/docs/it/intlayer_with_vite+react.md +20 -4
- package/docs/it/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/it/intlayer_with_vite+solid.md +20 -4
- package/docs/it/intlayer_with_vite+svelte.md +20 -4
- package/docs/it/intlayer_with_vite+vanilla.md +20 -4
- package/docs/it/intlayer_with_vite+vue.md +20 -4
- 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/next-intlayer/exports.md +4 -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/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/ja/intlayer_with_adonisjs.md +20 -4
- package/docs/ja/intlayer_with_analog.md +20 -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_lit.md +20 -8
- package/docs/ja/intlayer_with_astro_preact.md +20 -8
- package/docs/ja/intlayer_with_astro_react.md +20 -8
- package/docs/ja/intlayer_with_astro_solid.md +20 -8
- package/docs/ja/intlayer_with_astro_svelte.md +20 -8
- package/docs/ja/intlayer_with_astro_vanilla.md +20 -8
- package/docs/ja/intlayer_with_astro_vue.md +20 -8
- package/docs/ja/intlayer_with_create_react_app.md +20 -4
- package/docs/ja/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/ja/intlayer_with_next-i18next.md +20 -4
- package/docs/ja/intlayer_with_nextjs_14.md +20 -4
- package/docs/ja/intlayer_with_nextjs_15.md +20 -4
- package/docs/ja/intlayer_with_nextjs_16.md +20 -4
- package/docs/ja/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/ja/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/ja/intlayer_with_nuxt.md +25 -7
- package/docs/ja/intlayer_with_tanstack+solid.md +20 -4
- package/docs/ja/intlayer_with_tanstack.md +20 -4
- package/docs/ja/intlayer_with_vite+lit.md +20 -4
- package/docs/ja/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/ja/intlayer_with_vite+solid.md +20 -4
- package/docs/ja/intlayer_with_vite+svelte.md +20 -4
- package/docs/ja/intlayer_with_vite+vanilla.md +20 -4
- package/docs/ja/intlayer_with_vite+vue.md +20 -4
- 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/intlayer/comparePaths.md +173 -0
- package/docs/ja/packages/intlayer/exports.md +5 -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/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/ko/intlayer_with_adonisjs.md +20 -4
- package/docs/ko/intlayer_with_analog.md +42 -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 +28 -8
- package/docs/ko/intlayer_with_astro_lit.md +31 -9
- package/docs/ko/intlayer_with_astro_preact.md +31 -9
- package/docs/ko/intlayer_with_astro_react.md +31 -9
- package/docs/ko/intlayer_with_astro_solid.md +31 -9
- package/docs/ko/intlayer_with_astro_svelte.md +31 -9
- package/docs/ko/intlayer_with_astro_vanilla.md +28 -8
- package/docs/ko/intlayer_with_astro_vue.md +51 -17
- package/docs/ko/intlayer_with_create_react_app.md +39 -9
- package/docs/ko/intlayer_with_express.md +20 -4
- 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 +20 -4
- package/docs/ko/intlayer_with_nestjs.md +20 -4
- package/docs/ko/intlayer_with_next-i18next.md +20 -4
- package/docs/ko/intlayer_with_nextjs_14.md +40 -12
- package/docs/ko/intlayer_with_nextjs_15.md +63 -17
- package/docs/ko/intlayer_with_nextjs_16.md +59 -17
- package/docs/ko/intlayer_with_nextjs_compiler.md +55 -13
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +50 -14
- package/docs/ko/intlayer_with_nextjs_page_router.md +57 -15
- package/docs/ko/intlayer_with_nuxt.md +54 -14
- package/docs/ko/intlayer_with_react_native+expo.md +20 -4
- package/docs/ko/intlayer_with_react_router_v7.md +64 -16
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +64 -16
- package/docs/ko/intlayer_with_storybook.md +28 -8
- package/docs/ko/intlayer_with_svelte_kit.md +96 -24
- package/docs/ko/intlayer_with_tanstack+solid.md +78 -22
- package/docs/ko/intlayer_with_tanstack.md +78 -22
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +60 -16
- package/docs/ko/intlayer_with_vite+preact.md +57 -15
- package/docs/ko/intlayer_with_vite+react.md +10 -2
- package/docs/ko/intlayer_with_vite+react_compiler.md +42 -10
- package/docs/ko/intlayer_with_vite+solid.md +57 -15
- package/docs/ko/intlayer_with_vite+svelte.md +53 -15
- package/docs/ko/intlayer_with_vite+vanilla.md +63 -17
- package/docs/ko/intlayer_with_vite+vue.md +57 -15
- 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/intlayer/comparePaths.md +173 -0
- package/docs/ko/packages/intlayer/exports.md +5 -0
- package/docs/ko/packages/next-intlayer/exports.md +4 -0
- 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/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/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/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_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 +20 -4
- package/docs/pl/intlayer_with_react_router_v7.md +20 -4
- package/docs/pl/intlayer_with_svelte_kit.md +40 -8
- 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 +20 -4
- package/docs/pl/intlayer_with_vite+react.md +20 -4
- package/docs/pl/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/pl/intlayer_with_vite+solid.md +20 -4
- package/docs/pl/intlayer_with_vite+svelte.md +20 -4
- package/docs/pl/intlayer_with_vite+vanilla.md +20 -4
- package/docs/pl/intlayer_with_vite+vue.md +20 -4
- 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/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/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/pt/intlayer_with_adonisjs.md +20 -4
- package/docs/pt/intlayer_with_analog.md +20 -4
- package/docs/pt/intlayer_with_angular_19.md +20 -4
- package/docs/pt/intlayer_with_angular_21.md +20 -4
- package/docs/pt/intlayer_with_astro_lit.md +20 -8
- package/docs/pt/intlayer_with_astro_preact.md +20 -8
- package/docs/pt/intlayer_with_astro_react.md +20 -8
- package/docs/pt/intlayer_with_astro_solid.md +20 -8
- package/docs/pt/intlayer_with_astro_svelte.md +20 -8
- package/docs/pt/intlayer_with_astro_vanilla.md +20 -8
- package/docs/pt/intlayer_with_astro_vue.md +20 -8
- package/docs/pt/intlayer_with_create_react_app.md +20 -4
- package/docs/pt/intlayer_with_express.md +20 -4
- 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 +20 -4
- package/docs/pt/intlayer_with_nestjs.md +20 -4
- package/docs/pt/intlayer_with_next-i18next.md +20 -4
- package/docs/pt/intlayer_with_nextjs_14.md +20 -4
- package/docs/pt/intlayer_with_nextjs_15.md +20 -4
- package/docs/pt/intlayer_with_nextjs_16.md +20 -4
- package/docs/pt/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/pt/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/pt/intlayer_with_nuxt.md +25 -7
- package/docs/pt/intlayer_with_react_native+expo.md +20 -4
- package/docs/pt/intlayer_with_react_router_v7.md +20 -4
- package/docs/pt/intlayer_with_svelte_kit.md +40 -8
- package/docs/pt/intlayer_with_tanstack+solid.md +20 -4
- package/docs/pt/intlayer_with_tanstack.md +20 -4
- package/docs/pt/intlayer_with_vite+lit.md +20 -4
- package/docs/pt/intlayer_with_vite+preact.md +20 -4
- package/docs/pt/intlayer_with_vite+react.md +20 -4
- package/docs/pt/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/pt/intlayer_with_vite+solid.md +20 -4
- package/docs/pt/intlayer_with_vite+svelte.md +20 -4
- package/docs/pt/intlayer_with_vite+vanilla.md +20 -4
- package/docs/pt/intlayer_with_vite+vue.md +20 -4
- 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/intlayer/comparePaths.md +173 -0
- package/docs/pt/packages/intlayer/exports.md +5 -0
- package/docs/pt/packages/next-intlayer/exports.md +4 -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/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/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_vue.md +20 -8
- package/docs/ru/intlayer_with_create_react_app.md +20 -4
- package/docs/ru/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/ru/intlayer_with_next-i18next.md +20 -4
- package/docs/ru/intlayer_with_nextjs_14.md +20 -4
- package/docs/ru/intlayer_with_nextjs_15.md +20 -4
- package/docs/ru/intlayer_with_nextjs_16.md +20 -4
- package/docs/ru/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/ru/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/ru/intlayer_with_nuxt.md +25 -7
- package/docs/ru/intlayer_with_react_native+expo.md +20 -4
- package/docs/ru/intlayer_with_react_router_v7.md +20 -4
- package/docs/ru/intlayer_with_svelte_kit.md +40 -8
- package/docs/ru/intlayer_with_tanstack+solid.md +20 -4
- package/docs/ru/intlayer_with_tanstack.md +20 -4
- package/docs/ru/intlayer_with_vite+lit.md +20 -4
- package/docs/ru/intlayer_with_vite+preact.md +20 -4
- package/docs/ru/intlayer_with_vite+react.md +20 -4
- package/docs/ru/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/ru/intlayer_with_vite+solid.md +20 -4
- package/docs/ru/intlayer_with_vite+svelte.md +20 -4
- package/docs/ru/intlayer_with_vite+vanilla.md +20 -4
- package/docs/ru/intlayer_with_vite+vue.md +20 -4
- 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/next-intlayer/exports.md +4 -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/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/tr/intlayer_with_adonisjs.md +20 -4
- package/docs/tr/intlayer_with_analog.md +20 -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_lit.md +20 -8
- package/docs/tr/intlayer_with_astro_preact.md +20 -8
- package/docs/tr/intlayer_with_astro_react.md +20 -8
- package/docs/tr/intlayer_with_astro_solid.md +20 -8
- package/docs/tr/intlayer_with_astro_svelte.md +20 -8
- package/docs/tr/intlayer_with_astro_vanilla.md +20 -8
- package/docs/tr/intlayer_with_astro_vue.md +20 -8
- package/docs/tr/intlayer_with_create_react_app.md +20 -4
- package/docs/tr/intlayer_with_express.md +20 -4
- 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 -4
- package/docs/tr/intlayer_with_next-i18next.md +20 -4
- package/docs/tr/intlayer_with_nextjs_14.md +20 -4
- package/docs/tr/intlayer_with_nextjs_15.md +20 -4
- package/docs/tr/intlayer_with_nextjs_16.md +20 -4
- package/docs/tr/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/tr/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/tr/intlayer_with_nuxt.md +25 -7
- package/docs/tr/intlayer_with_react_native+expo.md +40 -8
- package/docs/tr/intlayer_with_react_router_v7.md +20 -4
- package/docs/tr/intlayer_with_svelte_kit.md +40 -8
- package/docs/tr/intlayer_with_tanstack+solid.md +20 -4
- package/docs/tr/intlayer_with_tanstack.md +20 -4
- package/docs/tr/intlayer_with_vite+lit.md +20 -4
- package/docs/tr/intlayer_with_vite+preact.md +20 -4
- package/docs/tr/intlayer_with_vite+react.md +20 -4
- package/docs/tr/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/tr/intlayer_with_vite+solid.md +20 -4
- package/docs/tr/intlayer_with_vite+svelte.md +20 -4
- package/docs/tr/intlayer_with_vite+vanilla.md +20 -4
- package/docs/tr/intlayer_with_vite+vue.md +20 -4
- 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/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/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/uk/intlayer_with_adonisjs.md +20 -4
- package/docs/uk/intlayer_with_analog.md +20 -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_lit.md +20 -8
- package/docs/uk/intlayer_with_astro_preact.md +20 -8
- package/docs/uk/intlayer_with_astro_react.md +20 -8
- package/docs/uk/intlayer_with_astro_solid.md +20 -8
- package/docs/uk/intlayer_with_astro_svelte.md +20 -8
- package/docs/uk/intlayer_with_astro_vanilla.md +20 -8
- package/docs/uk/intlayer_with_astro_vue.md +20 -8
- 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 +20 -4
- package/docs/uk/intlayer_with_nextjs_15.md +20 -4
- package/docs/uk/intlayer_with_nextjs_16.md +20 -4
- package/docs/uk/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/uk/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/uk/intlayer_with_nuxt.md +20 -4
- package/docs/uk/intlayer_with_react_native+expo.md +20 -4
- package/docs/uk/intlayer_with_react_router_v7.md +20 -4
- package/docs/uk/intlayer_with_svelte_kit.md +20 -4
- package/docs/uk/intlayer_with_tanstack+solid.md +20 -4
- package/docs/uk/intlayer_with_tanstack.md +20 -4
- package/docs/uk/intlayer_with_vite+lit.md +20 -4
- package/docs/uk/intlayer_with_vite+preact.md +20 -4
- package/docs/uk/intlayer_with_vite+react.md +20 -4
- package/docs/uk/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/uk/intlayer_with_vite+solid.md +20 -4
- package/docs/uk/intlayer_with_vite+svelte.md +20 -4
- package/docs/uk/intlayer_with_vite+vanilla.md +20 -4
- package/docs/uk/intlayer_with_vite+vue.md +20 -4
- 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/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/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/intlayer_with_adonisjs.md +20 -4
- package/docs/vi/intlayer_with_analog.md +20 -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_lit.md +20 -8
- package/docs/vi/intlayer_with_astro_preact.md +20 -8
- package/docs/vi/intlayer_with_astro_react.md +20 -8
- package/docs/vi/intlayer_with_astro_solid.md +20 -8
- package/docs/vi/intlayer_with_astro_svelte.md +20 -8
- package/docs/vi/intlayer_with_astro_vanilla.md +20 -8
- package/docs/vi/intlayer_with_astro_vue.md +20 -8
- 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 +20 -4
- package/docs/vi/intlayer_with_nextjs_15.md +20 -4
- package/docs/vi/intlayer_with_nextjs_16.md +20 -4
- package/docs/vi/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/vi/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/vi/intlayer_with_nuxt.md +20 -4
- package/docs/vi/intlayer_with_react_native+expo.md +20 -4
- package/docs/vi/intlayer_with_react_router_v7.md +20 -4
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +20 -4
- package/docs/vi/intlayer_with_svelte_kit.md +40 -8
- package/docs/vi/intlayer_with_tanstack+solid.md +20 -4
- package/docs/vi/intlayer_with_tanstack.md +20 -4
- package/docs/vi/intlayer_with_vite+lit.md +20 -4
- package/docs/vi/intlayer_with_vite+preact.md +20 -4
- package/docs/vi/intlayer_with_vite+react.md +20 -4
- package/docs/vi/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/vi/intlayer_with_vite+solid.md +20 -4
- package/docs/vi/intlayer_with_vite+svelte.md +20 -4
- package/docs/vi/intlayer_with_vite+vanilla.md +20 -4
- package/docs/vi/intlayer_with_vite+vue.md +20 -4
- 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/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/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/zh/intlayer_with_adonisjs.md +20 -4
- package/docs/zh/intlayer_with_analog.md +20 -4
- package/docs/zh/intlayer_with_angular_19.md +20 -4
- package/docs/zh/intlayer_with_angular_21.md +20 -4
- package/docs/zh/intlayer_with_astro_lit.md +20 -8
- package/docs/zh/intlayer_with_astro_preact.md +20 -8
- package/docs/zh/intlayer_with_astro_react.md +20 -8
- package/docs/zh/intlayer_with_astro_solid.md +20 -8
- package/docs/zh/intlayer_with_astro_svelte.md +20 -8
- package/docs/zh/intlayer_with_astro_vanilla.md +20 -8
- package/docs/zh/intlayer_with_astro_vue.md +20 -8
- package/docs/zh/intlayer_with_create_react_app.md +20 -4
- package/docs/zh/intlayer_with_express.md +20 -4
- 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 +20 -4
- package/docs/zh/intlayer_with_nestjs.md +20 -4
- package/docs/zh/intlayer_with_next-i18next.md +20 -4
- package/docs/zh/intlayer_with_nextjs_14.md +20 -4
- package/docs/zh/intlayer_with_nextjs_15.md +20 -4
- package/docs/zh/intlayer_with_nextjs_16.md +20 -4
- package/docs/zh/intlayer_with_nextjs_compiler.md +20 -4
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +20 -4
- package/docs/zh/intlayer_with_nextjs_page_router.md +20 -4
- package/docs/zh/intlayer_with_nuxt.md +25 -7
- package/docs/zh/intlayer_with_react_native+expo.md +20 -4
- package/docs/zh/intlayer_with_react_router_v7.md +20 -4
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +20 -4
- package/docs/zh/intlayer_with_svelte_kit.md +40 -8
- package/docs/zh/intlayer_with_tanstack+solid.md +20 -4
- package/docs/zh/intlayer_with_tanstack.md +20 -4
- package/docs/zh/intlayer_with_vite+lit.md +20 -4
- package/docs/zh/intlayer_with_vite+preact.md +20 -4
- package/docs/zh/intlayer_with_vite+react_compiler.md +20 -4
- package/docs/zh/intlayer_with_vite+solid.md +20 -4
- package/docs/zh/intlayer_with_vite+svelte.md +20 -4
- package/docs/zh/intlayer_with_vite+vanilla.md +20 -4
- package/docs/zh/intlayer_with_vite+vue.md +20 -4
- 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/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/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-TW/intlayer_with_angular_21.md +20 -4
- package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
- package/package.json +7 -7
- package/src/generated/docs.entry.ts +160 -0
|
@@ -97,24 +97,40 @@ Les étapes suivantes sont le minimum requis pour faire fonctionner votre applic
|
|
|
97
97
|
|
|
98
98
|
Installez les packages principaux d'Intlayer et l'adaptateur de compatibilité `@intlayer/next-intl` :
|
|
99
99
|
|
|
100
|
+
```bash packageManager="npm"
|
|
101
|
+
npx intlayer-cli init --interactive
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
```bash packageManager="pnpm"
|
|
105
|
+
pnpm dlx intlayer-cli init --interactive
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
```bash packageManager="yarn"
|
|
109
|
+
yarn dlx intlayer-cli init --interactive
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
```bash packageManager="bun"
|
|
113
|
+
bunx intlayer-cli init --interactive
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
> l'indicateur `--interactive` est facultatif. Utilisez `intlayer-cli init` si vous êtes un agent IA.
|
|
117
|
+
|
|
118
|
+
> Cette commande détectera votre environnement et installera les packages requis. Par exemple :
|
|
119
|
+
|
|
100
120
|
```bash packageManager="npm"
|
|
101
121
|
npm install intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
102
|
-
npx intlayer init
|
|
103
122
|
```
|
|
104
123
|
|
|
105
124
|
```bash packageManager="pnpm"
|
|
106
125
|
pnpm add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
107
|
-
pnpm intlayer init
|
|
108
126
|
```
|
|
109
127
|
|
|
110
128
|
```bash packageManager="yarn"
|
|
111
129
|
yarn add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
112
|
-
yarn intlayer init
|
|
113
130
|
```
|
|
114
131
|
|
|
115
132
|
```bash packageManager="bun"
|
|
116
133
|
bun add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
|
|
117
|
-
bun x intlayer init
|
|
118
134
|
```
|
|
119
135
|
|
|
120
136
|
> Gardez `next-intl` installé — il est toujours requis pour le **routage URL** (`createNavigation`, `createMiddleware`, `Link`, `redirect`, `usePathname`, `useRouter`). L'adaptateur de compatibilité ne remplace **pas** la couche de routage.
|
|
@@ -100,24 +100,40 @@ Les étapes suivantes sont le minimum requis pour faire fonctionner votre applic
|
|
|
100
100
|
|
|
101
101
|
Installez les packages principaux d'Intlayer et l'adaptateur de compatibilité :
|
|
102
102
|
|
|
103
|
+
```bash packageManager="npm"
|
|
104
|
+
npx intlayer-cli init --interactive
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
```bash packageManager="pnpm"
|
|
108
|
+
pnpm dlx intlayer-cli init --interactive
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```bash packageManager="yarn"
|
|
112
|
+
yarn dlx intlayer-cli init --interactive
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
```bash packageManager="bun"
|
|
116
|
+
bunx intlayer-cli init --interactive
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
> l'indicateur `--interactive` est facultatif. Utilisez `intlayer-cli init` si vous êtes un agent IA.
|
|
120
|
+
|
|
121
|
+
> Cette commande détectera votre environnement et installera les packages requis. Par exemple :
|
|
122
|
+
|
|
103
123
|
```bash packageManager="npm"
|
|
104
124
|
npm install intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
105
|
-
npx intlayer init
|
|
106
125
|
```
|
|
107
126
|
|
|
108
127
|
```bash packageManager="pnpm"
|
|
109
128
|
pnpm add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
110
|
-
pnpm intlayer init
|
|
111
129
|
```
|
|
112
130
|
|
|
113
131
|
```bash packageManager="yarn"
|
|
114
132
|
yarn add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
115
|
-
yarn intlayer init
|
|
116
133
|
```
|
|
117
134
|
|
|
118
135
|
```bash packageManager="bun"
|
|
119
136
|
bun add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
120
|
-
bun x intlayer init
|
|
121
137
|
```
|
|
122
138
|
|
|
123
139
|
> Vous pouvez garder `@nuxtjs/i18n` installé en toute sécurité pendant la migration, bien que vous le supprimiez de votre configuration Nuxt sous peu.
|
|
@@ -100,24 +100,40 @@ Les étapes suivantes sont le minimum requis pour faire fonctionner votre applic
|
|
|
100
100
|
|
|
101
101
|
Installez les packages principaux d'Intlayer et les adaptateurs de compatibilité :
|
|
102
102
|
|
|
103
|
+
```bash packageManager="npm"
|
|
104
|
+
npx intlayer-cli init --interactive
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
```bash packageManager="pnpm"
|
|
108
|
+
pnpm dlx intlayer-cli init --interactive
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```bash packageManager="yarn"
|
|
112
|
+
yarn dlx intlayer-cli init --interactive
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
```bash packageManager="bun"
|
|
116
|
+
bunx intlayer-cli init --interactive
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
> l'indicateur `--interactive` est facultatif. Utilisez `intlayer-cli init` si vous êtes un agent IA.
|
|
120
|
+
|
|
121
|
+
> Cette commande détectera votre environnement et installera les packages requis. Par exemple :
|
|
122
|
+
|
|
103
123
|
```bash packageManager="npm"
|
|
104
124
|
npm install intlayer react-intlayer @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
105
|
-
npx intlayer init
|
|
106
125
|
```
|
|
107
126
|
|
|
108
127
|
```bash packageManager="pnpm"
|
|
109
128
|
pnpm add intlayer react-intlayer @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
110
|
-
pnpm intlayer init
|
|
111
129
|
```
|
|
112
130
|
|
|
113
131
|
```bash packageManager="yarn"
|
|
114
132
|
yarn add intlayer react-intlayer @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
115
|
-
yarn intlayer init
|
|
116
133
|
```
|
|
117
134
|
|
|
118
135
|
```bash packageManager="bun"
|
|
119
136
|
bun add intlayer react-intlayer @intlayer/react-i18next @intlayer/i18next @intlayer/sync-json-plugin
|
|
120
|
-
bun x intlayer init
|
|
121
137
|
```
|
|
122
138
|
|
|
123
139
|
> Vous pouvez garder `react-i18next` et `i18next` installés — les adaptateurs de compatibilité les utilisent comme `devDependencies` / `peerDependencies` optionnels pour les types TypeScript. Vous n'avez pas besoin de changer de peers dans `package.json`.
|
|
@@ -99,24 +99,40 @@ Les étapes suivantes sont le minimum requis pour faire fonctionner votre applic
|
|
|
99
99
|
|
|
100
100
|
Installez les packages principaux d'Intlayer et l'adaptateur de compatibilité :
|
|
101
101
|
|
|
102
|
+
```bash packageManager="npm"
|
|
103
|
+
npx intlayer-cli init --interactive
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
```bash packageManager="pnpm"
|
|
107
|
+
pnpm dlx intlayer-cli init --interactive
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
```bash packageManager="yarn"
|
|
111
|
+
yarn dlx intlayer-cli init --interactive
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
```bash packageManager="bun"
|
|
115
|
+
bunx intlayer-cli init --interactive
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
> l'indicateur `--interactive` est facultatif. Utilisez `intlayer-cli init` si vous êtes un agent IA.
|
|
119
|
+
|
|
120
|
+
> Cette commande détectera votre environnement et installera les packages requis. Par exemple :
|
|
121
|
+
|
|
102
122
|
```bash packageManager="npm"
|
|
103
123
|
npm install intlayer vue-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
104
|
-
npx intlayer init
|
|
105
124
|
```
|
|
106
125
|
|
|
107
126
|
```bash packageManager="pnpm"
|
|
108
127
|
pnpm add intlayer vue-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
109
|
-
pnpm intlayer init
|
|
110
128
|
```
|
|
111
129
|
|
|
112
130
|
```bash packageManager="yarn"
|
|
113
131
|
yarn add intlayer vue-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
114
|
-
yarn intlayer init
|
|
115
132
|
```
|
|
116
133
|
|
|
117
134
|
```bash packageManager="bun"
|
|
118
135
|
bun add intlayer vue-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
|
|
119
|
-
bun x intlayer init
|
|
120
136
|
```
|
|
121
137
|
|
|
122
138
|
> Vous pouvez garder `vue-i18n` installé — l'adaptateur de compatibilité l'utilise comme `devDependency` / `peerDependency` pour les types TypeScript.
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- angular-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 toutes les exportations"
|
|
@@ -46,15 +49,16 @@ import "angular-intlayer";
|
|
|
46
49
|
|
|
47
50
|
### Hooks
|
|
48
51
|
|
|
49
|
-
| Hook | Description
|
|
50
|
-
| ---------------------- |
|
|
51
|
-
| `useIntlayer` | Basé sur `useDictionary`, mais injecte une version optimisée du dictionnaire issue de la déclaration générée.
|
|
52
|
-
| `useDictionary` | Traite les objets qui ressemblent à des dictionnaires (clé, contenu). Il gère les traductions `t()`, les énumérations, etc.
|
|
53
|
-
| `useDictionaryAsync` | Identique à `useDictionary`, mais gère les dictionnaires asynchrones.
|
|
54
|
-
| `useDictionaryDynamic` | Identique à `useDictionary`, mais gère les dictionnaires dynamiques.
|
|
55
|
-
| `useLocale` | Retourne la locale actuelle et une fonction pour la définir.
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
52
|
+
| Hook | Description | Documentation associée |
|
|
53
|
+
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
54
|
+
| `useIntlayer` | Basé sur `useDictionary`, mais injecte une version optimisée du dictionnaire issue de la déclaration générée. | - |
|
|
55
|
+
| `useDictionary` | Traite les objets qui ressemblent à des dictionnaires (clé, contenu). Il gère les traductions `t()`, les énumérations, etc. | - |
|
|
56
|
+
| `useDictionaryAsync` | Identique à `useDictionary`, mais gère les dictionnaires asynchrones. | - |
|
|
57
|
+
| `useDictionaryDynamic` | Identique à `useDictionary`, mais gère les dictionnaires dynamiques. | - |
|
|
58
|
+
| `useLocale` | Retourne la locale actuelle et une fonction pour la définir. | - |
|
|
59
|
+
| `usePathname` | Retourne le chemin actuel sous forme de `Signal<string>` avec le segment de locale supprimé. Réactif à `popstate` via `DestroyRef`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/angular-intlayer/usePathname.md) |
|
|
60
|
+
| `useIntl` | Retourne l'objet Intl pour la locale courante. | - |
|
|
61
|
+
| `useLoadDynamic` | Hook pour charger des dictionnaires dynamiques. | - |
|
|
58
62
|
|
|
59
63
|
### Composants
|
|
60
64
|
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: Documentation du Hook usePathname | angular-intlayer
|
|
5
|
+
description: Découvrez comment utiliser le hook usePathname pour le package angular-intlayer
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Internationalisation
|
|
12
|
+
- Documentation
|
|
13
|
+
- Angular
|
|
14
|
+
- JavaScript
|
|
15
|
+
- TypeScript
|
|
16
|
+
slugs:
|
|
17
|
+
- doc
|
|
18
|
+
- packages
|
|
19
|
+
- angular-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 Angular : Documentation du Hook `usePathname`
|
|
32
|
+
|
|
33
|
+
Le hook `usePathname` retourne le chemin de navigation actuel du navigateur avec le segment de locale supprimé, sous forme de `Signal<string>` Angular. Il est utile pour construire une navigation tenant compte de la locale — par exemple, pour déterminer quel élément de navigation est actif — sans avoir à supprimer manuellement le préfixe de la locale.
|
|
34
|
+
|
|
35
|
+
## Importer `usePathname` dans Angular
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { usePathname } from "angular-intlayer";
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Aperçu
|
|
42
|
+
|
|
43
|
+
`usePathname` lit `window.location.pathname`, supprime le préfixe de la locale via `getPathWithoutLocale`, et met à jour le signal chaque fois que le navigateur déclenche un événement `popstate` (navigation retour/avant). Il utilise `DestroyRef` d'Angular pour nettoyer automatiquement l'écouteur d'événements lorsque le composant est détruit.
|
|
44
|
+
|
|
45
|
+
## Utilisation
|
|
46
|
+
|
|
47
|
+
```typescript fileName="src/app/nav-item.component.ts"
|
|
48
|
+
import { Component, input } from "@angular/core";
|
|
49
|
+
import { usePathname } from "angular-intlayer";
|
|
50
|
+
|
|
51
|
+
@Component({
|
|
52
|
+
standalone: true,
|
|
53
|
+
selector: "app-nav-item",
|
|
54
|
+
template: `
|
|
55
|
+
<a
|
|
56
|
+
[href]="href()"
|
|
57
|
+
[attr.aria-current]="pathname() === href() ? 'page' : null"
|
|
58
|
+
>
|
|
59
|
+
{{ label() }}
|
|
60
|
+
</a>
|
|
61
|
+
`,
|
|
62
|
+
})
|
|
63
|
+
export class NavItemComponent {
|
|
64
|
+
readonly href = input.required<string>();
|
|
65
|
+
readonly label = input.required<string>();
|
|
66
|
+
|
|
67
|
+
readonly pathname = usePathname();
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Valeur de retour
|
|
72
|
+
|
|
73
|
+
| Type | Description |
|
|
74
|
+
| ---------------- | ----------------------------------------------------------------------- |
|
|
75
|
+
| `Signal<string>` | Signal Angular contenant le chemin actuel sans le préfixe de la locale. |
|
|
76
|
+
|
|
77
|
+
## Comportement
|
|
78
|
+
|
|
79
|
+
- **Suppression de la locale** : Supprime le segment de locale initial (ex. `/fr/dashboard` → `/dashboard`).
|
|
80
|
+
- **Réactif** : Se met à jour automatiquement lors d'événements `popstate` (navigation retour / avant du navigateur).
|
|
81
|
+
- **Compatible SSR** : Retourne `""` lorsque `window` n'est pas disponible.
|
|
82
|
+
- **Nettoyage** : L'écouteur `popstate` est supprimé via `DestroyRef.onDestroy` lorsque le composant hôte est détruit.
|
|
83
|
+
|
|
84
|
+
## Exemple
|
|
85
|
+
|
|
86
|
+
```typescript fileName="src/app/sidebar.component.ts"
|
|
87
|
+
import { Component } from "@angular/core";
|
|
88
|
+
import { usePathname } from "angular-intlayer";
|
|
89
|
+
|
|
90
|
+
@Component({
|
|
91
|
+
standalone: true,
|
|
92
|
+
selector: "app-sidebar",
|
|
93
|
+
template: `
|
|
94
|
+
<nav>
|
|
95
|
+
@for (link of links; track link.href) {
|
|
96
|
+
<a
|
|
97
|
+
[href]="link.href"
|
|
98
|
+
[style.font-weight]="pathname() === link.href ? 'bold' : 'normal'"
|
|
99
|
+
>
|
|
100
|
+
{{ link.label }}
|
|
101
|
+
</a>
|
|
102
|
+
}
|
|
103
|
+
</nav>
|
|
104
|
+
`,
|
|
105
|
+
})
|
|
106
|
+
export class SidebarComponent {
|
|
107
|
+
readonly links = [
|
|
108
|
+
{ href: "/dashboard", label: "Dashboard" },
|
|
109
|
+
{ href: "/settings", label: "Settings" },
|
|
110
|
+
];
|
|
111
|
+
|
|
112
|
+
readonly pathname = usePathname();
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Liens associés
|
|
117
|
+
|
|
118
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/angular-intlayer/exports.md) — locale actuelle + sélecteur de locale
|
|
119
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPathWithoutLocale.md) — l'utilitaire sous-jacent utilisé par ce hook
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: Documentation de la fonction comparePaths | intlayer
|
|
5
|
+
description: Découvrez comment utiliser la fonction comparePaths pour le package intlayer
|
|
6
|
+
keywords:
|
|
7
|
+
- comparePaths
|
|
8
|
+
- normalizePath
|
|
9
|
+
- lien actif
|
|
10
|
+
- navigation
|
|
11
|
+
- Intlayer
|
|
12
|
+
- intlayer
|
|
13
|
+
- Internationalisation
|
|
14
|
+
- Documentation
|
|
15
|
+
- Next.js
|
|
16
|
+
- JavaScript
|
|
17
|
+
- React
|
|
18
|
+
slugs:
|
|
19
|
+
- doc
|
|
20
|
+
- packages
|
|
21
|
+
- intlayer
|
|
22
|
+
- comparePaths
|
|
23
|
+
history:
|
|
24
|
+
- version: 9.0.0
|
|
25
|
+
date: 2026-06-22
|
|
26
|
+
changes: "Documentation initiale"
|
|
27
|
+
author: aymericzip
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Documentation : Fonction `comparePaths` dans `intlayer`
|
|
31
|
+
|
|
32
|
+
## Description
|
|
33
|
+
|
|
34
|
+
La fonction `comparePaths` compare deux URL ou chemins pour vérifier leur égalité tout en ignorant le segment de la locale, le protocole/domaine, la chaîne de requête (query string), le hash et les barres obliques de fin (trailing slashes). C'est la méthode recommandée pour déterminer si un lien de navigation pointe vers la page courante — par exemple pour mettre en évidence le lien actif — sans avoir à recréer votre propre logique de normalisation (sujette aux erreurs).
|
|
35
|
+
|
|
36
|
+
En interne, elle réutilise [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPathWithoutLocale.md) pour supprimer le segment de la locale, de sorte qu'elle respecte votre mode de routage et vos locales configurés.
|
|
37
|
+
|
|
38
|
+
Le package exporte également la fonction utilitaire sous-jacente [`normalizePath`](#normalizepath), qui retourne le chemin canonique, indépendant de la locale, utilisé pour la comparaison.
|
|
39
|
+
|
|
40
|
+
**Fonctionnalités clés :**
|
|
41
|
+
|
|
42
|
+
- Comparaison indépendante de la locale (`/fr/about` correspond à `/about`)
|
|
43
|
+
- Fonctionne avec des URL absolues et des chemins relatifs
|
|
44
|
+
- Ignore la chaîne de requête, le hash et les barres obliques de fin
|
|
45
|
+
- Tolère l'absence de barre oblique initiale et les valeurs vides (normalisé en `/`)
|
|
46
|
+
- Léger — construit par-dessus `getPathWithoutLocale`
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Signature de la fonction
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
comparePaths(
|
|
54
|
+
pathname: string, // Requis
|
|
55
|
+
href: string, // Requis
|
|
56
|
+
locales?: Locales[] // Optionnel
|
|
57
|
+
): boolean
|
|
58
|
+
|
|
59
|
+
normalizePath(
|
|
60
|
+
inputUrl: string, // Requis
|
|
61
|
+
locales?: Locales[] // Optionnel
|
|
62
|
+
): string
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Paramètres
|
|
68
|
+
|
|
69
|
+
- `pathname: string`
|
|
70
|
+
- **Description** : La première chaîne d'URL ou de chemin à comparer (généralement le chemin actuel).
|
|
71
|
+
- **Type** : `string`
|
|
72
|
+
- **Requis** : Oui
|
|
73
|
+
|
|
74
|
+
- `href: string`
|
|
75
|
+
- **Description** : La deuxième chaîne d'URL ou de chemin à comparer (généralement le `href` d'un lien de navigation).
|
|
76
|
+
- **Type** : `string`
|
|
77
|
+
- **Requis** : Oui
|
|
78
|
+
|
|
79
|
+
- `locales: Locales[]`
|
|
80
|
+
- **Description** : Tableau optionnel des locales prises en charge. Par défaut, les locales configurées dans le projet.
|
|
81
|
+
- **Type** : `Locales[]`
|
|
82
|
+
- **Requis** : Non (Optionnel)
|
|
83
|
+
|
|
84
|
+
### Retours
|
|
85
|
+
|
|
86
|
+
- **Type** : `boolean`
|
|
87
|
+
- **Description** : `true` lorsque les deux entrées se résolvent vers le même chemin indépendant de la locale, sinon `false`.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Exemple d'utilisation
|
|
92
|
+
|
|
93
|
+
### Utilisation de base
|
|
94
|
+
|
|
95
|
+
```typescript codeFormat={["typescript", "esm", "commonjs"]}
|
|
96
|
+
import { comparePaths } from "intlayer";
|
|
97
|
+
|
|
98
|
+
comparePaths("/ru/path", "/path"); // true
|
|
99
|
+
comparePaths("/ru/path/", "/path"); // true
|
|
100
|
+
comparePaths("/ru/path", "/path/"); // true
|
|
101
|
+
comparePaths("/ru/", "/"); // true
|
|
102
|
+
comparePaths("/ru", "/"); // true
|
|
103
|
+
comparePaths("ru/path", "/path"); // true
|
|
104
|
+
comparePaths("", "/"); // true
|
|
105
|
+
comparePaths("/ru", ""); // true
|
|
106
|
+
comparePaths("/ru/path", "/other"); // false
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### URL absolues et relatives
|
|
110
|
+
|
|
111
|
+
```typescript
|
|
112
|
+
import { comparePaths } from "intlayer";
|
|
113
|
+
|
|
114
|
+
comparePaths("https://example.com/ru/path", "/path"); // true
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Mettre en évidence le lien de navigation actif
|
|
118
|
+
|
|
119
|
+
```tsx
|
|
120
|
+
import { comparePaths } from "intlayer";
|
|
121
|
+
import { useLocation } from "react-router";
|
|
122
|
+
|
|
123
|
+
const NavLink = ({ href, children }) => {
|
|
124
|
+
const { pathname } = useLocation();
|
|
125
|
+
const isActive = comparePaths(pathname, href);
|
|
126
|
+
|
|
127
|
+
return (
|
|
128
|
+
<a href={href} aria-current={isActive ? "page" : undefined}>
|
|
129
|
+
{children}
|
|
130
|
+
</a>
|
|
131
|
+
);
|
|
132
|
+
};
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## normalizePath
|
|
138
|
+
|
|
139
|
+
`normalizePath` retourne le chemin canonique et indépendant de la locale utilisé par `comparePaths`. Il supprime le segment de la locale, le protocole/domaine, la chaîne de requête et le hash, assure la présence d'une seule barre oblique initiale, supprime toute barre oblique de fin (sauf pour la racine) et utilise `/` comme valeur de repli pour les valeurs vides.
|
|
140
|
+
|
|
141
|
+
```typescript codeFormat={["typescript", "esm", "commonjs"]}
|
|
142
|
+
import { normalizePath } from "intlayer";
|
|
143
|
+
|
|
144
|
+
normalizePath("/ru/path"); // "/path"
|
|
145
|
+
normalizePath("/ru/path/"); // "/path"
|
|
146
|
+
normalizePath("ru/path"); // "/path"
|
|
147
|
+
normalizePath("/ru/"); // "/"
|
|
148
|
+
normalizePath("/ru"); // "/"
|
|
149
|
+
normalizePath(""); // "/"
|
|
150
|
+
normalizePath("https://example.com/ru/path"); // "/path"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Fonctions associées
|
|
156
|
+
|
|
157
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPathWithoutLocale.md) : Supprime le segment de la locale d'une URL ou d'un chemin.
|
|
158
|
+
- [`getPrefix`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPrefix.md) : Détermine le préfixe d'URL pour une locale donnée.
|
|
159
|
+
- [`getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getLocalizedUrl.md) : Génère une URL localisée pour une locale spécifique.
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## TypeScript
|
|
164
|
+
|
|
165
|
+
```typescript
|
|
166
|
+
function normalizePath(inputUrl: string, locales?: Locales[]): string;
|
|
167
|
+
|
|
168
|
+
function comparePaths(
|
|
169
|
+
pathname: string,
|
|
170
|
+
href: string,
|
|
171
|
+
locales?: Locales[]
|
|
172
|
+
): boolean;
|
|
173
|
+
```
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 9.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "Ajout de l'utilitaire comparePaths"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "Unified documentation for all exports"
|
|
@@ -108,19 +111,21 @@ Import :
|
|
|
108
111
|
import "intlayer";
|
|
109
112
|
```
|
|
110
113
|
|
|
111
|
-
| Fonction | Type | Description
|
|
112
|
-
| ---------------------- | ---------- |
|
|
113
|
-
| `getLocale` | `Fonction` | Détecte la locale à partir d'une chaîne ou d'un chemin.
|
|
114
|
-
| `getLocaleLang` | `Function` | Obtient la partie langue d'une locale.
|
|
115
|
-
| `getLocaleName` | `Function` | Obtient le nom d'affichage d'une locale.
|
|
116
|
-
| `getLocalizedPath` | `Function` | Résout un chemin canonique vers sa version localisée.
|
|
117
|
-
| `getCanonicalPath` | `Function` | Résout un chemin localisé vers sa forme canonique.
|
|
118
|
-
| `getLocalizedUrl` | `Function` | Génère une URL localisée.
|
|
119
|
-
| `getMultilingualUrls` | `Function` | Génère des URLs pour toutes les locales prises en charge.
|
|
120
|
-
| `getPathWithoutLocale` | `Function` | Supprime le préfixe de locale d'un chemin.
|
|
121
|
-
| `getPrefix` | `Function` | Récupère le préfixe de locale d'un chemin.
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
114
|
+
| Fonction | Type | Description | Documentation associée |
|
|
115
|
+
| ---------------------- | ---------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
116
|
+
| `getLocale` | `Fonction` | Détecte la locale à partir d'une chaîne ou d'un chemin. | [getLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getLocale.md) |
|
|
117
|
+
| `getLocaleLang` | `Function` | Obtient la partie langue d'une locale. | [getLocaleLang](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getLocaleLang.md) |
|
|
118
|
+
| `getLocaleName` | `Function` | Obtient le nom d'affichage d'une locale. | [getLocaleName](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getLocaleName.md) |
|
|
119
|
+
| `getLocalizedPath` | `Function` | Résout un chemin canonique vers sa version localisée. | [getLocalizedPath](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getLocalizedPath.md) |
|
|
120
|
+
| `getCanonicalPath` | `Function` | Résout un chemin localisé vers sa forme canonique. | [getCanonicalPath](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getCanonicalPath.md) |
|
|
121
|
+
| `getLocalizedUrl` | `Function` | Génère une URL localisée. | [getLocalizedUrl](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getLocalizedUrl.md) |
|
|
122
|
+
| `getMultilingualUrls` | `Function` | Génère des URLs pour toutes les locales prises en charge. | [getMultilingualUrls](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getMultilingualUrls.md) |
|
|
123
|
+
| `getPathWithoutLocale` | `Function` | Supprime le préfixe de locale d'un chemin. | [getPathWithoutLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPathWithoutLocale.md) |
|
|
124
|
+
| `getPrefix` | `Function` | Récupère le préfixe de locale d'un chemin. | [getPrefix](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getPrefix.md) |
|
|
125
|
+
| `comparePaths` | `Function` | Compare deux chemins en ignorant la locale. | [comparePaths](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/comparePaths.md) |
|
|
126
|
+
| `normalizePath` | `Function` | Normalise un chemin vers un chemin indépendant de la locale. | [comparePaths](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/comparePaths.md) |
|
|
127
|
+
| `getHTMLTextDir` | `Function` | Obtient la direction du texte (LTR/RTL). | [getHTMLTextDir](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/getHTMLTextDir.md) |
|
|
128
|
+
| `validatePrefix` | `Function` | Valide un préfixe de locale. | [validatePrefix](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/intlayer/validatePrefix.md) |
|
|
124
129
|
|
|
125
130
|
### Utilitaires du navigateur
|
|
126
131
|
|
|
@@ -15,6 +15,9 @@ slugs:
|
|
|
15
15
|
- next-intlayer
|
|
16
16
|
- exports
|
|
17
17
|
history:
|
|
18
|
+
- version: 10.0.0
|
|
19
|
+
date: 2026-06-23
|
|
20
|
+
changes: "Ajout de l'utilitaire usePathname"
|
|
18
21
|
- version: 8.0.0
|
|
19
22
|
date: 2026-01-21
|
|
20
23
|
changes: "Documentation unifiée pour toutes les exportations"
|
|
@@ -99,6 +102,7 @@ Réexporte la plupart des hooks depuis `react-intlayer`.
|
|
|
99
102
|
| `useDictionaryAsync` | Hook qui gère des dictionnaires asynchrones. Accepte une map de dictionnaires basée sur des promesses et la résout pour la locale courante. | - |
|
|
100
103
|
| `useDictionaryDynamic` | Hook qui gère des dictionnaires dynamiques chargés par clé. Utilise React Suspense en interne pour les états de chargement. | - |
|
|
101
104
|
| `useLocale` | Hook côté client pour récupérer la locale courante et une fonction pour la définir. Amélioré pour Next.js App Router avec prise en charge de la navigation. | [useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/react-intlayer/useLocale.md) |
|
|
105
|
+
| `usePathname` | Retourne le chemin actuel sans le préfixe de la locale et sans les paramètres de requête de locale. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/next-intlayer/usePathname.md) |
|
|
102
106
|
| `useRewriteURL` | Hook côté client pour gérer les réécritures d'URL. Met automatiquement à jour l'URL si une règle de réécriture localisée plus "propre" existe. | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/next-intlayer/useRewriteURL.md) |
|
|
103
107
|
| `useLocalePageRouter` | Hook spécifique au Page Router de Next.js pour la gestion des locales. Gère les redirections et les rechargements de page lors des changements de locale. | - |
|
|
104
108
|
| `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) |
|