@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
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- solid-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 10.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "usePathnameユーティリティを追加"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "全エクスポートのドキュメントを統一"
|
|
@@ -59,6 +62,7 @@ import "solid-intlayer";
|
|
|
59
62
|
| `useDictionaryAsync` | `useDictionary` と同じですが、非同期の辞書を扱います。 | - |
|
|
60
63
|
| `useDictionaryDynamic` | `useDictionary` と同じですが、動的な辞書を扱います。 | - |
|
|
61
64
|
| `useLocale` | 現在のロケールと、それを設定する関数を返します。 | [useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/solid-intlayer/useLocale.md) |
|
|
65
|
+
| `usePathname` | ロケールセグメントを削除した現在のパス名(pathname)を `Accessor<string>` として返します。`popstate` に反応します。 | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/solid-intlayer/usePathname.md) |
|
|
62
66
|
| `useRewriteURL` | クライアント側のフックで、URLの書き換えを管理します。ローカライズされた書き換えルールが存在する場合、自動的にURLを更新します。 | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/solid-intlayer/useRewriteURL.md) |
|
|
63
67
|
| `useIntl` | 現在のロケールのIntlオブジェクトを返します。 | - |
|
|
64
68
|
| `useLoadDynamic` | 動的辞書を読み込むフック。 | - |
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: usePathname Hook ドキュメント | solid-intlayer
|
|
5
|
+
description: solid-intlayer パッケージの usePathname フックの使い方
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- 国際化
|
|
12
|
+
- i18n
|
|
13
|
+
- ドキュメント
|
|
14
|
+
- Solid
|
|
15
|
+
- Solid.js
|
|
16
|
+
- JavaScript
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- packages
|
|
20
|
+
- solid-intlayer
|
|
21
|
+
- usePathname
|
|
22
|
+
history:
|
|
23
|
+
- version: 10.0.0
|
|
24
|
+
date: 2026-06-23
|
|
25
|
+
changes: "usePathnameユーティリティを追加"
|
|
26
|
+
- version: 8.2.0
|
|
27
|
+
date: 2026-06-22
|
|
28
|
+
changes: "Init history"
|
|
29
|
+
author: aymericzip
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
# Solid 連携: `usePathname` フックドキュメント
|
|
33
|
+
|
|
34
|
+
`usePathname` フックは、現在のブラウザのパス名 (pathname) からロケールセグメントを削除したものを、Solid の `Accessor<string>` として返します。ロケールを意識したナビゲーション(例:どのナビゲーションアイテムがアクティブかを判断する)を、ロケールのプレフィックスを手動で削除することなく構築するのに役立ちます。
|
|
35
|
+
|
|
36
|
+
## `usePathname` のインポート(Solid)
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import { usePathname } from "solid-intlayer";
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 概要
|
|
43
|
+
|
|
44
|
+
`usePathname` は、`window.location.pathname` から初期化されたリアクティブなシグナルを作成し、`getPathWithoutLocale` を介してロケールプレフィックスを削除し、ブラウザが `popstate` イベント(戻る/進むのナビゲーション)を発生させるたびにシグナルを更新します。イベントリスナーは、`onCleanup` を介して自動的にクリーンアップされます。
|
|
45
|
+
|
|
46
|
+
## 使用方法
|
|
47
|
+
|
|
48
|
+
```tsx fileName="src/components/NavItem.tsx"
|
|
49
|
+
import type { Component } from "solid-js";
|
|
50
|
+
import { usePathname } from "solid-intlayer";
|
|
51
|
+
|
|
52
|
+
type NavItemProps = {
|
|
53
|
+
href: string;
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const NavItem: Component<NavItemProps> = ({ href, label }) => {
|
|
58
|
+
const pathname = usePathname();
|
|
59
|
+
|
|
60
|
+
return (
|
|
61
|
+
<a href={href} aria-current={pathname() === href ? "page" : undefined}>
|
|
62
|
+
{label}
|
|
63
|
+
</a>
|
|
64
|
+
);
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export default NavItem;
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## 戻り値
|
|
71
|
+
|
|
72
|
+
| 型 | 説明 |
|
|
73
|
+
| ------------------ | -------------------------------------------------------------------------------------------------- |
|
|
74
|
+
| `Accessor<string>` | ロケールプレフィックスを取り除いた現在のパス名を返す、Solid のアクセサ(リアクティブなゲッター)。 |
|
|
75
|
+
|
|
76
|
+
## 動作
|
|
77
|
+
|
|
78
|
+
- **ロケールの削除**: 先頭のロケールセグメントを削除します(例: `/ja/dashboard` → `/dashboard`)。
|
|
79
|
+
- **リアクティビティ**: `popstate` イベント(ブラウザの戻る / 進む)で自動的に更新されます。
|
|
80
|
+
- **SSR セーフ**: `window` が利用できない場合は `""` を返します。
|
|
81
|
+
- **クリーンアップ**: `popstate` リスナーは Solid の `onCleanup` 経由で自動的に削除されます。
|
|
82
|
+
|
|
83
|
+
## 例
|
|
84
|
+
|
|
85
|
+
```tsx fileName="src/components/Sidebar.tsx"
|
|
86
|
+
import type { Component } from "solid-js";
|
|
87
|
+
import { For } from "solid-js";
|
|
88
|
+
import { usePathname } from "solid-intlayer";
|
|
89
|
+
|
|
90
|
+
const links = [
|
|
91
|
+
{ href: "/dashboard", label: "ダッシュボード" },
|
|
92
|
+
{ href: "/settings", label: "設定" },
|
|
93
|
+
];
|
|
94
|
+
|
|
95
|
+
const Sidebar: Component = () => {
|
|
96
|
+
const pathname = usePathname();
|
|
97
|
+
|
|
98
|
+
return (
|
|
99
|
+
<nav>
|
|
100
|
+
<For each={links}>
|
|
101
|
+
{({ href, label }) => (
|
|
102
|
+
<a
|
|
103
|
+
href={href}
|
|
104
|
+
style={{ "font-weight": pathname() === href ? "bold" : "normal" }}
|
|
105
|
+
>
|
|
106
|
+
{label}
|
|
107
|
+
</a>
|
|
108
|
+
)}
|
|
109
|
+
</For>
|
|
110
|
+
</nav>
|
|
111
|
+
);
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export default Sidebar;
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## 関連事項
|
|
118
|
+
|
|
119
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/solid-intlayer/useLocale.md) — 現在のロケール + ロケールスイッチャー
|
|
120
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/intlayer/getPathWithoutLocale.md) — このフックの内部で使用されるユーティリティ
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- svelte-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 10.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "usePathname ユーティリティを追加"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "すべてのエクスポートのドキュメントを統合"
|
|
@@ -64,15 +67,16 @@ import "svelte-intlayer";
|
|
|
64
67
|
import "svelte-intlayer";
|
|
65
68
|
```
|
|
66
69
|
|
|
67
|
-
| 関数 | 説明
|
|
68
|
-
| ---------------------- |
|
|
69
|
-
| `useIntlayer` | `useDictionary` をベースにしており、生成された宣言から辞書の最適化されたバージョンを注入します。
|
|
70
|
-
| `useDictionary` | 辞書のようなオブジェクト(key、content)を処理します。`t()` の翻訳、列挙などを処理します。
|
|
71
|
-
| `useDictionaryAsync` | `useDictionary` と同じですが、非同期の辞書を扱います。
|
|
72
|
-
| `useDictionaryDynamic` | `useDictionary` と同じですが、動的な辞書を扱います。
|
|
73
|
-
| `useLocale` | 現在のロケールとそれを設定する関数を返します。
|
|
74
|
-
| `
|
|
75
|
-
| `
|
|
70
|
+
| 関数 | 説明 | 関連ドキュメント |
|
|
71
|
+
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
72
|
+
| `useIntlayer` | `useDictionary` をベースにしており、生成された宣言から辞書の最適化されたバージョンを注入します。 | - |
|
|
73
|
+
| `useDictionary` | 辞書のようなオブジェクト(key、content)を処理します。`t()` の翻訳、列挙などを処理します。 | - |
|
|
74
|
+
| `useDictionaryAsync` | `useDictionary` と同じですが、非同期の辞書を扱います。 | - |
|
|
75
|
+
| `useDictionaryDynamic` | `useDictionary` と同じですが、動的な辞書を扱います。 | - |
|
|
76
|
+
| `useLocale` | 現在のロケールとそれを設定する関数を返します。 | - |
|
|
77
|
+
| `usePathname` | ロケールセグメントが削除された現在のパス名(pathname)を `Readable<string>` ストアとして返します。`popstate` に反応します。 | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/svelte-intlayer/usePathname.md) |
|
|
78
|
+
| `useRewriteURL` | URLの書き換えを管理するクライアントサイド関数。ローカライズされた書き換えルールが存在する場合は自動的にURLを更新します。 | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/svelte-intlayer/useRewriteURL.md) |
|
|
79
|
+
| `useIntl` | 現在のロケールのためのIntlオブジェクトを返します。 | - |
|
|
76
80
|
|
|
77
81
|
### マークダウン
|
|
78
82
|
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: usePathname 関数ドキュメント | svelte-intlayer
|
|
5
|
+
description: svelte-intlayer パッケージの usePathname 関数の使用方法
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Internationalization
|
|
12
|
+
- Documentation
|
|
13
|
+
- Svelte
|
|
14
|
+
- JavaScript
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- packages
|
|
18
|
+
- svelte-intlayer
|
|
19
|
+
- usePathname
|
|
20
|
+
history:
|
|
21
|
+
- version: 10.0.0
|
|
22
|
+
date: 2026-06-23
|
|
23
|
+
changes: "usePathname ユーティリティを追加"
|
|
24
|
+
- version: 8.2.0
|
|
25
|
+
date: 2026-06-22
|
|
26
|
+
changes: "履歴の初期化"
|
|
27
|
+
author: aymericzip
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Svelte 統合: `usePathname` ドキュメント
|
|
31
|
+
|
|
32
|
+
`usePathname` 関数は、ロケールセグメントが削除された現在のブラウザのパス名を Svelte の `Readable<string>` ストアとして返します。これは、ロケールプレフィックスを手動で削除することなく、ロケールを考慮したナビゲーション(例えば、どのナビゲーション項目がアクティブかを判断するなど)を構築するのに役立ちます。
|
|
33
|
+
|
|
34
|
+
## Svelte で `usePathname` をインポートする
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { usePathname } from "svelte-intlayer";
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## 概要
|
|
41
|
+
|
|
42
|
+
`usePathname` は `window.location.pathname` から初期化される Svelte の読み取り可能なストア(readable store)を作成し、`getPathWithoutLocale` を介してロケールプレフィックスを削除し、ブラウザが `popstate` イベント(戻る/進むナビゲーション)を発生させるたびに新しい値を発行します。コンポーネント内では `$` ストア構文を使用してサブスクライブします。
|
|
43
|
+
|
|
44
|
+
## 使用法
|
|
45
|
+
|
|
46
|
+
```svelte fileName="src/components/NavItem.svelte"
|
|
47
|
+
<script lang="ts">
|
|
48
|
+
import { usePathname } from "svelte-intlayer";
|
|
49
|
+
|
|
50
|
+
export let href: string;
|
|
51
|
+
export let label: string;
|
|
52
|
+
|
|
53
|
+
const pathname = usePathname();
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
<a {href} aria-current={$pathname === href ? "page" : undefined}>
|
|
57
|
+
{label}
|
|
58
|
+
</a>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## 戻り値
|
|
62
|
+
|
|
63
|
+
| タイプ | 説明 |
|
|
64
|
+
| ------------------ | ---------------------------------------------------------------------------------------------------- |
|
|
65
|
+
| `Readable<string>` | ロケールプレフィックスを含まない現在のパス名を含む Svelte の読み取り可能なストア(Readable store)。 |
|
|
66
|
+
|
|
67
|
+
## 動作
|
|
68
|
+
|
|
69
|
+
- **ロケールの削除**: 先頭のロケールセグメントを削除します(例: `/ja/dashboard` → `/dashboard`)。
|
|
70
|
+
- **リアクティブ**: `popstate` イベント(ブラウザの戻る/進むナビゲーション)のたびに新しい値を発行します。
|
|
71
|
+
- **SSR セーフ**: `window` が利用できない場合は `""` を返します。
|
|
72
|
+
- **クリーンアップ**: 最後のサブスクライバーがサブスクライブを解除すると、`popstate` リスナーは自動的に削除されます。
|
|
73
|
+
|
|
74
|
+
## 例
|
|
75
|
+
|
|
76
|
+
```svelte fileName="src/components/Sidebar.svelte"
|
|
77
|
+
<script lang="ts">
|
|
78
|
+
import { usePathname } from "svelte-intlayer";
|
|
79
|
+
|
|
80
|
+
const links = [
|
|
81
|
+
{ href: "/dashboard", label: "ダッシュボード" },
|
|
82
|
+
{ href: "/settings", label: "設定" },
|
|
83
|
+
];
|
|
84
|
+
|
|
85
|
+
const pathname = usePathname();
|
|
86
|
+
</script>
|
|
87
|
+
|
|
88
|
+
<nav>
|
|
89
|
+
{#each links as link}
|
|
90
|
+
<a
|
|
91
|
+
href={link.href}
|
|
92
|
+
style:font-weight={$pathname === link.href ? "bold" : "normal"}
|
|
93
|
+
>
|
|
94
|
+
{link.label}
|
|
95
|
+
</a>
|
|
96
|
+
{/each}
|
|
97
|
+
</nav>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## 関連
|
|
101
|
+
|
|
102
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/svelte-intlayer/useLocale.md) — 現在のロケール + ロケールスイッチャー
|
|
103
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/intlayer/getPathWithoutLocale.md) — このフックで使用される基礎的なユーティリティ
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- vue-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 10.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "usePathnameユーティリティを追加"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "すべてのエクスポートのドキュメントを統一"
|
|
@@ -59,6 +62,7 @@ import "vue-intlayer";
|
|
|
59
62
|
| `useDictionaryAsync` | `useDictionary` と同様ですが、非同期の辞書を処理します。 | - |
|
|
60
63
|
| `useDictionaryDynamic` | `useDictionary` と同様ですが、動的な辞書を処理します。 | - |
|
|
61
64
|
| `useLocale` | 現在のロケールと、それを設定する関数を返します。 | - |
|
|
65
|
+
| `usePathname` | ロケールセグメントが削除された現在のパス名 (pathname) を `ComputedRef<string>` として返します。`popstate` に反応します。 | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/vue-intlayer/usePathname.md) |
|
|
62
66
|
| `useRewriteURL` | URL の書き換えを管理するクライアントサイドのコンポーザブル。ローカライズされた書き換えルールが存在する場合は自動的に URL を更新します。 | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/vue-intlayer/useRewriteURL.md) |
|
|
63
67
|
| `useIntl` | 現在のロケールの Intl オブジェクトを返します。 | - |
|
|
64
68
|
| `useLoadDynamic` | 動的辞書を読み込むためのコンポーザブル。 | - |
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: usePathname 関数のドキュメント | vue-intlayer
|
|
5
|
+
description: vue-intlayer パッケージの usePathname 関数の使用方法について
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- 国際化 (Internationalization)
|
|
12
|
+
- ドキュメント
|
|
13
|
+
- Vue
|
|
14
|
+
- JavaScript
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- packages
|
|
18
|
+
- vue-intlayer
|
|
19
|
+
- usePathname
|
|
20
|
+
history:
|
|
21
|
+
- version: 10.0.0
|
|
22
|
+
date: 2026-06-23
|
|
23
|
+
changes: "usePathnameユーティリティを追加"
|
|
24
|
+
- version: 8.2.0
|
|
25
|
+
date: 2026-06-22
|
|
26
|
+
changes: "履歴を初期化"
|
|
27
|
+
author: aymericzip
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Vue インテグレーション: `usePathname` ドキュメント
|
|
31
|
+
|
|
32
|
+
`usePathname` 関数は、ロケールセグメントが削除された現在のブラウザのパス名 (pathname) を Vue の `ComputedRef<string>` として返します。これは、ロケールプレフィックスを手動で削除することなく、ロケールを認識するナビゲーションを構築する(たとえば、どのナビゲーションアイテムがアクティブであるかを決定する)ために便利です。
|
|
33
|
+
|
|
34
|
+
## Vue での `usePathname` のインポート
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { usePathname } from "vue-intlayer";
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## 概要
|
|
41
|
+
|
|
42
|
+
`usePathname` は、`window.location.pathname` を読み取り、`getPathWithoutLocale` を介してロケールプレフィックスを削除し、ブラウザが `popstate` イベント(戻る/進むナビゲーション)を発生させるたびにその値を更新する Vue の算出参照 (computed ref) を作成します。取得した値は、Vue テンプレートやセットアップ関数で直接使用できます。
|
|
43
|
+
|
|
44
|
+
## 使用方法
|
|
45
|
+
|
|
46
|
+
```vue fileName="src/components/NavItem.vue"
|
|
47
|
+
<script setup lang="ts">
|
|
48
|
+
import { usePathname } from "vue-intlayer";
|
|
49
|
+
|
|
50
|
+
const props = defineProps<{
|
|
51
|
+
href: string;
|
|
52
|
+
label: string;
|
|
53
|
+
}>();
|
|
54
|
+
|
|
55
|
+
const pathname = usePathname();
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<template>
|
|
59
|
+
<a :href="href" :aria-current="pathname === href ? 'page' : undefined">
|
|
60
|
+
{{ label }}
|
|
61
|
+
</a>
|
|
62
|
+
</template>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 戻り値
|
|
66
|
+
|
|
67
|
+
| タイプ | 説明 |
|
|
68
|
+
| --------------------- | -------------------------------------------------------------------------------- |
|
|
69
|
+
| `ComputedRef<string>` | ロケールプレフィックスのない現在のパス名 (pathname) を含む Vue の Computed Ref。 |
|
|
70
|
+
|
|
71
|
+
## 動作
|
|
72
|
+
|
|
73
|
+
- **ロケールの削除 (Locale stripping)**: 先頭のロケールセグメントを削除します(例: `/ja/dashboard` → `/dashboard`)。
|
|
74
|
+
- **リアクティブ**: `popstate` イベント(ブラウザの戻る / 進む操作)が発生するたびに値を更新します。
|
|
75
|
+
- **SSR セーフ**: `window` が利用できない場合は `""` を返します。
|
|
76
|
+
- **クリーンアップ (Cleanup)**: `popstate` リスナーは初期化時にグローバルに追加され、Vue のライフサイクル管理のおかげで、通常はコンポーネントごとに手動でクリーンアップする必要はありません。
|
|
77
|
+
|
|
78
|
+
## 例
|
|
79
|
+
|
|
80
|
+
```vue fileName="src/components/Sidebar.vue"
|
|
81
|
+
<script setup lang="ts">
|
|
82
|
+
import { usePathname } from "vue-intlayer";
|
|
83
|
+
|
|
84
|
+
const links = [
|
|
85
|
+
{ href: "/dashboard", label: "ダッシュボード" },
|
|
86
|
+
{ href: "/settings", label: "設定" },
|
|
87
|
+
];
|
|
88
|
+
|
|
89
|
+
const pathname = usePathname();
|
|
90
|
+
</script>
|
|
91
|
+
|
|
92
|
+
<template>
|
|
93
|
+
<nav>
|
|
94
|
+
<a
|
|
95
|
+
v-for="link in links"
|
|
96
|
+
:key="link.href"
|
|
97
|
+
:href="link.href"
|
|
98
|
+
:style="{ fontWeight: pathname === link.href ? 'bold' : 'normal' }"
|
|
99
|
+
>
|
|
100
|
+
{{ link.label }}
|
|
101
|
+
</a>
|
|
102
|
+
</nav>
|
|
103
|
+
</template>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## 関連事項
|
|
107
|
+
|
|
108
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/vue-intlayer/useLocale.md) — 現在のロケール + ロケールスイッチャー
|
|
109
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/intlayer/getPathWithoutLocale.md) — このフックで使用される基盤となるユーティリティ
|
|
@@ -59,24 +59,40 @@ See [Application Template](https://github.com/aymericzip/intlayer-adonis-templat
|
|
|
59
59
|
|
|
60
60
|
`adonis-intlayer`를 사용하려면 npm을 사용하여 패키지를 설치하십시오.
|
|
61
61
|
|
|
62
|
+
```bash packageManager="npm"
|
|
63
|
+
npx intlayer-cli init --interactive
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
```bash packageManager="pnpm"
|
|
67
|
+
pnpm dlx intlayer-cli init --interactive
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
```bash packageManager="yarn"
|
|
71
|
+
yarn dlx intlayer-cli init --interactive
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
```bash packageManager="bun"
|
|
75
|
+
bunx intlayer-cli init --interactive
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
> `--interactive` 플래그는 선택 사항입니다. AI 에이전트인 경우 `intlayer-cli init`를 사용하세요.
|
|
79
|
+
|
|
80
|
+
> 이 명령은 환경을 감지하고 필요한 패키지를 설치합니다. 예를 들어:
|
|
81
|
+
|
|
62
82
|
```bash packageManager="npm"
|
|
63
83
|
npm install intlayer adonis-intlayer
|
|
64
|
-
npx intlayer init
|
|
65
84
|
```
|
|
66
85
|
|
|
67
86
|
```bash packageManager="pnpm"
|
|
68
87
|
pnpm add intlayer adonis-intlayer
|
|
69
|
-
pnpm intlayer init
|
|
70
88
|
```
|
|
71
89
|
|
|
72
90
|
```bash packageManager="yarn"
|
|
73
91
|
yarn add intlayer adonis-intlayer
|
|
74
|
-
yarn intlayer init
|
|
75
92
|
```
|
|
76
93
|
|
|
77
94
|
```bash packageManager="bun"
|
|
78
95
|
bun add intlayer adonis-intlayer
|
|
79
|
-
bun x intlayer init
|
|
80
96
|
```
|
|
81
97
|
|
|
82
98
|
### 설정
|
|
@@ -112,28 +112,46 @@ Intlayer는 단순한 i18n 솔루션 그 이상으로 관리에 도움이 되는
|
|
|
112
112
|
|
|
113
113
|
GitHub에서 [애플리케이션 템플릿](https://github.com/aymericzip/intlayer-analog-template)을 확인하세요.
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
<Steps>
|
|
116
|
+
|
|
117
|
+
<Step number={1} title="종속성 설치">
|
|
116
118
|
|
|
117
119
|
npm을 사용하여 필요한 패키지를 설치합니다:
|
|
118
120
|
|
|
121
|
+
```bash packageManager="npm"
|
|
122
|
+
npx intlayer-cli init --interactive
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
```bash packageManager="pnpm"
|
|
126
|
+
pnpm dlx intlayer-cli init --interactive
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
```bash packageManager="yarn"
|
|
130
|
+
yarn dlx intlayer-cli init --interactive
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
```bash packageManager="bun"
|
|
134
|
+
bunx intlayer-cli init --interactive
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
> `--interactive` 플래그는 선택 사항입니다. AI 에이전트인 경우 `intlayer-cli init`를 사용하세요.
|
|
138
|
+
|
|
139
|
+
> 이 명령은 환경을 감지하고 필요한 패키지를 설치합니다. 예를 들어:
|
|
140
|
+
|
|
119
141
|
```bash packageManager="npm"
|
|
120
142
|
npm install intlayer angular-intlayer vite-intlayer
|
|
121
|
-
npx intlayer init
|
|
122
143
|
```
|
|
123
144
|
|
|
124
145
|
```bash packageManager="pnpm"
|
|
125
146
|
pnpm add intlayer angular-intlayer vite-intlayer
|
|
126
|
-
pnpm intlayer init
|
|
127
147
|
```
|
|
128
148
|
|
|
129
149
|
```bash packageManager="yarn"
|
|
130
150
|
yarn add intlayer angular-intlayer vite-intlayer
|
|
131
|
-
yarn intlayer init
|
|
132
151
|
```
|
|
133
152
|
|
|
134
153
|
```bash packageManager="bun"
|
|
135
154
|
bun add intlayer angular-intlayer vite-intlayer
|
|
136
|
-
bun x intlayer init
|
|
137
155
|
```
|
|
138
156
|
|
|
139
157
|
- **intlayer**
|
|
@@ -146,7 +164,9 @@ bun x intlayer init
|
|
|
146
164
|
- **vite-intlayer**
|
|
147
165
|
Intlayer를 Vite와 통합하는 패키지입니다. 콘텐츠 선언 파일을 처리하는 플러그인을 제공하고 최적의 성능을 위한 별칭(alias)을 설정합니다.
|
|
148
166
|
|
|
149
|
-
|
|
167
|
+
</Step>
|
|
168
|
+
|
|
169
|
+
<Step number={2} title="프로젝트 설정">
|
|
150
170
|
|
|
151
171
|
애플리케이션의 언어를 설정하기 위한 설정 파일을 생성합니다:
|
|
152
172
|
|
|
@@ -170,7 +190,9 @@ export default config;
|
|
|
170
190
|
|
|
171
191
|
> 이 설정 파일을 통해 로컬라이즈된 URL, 미들웨어 리다이렉션, 쿠키 이름, 콘텐츠 선언의 위치 및 확장자 설정, 콘솔 내 Intlayer 로그 비활성화 등을 설정할 수 있습니다. 사용 가능한 전체 매개변수 목록은 [설정 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md)를 참조하세요.
|
|
172
192
|
|
|
173
|
-
|
|
193
|
+
</Step>
|
|
194
|
+
|
|
195
|
+
<Step number={3} title="Vite 설정에 Intlayer 통합">
|
|
174
196
|
|
|
175
197
|
Analog와 Intlayer를 통합하려면 `vite-intlayer` 플러그인을 사용해야 합니다.
|
|
176
198
|
|
|
@@ -192,7 +214,9 @@ export default defineConfig(() => ({
|
|
|
192
214
|
|
|
193
215
|
> `intlayer()` 플러그인은 Intlayer와 함께 Vite를 구성합니다. 콘텐츠 선언 파일을 처리하고 최적의 성능을 위한 별칭을 설정합니다.
|
|
194
216
|
|
|
195
|
-
|
|
217
|
+
</Step>
|
|
218
|
+
|
|
219
|
+
<Step number={4} title="콘텐츠 선언">
|
|
196
220
|
|
|
197
221
|
번역을 저장하기 위해 콘텐츠 선언을 생성하고 관리합니다:
|
|
198
222
|
|
|
@@ -224,7 +248,9 @@ export default appContent;
|
|
|
224
248
|
|
|
225
249
|
> 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md)를 참조하세요.
|
|
226
250
|
|
|
227
|
-
|
|
251
|
+
</Step>
|
|
252
|
+
|
|
253
|
+
<Step number={5} title="코드에서 Intlayer 활용">
|
|
228
254
|
|
|
229
255
|
Analog 애플리케이션 전체에서 Intlayer의 국제화 기능을 활용하려면 애플리케이션 구성에서 Intlayer를 제공해야 합니다.
|
|
230
256
|
|
|
@@ -262,7 +288,9 @@ export default class HomeComponent {
|
|
|
262
288
|
|
|
263
289
|
Intlayer 콘텐츠는 `Signal`로 반환되므로 시그널을 호출하여 값에 액세스합니다: `content().title`.
|
|
264
290
|
|
|
265
|
-
|
|
291
|
+
</Step>
|
|
292
|
+
|
|
293
|
+
<Step number={6} title="콘텐츠 언어 변경" isOptional={true}>
|
|
266
294
|
|
|
267
295
|
콘텐츠 언어를 변경하려면 `useLocale` 함수에서 제공하는 `setLocale` 함수를 사용할 수 있습니다. 이를 통해 애플리케이션의 로케일을 설정하고 그에 따라 콘텐츠를 업데이트할 수 있습니다.
|
|
268
296
|
|
|
@@ -323,6 +351,10 @@ export default class HomeComponent {
|
|
|
323
351
|
}
|
|
324
352
|
```
|
|
325
353
|
|
|
354
|
+
</Step>
|
|
355
|
+
|
|
356
|
+
</Steps>
|
|
357
|
+
|
|
326
358
|
### TypeScript 설정
|
|
327
359
|
|
|
328
360
|
Intlayer는 모듈 보강(module augmentation)을 사용하여 TypeScript의 이점을 활용하고 코드베이스를 더욱 강력하게 만듭니다.
|