@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-03-13
|
|
3
|
-
updatedAt:
|
|
3
|
+
updatedAt: 2026-06-21
|
|
4
4
|
title: Plugin Sync JSON
|
|
5
5
|
description: Sincronize os dicionários Intlayer com arquivos JSON i18n de terceiros (i18next, next-intl, react-intl, vue-i18n e mais). Mantenha seu i18n existente enquanto usa o Intlayer para gerenciar, traduzir e testar suas mensagens.
|
|
6
6
|
keywords:
|
|
@@ -24,6 +24,9 @@ slugs:
|
|
|
24
24
|
- sync-json
|
|
25
25
|
youtubeVideo: https://www.youtube.com/watch?v=MpGMxniDHNg
|
|
26
26
|
history:
|
|
27
|
+
- version: 9.0.0
|
|
28
|
+
date: 2026-06-21
|
|
29
|
+
changes: "Adiciona a opção splitKeys (um dicionário por chave de namespace de nível superior) para layouts de arquivo único next-intl / react-intl"
|
|
27
30
|
- version: 7.5.0
|
|
28
31
|
date: 2025-12-13
|
|
29
32
|
changes: "Adicionado suporte para formatos ICU e i18next"
|
|
@@ -62,7 +65,63 @@ pnpm add -D @intlayer/sync-json-plugin
|
|
|
62
65
|
npm i -D @intlayer/sync-json-plugin
|
|
63
66
|
```
|
|
64
67
|
|
|
65
|
-
##
|
|
68
|
+
## Plugins
|
|
69
|
+
|
|
70
|
+
Este pacote fornece dois plugins:
|
|
71
|
+
|
|
72
|
+
- `loadJSON`: Carrega arquivos JSON em dicionários Intlayer.
|
|
73
|
+
- Este plugin é usado para carregar arquivos JSON de uma fonte e será carregado em dicionários Intlayer. Ele pode escanear todo o codebase e procurar por arquivos JSON específicos.
|
|
74
|
+
Este plugin pode ser usado
|
|
75
|
+
- se você usa uma biblioteca i18n que impõe um local específico para seus JSONs serem carregados (ex: `next-intl`, `i18next`, `react-intl`, `vue-i18n`, etc.), mas você quer colocar sua declaração de conteúdo onde quiser em seu codebase.
|
|
76
|
+
- Também pode ser usado se você quiser buscar suas mensagens de uma fonte remota (ex: um CMS, uma API, etc.) e armazenar suas mensagens em arquivos JSON.
|
|
77
|
+
|
|
78
|
+
> Por baixo dos panos, este plugin escaneará todo o codebase e procurará por arquivos JSON específicos e os carregará em dicionários Intlayer.
|
|
79
|
+
> Note que este plugin não escreverá a saída e as traduções de volta para os arquivos JSON.
|
|
80
|
+
|
|
81
|
+
- `syncJSON`: Sincroniza arquivos JSON com dicionários Intlayer.
|
|
82
|
+
- Este plugin é usado para sincronizar arquivos JSON com dicionários Intlayer. Ele pode escanear o local fornecido e carregar o JSON que corresponde ao padrão para arquivos JSON específicos. Este plugin é útil se você quiser obter os benefícios do Intlayer enquanto usa outra biblioteca i18n.
|
|
83
|
+
|
|
84
|
+
## Usando ambos os plugins
|
|
85
|
+
|
|
86
|
+
```ts fileName="intlayer.config.ts"
|
|
87
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
88
|
+
import { loadJSON, syncJSON } from "@intlayer/sync-json-plugin";
|
|
89
|
+
|
|
90
|
+
const config: IntlayerConfig = {
|
|
91
|
+
internationalization: {
|
|
92
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
93
|
+
defaultLocale: Locales.ENGLISH,
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
// Mantenha seus arquivos JSON atuais sincronizados com os dicionários Intlayer
|
|
97
|
+
plugins: [
|
|
98
|
+
/**
|
|
99
|
+
* Irá carregar todos os arquivos JSON na src que correspondem ao padrão {key}.i18n json
|
|
100
|
+
*/
|
|
101
|
+
loadJSON({
|
|
102
|
+
source: ({ key }) => `./src/**/${key}.i18n.json`,
|
|
103
|
+
locale: Locales.ENGLISH,
|
|
104
|
+
priority: 1, // Garante que esses arquivos JSON tenham precedência sobre os arquivos em `./locales/en/${key}.json`
|
|
105
|
+
format: "intlayer", // Formato do conteúdo JSON
|
|
106
|
+
}),
|
|
107
|
+
/**
|
|
108
|
+
* Irá carregar e escrever a saída e as traduções de volta para os arquivos JSON no diretório de localidades
|
|
109
|
+
*/
|
|
110
|
+
syncJSON({
|
|
111
|
+
format: "i18next",
|
|
112
|
+
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
113
|
+
priority: 0,
|
|
114
|
+
format: "i18next",
|
|
115
|
+
}),
|
|
116
|
+
],
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export default config;
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## `syncJSON` plugin
|
|
123
|
+
|
|
124
|
+
### Início rápido
|
|
66
125
|
|
|
67
126
|
Adicione o plugin ao seu `intlayer.config.ts` e aponte para sua estrutura JSON existente.
|
|
68
127
|
|
|
@@ -81,6 +140,7 @@ const config: IntlayerConfig = {
|
|
|
81
140
|
syncJSON({
|
|
82
141
|
// Layout por localidade, por namespace (por exemplo, next-intl, i18next com namespaces)
|
|
83
142
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
143
|
+
format: "icu",
|
|
84
144
|
}),
|
|
85
145
|
],
|
|
86
146
|
};
|
|
@@ -91,14 +151,27 @@ export default config;
|
|
|
91
151
|
Alternativa: arquivo único por localidade (comum em configurações i18next/react-intl):
|
|
92
152
|
|
|
93
153
|
```ts fileName="intlayer.config.ts"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
154
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
155
|
+
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
156
|
+
|
|
157
|
+
const config: IntlayerConfig = {
|
|
158
|
+
internationalization: {
|
|
159
|
+
locales: [Locales.ENGLISH, Locales.FRENCH],
|
|
160
|
+
defaultLocale: Locales.ENGLISH,
|
|
161
|
+
},
|
|
162
|
+
plugins: [
|
|
163
|
+
syncJSON({
|
|
164
|
+
format: "i18next",
|
|
165
|
+
source: ({ locale }) => `./locales/${locale}.json`,
|
|
166
|
+
format: "i18next",
|
|
167
|
+
}),
|
|
168
|
+
],
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export default config;
|
|
99
172
|
```
|
|
100
173
|
|
|
101
|
-
|
|
174
|
+
#### Como funciona
|
|
102
175
|
|
|
103
176
|
- Leitura: o plugin descobre arquivos JSON a partir do seu construtor `source` e os carrega como dicionários Intlayer.
|
|
104
177
|
- Escrita: após builds e preenchimentos, ele grava o JSON localizado de volta nos mesmos caminhos (com uma nova linha final para evitar problemas de formatação).
|
|
@@ -112,6 +185,7 @@ syncJSON({
|
|
|
112
185
|
location?: string, // rótulo opcional, padrão: "plugin"
|
|
113
186
|
priority?: number, // prioridade opcional para resolução de conflitos, padrão: 0
|
|
114
187
|
format?: 'intlayer' | 'icu' | 'i18next', // formatador opcional, usado para compatibilidade com o runtime Intlayer
|
|
188
|
+
splitKeys?: boolean, // opcional, divide um único arquivo em um dicionário por chave de nível superior (detecção automática)
|
|
115
189
|
});
|
|
116
190
|
```
|
|
117
191
|
|
|
@@ -136,17 +210,49 @@ syncJSON({
|
|
|
136
210
|
}),
|
|
137
211
|
```
|
|
138
212
|
|
|
139
|
-
|
|
213
|
+
#### `splitKeys` (boolean)
|
|
214
|
+
|
|
215
|
+
Controla se um único arquivo JSON cujas **chaves de primeiro nível são namespaces** deve se tornar um dicionário por chave de nível superior, em vez de um único dicionário contendo o arquivo inteiro.
|
|
216
|
+
|
|
217
|
+
Isso corresponde ao modelo de namespace de bibliotecas como `next-intl` e `react-intl`, onde um arquivo `messages/{locale}.json` agrupa vários namespaces por suas chaves de primeiro nível, cada um endereçado independentemente (por exemplo, `useTranslations('Hero')` resolve para o dicionário `Hero`).
|
|
218
|
+
|
|
219
|
+
- `undefined` (padrão): **detecção automática** — o arquivo é dividido quando o padrão `source` não possui um segmento `{key}` (um arquivo contém todos os namespaces), e mantido como um único dicionário caso contrário (um arquivo por chave).
|
|
220
|
+
- `true`: sempre divide cada chave de nível superior em seu próprio dicionário.
|
|
221
|
+
- `false`: nunca divide; o arquivo inteiro se torna um único dicionário.
|
|
222
|
+
|
|
223
|
+
Dado um único arquivo `messages/{locale}.json`:
|
|
224
|
+
|
|
225
|
+
```json fileName="messages/en.json"
|
|
226
|
+
{
|
|
227
|
+
"Hero": { "title": "Full-stack developer" },
|
|
228
|
+
"Nav": { "work": "Work", "about": "About" },
|
|
229
|
+
"About": { "lead": "I build apps end to end." }
|
|
230
|
+
}
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
```ts fileName="intlayer.config.ts"
|
|
234
|
+
syncJSON({
|
|
235
|
+
format: "icu",
|
|
236
|
+
source: ({ locale }) => `./messages/${locale}.json`,
|
|
237
|
+
// splitKeys: true, // implícito porque o padrão não possui um segmento `{key}`
|
|
238
|
+
}),
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
Isso produz três dicionários — `Hero`, `Nav` e `About` — de modo que `useTranslations('Hero')` (next-intl) resolve corretamente. Na gravação de volta, todos os namespaces são remontados no mesmo arquivo por localidade.
|
|
242
|
+
|
|
243
|
+
> Quando você mantém o segmento `{key}` explícito em sua `source` (por exemplo, `./locales/${locale}/${key}.json`), cada arquivo já é um namespace, então a divisão é desativada por padrão.
|
|
244
|
+
|
|
245
|
+
### Múltiplas fontes JSON e prioridade
|
|
140
246
|
|
|
141
247
|
Você pode adicionar múltiplos plugins `syncJSON` para sincronizar diferentes fontes JSON. Isso é útil quando você tem múltiplas bibliotecas i18n ou diferentes estruturas JSON no seu projeto.
|
|
142
248
|
|
|
143
|
-
|
|
249
|
+
#### Sistema de prioridade
|
|
144
250
|
|
|
145
251
|
Quando múltiplos plugins têm como alvo a mesma chave de dicionário, o parâmetro `priority` determina qual plugin tem precedência:
|
|
146
252
|
|
|
147
253
|
- Números de prioridade mais altos ganham sobre os mais baixos
|
|
148
254
|
- Prioridade padrão dos arquivos `.content` é `0`
|
|
149
|
-
- Prioridade padrão dos
|
|
255
|
+
- Prioridade padrão dos plugins é `0`
|
|
150
256
|
- Plugins com a mesma prioridade são processados na ordem em que aparecem na configuração
|
|
151
257
|
|
|
152
258
|
```ts fileName="intlayer.config.ts"
|
|
@@ -189,73 +295,140 @@ const config: IntlayerConfig = {
|
|
|
189
295
|
export default config;
|
|
190
296
|
```
|
|
191
297
|
|
|
192
|
-
|
|
298
|
+
## Load JSON plugin
|
|
193
299
|
|
|
194
|
-
|
|
300
|
+
### Início rápido
|
|
195
301
|
|
|
196
|
-
|
|
197
|
-
2. Fontes com prioridade menor são usadas como fallback para chaves ausentes
|
|
198
|
-
3. Isso permite manter traduções legadas enquanto migra gradualmente para novas estruturas
|
|
302
|
+
Adicione o plugin ao seu `intlayer.config.ts` para ingerir arquivos JSON existentes como dicionários Intlayer. Este plugin é somente leitura (não grava em disco):
|
|
199
303
|
|
|
200
|
-
|
|
304
|
+
```ts fileName="intlayer.config.ts"
|
|
305
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
306
|
+
import { loadJSON } from "@intlayer/sync-json-plugin";
|
|
201
307
|
|
|
202
|
-
|
|
308
|
+
const config: IntlayerConfig = {
|
|
309
|
+
internationalization: {
|
|
310
|
+
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
311
|
+
defaultLocale: Locales.ENGLISH,
|
|
312
|
+
},
|
|
313
|
+
|
|
314
|
+
plugins: [
|
|
315
|
+
// Ingerir mensagens JSON localizadas em qualquer lugar da sua árvore de origem
|
|
316
|
+
loadJSON({
|
|
317
|
+
source: ({ key }) => `./src/**/${key}.i18n.json`,
|
|
318
|
+
// Carregar uma única localidade por instância de plugin (padrão para a defaultLocale da configuração)
|
|
319
|
+
locale: Locales.ENGLISH,
|
|
320
|
+
priority: 0,
|
|
321
|
+
}),
|
|
322
|
+
],
|
|
323
|
+
};
|
|
203
324
|
|
|
204
|
-
|
|
325
|
+
export default config;
|
|
326
|
+
```
|
|
205
327
|
|
|
206
|
-
|
|
328
|
+
Alternativa: layout por localidade, ainda somente leitura (apenas a localidade selecionada é carregada):
|
|
207
329
|
|
|
208
330
|
```ts fileName="intlayer.config.ts"
|
|
209
|
-
import {
|
|
331
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
332
|
+
import { loadJSON } from "@intlayer/sync-json-plugin";
|
|
210
333
|
|
|
211
|
-
|
|
334
|
+
const config: IntlayerConfig = {
|
|
335
|
+
internationalization: {
|
|
336
|
+
locales: [Locales.ENGLISH, Locales.FRENCH],
|
|
337
|
+
defaultLocale: Locales.ENGLISH,
|
|
338
|
+
},
|
|
212
339
|
plugins: [
|
|
213
|
-
|
|
214
|
-
|
|
340
|
+
loadJSON({
|
|
341
|
+
// Apenas arquivos para Locales.FRENCH serão carregados a partir deste padrão
|
|
215
342
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
343
|
+
locale: Locales.FRENCH,
|
|
216
344
|
}),
|
|
217
345
|
],
|
|
218
346
|
};
|
|
347
|
+
|
|
348
|
+
export default config;
|
|
219
349
|
```
|
|
220
350
|
|
|
221
|
-
###
|
|
351
|
+
### Como funciona
|
|
352
|
+
|
|
353
|
+
- Descobrir: constrói um glob a partir do seu construtor `source` e coleta arquivos JSON correspondentes.
|
|
354
|
+
- Ingerir: carrega cada arquivo JSON como um dicionário Intlayer com a `locale` fornecida.
|
|
355
|
+
- Somente leitura: não escreve ou formata arquivos de saída; use `syncJSON` se precisar de sincronização de ida e volta.
|
|
356
|
+
- Pronto para auto-preenchimento: define um padrão `fill` para que `intlayer content fill` possa preencher chaves ausentes.
|
|
222
357
|
|
|
223
|
-
|
|
358
|
+
### API
|
|
224
359
|
|
|
225
|
-
```ts
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
360
|
+
```ts
|
|
361
|
+
loadJSON({
|
|
362
|
+
// Constrói caminhos para o seu JSON. `locale` é opcional se sua estrutura não tiver um segmento de localidade
|
|
363
|
+
source: ({ key, locale }) => string,
|
|
364
|
+
|
|
365
|
+
// Localidade de destino para os dicionários carregados por esta instância de plugin
|
|
366
|
+
// Padrão para configuration.internationalization.defaultLocale
|
|
367
|
+
locale?: Locale,
|
|
368
|
+
|
|
369
|
+
// Rótulo opcional para identificar a fonte
|
|
370
|
+
location?: string, // padrão: "plugin"
|
|
371
|
+
|
|
372
|
+
// Prioridade usada para resolução de conflitos contra outras fontes
|
|
373
|
+
priority?: number, // padrão: 0
|
|
374
|
+
|
|
375
|
+
// Formatador opcional para o conteúdo JSON
|
|
376
|
+
format?: 'intlayer' | 'icu' | 'i18next', // padrão: 'intlayer'
|
|
377
|
+
|
|
378
|
+
// Divide um único arquivo em um dicionário por chave de nível superior (detecção automática)
|
|
379
|
+
splitKeys?: boolean,
|
|
380
|
+
});
|
|
231
381
|
```
|
|
232
382
|
|
|
233
|
-
|
|
383
|
+
#### `format` ('intlayer' | 'icu' | 'i18next')
|
|
234
384
|
|
|
235
|
-
|
|
385
|
+
Especifica o formatador a ser usado para o conteúdo do dicionário ao carregar arquivos JSON. Isso permite usar diferentes sintaxes de formatação de mensagens compatíveis com várias bibliotecas i18n.
|
|
236
386
|
|
|
237
|
-
|
|
387
|
+
- `'intlayer'`: O formatador Intlayer padrão (padrão).
|
|
388
|
+
- `'icu'`: Usa formatação de mensagens ICU (compatível com bibliotecas como react-intl, vue-i18n).
|
|
389
|
+
- `'i18next'`: Usa formatação de mensagens i18next (compatível com i18next, next-i18next, Solid-i18next).
|
|
238
390
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
})
|
|
244
|
-
|
|
391
|
+
**Exemplo:**
|
|
392
|
+
|
|
393
|
+
```ts
|
|
394
|
+
loadJSON({
|
|
395
|
+
source: ({ key }) => `./src/**/${key}.i18n.json`,
|
|
396
|
+
locale: Locales.ENGLISH,
|
|
397
|
+
format: "icu", // Usar formatação ICU para compatibilidade
|
|
398
|
+
}),
|
|
245
399
|
```
|
|
246
400
|
|
|
247
|
-
|
|
401
|
+
#### `splitKeys` (boolean)
|
|
248
402
|
|
|
249
|
-
|
|
403
|
+
Mesmo comportamento que em [`syncJSON`](#splitkeys-boolean): quando um único arquivo JSON agrupa vários namespaces por suas chaves de primeiro nível, cada chave de nível superior se torna seu próprio dicionário.
|
|
250
404
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
405
|
+
- `undefined` (padrão): **detecção automática** — divide quando o padrão `source` não possui um segmento `{key}`, dicionário único caso contrário.
|
|
406
|
+
- `true` / `false`: força ou desabilita a divisão.
|
|
407
|
+
|
|
408
|
+
```ts
|
|
409
|
+
loadJSON({
|
|
410
|
+
source: ({ locale }) => `./messages/${locale}.json`,
|
|
411
|
+
format: "icu",
|
|
412
|
+
// splitKeys auto-enabled: `Hero`, `Nav`, `About`, … cada um se torna um dicionário
|
|
413
|
+
}),
|
|
257
414
|
```
|
|
258
415
|
|
|
416
|
+
### Comportamento e convenções
|
|
417
|
+
|
|
418
|
+
- Se sua máscara `source` incluir um placeholder de localidade, apenas os arquivos para a `locale` selecionada serão ingeridos.
|
|
419
|
+
- Se não houver um segmento `{key}` em sua máscara, cada chave de nível superior do arquivo se torna seu próprio dicionário por padrão (veja [`splitKeys`](#splitkeys-boolean)). Defina `splitKeys: false` para carregar o arquivo inteiro como um único dicionário `index`.
|
|
420
|
+
- As chaves são derivadas dos caminhos dos arquivos substituindo o placeholder `{key}` em seu construtor `source`.
|
|
421
|
+
- O plugin usa apenas arquivos descobertos e não fabrica localidades ou chaves ausentes.
|
|
422
|
+
- O caminho `fill` é inferido de sua `source` e usado para atualizar valores ausentes via CLI quando você opta por isso.
|
|
423
|
+
|
|
424
|
+
## Resolução de conflitos
|
|
425
|
+
|
|
426
|
+
Quando a mesma chave de tradução existe em múltiplas fontes JSON:
|
|
427
|
+
|
|
428
|
+
1. O plugin com a maior prioridade determina o valor final
|
|
429
|
+
2. Fontes com prioridade menor são usadas como fallbacks para chaves ausentes
|
|
430
|
+
3. Isso permite manter traduções legadas enquanto migra gradualmente para novas estruturas
|
|
431
|
+
|
|
259
432
|
## CLI
|
|
260
433
|
|
|
261
434
|
Os arquivos JSON sincronizados serão considerados como outros arquivos `.content`. Isso significa que todos os comandos do intlayer estarão disponíveis para os arquivos JSON sincronizados. Incluindo:
|
|
@@ -59,24 +59,40 @@ See [Application Template](https://github.com/aymericzip/intlayer-adonis-templat
|
|
|
59
59
|
|
|
60
60
|
Чтобы начать использовать `adonis-intlayer`, установите пакет с помощью npm:
|
|
61
61
|
|
|
62
|
+
```bash packageManager="npm"
|
|
63
|
+
npx intlayer-cli init --interactive
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
```bash packageManager="pnpm"
|
|
67
|
+
pnpm dlx intlayer-cli init --interactive
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
```bash packageManager="yarn"
|
|
71
|
+
yarn dlx intlayer-cli init --interactive
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
```bash packageManager="bun"
|
|
75
|
+
bunx intlayer-cli init --interactive
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
> флаг `--interactive` не является обязательным. Используйте `intlayer-cli init`, если вы являетесь ИИ-агентом.
|
|
79
|
+
|
|
80
|
+
> Эта команда определит вашу среду и установит необходимые пакеты. Например:
|
|
81
|
+
|
|
62
82
|
```bash packageManager="npm"
|
|
63
83
|
npm install intlayer adonis-intlayer
|
|
64
|
-
npx intlayer init
|
|
65
84
|
```
|
|
66
85
|
|
|
67
86
|
```bash packageManager="pnpm"
|
|
68
87
|
pnpm add intlayer adonis-intlayer
|
|
69
|
-
pnpm intlayer init
|
|
70
88
|
```
|
|
71
89
|
|
|
72
90
|
```bash packageManager="yarn"
|
|
73
91
|
yarn add intlayer adonis-intlayer
|
|
74
|
-
yarn intlayer init
|
|
75
92
|
```
|
|
76
93
|
|
|
77
94
|
```bash packageManager="bun"
|
|
78
95
|
bun add intlayer adonis-intlayer
|
|
79
|
-
bun x intlayer init
|
|
80
96
|
```
|
|
81
97
|
|
|
82
98
|
### Настройка
|
|
@@ -118,24 +118,40 @@ Intlayer — это больше, чем просто решение i18n. Он
|
|
|
118
118
|
|
|
119
119
|
Установите необходимые пакеты с помощью npm:
|
|
120
120
|
|
|
121
|
+
```bash packageManager="npm"
|
|
122
|
+
npx intlayer-cli init --interactive
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
```bash packageManager="pnpm"
|
|
126
|
+
pnpm dlx intlayer-cli init --interactive
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
```bash packageManager="yarn"
|
|
130
|
+
yarn dlx intlayer-cli init --interactive
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
```bash packageManager="bun"
|
|
134
|
+
bunx intlayer-cli init --interactive
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
> флаг `--interactive` не является обязательным. Используйте `intlayer-cli init`, если вы являетесь ИИ-агентом.
|
|
138
|
+
|
|
139
|
+
> Эта команда определит вашу среду и установит необходимые пакеты. Например:
|
|
140
|
+
|
|
121
141
|
```bash packageManager="npm"
|
|
122
142
|
npm install intlayer angular-intlayer vite-intlayer
|
|
123
|
-
npx intlayer init
|
|
124
143
|
```
|
|
125
144
|
|
|
126
145
|
```bash packageManager="pnpm"
|
|
127
146
|
pnpm add intlayer angular-intlayer vite-intlayer
|
|
128
|
-
pnpm intlayer init
|
|
129
147
|
```
|
|
130
148
|
|
|
131
149
|
```bash packageManager="yarn"
|
|
132
150
|
yarn add intlayer angular-intlayer vite-intlayer
|
|
133
|
-
yarn intlayer init
|
|
134
151
|
```
|
|
135
152
|
|
|
136
153
|
```bash packageManager="bun"
|
|
137
154
|
bun add intlayer angular-intlayer vite-intlayer
|
|
138
|
-
bun x intlayer init
|
|
139
155
|
```
|
|
140
156
|
|
|
141
157
|
- **intlayer**
|
|
@@ -121,28 +121,44 @@ Intlayer — это больше, чем просто решение i18n. Он
|
|
|
121
121
|
|
|
122
122
|
Установите необходимые пакеты с помощью npm:
|
|
123
123
|
|
|
124
|
+
```bash packageManager="npm"
|
|
125
|
+
npx intlayer-cli init --interactive
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```bash packageManager="pnpm"
|
|
129
|
+
pnpm dlx intlayer-cli init --interactive
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```bash packageManager="yarn"
|
|
133
|
+
yarn dlx intlayer-cli init --interactive
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
```bash packageManager="bun"
|
|
137
|
+
bunx intlayer-cli init --interactive
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
> флаг `--interactive` не является обязательным. Используйте `intlayer-cli init`, если вы являетесь ИИ-агентом.
|
|
141
|
+
|
|
142
|
+
> Эта команда определит вашу среду и установит необходимые пакеты. Например:
|
|
143
|
+
|
|
124
144
|
```bash packageManager="npm"
|
|
125
145
|
npm install intlayer angular-intlayer
|
|
126
146
|
npm install @angular-builders/custom-webpack --save-dev
|
|
127
|
-
npx intlayer init
|
|
128
147
|
```
|
|
129
148
|
|
|
130
149
|
```bash packageManager="pnpm"
|
|
131
150
|
pnpm add intlayer angular-intlayer
|
|
132
151
|
pnpm add @angular-builders/custom-webpack --save-dev
|
|
133
|
-
pnpm intlayer init
|
|
134
152
|
```
|
|
135
153
|
|
|
136
154
|
```bash packageManager="yarn"
|
|
137
155
|
yarn add intlayer angular-intlayer
|
|
138
156
|
yarn add @angular-builders/custom-webpack --save-dev
|
|
139
|
-
yarn intlayer init
|
|
140
157
|
```
|
|
141
158
|
|
|
142
159
|
```bash packageManager="bun"
|
|
143
160
|
bun add intlayer angular-intlayer
|
|
144
161
|
bun add @angular-builders/custom-webpack --dev
|
|
145
|
-
bun x intlayer init
|
|
146
162
|
```
|
|
147
163
|
|
|
148
164
|
- **intlayer**
|
|
@@ -123,28 +123,44 @@ Intlayer — это больше, чем просто решение i18n. Он
|
|
|
123
123
|
|
|
124
124
|
Установите необходимые пакеты с помощью npm:
|
|
125
125
|
|
|
126
|
+
```bash packageManager="npm"
|
|
127
|
+
npx intlayer-cli init --interactive
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
```bash packageManager="pnpm"
|
|
131
|
+
pnpm dlx intlayer-cli init --interactive
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
```bash packageManager="yarn"
|
|
135
|
+
yarn dlx intlayer-cli init --interactive
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
```bash packageManager="bun"
|
|
139
|
+
bunx intlayer-cli init --interactive
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
> флаг `--interactive` не является обязательным. Используйте `intlayer-cli init`, если вы являетесь ИИ-агентом.
|
|
143
|
+
|
|
144
|
+
> Эта команда определит вашу среду и установит необходимые пакеты. Например:
|
|
145
|
+
|
|
126
146
|
```bash packageManager="npm"
|
|
127
147
|
npm install intlayer angular-intlayer
|
|
128
148
|
npm install @angular-builders/custom-esbuild --save-dev
|
|
129
|
-
npx intlayer init
|
|
130
149
|
```
|
|
131
150
|
|
|
132
151
|
```bash packageManager="pnpm"
|
|
133
152
|
pnpm add intlayer angular-intlayer
|
|
134
153
|
pnpm add @angular-builders/custom-esbuild --save-dev
|
|
135
|
-
pnpm intlayer init
|
|
136
154
|
```
|
|
137
155
|
|
|
138
156
|
```bash packageManager="yarn"
|
|
139
157
|
yarn add intlayer angular-intlayer
|
|
140
158
|
yarn add @angular-builders/custom-esbuild --save-dev
|
|
141
|
-
yarn intlayer init
|
|
142
159
|
```
|
|
143
160
|
|
|
144
161
|
```bash packageManager="bun"
|
|
145
162
|
bun add intlayer angular-intlayer
|
|
146
163
|
bun add @angular-builders/custom-esbuild --dev
|
|
147
|
-
bun x intlayer init
|
|
148
164
|
```
|
|
149
165
|
|
|
150
166
|
- **intlayer**
|
|
@@ -121,27 +121,39 @@ Intlayer — это больше, чем просто решение i18n. Он
|
|
|
121
121
|
Установите необходимые пакеты с помощью вашего менеджера пакетов:
|
|
122
122
|
|
|
123
123
|
```bash packageManager="npm"
|
|
124
|
-
|
|
124
|
+
npx intlayer-cli init --interactive
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
```bash packageManager="pnpm"
|
|
128
|
+
pnpm dlx intlayer-cli init --interactive
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
```bash packageManager="yarn"
|
|
132
|
+
yarn dlx intlayer-cli init --interactive
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
```bash packageManager="bun"
|
|
136
|
+
bunx intlayer-cli init --interactive
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
> флаг `--interactive` не является обязательным. Используйте `intlayer-cli init`, если вы являетесь ИИ-агентом.
|
|
125
140
|
|
|
126
|
-
|
|
141
|
+
> Эта команда определит вашу среду и установит необходимые пакеты. Например:
|
|
142
|
+
|
|
143
|
+
```bash packageManager="npm"
|
|
144
|
+
npm install intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
127
145
|
```
|
|
128
146
|
|
|
129
147
|
```bash packageManager="pnpm"
|
|
130
148
|
pnpm add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
131
|
-
|
|
132
|
-
pnpm intlayer init
|
|
133
149
|
```
|
|
134
150
|
|
|
135
151
|
```bash packageManager="yarn"
|
|
136
152
|
yarn add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
137
|
-
|
|
138
|
-
yarn intlayer init
|
|
139
153
|
```
|
|
140
154
|
|
|
141
155
|
```bash packageManager="bun"
|
|
142
156
|
bun add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
143
|
-
|
|
144
|
-
bun x intlayer init
|
|
145
157
|
```
|
|
146
158
|
|
|
147
159
|
- **intlayer**
|
|
@@ -52,24 +52,40 @@ author: aymericzip
|
|
|
52
52
|
|
|
53
53
|
Установите необходимые пакеты с помощью npm:
|
|
54
54
|
|
|
55
|
+
```bash packageManager="npm"
|
|
56
|
+
npx intlayer-cli init --interactive
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
```bash packageManager="pnpm"
|
|
60
|
+
pnpm dlx intlayer-cli init --interactive
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```bash packageManager="yarn"
|
|
64
|
+
yarn dlx intlayer-cli init --interactive
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```bash packageManager="bun"
|
|
68
|
+
bunx intlayer-cli init --interactive
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
> флаг `--interactive` не является обязательным. Используйте `intlayer-cli init`, если вы являетесь ИИ-агентом.
|
|
72
|
+
|
|
73
|
+
> Эта команда определит вашу среду и установит необходимые пакеты. Например:
|
|
74
|
+
|
|
55
75
|
```bash packageManager="npm"
|
|
56
76
|
npm install intlayer react-intlayer react-scripts-intlayer
|
|
57
|
-
npx intlayer init
|
|
58
77
|
```
|
|
59
78
|
|
|
60
79
|
```bash packageManager="pnpm"
|
|
61
80
|
pnpm add intlayer react-intlayer react-scripts-intlayer
|
|
62
|
-
pnpm intlayer init
|
|
63
81
|
```
|
|
64
82
|
|
|
65
83
|
```bash packageManager="yarn"
|
|
66
84
|
yarn add intlayer react-intlayer react-scripts-intlayer
|
|
67
|
-
yarn intlayer init
|
|
68
85
|
```
|
|
69
86
|
|
|
70
87
|
```bash packageManager="bun"
|
|
71
88
|
bun add intlayer react-intlayer react-scripts-intlayer
|
|
72
|
-
bun x intlayer init
|
|
73
89
|
```
|
|
74
90
|
|
|
75
91
|
- **intlayer**
|