@intlayer/docs 9.0.0-canary.2 → 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/ar/plugins/sync-json.md +222 -49
- 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/de/plugins/sync-json.md +222 -49
- 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/plugins/sync-json.md +56 -2
- 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/en-GB/plugins/sync-json.md +245 -13
- 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/es/plugins/sync-json.md +222 -49
- 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/fr/plugins/sync-json.md +244 -12
- 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/hi/plugins/sync-json.md +221 -48
- 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/id/plugins/sync-json.md +222 -49
- 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/it/plugins/sync-json.md +224 -51
- 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/ja/plugins/sync-json.md +222 -49
- 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/ko/plugins/sync-json.md +223 -50
- 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/pl/plugins/sync-json.md +246 -14
- 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/pt/plugins/sync-json.md +222 -49
- 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/ru/plugins/sync-json.md +269 -95
- 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/tr/plugins/sync-json.md +222 -50
- 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/uk/plugins/sync-json.md +56 -2
- package/docs/ur/intlayer_with_angular_21.md +20 -4
- package/docs/ur/intlayer_with_fastify.md +20 -8
- package/docs/ur/intlayer_with_hono.md +20 -4
- package/docs/ur/intlayer_with_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/vi/plugins/sync-json.md +230 -57
- 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/plugins/sync-json.md +223 -50
- 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
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: usePathname Hook प्रलेखन | angular-intlayer
|
|
5
|
+
description: देखें कि angular-intlayer पैकेज के लिए usePathname hook का उपयोग कैसे करें
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Internationalization
|
|
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: "usePathname उपयोगिता जोड़ी गई"
|
|
25
|
+
- version: 8.2.0
|
|
26
|
+
date: 2026-06-22
|
|
27
|
+
changes: "इतिहास प्रारंभ"
|
|
28
|
+
author: aymericzip
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# Angular एकीकरण: `usePathname` Hook प्रलेखन
|
|
32
|
+
|
|
33
|
+
`usePathname` हुक वर्तमान ब्राउज़र पाथनेम को Angular `Signal<string>` के रूप में लौटाता है, जिसमें से स्थान (locale) खंड हटा दिया गया होता है। यह स्थानीयता-जागरूक (locale-aware) नेविगेशन बनाने के लिए उपयोगी है — उदाहरण के लिए, यह निर्धारित करना कि कौन सा नेविगेशन आइटम सक्रिय है — बिना स्थानीयता उपसर्ग को मैन्युअल रूप से हटाए।
|
|
34
|
+
|
|
35
|
+
## Angular में `usePathname` आयात करना
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { usePathname } from "angular-intlayer";
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## अवलोकन
|
|
42
|
+
|
|
43
|
+
`usePathname` `window.location.pathname` पढ़ता है, `getPathWithoutLocale` के माध्यम से स्थानीयता उपसर्ग को हटाता है, और जब भी ब्राउज़र `popstate` ईवेंट (बैक/फॉरवर्ड नेविगेशन) फायर करता है तो सिग्नल को अपडेट करता है। यह Angular के `DestroyRef` का उपयोग करता है ताकि घटक के नष्ट होने पर ईवेंट श्रोता को स्वचालित रूप से साफ़ किया जा सके।
|
|
44
|
+
|
|
45
|
+
## उपयोग
|
|
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
|
+
## रिटर्न वैल्यू
|
|
72
|
+
|
|
73
|
+
| प्रकार | विवरण |
|
|
74
|
+
| ---------------- | ----------------------------------------------------------------------- |
|
|
75
|
+
| `Signal<string>` | Angular सिग्नल जिसमें स्थानीयता उपसर्ग के बिना वर्तमान पाथनेम शामिल है। |
|
|
76
|
+
|
|
77
|
+
## व्यवहार
|
|
78
|
+
|
|
79
|
+
- **स्थानीयता हटाना (Locale stripping)**: अग्रणी स्थानीयता खंड को हटाता है (उदा. `/hi/dashboard` → `/dashboard`)।
|
|
80
|
+
- **प्रतिक्रियाशील**: `popstate` ईवेंट्स (ब्राउज़र बैक / फॉरवर्ड नेविगेशन) पर स्वचालित रूप से अपडेट होता है।
|
|
81
|
+
- **SSR-सुरक्षित**: `window` उपलब्ध न होने पर `""` लौटाता है।
|
|
82
|
+
- **सफाई**: होस्ट घटक के नष्ट होने पर `DestroyRef.onDestroy` के माध्यम से `popstate` श्रोता को हटा दिया जाता है।
|
|
83
|
+
|
|
84
|
+
## उदाहरण
|
|
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: "डैशबोर्ड" },
|
|
109
|
+
{ href: "/settings", label: "सेटिंग्स" },
|
|
110
|
+
];
|
|
111
|
+
|
|
112
|
+
readonly pathname = usePathname();
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## संबंधित
|
|
117
|
+
|
|
118
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/angular-intlayer/exports.md) — वर्तमान स्थानीयता + स्थानीयता स्विचर
|
|
119
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPathWithoutLocale.md) — इस हुक द्वारा उपयोग की जाने वाली अंतर्निहित उपयोगिता
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: comparePaths फ़ंक्शन दस्तावेज़ | intlayer
|
|
5
|
+
description: जानें कि intlayer पैकेज के लिए comparePaths फ़ंक्शन का उपयोग कैसे करें
|
|
6
|
+
keywords:
|
|
7
|
+
- comparePaths
|
|
8
|
+
- normalizePath
|
|
9
|
+
- सक्रिय लिंक (active link)
|
|
10
|
+
- नेविगेशन
|
|
11
|
+
- Intlayer
|
|
12
|
+
- intlayer
|
|
13
|
+
- अंतर्राष्ट्रीयकरण (Internationalization)
|
|
14
|
+
- दस्तावेज़
|
|
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: "प्रारंभिक दस्तावेज़"
|
|
27
|
+
author: aymericzip
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# दस्तावेज़: `intlayer` में `comparePaths` फ़ंक्शन
|
|
31
|
+
|
|
32
|
+
## विवरण
|
|
33
|
+
|
|
34
|
+
`comparePaths` फ़ंक्शन लोकेल (locale) सेगमेंट, प्रोटोकॉल/होस्ट, क्वेरी स्ट्रिंग, हैश और ट्रेलिंग स्लैश (trailing slashes) को अनदेखा करते हुए दो URL या पाथनेम की समानता के लिए तुलना करता है। यह निर्धारित करने का अनुशंसित तरीका है कि कोई नेविगेशन लिंक वर्तमान पृष्ठ को इंगित करता है या नहीं — उदाहरण के लिए सक्रिय लिंक को हाइलाइट करने के लिए — बिना अपना स्वयं का (त्रुटि-प्रवण) सामान्यीकरण लॉजिक (normalization logic) लिखे।
|
|
35
|
+
|
|
36
|
+
आंतरिक रूप से यह लोकेल सेगमेंट को हटाने के लिए [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPathWithoutLocale.md) का पुन: उपयोग करता है, इसलिए यह आपके कॉन्फ़िगर किए गए रूटिंग मोड और लोकेल्स का सम्मान करता है।
|
|
37
|
+
|
|
38
|
+
पैकेज अंतर्निहित [`normalizePath`](#normalizepath) हेल्पर को भी निर्यात (export) करता है, जो तुलना के लिए उपयोग किए जाने वाले कैनोनिकल, लोकेल-स्वतंत्र पाथनेम को लौटाता है।
|
|
39
|
+
|
|
40
|
+
**मुख्य विशेषताएँ:**
|
|
41
|
+
|
|
42
|
+
- लोकेल-स्वतंत्र तुलना (`/hi/about`, `/about` से मेल खाता है)
|
|
43
|
+
- एब्सोल्यूट URL और रिलेटिव पाथ दोनों के साथ काम करता है
|
|
44
|
+
- क्वेरी स्ट्रिंग, हैश और ट्रेलिंग स्लैश को अनदेखा करता है
|
|
45
|
+
- गायब लीडिंग स्लैश और खाली मानों को सहन करता है (`/` में सामान्यीकृत)
|
|
46
|
+
- हल्का (Lightweight) — `getPathWithoutLocale` के ऊपर बनाया गया
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## फ़ंक्शन सिग्नेचर
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
comparePaths(
|
|
54
|
+
pathname: string, // आवश्यक
|
|
55
|
+
href: string, // आवश्यक
|
|
56
|
+
locales?: Locales[] // वैकल्पिक
|
|
57
|
+
): boolean
|
|
58
|
+
|
|
59
|
+
normalizePath(
|
|
60
|
+
inputUrl: string, // आवश्यक
|
|
61
|
+
locales?: Locales[] // वैकल्पिक
|
|
62
|
+
): string
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## पैरामीटर्स
|
|
68
|
+
|
|
69
|
+
- `pathname: string`
|
|
70
|
+
- **विवरण**: तुलना करने के लिए पहली URL स्ट्रिंग या पाथनेम (आमतौर पर वर्तमान पाथनेम)।
|
|
71
|
+
- **प्रकार**: `string`
|
|
72
|
+
- **आवश्यक**: हाँ
|
|
73
|
+
|
|
74
|
+
- `href: string`
|
|
75
|
+
- **विवरण**: तुलना करने के लिए दूसरी URL स्ट्रिंग या पाथनेम (आमतौर पर नेविगेशन लिंक का `href`)।
|
|
76
|
+
- **प्रकार**: `string`
|
|
77
|
+
- **आवश्यक**: हाँ
|
|
78
|
+
|
|
79
|
+
- `locales: Locales[]`
|
|
80
|
+
- **विवरण**: समर्थित लोकेल्स का वैकल्पिक एरे। डिफ़ॉल्ट रूप से प्रोजेक्ट में कॉन्फ़िगर किए गए लोकेल्स लेता है।
|
|
81
|
+
- **प्रकार**: `Locales[]`
|
|
82
|
+
- **आवश्यक**: नहीं (वैकल्पिक)
|
|
83
|
+
|
|
84
|
+
### रिटर्न (Returns)
|
|
85
|
+
|
|
86
|
+
- **प्रकार**: `boolean`
|
|
87
|
+
- **विवरण**: `true` जब दोनों इनपुट एक ही लोकेल-स्वतंत्र पाथ पर रिज़ॉल्व होते हैं, अन्यथा `false`।
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## उदाहरण उपयोग
|
|
92
|
+
|
|
93
|
+
### मूल उपयोग
|
|
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
|
|
110
|
+
|
|
111
|
+
```typescript
|
|
112
|
+
import { comparePaths } from "intlayer";
|
|
113
|
+
|
|
114
|
+
comparePaths("https://example.com/ru/path", "/path"); // true
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### सक्रिय नेविगेशन लिंक को हाइलाइट करना
|
|
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` वह कैनोनिकल, लोकेल-स्वतंत्र पाथनेम लौटाता है जिसका उपयोग `comparePaths` द्वारा किया जाता है। यह लोकेल सेगमेंट, प्रोटोकॉल/होस्ट, क्वेरी स्ट्रिंग और हैश को हटा देता है, एक सिंगल लीडिंग स्लैश सुनिश्चित करता है, किसी भी ट्रेलिंग स्लैश को हटा देता है (रूट को छोड़कर) और खाली मानों के लिए `/` पर वापस आ जाता है।
|
|
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
|
+
## संबंधित फ़ंक्शन्स
|
|
156
|
+
|
|
157
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPathWithoutLocale.md): URL या पाथनेम से लोकेल सेगमेंट को हटाता है।
|
|
158
|
+
- [`getPrefix`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPrefix.md): किसी दिए गए लोकेल के लिए URL उपसर्ग (prefix) निर्धारित करता है।
|
|
159
|
+
- [`getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getLocalizedUrl.md): विशिष्ट लोकेल के लिए स्थानीयकृत (localized) URL जनरेट करता है।
|
|
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: "comparePaths उपयोगिता जोड़ी गई"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "सभी एक्सपोर्ट्स के लिए एकीकृत प्रलेखन"
|
|
@@ -108,19 +111,21 @@ import "intlayer";
|
|
|
108
111
|
import "intlayer";
|
|
109
112
|
```
|
|
110
113
|
|
|
111
|
-
| `फ़ंक्शन` | `प्रकार` | विवरण
|
|
112
|
-
| ---------------------- | ---------- |
|
|
113
|
-
| `getLocale` | `Function` | किसी स्ट्रिंग या path से locale का पता लगाता है।
|
|
114
|
-
| `getLocaleLang` | `Function` | किसी locale का भाषा भाग प्राप्त करता है।
|
|
115
|
-
| `getLocaleName` | `Function` | किसी locale का display name प्राप्त करता है।
|
|
116
|
-
| `getLocalizedPath` | `Function` | कैनोनिकल पथ को स्थानीयकृत पथ में हल करता है।
|
|
117
|
-
| `getCanonicalPath` | `Function` | स्थानीयकृत पथ को canonical पथ में हल करता है।
|
|
118
|
-
| `getLocalizedUrl` | `Function` | स्थानीयकृत URL उत्पन्न करता है।
|
|
119
|
-
| `getMultilingualUrls` | `Function` | समर्थित सभी locales के लिए URLs उत्पन्न करता है।
|
|
120
|
-
| `getPathWithoutLocale` | `Function` | पाथ से locale प्रिफिक्स हटाता है।
|
|
121
|
-
| `getPrefix` | `Function` | पाथ से locale प्रिफिक्स प्राप्त करता है।
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
114
|
+
| `फ़ंक्शन` | `प्रकार` | विवरण | संबंधित डॉक्स |
|
|
115
|
+
| ---------------------- | ---------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
116
|
+
| `getLocale` | `Function` | किसी स्ट्रिंग या path से locale का पता लगाता है। | [getLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getLocale.md) |
|
|
117
|
+
| `getLocaleLang` | `Function` | किसी locale का भाषा भाग प्राप्त करता है। | [getLocaleLang](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getLocaleLang.md) |
|
|
118
|
+
| `getLocaleName` | `Function` | किसी locale का display name प्राप्त करता है। | [getLocaleName](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getLocaleName.md) |
|
|
119
|
+
| `getLocalizedPath` | `Function` | कैनोनिकल पथ को स्थानीयकृत पथ में हल करता है। | [getLocalizedPath](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getLocalizedPath.md) |
|
|
120
|
+
| `getCanonicalPath` | `Function` | स्थानीयकृत पथ को canonical पथ में हल करता है। | [getCanonicalPath](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getCanonicalPath.md) |
|
|
121
|
+
| `getLocalizedUrl` | `Function` | स्थानीयकृत URL उत्पन्न करता है। | [getLocalizedUrl](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getLocalizedUrl.md) |
|
|
122
|
+
| `getMultilingualUrls` | `Function` | समर्थित सभी locales के लिए URLs उत्पन्न करता है। | [getMultilingualUrls](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getMultilingualUrls.md) |
|
|
123
|
+
| `getPathWithoutLocale` | `Function` | पाथ से locale प्रिफिक्स हटाता है। | [getPathWithoutLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPathWithoutLocale.md) |
|
|
124
|
+
| `getPrefix` | `Function` | पाथ से locale प्रिफिक्स प्राप्त करता है। | [getPrefix](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPrefix.md) |
|
|
125
|
+
| `comparePaths` | `Function` | लोकेल को अनदेखा करते हुए दो पाथ्स की तुलना करता है। | [comparePaths](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/comparePaths.md) |
|
|
126
|
+
| `normalizePath` | `Function` | पाथ को लोकेल-स्वतंत्र पाथ में सामान्यीकृत करता है। | [comparePaths](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/comparePaths.md) |
|
|
127
|
+
| `getHTMLTextDir` | `Function` | टेक्स्ट की दिशा (LTR/RTL) प्राप्त करता है। | [getHTMLTextDir](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getHTMLTextDir.md) |
|
|
128
|
+
| `validatePrefix` | `Function` | locale प्रीफिक्स की वैधता की जाँच करता है। | [validatePrefix](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/validatePrefix.md) |
|
|
124
129
|
|
|
125
130
|
### ब्राउज़र उपयोगिताएँ
|
|
126
131
|
|
|
@@ -38,24 +38,40 @@ author: aymericzip
|
|
|
38
38
|
|
|
39
39
|
अपनी पसंदीदा पैकेज मैनेजर का उपयोग करके आवश्यक पैकेज इंस्टॉल करें:
|
|
40
40
|
|
|
41
|
+
```bash packageManager="npm"
|
|
42
|
+
npx intlayer-cli init --interactive
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```bash packageManager="pnpm"
|
|
46
|
+
pnpm dlx intlayer-cli init --interactive
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
```bash packageManager="yarn"
|
|
50
|
+
yarn dlx intlayer-cli init --interactive
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
```bash packageManager="bun"
|
|
54
|
+
bunx intlayer-cli init --interactive
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
> `--interactive` ध्वज (flag) वैकल्पिक है। यदि आप एक AI एजेंट हैं तो `intlayer-cli init` का उपयोग करें।
|
|
58
|
+
|
|
59
|
+
> यह कमांड आपके एनवायरनमेंट को डिटेक्ट करेगी और आवश्यक पैकेज इंस्टॉल करेगी। उदाहरण के लिए:
|
|
60
|
+
|
|
41
61
|
```bash packageManager="npm"
|
|
42
62
|
npm install intlayer
|
|
43
|
-
npx intlayer init
|
|
44
63
|
```
|
|
45
64
|
|
|
46
65
|
```bash packageManager="pnpm"
|
|
47
66
|
pnpm add intlayer
|
|
48
|
-
pnpm intlayer init
|
|
49
67
|
```
|
|
50
68
|
|
|
51
69
|
```bash packageManager="yarn"
|
|
52
70
|
yarn add intlayer
|
|
53
|
-
yarn intlayer init
|
|
54
71
|
```
|
|
55
72
|
|
|
56
73
|
```bash packageManager="bun"
|
|
57
74
|
bun add intlayer
|
|
58
|
-
bun x intlayer init
|
|
59
75
|
```
|
|
60
76
|
|
|
61
77
|
### Intlayer को कॉन्फ़िगर करें
|
|
@@ -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: "usePathname उपयोगिता जोड़ी गई"
|
|
18
21
|
- version: 8.0.0
|
|
19
22
|
date: 2026-01-21
|
|
20
23
|
changes: "सभी एक्सपोर्ट्स के लिए एकीकृत दस्तावेज़ीकरण"
|
|
@@ -95,6 +98,7 @@ import "next-intlayer";
|
|
|
95
98
|
| `useDictionaryAsync` | यह हुक असिंक्रोनस डिक्शनरीज़ को संभालता है। यह एक promise-आधारित dictionary map स्वीकार करता है और वर्तमान locale के लिए इसे resolve करता है। | - |
|
|
96
99
|
| `useDictionaryDynamic` | यह हुक key द्वारा लोड की जाने वाली dynamic dictionaries को संभालता है। लोडिंग स्टेट्स के लिए यह अंदर से React Suspense का उपयोग करता है। | - |
|
|
97
100
|
| `useLocale` | क्लाइंट-साइड hook जो वर्तमान locale और उसे सेट करने के लिए एक फ़ंक्शन प्रदान करता है। Next.js App Router के लिए नेविगेशन समर्थन के साथ संवर्धित। | [useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/react-intlayer/useLocale.md) |
|
|
101
|
+
| `usePathname` | वर्तमान पाथनेम लौटाता है जिसमें से लोकेल प्रीफ़िक्स और लोकेल पैरामीटर्स से जुड़े क्वेरी पैरामीटर्स हटा दिए गए होते हैं। | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/next-intlayer/usePathname.md) |
|
|
98
102
|
| `useRewriteURL` | क्लाइंट-साइड hook जो URL rewrites को प्रबंधित करता है। यदि कोई अधिक उपयुक्त localized rewrite नियम मौजूद हो तो यह स्वचालित रूप से URL को अपडेट कर देता है। | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/next-intlayer/useRewriteURL.md) |
|
|
99
103
|
| `useLocalePageRouter` | Next.js Page Router के लिए विशिष्ट hook जो locale प्रबंधन के लिए है। locale बदलने पर यह रीडायरेक्शन और पेज रीलोड को संभालता है। | - |
|
|
100
104
|
| `useI18n` | एक hook जो nested सामग्री को key से एक्सेस करने के लिए अनुवाद फ़ंक्शन `t()` प्रदान करता है। यह i18next/next-intl पैटर्न की नकल करता है। | [useI18n](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/react-intlayer/useI18n.md) |
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-22
|
|
3
|
+
updatedAt: 2026-06-22
|
|
4
|
+
title: usePathname Hook दस्तावेज़ | next-intlayer
|
|
5
|
+
description: next-intlayer पैकेज के लिए usePathname हुक का उपयोग करना सीखें
|
|
6
|
+
keywords:
|
|
7
|
+
- usePathname
|
|
8
|
+
- pathname
|
|
9
|
+
- locale
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Internationalization
|
|
12
|
+
- Documentation
|
|
13
|
+
- Next.js
|
|
14
|
+
- JavaScript
|
|
15
|
+
- React
|
|
16
|
+
slugs:
|
|
17
|
+
- doc
|
|
18
|
+
- packages
|
|
19
|
+
- next-intlayer
|
|
20
|
+
- usePathname
|
|
21
|
+
history:
|
|
22
|
+
- version: 10.0.0
|
|
23
|
+
date: 2026-06-23
|
|
24
|
+
changes: "usePathname उपयोगिता जोड़ी गई"
|
|
25
|
+
- version: 8.2.0
|
|
26
|
+
date: 2026-06-22
|
|
27
|
+
changes: "इतिहास का आरंभ"
|
|
28
|
+
author: aymericzip
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# Next.js इंटीग्रेशन: `usePathname` हुक दस्तावेज़
|
|
32
|
+
|
|
33
|
+
`usePathname` हुक वर्तमान Next.js पथ (pathname) को बिना लोकेल (locale) सेगमेंट के लौटाता है। यह लोकेल-जागरूक नेविगेशन बनाने के लिए उपयोगी है — उदाहरण के लिए, यह निर्धारित करना कि कौन सा नेविगेशन आइटम सक्रिय है — बिना मैन्युअल रूप से लोकेल उपसर्ग को हटाए।
|
|
34
|
+
|
|
35
|
+
## Next.js में `usePathname` को आयात करना
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { usePathname } from "next-intlayer";
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## अवलोकन
|
|
42
|
+
|
|
43
|
+
`usePathname`, `next/navigation` से Next.js के अंतर्निहित `usePathname()` को रैप करता है, किसी भी खोज पैरामीटर (search params) को जोड़ता है, और `getPathWithoutLocale` के माध्यम से लोकेल उपसर्ग को हटा देता है। यह हर क्लाइंट-साइड नेविगेशन पर फिर से रेंडर (re-render) को ट्रिगर करता है। यह हुक केवल Client Components में उपलब्ध है (`"use client"` की आवश्यकता है)।
|
|
44
|
+
|
|
45
|
+
## उपयोग
|
|
46
|
+
|
|
47
|
+
```tsx fileName="src/components/NavItem.tsx" codeFormat={["typescript", "esm"]}
|
|
48
|
+
"use client";
|
|
49
|
+
|
|
50
|
+
import type { FC } from "react";
|
|
51
|
+
import { usePathname } from "next-intlayer";
|
|
52
|
+
|
|
53
|
+
type NavItemProps = {
|
|
54
|
+
href: string;
|
|
55
|
+
label: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const NavItem: FC<NavItemProps> = ({ href, label }) => {
|
|
59
|
+
const pathname = usePathname();
|
|
60
|
+
const isActive = pathname === href;
|
|
61
|
+
|
|
62
|
+
return (
|
|
63
|
+
<a href={href} aria-current={isActive ? "page" : undefined}>
|
|
64
|
+
{label}
|
|
65
|
+
</a>
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default NavItem;
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## रिटर्न वैल्यू
|
|
73
|
+
|
|
74
|
+
| प्रकार | विवरण |
|
|
75
|
+
| -------- | ------------------------------------------------------------------------------------------------------------- |
|
|
76
|
+
| `string` | वर्तमान पाथनेम जिसमें से लोकेल प्रीफ़िक्स और लोकेल पैरामीटर्स से जुड़े क्वेरी पैरामीटर्स हटा दिए गए होते हैं। |
|
|
77
|
+
|
|
78
|
+
## व्यवहार
|
|
79
|
+
|
|
80
|
+
- **लोकेल स्ट्रिपिंग**: शुरुआती लोकेल सेगमेंट को हटा देता है (उदा: `/hi/dashboard` → `/dashboard`)।
|
|
81
|
+
- **सर्च पैरामीटर स्ट्रिपिंग**: जब सर्च पैरामीटर-आधारित रूटिंग मोड का उपयोग किया जाता है, तो यह `?locale=...` क्वेरी पैरामीटर को भी हटा देता है।
|
|
82
|
+
- **रिएक्टिव**: Next.js App Router के माध्यम से प्रत्येक क्लाइंट-साइड नेविगेशन पर स्वचालित रूप से अपडेट होता है।
|
|
83
|
+
- **SSR सुरक्षित**: पहले रेंडर के दौरान सर्वर-साइड पथ लौटाता है, फिर क्लाइंट पर सर्च पैरामीटर्स को सिंक करता है।
|
|
84
|
+
|
|
85
|
+
## `useLocale` के साथ तुलना
|
|
86
|
+
|
|
87
|
+
`next-intlayer` से `useLocale` पहले से ही अपने रिटर्न वैल्यू के हिस्से के रूप में `pathWithoutLocale` को प्रदर्शित करता है। जब आपको केवल पथ (path) की आवश्यकता हो और लोकेल-स्विचिंग कार्यक्षमता की आवश्यकता न हो, तो `usePathname` का उपयोग करें।
|
|
88
|
+
|
|
89
|
+
```tsx codeFormat={["typescript", "esm"]}
|
|
90
|
+
// जब आपको लोकेल स्थिति और पथ दोनों की आवश्यकता हो:
|
|
91
|
+
import { useLocale } from "next-intlayer";
|
|
92
|
+
const { locale, pathWithoutLocale } = useLocale();
|
|
93
|
+
|
|
94
|
+
// जब आपको केवल पथ की आवश्यकता हो:
|
|
95
|
+
import { usePathname } from "next-intlayer";
|
|
96
|
+
const pathname = usePathname();
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## उदाहरण
|
|
100
|
+
|
|
101
|
+
```tsx fileName="src/components/Sidebar.tsx" codeFormat={["typescript", "esm"]}
|
|
102
|
+
"use client";
|
|
103
|
+
|
|
104
|
+
import type { FC } from "react";
|
|
105
|
+
import { usePathname } from "next-intlayer";
|
|
106
|
+
|
|
107
|
+
const links = [
|
|
108
|
+
{ href: "/dashboard", label: "डैशबोर्ड" },
|
|
109
|
+
{ href: "/settings", label: "सेटिंग्स" },
|
|
110
|
+
];
|
|
111
|
+
|
|
112
|
+
const Sidebar: FC = () => {
|
|
113
|
+
const pathname = usePathname();
|
|
114
|
+
|
|
115
|
+
return (
|
|
116
|
+
<nav>
|
|
117
|
+
{links.map(({ href, label }) => (
|
|
118
|
+
<a
|
|
119
|
+
key={href}
|
|
120
|
+
href={href}
|
|
121
|
+
style={{ fontWeight: pathname === href ? "bold" : "normal" }}
|
|
122
|
+
>
|
|
123
|
+
{label}
|
|
124
|
+
</a>
|
|
125
|
+
))}
|
|
126
|
+
</nav>
|
|
127
|
+
);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export default Sidebar;
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## संबंधित दस्तावेज़
|
|
134
|
+
|
|
135
|
+
- [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/next-intlayer/useLocale.md) — वर्तमान लोकेल + लोकेल स्विचर (यह `pathWithoutLocale` भी प्रदर्शित करता है)
|
|
136
|
+
- [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/intlayer/getPathWithoutLocale.md) — इस हुक द्वारा उपयोग की जाने वाली अंतर्निहित उपयोगिता
|
|
@@ -14,6 +14,9 @@ slugs:
|
|
|
14
14
|
- preact-intlayer
|
|
15
15
|
- exports
|
|
16
16
|
history:
|
|
17
|
+
- version: 10.0.0
|
|
18
|
+
date: 2026-06-23
|
|
19
|
+
changes: "usePathname उपयोगिता (utility) जोड़ी गई"
|
|
17
20
|
- version: 8.0.0
|
|
18
21
|
date: 2026-01-21
|
|
19
22
|
changes: "Unified documentation for all exports"
|
|
@@ -40,12 +43,13 @@ npm install preact-intlayer
|
|
|
40
43
|
|
|
41
44
|
### हुक्स
|
|
42
45
|
|
|
43
|
-
| हुक | विवरण
|
|
44
|
-
| --------------- |
|
|
45
|
-
| `useIntlayer` | यह `useDictionary` पर आधारित है, लेकिन जनरेट की गई घोषणा से शब्दकोश का एक अनुकूलित संस्करण इंजेक्ट करता है।
|
|
46
|
-
| `useDictionary` | ऐसे ऑब्जेक्ट्स को प्रोसेस करता है जो शब्दकोश जैसे दिखते हैं (key, content)। यह `t()` अनुवादों, enumerations आदि को प्रोसेस करता है।
|
|
47
|
-
| `useLocale` | वर्तमान locale और इसे सेट करने के लिए एक फ़ंक्शन लौटाता है।
|
|
48
|
-
| `
|
|
46
|
+
| हुक | विवरण | संबंधित दस्तावेज़ |
|
|
47
|
+
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
48
|
+
| `useIntlayer` | यह `useDictionary` पर आधारित है, लेकिन जनरेट की गई घोषणा से शब्दकोश का एक अनुकूलित संस्करण इंजेक्ट करता है। | - |
|
|
49
|
+
| `useDictionary` | ऐसे ऑब्जेक्ट्स को प्रोसेस करता है जो शब्दकोश जैसे दिखते हैं (key, content)। यह `t()` अनुवादों, enumerations आदि को प्रोसेस करता है। | - |
|
|
50
|
+
| `useLocale` | वर्तमान locale और इसे सेट करने के लिए एक फ़ंक्शन लौटाता है। | - |
|
|
51
|
+
| `usePathname` | यह हुक (hook) locale सेगमेंट को हटाकर वर्तमान पाथनेम (pathname) लौटाता है। `popstate` के माध्यम से ब्राउज़र नेविगेशन पर प्रतिक्रिया करता है। | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/packages/preact-intlayer/usePathname.md) |
|
|
52
|
+
| `t` | वर्तमान locale के आधार पर सामग्री चुनता है। | [अनुवाद](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/translation.md) |
|
|
49
53
|
|
|
50
54
|
### कंपोनेंट्स
|
|
51
55
|
|