@intlayer/docs 9.0.0-canary.6 → 9.0.0-canary.8
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/dist/cjs/generated/docs.entry.cjs +80 -20
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +80 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +4 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/compiler.md +6 -3
- package/docs/ar/custom_domains.md +8 -2
- package/docs/ar/custom_url_rewrites.md +8 -2
- package/docs/ar/dynamic_dictionaries/index.md +24 -18
- package/docs/ar/dynamic_dictionaries/variants.md +280 -22
- package/docs/ar/intlayer_with_analog.md +5 -1
- package/docs/ar/intlayer_with_astro.md +2 -0
- package/docs/ar/intlayer_with_astro_lit.md +2 -0
- package/docs/ar/intlayer_with_astro_preact.md +2 -0
- package/docs/ar/intlayer_with_astro_react.md +2 -0
- package/docs/ar/intlayer_with_astro_solid.md +2 -0
- package/docs/ar/intlayer_with_astro_svelte.md +2 -0
- package/docs/ar/intlayer_with_astro_vanilla.md +2 -0
- package/docs/ar/intlayer_with_astro_vue.md +2 -0
- package/docs/ar/intlayer_with_lynx+react.md +6 -1
- package/docs/ar/intlayer_with_nextjs_16.md +2 -0
- package/docs/ar/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ar/intlayer_with_react_native+expo.md +6 -1
- package/docs/ar/intlayer_with_react_router_v7.md +3 -1
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ar/intlayer_with_storybook.md +7 -1
- package/docs/ar/intlayer_with_svelte_kit.md +8 -3
- package/docs/ar/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ar/intlayer_with_tanstack.md +16 -7
- package/docs/ar/intlayer_with_vite+lit.md +8 -2
- package/docs/ar/intlayer_with_vite+preact.md +2 -0
- package/docs/ar/intlayer_with_vite+react.md +8 -3
- package/docs/ar/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ar/intlayer_with_vite+solid.md +2 -0
- package/docs/ar/intlayer_with_vite+svelte.md +4 -2
- package/docs/ar/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ar/intlayer_with_vite+vue.md +8 -3
- package/docs/ar/packages/@intlayer_babel/export.md +131 -0
- package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ar/plugins/sync-json.md +0 -1
- package/docs/ar/releases/v9.md +79 -12
- package/docs/bn/custom_domains.md +8 -2
- package/docs/bn/intlayer_with_storybook.md +7 -1
- package/docs/bn/intlayer_with_vite+lit.md +8 -2
- package/docs/bn/intlayer_with_vite+vanilla.md +16 -5
- package/docs/cs/custom_domains.md +8 -2
- package/docs/cs/intlayer_with_storybook.md +7 -1
- package/docs/cs/intlayer_with_vite+lit.md +8 -2
- package/docs/cs/intlayer_with_vite+vanilla.md +16 -5
- package/docs/de/compiler.md +6 -3
- package/docs/de/custom_domains.md +8 -2
- package/docs/de/custom_url_rewrites.md +8 -2
- package/docs/de/dynamic_dictionaries/index.md +22 -22
- package/docs/de/dynamic_dictionaries/variants.md +272 -14
- package/docs/de/intlayer_with_analog.md +5 -1
- package/docs/de/intlayer_with_astro.md +3 -1
- package/docs/de/intlayer_with_astro_lit.md +3 -1
- package/docs/de/intlayer_with_astro_preact.md +3 -1
- package/docs/de/intlayer_with_astro_react.md +3 -1
- package/docs/de/intlayer_with_astro_solid.md +3 -1
- package/docs/de/intlayer_with_astro_svelte.md +3 -1
- package/docs/de/intlayer_with_astro_vanilla.md +3 -1
- package/docs/de/intlayer_with_astro_vue.md +3 -1
- package/docs/de/intlayer_with_lynx+react.md +6 -1
- package/docs/de/intlayer_with_nextjs_16.md +2 -0
- package/docs/de/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/de/intlayer_with_react_native+expo.md +6 -1
- package/docs/de/intlayer_with_react_router_v7.md +3 -1
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +8 -3
- package/docs/de/intlayer_with_storybook.md +7 -1
- package/docs/de/intlayer_with_svelte_kit.md +9 -4
- package/docs/de/intlayer_with_tanstack+solid.md +18 -11
- package/docs/de/intlayer_with_tanstack.md +17 -8
- package/docs/de/intlayer_with_vite+lit.md +13 -4
- package/docs/de/intlayer_with_vite+preact.md +3 -1
- package/docs/de/intlayer_with_vite+react.md +9 -4
- package/docs/de/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/de/intlayer_with_vite+solid.md +3 -1
- package/docs/de/intlayer_with_vite+svelte.md +9 -4
- package/docs/de/intlayer_with_vite+vanilla.md +16 -5
- package/docs/de/intlayer_with_vite+vue.md +9 -4
- package/docs/de/packages/@intlayer_babel/export.md +131 -0
- package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/de/plugins/sync-json.md +0 -1
- package/docs/de/releases/v9.md +57 -12
- package/docs/en/compiler.md +5 -1
- package/docs/en/custom_domains.md +8 -2
- package/docs/en/custom_url_rewrites.md +8 -2
- package/docs/en/dynamic_dictionaries/index.md +20 -14
- package/docs/en/dynamic_dictionaries/variants.md +266 -8
- package/docs/en/intlayer_with_analog.md +5 -1
- package/docs/en/intlayer_with_astro.md +2 -2
- package/docs/en/intlayer_with_astro_lit.md +2 -2
- package/docs/en/intlayer_with_astro_preact.md +2 -2
- package/docs/en/intlayer_with_astro_react.md +2 -2
- package/docs/en/intlayer_with_astro_solid.md +2 -2
- package/docs/en/intlayer_with_astro_svelte.md +2 -2
- package/docs/en/intlayer_with_astro_vanilla.md +2 -2
- package/docs/en/intlayer_with_astro_vue.md +2 -2
- package/docs/en/intlayer_with_lynx+react.md +6 -1
- package/docs/en/intlayer_with_nextjs_16.md +2 -0
- package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/en/intlayer_with_react_native+expo.md +6 -1
- package/docs/en/intlayer_with_react_router_v7.md +8 -3
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +8 -3
- package/docs/en/intlayer_with_storybook.md +7 -1
- package/docs/en/intlayer_with_svelte_kit.md +8 -5
- package/docs/en/intlayer_with_tanstack+solid.md +18 -9
- package/docs/en/intlayer_with_tanstack.md +16 -7
- package/docs/en/intlayer_with_vite+lit.md +13 -4
- package/docs/en/intlayer_with_vite+preact.md +8 -3
- package/docs/en/intlayer_with_vite+react.md +8 -3
- package/docs/en/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/en/intlayer_with_vite+solid.md +8 -3
- package/docs/en/intlayer_with_vite+svelte.md +8 -3
- package/docs/en/intlayer_with_vite+vanilla.md +15 -6
- package/docs/en/intlayer_with_vite+vue.md +8 -3
- package/docs/en/packages/@intlayer_babel/export.md +131 -0
- package/docs/en/packages/vite-intlayer/exports.md +38 -13
- package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
- package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
- package/docs/en/plugins/sync-json.md +0 -1
- package/docs/en/releases/v9.md +59 -12
- package/docs/en-GB/compiler.md +6 -3
- package/docs/en-GB/custom_domains.md +8 -2
- package/docs/en-GB/custom_url_rewrites.md +8 -2
- package/docs/en-GB/dynamic_dictionaries/index.md +21 -15
- package/docs/en-GB/dynamic_dictionaries/variants.md +268 -10
- package/docs/en-GB/intlayer_with_analog.md +5 -1
- package/docs/en-GB/intlayer_with_astro.md +2 -0
- package/docs/en-GB/intlayer_with_astro_lit.md +2 -0
- package/docs/en-GB/intlayer_with_astro_preact.md +2 -0
- package/docs/en-GB/intlayer_with_astro_react.md +2 -0
- package/docs/en-GB/intlayer_with_astro_solid.md +2 -0
- package/docs/en-GB/intlayer_with_astro_svelte.md +2 -0
- package/docs/en-GB/intlayer_with_astro_vanilla.md +2 -0
- package/docs/en-GB/intlayer_with_astro_vue.md +2 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +6 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +6 -1
- package/docs/en-GB/intlayer_with_react_router_v7.md +6 -3
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -3
- package/docs/en-GB/intlayer_with_storybook.md +7 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +6 -3
- package/docs/en-GB/intlayer_with_tanstack+solid.md +18 -11
- package/docs/en-GB/intlayer_with_tanstack.md +14 -7
- package/docs/en-GB/intlayer_with_vite+lit.md +13 -4
- package/docs/en-GB/intlayer_with_vite+react.md +6 -3
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/en-GB/intlayer_with_vite+svelte.md +6 -3
- package/docs/en-GB/intlayer_with_vite+vanilla.md +15 -4
- package/docs/en-GB/intlayer_with_vite+vue.md +6 -3
- package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en-GB/plugins/sync-json.md +0 -1
- package/docs/en-GB/releases/v9.md +57 -12
- package/docs/es/compiler.md +6 -3
- package/docs/es/custom_domains.md +8 -2
- package/docs/es/custom_url_rewrites.md +8 -2
- package/docs/es/dynamic_dictionaries/index.md +25 -19
- package/docs/es/dynamic_dictionaries/variants.md +275 -17
- package/docs/es/intlayer_with_analog.md +5 -1
- package/docs/es/intlayer_with_astro.md +3 -1
- package/docs/es/intlayer_with_astro_lit.md +3 -1
- package/docs/es/intlayer_with_astro_preact.md +3 -1
- package/docs/es/intlayer_with_astro_react.md +3 -1
- package/docs/es/intlayer_with_astro_solid.md +3 -1
- package/docs/es/intlayer_with_astro_svelte.md +3 -1
- package/docs/es/intlayer_with_astro_vanilla.md +3 -1
- package/docs/es/intlayer_with_astro_vue.md +3 -1
- package/docs/es/intlayer_with_lynx+react.md +6 -1
- package/docs/es/intlayer_with_nextjs_16.md +2 -0
- package/docs/es/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/es/intlayer_with_react_native+expo.md +6 -1
- package/docs/es/intlayer_with_react_router_v7.md +3 -1
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +9 -4
- package/docs/es/intlayer_with_storybook.md +7 -1
- package/docs/es/intlayer_with_svelte_kit.md +9 -4
- package/docs/es/intlayer_with_tanstack+solid.md +18 -11
- package/docs/es/intlayer_with_tanstack.md +17 -8
- package/docs/es/intlayer_with_vite+lit.md +13 -4
- package/docs/es/intlayer_with_vite+preact.md +3 -1
- package/docs/es/intlayer_with_vite+react.md +9 -4
- package/docs/es/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/es/intlayer_with_vite+solid.md +3 -1
- package/docs/es/intlayer_with_vite+svelte.md +4 -2
- package/docs/es/intlayer_with_vite+vanilla.md +16 -5
- package/docs/es/intlayer_with_vite+vue.md +9 -4
- package/docs/es/packages/@intlayer_babel/export.md +131 -0
- package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/es/plugins/sync-json.md +0 -1
- package/docs/es/releases/v9.md +57 -12
- package/docs/fr/compiler.md +6 -3
- package/docs/fr/custom_domains.md +8 -2
- package/docs/fr/custom_url_rewrites.md +8 -2
- package/docs/fr/dynamic_dictionaries/index.md +26 -20
- package/docs/fr/dynamic_dictionaries/variants.md +273 -15
- package/docs/fr/intlayer_with_analog.md +5 -1
- package/docs/fr/intlayer_with_astro.md +3 -1
- package/docs/fr/intlayer_with_astro_lit.md +3 -1
- package/docs/fr/intlayer_with_astro_preact.md +3 -1
- package/docs/fr/intlayer_with_astro_react.md +3 -1
- package/docs/fr/intlayer_with_astro_solid.md +3 -1
- package/docs/fr/intlayer_with_astro_svelte.md +3 -1
- package/docs/fr/intlayer_with_astro_vanilla.md +3 -1
- package/docs/fr/intlayer_with_astro_vue.md +3 -1
- package/docs/fr/intlayer_with_lynx+react.md +6 -1
- package/docs/fr/intlayer_with_nextjs_16.md +2 -0
- package/docs/fr/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/fr/intlayer_with_react_native+expo.md +6 -1
- package/docs/fr/intlayer_with_react_router_v7.md +3 -1
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/fr/intlayer_with_storybook.md +7 -1
- package/docs/fr/intlayer_with_svelte_kit.md +9 -4
- package/docs/fr/intlayer_with_tanstack+solid.md +18 -11
- package/docs/fr/intlayer_with_tanstack.md +17 -8
- package/docs/fr/intlayer_with_vite+lit.md +13 -4
- package/docs/fr/intlayer_with_vite+preact.md +3 -1
- package/docs/fr/intlayer_with_vite+react.md +9 -4
- package/docs/fr/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/fr/intlayer_with_vite+solid.md +3 -1
- package/docs/fr/intlayer_with_vite+svelte.md +9 -4
- package/docs/fr/intlayer_with_vite+vanilla.md +16 -5
- package/docs/fr/intlayer_with_vite+vue.md +9 -4
- package/docs/fr/packages/@intlayer_babel/export.md +131 -0
- package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/fr/plugins/sync-json.md +0 -1
- package/docs/fr/releases/v9.md +57 -12
- package/docs/hi/compiler.md +6 -3
- package/docs/hi/custom_domains.md +8 -2
- package/docs/hi/custom_url_rewrites.md +8 -2
- package/docs/hi/dynamic_dictionaries/index.md +28 -22
- package/docs/hi/dynamic_dictionaries/variants.md +282 -24
- package/docs/hi/intlayer_with_analog.md +5 -1
- package/docs/hi/intlayer_with_astro.md +6 -3
- package/docs/hi/intlayer_with_astro_lit.md +6 -3
- package/docs/hi/intlayer_with_astro_preact.md +6 -3
- package/docs/hi/intlayer_with_astro_react.md +6 -3
- package/docs/hi/intlayer_with_astro_solid.md +6 -3
- package/docs/hi/intlayer_with_astro_svelte.md +6 -3
- package/docs/hi/intlayer_with_astro_vanilla.md +6 -3
- package/docs/hi/intlayer_with_astro_vue.md +6 -3
- package/docs/hi/intlayer_with_lynx+react.md +6 -1
- package/docs/hi/intlayer_with_react_native+expo.md +6 -1
- package/docs/hi/intlayer_with_react_router_v7.md +6 -3
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -3
- package/docs/hi/intlayer_with_storybook.md +7 -1
- package/docs/hi/intlayer_with_svelte_kit.md +12 -6
- package/docs/hi/intlayer_with_tanstack+solid.md +18 -11
- package/docs/hi/intlayer_with_tanstack.md +20 -10
- package/docs/hi/intlayer_with_vite+lit.md +8 -2
- package/docs/hi/intlayer_with_vite+preact.md +6 -3
- package/docs/hi/intlayer_with_vite+react.md +12 -6
- package/docs/hi/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/hi/intlayer_with_vite+solid.md +6 -3
- package/docs/hi/intlayer_with_vite+svelte.md +7 -4
- package/docs/hi/intlayer_with_vite+vanilla.md +16 -5
- package/docs/hi/intlayer_with_vite+vue.md +12 -6
- package/docs/hi/packages/@intlayer_babel/export.md +131 -0
- package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/hi/plugins/sync-json.md +0 -1
- package/docs/hi/releases/v9.md +57 -12
- package/docs/id/compiler.md +6 -3
- package/docs/id/custom_domains.md +8 -2
- package/docs/id/custom_url_rewrites.md +8 -2
- package/docs/id/dynamic_dictionaries/index.md +25 -19
- package/docs/id/dynamic_dictionaries/variants.md +274 -16
- package/docs/id/intlayer_with_analog.md +5 -1
- package/docs/id/intlayer_with_astro.md +3 -1
- package/docs/id/intlayer_with_astro_lit.md +3 -1
- package/docs/id/intlayer_with_astro_preact.md +3 -1
- package/docs/id/intlayer_with_astro_react.md +3 -1
- package/docs/id/intlayer_with_astro_solid.md +3 -1
- package/docs/id/intlayer_with_astro_svelte.md +3 -1
- package/docs/id/intlayer_with_astro_vanilla.md +3 -1
- package/docs/id/intlayer_with_astro_vue.md +3 -1
- package/docs/id/intlayer_with_lynx+react.md +6 -1
- package/docs/id/intlayer_with_nextjs_16.md +2 -0
- package/docs/id/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/id/intlayer_with_react_native+expo.md +6 -1
- package/docs/id/intlayer_with_react_router_v7.md +3 -1
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +9 -4
- package/docs/id/intlayer_with_storybook.md +7 -1
- package/docs/id/intlayer_with_svelte_kit.md +9 -4
- package/docs/id/intlayer_with_tanstack+solid.md +18 -11
- package/docs/id/intlayer_with_tanstack.md +17 -8
- package/docs/id/intlayer_with_vite+lit.md +8 -2
- package/docs/id/intlayer_with_vite+preact.md +3 -1
- package/docs/id/intlayer_with_vite+react.md +9 -4
- package/docs/id/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/id/intlayer_with_vite+solid.md +3 -1
- package/docs/id/intlayer_with_vite+svelte.md +5 -3
- package/docs/id/intlayer_with_vite+vanilla.md +16 -5
- package/docs/id/intlayer_with_vite+vue.md +9 -4
- package/docs/id/packages/@intlayer_babel/export.md +131 -0
- package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/id/plugins/sync-json.md +0 -1
- package/docs/id/releases/v9.md +57 -12
- package/docs/it/compiler.md +6 -3
- package/docs/it/custom_domains.md +8 -2
- package/docs/it/custom_url_rewrites.md +8 -2
- package/docs/it/dynamic_dictionaries/index.md +26 -20
- package/docs/it/dynamic_dictionaries/variants.md +273 -15
- package/docs/it/intlayer_with_analog.md +5 -1
- package/docs/it/intlayer_with_astro.md +3 -1
- package/docs/it/intlayer_with_astro_lit.md +3 -1
- package/docs/it/intlayer_with_astro_preact.md +3 -1
- package/docs/it/intlayer_with_astro_react.md +3 -1
- package/docs/it/intlayer_with_astro_solid.md +3 -1
- package/docs/it/intlayer_with_astro_svelte.md +3 -1
- package/docs/it/intlayer_with_astro_vanilla.md +3 -1
- package/docs/it/intlayer_with_astro_vue.md +3 -1
- package/docs/it/intlayer_with_lynx+react.md +6 -1
- package/docs/it/intlayer_with_nextjs_16.md +2 -0
- package/docs/it/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/it/intlayer_with_react_native+expo.md +6 -1
- package/docs/it/intlayer_with_react_router_v7.md +3 -1
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/it/intlayer_with_storybook.md +7 -1
- package/docs/it/intlayer_with_svelte_kit.md +9 -4
- package/docs/it/intlayer_with_tanstack+solid.md +18 -11
- package/docs/it/intlayer_with_tanstack.md +17 -8
- package/docs/it/intlayer_with_vite+lit.md +13 -4
- package/docs/it/intlayer_with_vite+preact.md +3 -1
- package/docs/it/intlayer_with_vite+react.md +9 -4
- package/docs/it/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/it/intlayer_with_vite+solid.md +3 -1
- package/docs/it/intlayer_with_vite+svelte.md +4 -2
- package/docs/it/intlayer_with_vite+vanilla.md +16 -5
- package/docs/it/intlayer_with_vite+vue.md +9 -4
- package/docs/it/packages/@intlayer_babel/export.md +131 -0
- package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/it/plugins/sync-json.md +0 -1
- package/docs/it/releases/v9.md +57 -12
- package/docs/ja/compiler.md +6 -3
- package/docs/ja/custom_domains.md +8 -2
- package/docs/ja/custom_url_rewrites.md +8 -2
- package/docs/ja/dynamic_dictionaries/index.md +27 -21
- package/docs/ja/dynamic_dictionaries/variants.md +276 -18
- package/docs/ja/intlayer_with_analog.md +5 -1
- package/docs/ja/intlayer_with_astro.md +2 -0
- package/docs/ja/intlayer_with_astro_lit.md +2 -0
- package/docs/ja/intlayer_with_astro_preact.md +2 -0
- package/docs/ja/intlayer_with_astro_react.md +2 -0
- package/docs/ja/intlayer_with_astro_solid.md +2 -0
- package/docs/ja/intlayer_with_astro_svelte.md +2 -0
- package/docs/ja/intlayer_with_astro_vanilla.md +2 -0
- package/docs/ja/intlayer_with_astro_vue.md +2 -0
- package/docs/ja/intlayer_with_lynx+react.md +6 -1
- package/docs/ja/intlayer_with_nextjs_16.md +2 -0
- package/docs/ja/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ja/intlayer_with_react_native+expo.md +6 -1
- package/docs/ja/intlayer_with_react_router_v7.md +8 -3
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ja/intlayer_with_storybook.md +7 -1
- package/docs/ja/intlayer_with_svelte_kit.md +2 -0
- package/docs/ja/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ja/intlayer_with_tanstack.md +18 -11
- package/docs/ja/intlayer_with_vite+lit.md +13 -4
- package/docs/ja/intlayer_with_vite+preact.md +8 -3
- package/docs/ja/intlayer_with_vite+react.md +3 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ja/intlayer_with_vite+solid.md +3 -1
- package/docs/ja/intlayer_with_vite+svelte.md +5 -3
- package/docs/ja/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ja/intlayer_with_vite+vue.md +9 -4
- package/docs/ja/packages/@intlayer_babel/export.md +131 -0
- package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ja/plugins/sync-json.md +0 -1
- package/docs/ja/releases/v9.md +57 -12
- package/docs/ko/compiler.md +6 -3
- package/docs/ko/custom_domains.md +8 -2
- package/docs/ko/custom_url_rewrites.md +8 -2
- package/docs/ko/dynamic_dictionaries/index.md +23 -17
- package/docs/ko/dynamic_dictionaries/variants.md +273 -15
- package/docs/ko/intlayer_with_analog.md +5 -1
- package/docs/ko/intlayer_with_astro.md +3 -1
- package/docs/ko/intlayer_with_astro_lit.md +3 -1
- package/docs/ko/intlayer_with_astro_preact.md +3 -1
- package/docs/ko/intlayer_with_astro_react.md +3 -1
- package/docs/ko/intlayer_with_astro_solid.md +3 -1
- package/docs/ko/intlayer_with_astro_svelte.md +3 -1
- package/docs/ko/intlayer_with_astro_vanilla.md +3 -1
- package/docs/ko/intlayer_with_astro_vue.md +3 -1
- package/docs/ko/intlayer_with_lynx+react.md +6 -1
- package/docs/ko/intlayer_with_nextjs_16.md +2 -0
- package/docs/ko/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ko/intlayer_with_react_native+expo.md +6 -1
- package/docs/ko/intlayer_with_react_router_v7.md +3 -1
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ko/intlayer_with_storybook.md +7 -1
- package/docs/ko/intlayer_with_svelte_kit.md +9 -4
- package/docs/ko/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ko/intlayer_with_tanstack.md +17 -8
- package/docs/ko/intlayer_with_vite+lit.md +13 -4
- package/docs/ko/intlayer_with_vite+preact.md +3 -1
- package/docs/ko/intlayer_with_vite+react.md +3 -1
- package/docs/ko/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ko/intlayer_with_vite+svelte.md +5 -3
- package/docs/ko/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ko/intlayer_with_vite+vue.md +9 -4
- package/docs/ko/packages/@intlayer_babel/export.md +131 -0
- package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ko/plugins/sync-json.md +0 -1
- package/docs/ko/releases/v9.md +57 -12
- package/docs/nl/custom_domains.md +8 -2
- package/docs/nl/intlayer_with_storybook.md +7 -1
- package/docs/nl/intlayer_with_vite+lit.md +8 -2
- package/docs/nl/intlayer_with_vite+vanilla.md +16 -5
- package/docs/pl/compiler.md +6 -3
- package/docs/pl/custom_domains.md +8 -2
- package/docs/pl/custom_url_rewrites.md +8 -2
- package/docs/pl/dynamic_dictionaries/index.md +26 -20
- package/docs/pl/dynamic_dictionaries/variants.md +275 -17
- package/docs/pl/intlayer_with_analog.md +5 -1
- package/docs/pl/intlayer_with_astro.md +6 -4
- package/docs/pl/intlayer_with_astro_lit.md +3 -1
- package/docs/pl/intlayer_with_astro_preact.md +3 -1
- package/docs/pl/intlayer_with_astro_react.md +3 -1
- package/docs/pl/intlayer_with_astro_solid.md +3 -1
- package/docs/pl/intlayer_with_astro_svelte.md +3 -1
- package/docs/pl/intlayer_with_astro_vanilla.md +3 -1
- package/docs/pl/intlayer_with_astro_vue.md +3 -1
- package/docs/pl/intlayer_with_lynx+react.md +6 -1
- package/docs/pl/intlayer_with_nextjs_16.md +2 -0
- package/docs/pl/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/pl/intlayer_with_react_native+expo.md +6 -1
- package/docs/pl/intlayer_with_react_router_v7.md +3 -1
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/pl/intlayer_with_storybook.md +7 -1
- package/docs/pl/intlayer_with_svelte_kit.md +9 -4
- package/docs/pl/intlayer_with_tanstack+solid.md +18 -9
- package/docs/pl/intlayer_with_tanstack.md +17 -8
- package/docs/pl/intlayer_with_vite+lit.md +8 -2
- package/docs/pl/intlayer_with_vite+preact.md +3 -1
- package/docs/pl/intlayer_with_vite+react.md +9 -4
- package/docs/pl/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/pl/intlayer_with_vite+solid.md +3 -1
- package/docs/pl/intlayer_with_vite+svelte.md +4 -2
- package/docs/pl/intlayer_with_vite+vanilla.md +16 -5
- package/docs/pl/intlayer_with_vite+vue.md +9 -4
- package/docs/pl/packages/@intlayer_babel/export.md +131 -0
- package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pl/plugins/sync-json.md +0 -1
- package/docs/pl/releases/v9.md +57 -12
- package/docs/pt/compiler.md +6 -3
- package/docs/pt/custom_domains.md +8 -2
- package/docs/pt/custom_url_rewrites.md +8 -2
- package/docs/pt/dynamic_dictionaries/index.md +25 -19
- package/docs/pt/dynamic_dictionaries/variants.md +276 -18
- package/docs/pt/intlayer_with_analog.md +5 -1
- package/docs/pt/intlayer_with_astro.md +6 -4
- package/docs/pt/intlayer_with_astro_lit.md +3 -1
- package/docs/pt/intlayer_with_astro_preact.md +3 -1
- package/docs/pt/intlayer_with_astro_react.md +3 -1
- package/docs/pt/intlayer_with_astro_solid.md +3 -1
- package/docs/pt/intlayer_with_astro_svelte.md +3 -1
- package/docs/pt/intlayer_with_astro_vanilla.md +3 -1
- package/docs/pt/intlayer_with_astro_vue.md +3 -1
- package/docs/pt/intlayer_with_lynx+react.md +6 -1
- package/docs/pt/intlayer_with_nextjs_16.md +2 -0
- package/docs/pt/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/pt/intlayer_with_react_native+expo.md +6 -1
- package/docs/pt/intlayer_with_react_router_v7.md +8 -3
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/pt/intlayer_with_storybook.md +7 -1
- package/docs/pt/intlayer_with_svelte_kit.md +9 -4
- package/docs/pt/intlayer_with_tanstack+solid.md +18 -9
- package/docs/pt/intlayer_with_tanstack.md +17 -8
- package/docs/pt/intlayer_with_vite+lit.md +13 -4
- package/docs/pt/intlayer_with_vite+preact.md +3 -1
- package/docs/pt/intlayer_with_vite+react.md +9 -4
- package/docs/pt/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/pt/intlayer_with_vite+solid.md +3 -1
- package/docs/pt/intlayer_with_vite+svelte.md +4 -2
- package/docs/pt/intlayer_with_vite+vanilla.md +16 -5
- package/docs/pt/intlayer_with_vite+vue.md +9 -4
- package/docs/pt/packages/@intlayer_babel/export.md +131 -0
- package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pt/plugins/sync-json.md +0 -1
- package/docs/pt/releases/v9.md +57 -12
- package/docs/ru/compiler.md +6 -3
- package/docs/ru/custom_domains.md +8 -2
- package/docs/ru/custom_url_rewrites.md +8 -2
- package/docs/ru/dynamic_dictionaries/index.md +25 -19
- package/docs/ru/dynamic_dictionaries/variants.md +277 -19
- package/docs/ru/intlayer_with_analog.md +5 -1
- package/docs/ru/intlayer_with_astro.md +3 -1
- package/docs/ru/intlayer_with_astro_lit.md +3 -1
- package/docs/ru/intlayer_with_astro_preact.md +3 -1
- package/docs/ru/intlayer_with_astro_react.md +3 -1
- package/docs/ru/intlayer_with_astro_solid.md +3 -1
- package/docs/ru/intlayer_with_astro_svelte.md +3 -1
- package/docs/ru/intlayer_with_astro_vanilla.md +3 -1
- package/docs/ru/intlayer_with_astro_vue.md +3 -1
- package/docs/ru/intlayer_with_lynx+react.md +6 -1
- package/docs/ru/intlayer_with_nextjs_16.md +2 -0
- package/docs/ru/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ru/intlayer_with_react_native+expo.md +6 -1
- package/docs/ru/intlayer_with_react_router_v7.md +3 -1
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ru/intlayer_with_storybook.md +7 -1
- package/docs/ru/intlayer_with_svelte_kit.md +9 -4
- package/docs/ru/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ru/intlayer_with_tanstack.md +17 -8
- package/docs/ru/intlayer_with_vite+lit.md +13 -4
- package/docs/ru/intlayer_with_vite+preact.md +3 -1
- package/docs/ru/intlayer_with_vite+react.md +9 -4
- package/docs/ru/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ru/intlayer_with_vite+solid.md +3 -1
- package/docs/ru/intlayer_with_vite+svelte.md +4 -2
- package/docs/ru/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ru/intlayer_with_vite+vue.md +9 -4
- package/docs/ru/packages/@intlayer_babel/export.md +131 -0
- package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ru/plugins/sync-json.md +0 -1
- package/docs/ru/releases/v9.md +57 -12
- package/docs/tr/compiler.md +6 -3
- package/docs/tr/custom_domains.md +8 -2
- package/docs/tr/custom_url_rewrites.md +8 -2
- package/docs/tr/dynamic_dictionaries/index.md +27 -21
- package/docs/tr/dynamic_dictionaries/variants.md +274 -16
- package/docs/tr/intlayer_with_analog.md +5 -1
- package/docs/tr/intlayer_with_astro_lit.md +3 -1
- package/docs/tr/intlayer_with_astro_preact.md +3 -1
- package/docs/tr/intlayer_with_astro_react.md +3 -1
- package/docs/tr/intlayer_with_astro_solid.md +3 -1
- package/docs/tr/intlayer_with_astro_svelte.md +3 -1
- package/docs/tr/intlayer_with_astro_vanilla.md +3 -1
- package/docs/tr/intlayer_with_astro_vue.md +3 -1
- package/docs/tr/intlayer_with_lynx+react.md +6 -1
- package/docs/tr/intlayer_with_nextjs_16.md +2 -0
- package/docs/tr/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/tr/intlayer_with_react_native+expo.md +6 -1
- package/docs/tr/intlayer_with_react_router_v7.md +3 -1
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/tr/intlayer_with_storybook.md +7 -1
- package/docs/tr/intlayer_with_svelte_kit.md +9 -4
- package/docs/tr/intlayer_with_tanstack+solid.md +18 -11
- package/docs/tr/intlayer_with_tanstack.md +17 -8
- package/docs/tr/intlayer_with_vite+lit.md +8 -2
- package/docs/tr/intlayer_with_vite+preact.md +3 -1
- package/docs/tr/intlayer_with_vite+react.md +9 -4
- package/docs/tr/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/tr/intlayer_with_vite+solid.md +3 -1
- package/docs/tr/intlayer_with_vite+svelte.md +4 -2
- package/docs/tr/intlayer_with_vite+vanilla.md +16 -5
- package/docs/tr/intlayer_with_vite+vue.md +9 -4
- package/docs/tr/packages/@intlayer_babel/export.md +131 -0
- package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/tr/plugins/sync-json.md +0 -1
- package/docs/tr/releases/v9.md +57 -12
- package/docs/uk/compiler.md +6 -3
- package/docs/uk/custom_domains.md +8 -2
- package/docs/uk/custom_url_rewrites.md +8 -2
- package/docs/uk/dynamic_dictionaries/index.md +25 -19
- package/docs/uk/dynamic_dictionaries/variants.md +277 -19
- package/docs/uk/intlayer_with_analog.md +5 -1
- package/docs/uk/intlayer_with_astro.md +3 -1
- package/docs/uk/intlayer_with_astro_lit.md +3 -1
- package/docs/uk/intlayer_with_astro_preact.md +3 -1
- package/docs/uk/intlayer_with_astro_react.md +3 -1
- package/docs/uk/intlayer_with_astro_solid.md +3 -1
- package/docs/uk/intlayer_with_astro_svelte.md +3 -1
- package/docs/uk/intlayer_with_astro_vanilla.md +3 -1
- package/docs/uk/intlayer_with_astro_vue.md +3 -1
- package/docs/uk/intlayer_with_lynx+react.md +6 -1
- package/docs/uk/intlayer_with_nextjs_16.md +2 -0
- package/docs/uk/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/uk/intlayer_with_react_native+expo.md +6 -1
- package/docs/uk/intlayer_with_react_router_v7.md +3 -1
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/uk/intlayer_with_storybook.md +7 -1
- package/docs/uk/intlayer_with_svelte_kit.md +9 -4
- package/docs/uk/intlayer_with_tanstack+solid.md +18 -11
- package/docs/uk/intlayer_with_tanstack.md +17 -8
- package/docs/uk/intlayer_with_vite+lit.md +8 -2
- package/docs/uk/intlayer_with_vite+preact.md +3 -1
- package/docs/uk/intlayer_with_vite+react.md +9 -4
- package/docs/uk/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/uk/intlayer_with_vite+solid.md +3 -1
- package/docs/uk/intlayer_with_vite+svelte.md +9 -4
- package/docs/uk/intlayer_with_vite+vanilla.md +16 -5
- package/docs/uk/intlayer_with_vite+vue.md +9 -4
- package/docs/uk/packages/@intlayer_babel/export.md +131 -0
- package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/uk/plugins/sync-json.md +0 -1
- package/docs/uk/releases/v9.md +57 -12
- package/docs/ur/custom_domains.md +8 -2
- package/docs/ur/intlayer_with_storybook.md +7 -1
- package/docs/ur/intlayer_with_vite+lit.md +8 -2
- package/docs/ur/intlayer_with_vite+vanilla.md +16 -5
- package/docs/vi/compiler.md +6 -3
- package/docs/vi/custom_domains.md +8 -2
- package/docs/vi/custom_url_rewrites.md +8 -2
- package/docs/vi/dynamic_dictionaries/index.md +28 -22
- package/docs/vi/dynamic_dictionaries/variants.md +278 -20
- package/docs/vi/intlayer_with_analog.md +5 -1
- package/docs/vi/intlayer_with_astro.md +3 -1
- package/docs/vi/intlayer_with_astro_lit.md +3 -1
- package/docs/vi/intlayer_with_astro_preact.md +3 -1
- package/docs/vi/intlayer_with_astro_react.md +3 -1
- package/docs/vi/intlayer_with_astro_solid.md +3 -1
- package/docs/vi/intlayer_with_astro_svelte.md +3 -1
- package/docs/vi/intlayer_with_astro_vanilla.md +3 -1
- package/docs/vi/intlayer_with_astro_vue.md +3 -1
- package/docs/vi/intlayer_with_lynx+react.md +6 -1
- package/docs/vi/intlayer_with_nextjs_15.md +2 -0
- package/docs/vi/intlayer_with_nextjs_16.md +2 -0
- package/docs/vi/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/vi/intlayer_with_react_native+expo.md +6 -1
- package/docs/vi/intlayer_with_react_router_v7.md +3 -1
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +9 -4
- package/docs/vi/intlayer_with_storybook.md +7 -1
- package/docs/vi/intlayer_with_svelte_kit.md +9 -4
- package/docs/vi/intlayer_with_tanstack+solid.md +18 -11
- package/docs/vi/intlayer_with_tanstack.md +17 -8
- package/docs/vi/intlayer_with_vite+lit.md +8 -2
- package/docs/vi/intlayer_with_vite+preact.md +3 -1
- package/docs/vi/intlayer_with_vite+react.md +9 -4
- package/docs/vi/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/vi/intlayer_with_vite+solid.md +3 -1
- package/docs/vi/intlayer_with_vite+svelte.md +9 -4
- package/docs/vi/intlayer_with_vite+vanilla.md +16 -5
- package/docs/vi/intlayer_with_vite+vue.md +9 -4
- package/docs/vi/packages/@intlayer_babel/export.md +131 -0
- package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/vi/plugins/sync-json.md +0 -1
- package/docs/vi/releases/v9.md +57 -12
- package/docs/zh/compiler.md +6 -3
- package/docs/zh/custom_domains.md +8 -2
- package/docs/zh/custom_url_rewrites.md +8 -2
- package/docs/zh/dynamic_dictionaries/index.md +24 -18
- package/docs/zh/dynamic_dictionaries/variants.md +274 -16
- package/docs/zh/intlayer_with_astro.md +3 -1
- package/docs/zh/intlayer_with_astro_lit.md +3 -1
- package/docs/zh/intlayer_with_astro_preact.md +3 -1
- package/docs/zh/intlayer_with_astro_react.md +3 -1
- package/docs/zh/intlayer_with_astro_solid.md +3 -1
- package/docs/zh/intlayer_with_astro_svelte.md +3 -1
- package/docs/zh/intlayer_with_astro_vanilla.md +3 -1
- package/docs/zh/intlayer_with_astro_vue.md +3 -1
- package/docs/zh/intlayer_with_nextjs_16.md +2 -0
- package/docs/zh/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/zh/intlayer_with_react_native+expo.md +6 -1
- package/docs/zh/intlayer_with_react_router_v7.md +3 -1
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/zh/intlayer_with_storybook.md +7 -1
- package/docs/zh/intlayer_with_svelte_kit.md +9 -4
- package/docs/zh/intlayer_with_vite+preact.md +3 -1
- package/docs/zh/intlayer_with_vite+react.md +9 -4
- package/docs/zh/intlayer_with_vite+svelte.md +9 -4
- package/docs/zh/intlayer_with_vite+vue.md +9 -4
- package/docs/zh/packages/@intlayer_babel/export.md +131 -0
- package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/zh/plugins/sync-json.md +0 -1
- package/docs/zh/releases/v9.md +57 -12
- package/package.json +6 -6
- package/src/generated/docs.entry.ts +80 -20
- package/docs/ar/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/de/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en-GB/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/es/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/fr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/hi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/id/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/it/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ja/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ko/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pl/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pt/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ru/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/tr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/uk/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/vi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/zh/dynamic_dictionaries/dynamic_content.md +0 -271
|
@@ -635,6 +635,8 @@ bun x intlayer extract
|
|
|
635
635
|
</Tab>
|
|
636
636
|
<Tab value='Компилятор Babel'>
|
|
637
637
|
|
|
638
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
639
|
+
|
|
638
640
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
639
641
|
|
|
640
642
|
```ts fileName="vite.config.ts"
|
|
@@ -644,7 +646,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
644
646
|
export default defineConfig({
|
|
645
647
|
plugins: [
|
|
646
648
|
intlayer(),
|
|
647
|
-
intlayerCompiler(), //
|
|
649
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
648
650
|
],
|
|
649
651
|
});
|
|
650
652
|
```
|
|
@@ -678,6 +678,8 @@ bun x intlayer extract
|
|
|
678
678
|
</Tab>
|
|
679
679
|
<Tab value='Компилятор Babel'>
|
|
680
680
|
|
|
681
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
682
|
+
|
|
681
683
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
682
684
|
|
|
683
685
|
```ts fileName="vite.config.ts"
|
|
@@ -687,7 +689,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
687
689
|
export default defineConfig({
|
|
688
690
|
plugins: [
|
|
689
691
|
intlayer(),
|
|
690
|
-
intlayerCompiler(), //
|
|
692
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
691
693
|
],
|
|
692
694
|
});
|
|
693
695
|
```
|
|
@@ -190,7 +190,13 @@ const config: StorybookConfig = {
|
|
|
190
190
|
} as const;
|
|
191
191
|
|
|
192
192
|
const viteConfig = defineConfig(() => ({
|
|
193
|
-
plugins: [
|
|
193
|
+
plugins: [
|
|
194
|
+
intlayer({
|
|
195
|
+
proxy: {
|
|
196
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
197
|
+
},
|
|
198
|
+
}),
|
|
199
|
+
],
|
|
194
200
|
}));
|
|
195
201
|
|
|
196
202
|
return mergeConfig(baseConfig, viteConfig(env));
|
|
@@ -614,14 +614,17 @@ goto(localizedPath); // Переходит на /en/about или /fr/about в з
|
|
|
614
614
|
|
|
615
615
|
```ts fileName="vite.config.ts"
|
|
616
616
|
import { defineConfig } from "vite";
|
|
617
|
-
import { intlayer
|
|
617
|
+
import { intlayer } from "vite-intlayer";
|
|
618
618
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
619
619
|
|
|
620
620
|
// https://vitejs.dev/config/
|
|
621
621
|
export default defineConfig({
|
|
622
622
|
plugins: [
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
intlayer({
|
|
624
|
+
proxy: {
|
|
625
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
626
|
+
},
|
|
627
|
+
}),
|
|
625
628
|
sveltekit(),
|
|
626
629
|
],],
|
|
627
630
|
});
|
|
@@ -719,6 +722,8 @@ bun x intlayer extract
|
|
|
719
722
|
</Tab>
|
|
720
723
|
<Tab value='Компилятор Babel'>
|
|
721
724
|
|
|
725
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
726
|
+
|
|
722
727
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
723
728
|
|
|
724
729
|
```ts fileName="vite.config.ts"
|
|
@@ -728,7 +733,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
728
733
|
export default defineConfig({
|
|
729
734
|
plugins: [
|
|
730
735
|
intlayer(),
|
|
731
|
-
intlayerCompiler(), //
|
|
736
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
732
737
|
],
|
|
733
738
|
});
|
|
734
739
|
```
|
|
@@ -228,11 +228,15 @@ export default defineConfig({
|
|
|
228
228
|
tanstackStart({
|
|
229
229
|
router: {
|
|
230
230
|
routeFileIgnorePattern:
|
|
231
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
231
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
232
232
|
},
|
|
233
233
|
}),
|
|
234
234
|
solidPlugin({ ssr: true }),
|
|
235
|
-
intlayer(
|
|
235
|
+
intlayer({
|
|
236
|
+
proxy: {
|
|
237
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
238
|
+
},
|
|
239
|
+
}),
|
|
236
240
|
],
|
|
237
241
|
});
|
|
238
242
|
```
|
|
@@ -568,22 +572,25 @@ const RootComponent: ParentComponent = (props) => {
|
|
|
568
572
|
|
|
569
573
|
> Обратите внимание, что для использования `intlayerProxy` в режиме production вам необходимо перенести пакет `vite-intlayer` из `devDependencies` в `dependencies`.
|
|
570
574
|
|
|
571
|
-
```typescript
|
|
575
|
+
```typescript fileName="vite.config.ts"
|
|
572
576
|
import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
|
|
573
577
|
import solid from "vite-plugin-solid";
|
|
574
578
|
import { nitro } from "nitro/vite";
|
|
575
579
|
import { defineConfig } from "vite";
|
|
576
|
-
import { intlayer
|
|
580
|
+
import { intlayer } from "vite-intlayer";
|
|
577
581
|
|
|
578
582
|
export default defineConfig({
|
|
579
583
|
plugins: [
|
|
580
|
-
intlayerProxy(), // Прокси должен быть размещен перед сервером, если вы используете Nitro
|
|
581
584
|
nitro(),
|
|
582
|
-
intlayer(
|
|
585
|
+
intlayer({
|
|
586
|
+
proxy: {
|
|
587
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
588
|
+
},
|
|
589
|
+
}),
|
|
583
590
|
tanstackStart({
|
|
584
591
|
router: {
|
|
585
592
|
routeFileIgnorePattern:
|
|
586
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
593
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
587
594
|
},
|
|
588
595
|
}),
|
|
589
596
|
solid(),
|
|
@@ -826,9 +833,9 @@ bun x intlayer extract
|
|
|
826
833
|
</Tab>
|
|
827
834
|
<Tab value='Babel-компилятор'>
|
|
828
835
|
|
|
829
|
-
|
|
836
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
830
837
|
|
|
831
|
-
|
|
838
|
+
Обновите ваш `vite.config.ts`, включив плагин `intlayerCompiler`:
|
|
832
839
|
|
|
833
840
|
```ts fileName="vite.config.ts"
|
|
834
841
|
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
@@ -843,12 +850,12 @@ export default defineConfig({
|
|
|
843
850
|
tanstackStart({
|
|
844
851
|
router: {
|
|
845
852
|
routeFileIgnorePattern:
|
|
846
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
853
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
847
854
|
},
|
|
848
855
|
}),
|
|
849
856
|
solidPlugin({ ssr: true }),
|
|
850
857
|
intlayer(),
|
|
851
|
-
intlayerCompiler(),
|
|
858
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
852
859
|
],
|
|
853
860
|
});
|
|
854
861
|
```
|
|
@@ -242,11 +242,15 @@ import { intlayer } from "vite-intlayer";
|
|
|
242
242
|
const config = defineConfig({
|
|
243
243
|
plugins: [
|
|
244
244
|
nitro(),
|
|
245
|
-
intlayer(
|
|
245
|
+
intlayer({
|
|
246
|
+
proxy: {
|
|
247
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
248
|
+
},
|
|
249
|
+
}),
|
|
246
250
|
tanstackStart({
|
|
247
251
|
router: {
|
|
248
252
|
routeFileIgnorePattern:
|
|
249
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
253
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
250
254
|
},
|
|
251
255
|
}),
|
|
252
256
|
viteReact(),
|
|
@@ -650,22 +654,25 @@ function RootDocument({ children }: { children: ReactNode }) {
|
|
|
650
654
|
|
|
651
655
|
> Обратите внимание, что для использования `intlayerProxy` в продакшене необходимо переместить пакет `vite-intlayer` из `devDependencies` в `dependencies`.
|
|
652
656
|
|
|
653
|
-
```typescript
|
|
657
|
+
```typescript fileName="vite.config.ts"
|
|
654
658
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
655
659
|
import viteReact from "@vitejs/plugin-react";
|
|
656
660
|
import { nitro } from "nitro/vite";
|
|
657
661
|
import { defineConfig } from "vite";
|
|
658
|
-
import { intlayer
|
|
662
|
+
import { intlayer } from "vite-intlayer";
|
|
659
663
|
|
|
660
664
|
export default defineConfig({
|
|
661
665
|
plugins: [
|
|
662
|
-
intlayerProxy(), // Прокси должен быть размещен перед сервером, если вы используете Nitro
|
|
663
666
|
nitro(),
|
|
664
|
-
intlayer(
|
|
667
|
+
intlayer({
|
|
668
|
+
proxy: {
|
|
669
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
670
|
+
},
|
|
671
|
+
}),
|
|
665
672
|
tanstackStart({
|
|
666
673
|
router: {
|
|
667
674
|
routeFileIgnorePattern:
|
|
668
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
675
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
669
676
|
},
|
|
670
677
|
}),
|
|
671
678
|
viteReact(),
|
|
@@ -904,6 +911,8 @@ bun x intlayer extract
|
|
|
904
911
|
</Tab>
|
|
905
912
|
<Tab value='Компилятор Babel'>
|
|
906
913
|
|
|
914
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
915
|
+
|
|
907
916
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
908
917
|
|
|
909
918
|
```ts fileName="vite.config.ts"
|
|
@@ -913,7 +922,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
913
922
|
export default defineConfig({
|
|
914
923
|
plugins: [
|
|
915
924
|
intlayer(),
|
|
916
|
-
intlayerCompiler(), //
|
|
925
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
917
926
|
],
|
|
918
927
|
});
|
|
919
928
|
```
|
|
@@ -205,7 +205,13 @@ import { intlayer } from "vite-intlayer";
|
|
|
205
205
|
|
|
206
206
|
// https://vitejs.dev/config/
|
|
207
207
|
export default defineConfig({
|
|
208
|
-
plugins: [
|
|
208
|
+
plugins: [
|
|
209
|
+
intlayer({
|
|
210
|
+
proxy: {
|
|
211
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
212
|
+
},
|
|
213
|
+
}),
|
|
214
|
+
],
|
|
209
215
|
});
|
|
210
216
|
```
|
|
211
217
|
|
|
@@ -474,12 +480,15 @@ export class MyElement extends LitElement {
|
|
|
474
480
|
|
|
475
481
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
476
482
|
import { defineConfig } from "vite";
|
|
477
|
-
import { intlayer
|
|
483
|
+
import { intlayer } from "vite-intlayer";
|
|
478
484
|
|
|
479
485
|
export default defineConfig({
|
|
480
486
|
plugins: [
|
|
481
|
-
|
|
482
|
-
|
|
487
|
+
intlayer({
|
|
488
|
+
proxy: {
|
|
489
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
490
|
+
},
|
|
491
|
+
}),
|
|
483
492
|
],
|
|
484
493
|
});
|
|
485
494
|
```
|
|
@@ -829,6 +829,8 @@ bun x intlayer extract
|
|
|
829
829
|
</Tab>
|
|
830
830
|
<Tab value='Компилятор Babel'>
|
|
831
831
|
|
|
832
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
833
|
+
|
|
832
834
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
833
835
|
|
|
834
836
|
```ts fileName="vite.config.ts"
|
|
@@ -838,7 +840,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
838
840
|
export default defineConfig({
|
|
839
841
|
plugins: [
|
|
840
842
|
intlayer(),
|
|
841
|
-
intlayerCompiler(), //
|
|
843
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
842
844
|
],
|
|
843
845
|
});
|
|
844
846
|
```
|
|
@@ -509,14 +509,17 @@ const App: FC = () => (
|
|
|
509
509
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
510
510
|
import { defineConfig } from "vite";
|
|
511
511
|
import react from "@vitejs/plugin-react-swc";
|
|
512
|
-
import { intlayer
|
|
512
|
+
import { intlayer } from "vite-intlayer";
|
|
513
513
|
|
|
514
514
|
// https://vitejs.dev/config/
|
|
515
515
|
export default defineConfig({
|
|
516
516
|
plugins: [
|
|
517
|
-
intlayerProxy(), // should be placed first
|
|
518
517
|
react(),
|
|
519
|
-
intlayer(
|
|
518
|
+
intlayer({
|
|
519
|
+
proxy: {
|
|
520
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
521
|
+
},
|
|
522
|
+
}),
|
|
520
523
|
],
|
|
521
524
|
});
|
|
522
525
|
```
|
|
@@ -820,6 +823,8 @@ bun x intlayer extract
|
|
|
820
823
|
</Tab>
|
|
821
824
|
<Tab value='Компилятор Babel'>
|
|
822
825
|
|
|
826
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
827
|
+
|
|
823
828
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
824
829
|
|
|
825
830
|
```ts fileName="vite.config.ts"
|
|
@@ -829,7 +834,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
829
834
|
export default defineConfig({
|
|
830
835
|
plugins: [
|
|
831
836
|
intlayer(),
|
|
832
|
-
intlayerCompiler(), //
|
|
837
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
833
838
|
],
|
|
834
839
|
});
|
|
835
840
|
```
|
|
@@ -213,11 +213,18 @@ export default config;
|
|
|
213
213
|
```typescript fileName="vite.config.ts"
|
|
214
214
|
import { defineConfig } from "vite";
|
|
215
215
|
import react from "@vitejs/plugin-react-swc";
|
|
216
|
-
import { intlayer
|
|
216
|
+
import { intlayer } from "vite-intlayer";
|
|
217
217
|
|
|
218
218
|
// https://vitejs.dev/config/
|
|
219
219
|
export default defineConfig({
|
|
220
|
-
plugins: [
|
|
220
|
+
plugins: [
|
|
221
|
+
react(),
|
|
222
|
+
intlayer({
|
|
223
|
+
proxy: {
|
|
224
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
225
|
+
},
|
|
226
|
+
}),
|
|
227
|
+
],
|
|
221
228
|
});
|
|
222
229
|
```
|
|
223
230
|
|
|
@@ -596,6 +596,8 @@ bun x intlayer extract
|
|
|
596
596
|
</Tab>
|
|
597
597
|
<Tab value='Компилятор Babel'>
|
|
598
598
|
|
|
599
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
600
|
+
|
|
599
601
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
600
602
|
|
|
601
603
|
```ts fileName="vite.config.ts"
|
|
@@ -605,7 +607,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
605
607
|
export default defineConfig({
|
|
606
608
|
plugins: [
|
|
607
609
|
intlayer(),
|
|
608
|
-
intlayerCompiler(), //
|
|
610
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
609
611
|
],
|
|
610
612
|
});
|
|
611
613
|
```
|
|
@@ -460,7 +460,7 @@ $: content = useIntlayer('app', locale);
|
|
|
460
460
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
461
461
|
import { defineConfig } from "vite";
|
|
462
462
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
463
|
-
import { intlayer
|
|
463
|
+
import { intlayer } from "vite-intlayer";
|
|
464
464
|
|
|
465
465
|
plugins: [intlayerProxy(), // should be placed first
|
|
466
466
|
svelte(), intlayer()],
|
|
@@ -570,6 +570,8 @@ bun x intlayer extract
|
|
|
570
570
|
</Tab>
|
|
571
571
|
<Tab value='Компилятор Babel'>
|
|
572
572
|
|
|
573
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
574
|
+
|
|
573
575
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
574
576
|
|
|
575
577
|
```ts fileName="vite.config.ts"
|
|
@@ -579,7 +581,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
579
581
|
export default defineConfig({
|
|
580
582
|
plugins: [
|
|
581
583
|
intlayer(),
|
|
582
|
-
intlayerCompiler(), //
|
|
584
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
583
585
|
],
|
|
584
586
|
});
|
|
585
587
|
```
|
|
@@ -205,7 +205,13 @@ import { intlayer } from "vite-intlayer";
|
|
|
205
205
|
|
|
206
206
|
// https://vitejs.dev/config/
|
|
207
207
|
export default defineConfig({
|
|
208
|
-
plugins: [
|
|
208
|
+
plugins: [
|
|
209
|
+
intlayer({
|
|
210
|
+
proxy: {
|
|
211
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
212
|
+
},
|
|
213
|
+
}),
|
|
214
|
+
],
|
|
209
215
|
});
|
|
210
216
|
```
|
|
211
217
|
|
|
@@ -466,12 +472,15 @@ document.querySelector<HTMLDivElement>(".edit-note")!.innerHTML =
|
|
|
466
472
|
|
|
467
473
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
468
474
|
import { defineConfig } from "vite";
|
|
469
|
-
import { intlayer
|
|
475
|
+
import { intlayer } from "vite-intlayer";
|
|
470
476
|
|
|
471
477
|
export default defineConfig({
|
|
472
478
|
plugins: [
|
|
473
|
-
|
|
474
|
-
|
|
479
|
+
intlayer({
|
|
480
|
+
proxy: {
|
|
481
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
482
|
+
},
|
|
483
|
+
}),
|
|
475
484
|
],
|
|
476
485
|
});
|
|
477
486
|
```
|
|
@@ -603,6 +612,8 @@ bun x intlayer extract
|
|
|
603
612
|
</Tab>
|
|
604
613
|
<Tab value='Компилятор Babel'>
|
|
605
614
|
|
|
615
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
616
|
+
|
|
606
617
|
Обновите `vite.config.ts`, включив плагин `intlayerCompiler`:
|
|
607
618
|
|
|
608
619
|
```ts fileName="vite.config.ts"
|
|
@@ -612,7 +623,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
612
623
|
export default defineConfig({
|
|
613
624
|
plugins: [
|
|
614
625
|
intlayer(),
|
|
615
|
-
intlayerCompiler(), //
|
|
626
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
616
627
|
],
|
|
617
628
|
});
|
|
618
629
|
```
|
|
@@ -634,14 +634,17 @@ import LocaleSwitcher from "@components/LocaleSwitcher.vue"; // Импорт п
|
|
|
634
634
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
635
635
|
import { defineConfig } from "vite";
|
|
636
636
|
import vue from "@vitejs/plugin-vue";
|
|
637
|
-
import { intlayer
|
|
637
|
+
import { intlayer } from "vite-intlayer";
|
|
638
638
|
|
|
639
639
|
// https://vitejs.dev/config/
|
|
640
640
|
export default defineConfig({
|
|
641
641
|
plugins: [
|
|
642
|
-
intlayerProxy(), // should be placed first
|
|
643
642
|
vue(),
|
|
644
|
-
intlayer(
|
|
643
|
+
intlayer({
|
|
644
|
+
proxy: {
|
|
645
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
646
|
+
},
|
|
647
|
+
}),
|
|
645
648
|
],
|
|
646
649
|
});
|
|
647
650
|
```
|
|
@@ -966,6 +969,8 @@ bun x intlayer extract
|
|
|
966
969
|
</Tab>
|
|
967
970
|
<Tab value='Компилятор Babel'>
|
|
968
971
|
|
|
972
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
973
|
+
|
|
969
974
|
Обновите ваш `vite.config.ts`, чтобы включить плагин `intlayerCompiler`:
|
|
970
975
|
|
|
971
976
|
```ts fileName="vite.config.ts"
|
|
@@ -975,7 +980,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
975
980
|
export default defineConfig({
|
|
976
981
|
plugins: [
|
|
977
982
|
intlayer(),
|
|
978
|
-
intlayerCompiler(), //
|
|
983
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
979
984
|
],
|
|
980
985
|
});
|
|
981
986
|
```
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2026-06-25
|
|
3
|
+
updatedAt: 2026-06-25
|
|
4
|
+
title: "Документация пакета @intlayer/babel"
|
|
5
|
+
description: Плагины Babel для Intlayer, управляющие извлечением содержимого, оптимизацией импорта, удалением неиспользуемых полей и сокрытием имен полей во время сборки.
|
|
6
|
+
keywords:
|
|
7
|
+
- "@intlayer/babel"
|
|
8
|
+
- babel
|
|
9
|
+
- plugin
|
|
10
|
+
- интернационализация
|
|
11
|
+
- i18n
|
|
12
|
+
- компилятор
|
|
13
|
+
- оптимизация
|
|
14
|
+
- очистка
|
|
15
|
+
- минимизация
|
|
16
|
+
slugs:
|
|
17
|
+
- doc
|
|
18
|
+
- packages
|
|
19
|
+
- "@intlayer/babel"
|
|
20
|
+
- export
|
|
21
|
+
history:
|
|
22
|
+
- version: 9.0.0
|
|
23
|
+
date: 2026-06-25
|
|
24
|
+
changes: "Объединение документации по всем экспортируемым модулям"
|
|
25
|
+
author: aymericzip
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# Пакет @intlayer/babel
|
|
29
|
+
|
|
30
|
+
Пакет `@intlayer/babel` предоставляет набор специализированных плагинов Babel для Intlayer. Эти плагины охватывают весь цикл сборки: извлечение объявлений контента, перезапись вызовов `useIntlayer` / `getIntlayer` в оптимизированный импорт словарей, удаление неиспользуемых полей и минимизация имен полей.
|
|
31
|
+
|
|
32
|
+
## Установка
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm install @intlayer/babel
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Экспортируемые модули
|
|
39
|
+
|
|
40
|
+
Импорт:
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
import { ... } from "@intlayer/babel";
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
### Плагины
|
|
49
|
+
|
|
50
|
+
| Функция / Класс | Описание |
|
|
51
|
+
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
52
|
+
| `intlayerExtractBabelPlugin` | Плагин Babel, который извлекает переводимый контент из исходных файлов и автоматически внедряет хуки `useIntlayer` / `getIntlayer`. Разработан для использования с Next.js и инструментами сборки на базе Babel. |
|
|
53
|
+
| `intlayerOptimizeBabelPlugin` | Плагин Babel, который преобразует вызовы `useIntlayer` и `getIntlayer` и перезаписывает их импорт в оптимизированный импорт JSON-словарей (статический, динамический или через fetch). |
|
|
54
|
+
| `intlayerPurgeBabelPlugin` | Плагин Babel, который анализирует исходные файлы и перезаписывает скомпилированные JSON-файлы словарей для удаления неиспользуемых полей (`build.purge`) или их переименования в короткие алиасы (`build.minify`). |
|
|
55
|
+
| `intlayerMinifyBabelPlugin` | Плагин Babel, который перезаписывает исходные файлы для использования коротких алиасов полей, назначенных на этапе минимизации (например, `content.title` ← `content.a`). Зависит от `intlayerPurgeBabelPlugin`. |
|
|
56
|
+
| `makeFieldRenameBabelPlugin` | Фабричная функция, создающая плагин Babel для переименования обращений к полям контента словаря в исходных файлах в соответствии с `dictionaryKeyToFieldRenameMap`, заполненной в `PruneContext`. |
|
|
57
|
+
| `makeUsageAnalyzerBabelPlugin` | Фабричная функция, создающая плагин Babel для анализа использования `useIntlayer` / `getIntlayer` в исходном коде и агрегирования данных об использовании полей в общем `PruneContext`. |
|
|
58
|
+
| `getSharedPruneContext` | Вспомогательная функция, которая возвращает общий объект `PruneContext` для указанного базового каталога или `null`, если он еще не был инициализирован. |
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### Утилиты настройки плагинов
|
|
63
|
+
|
|
64
|
+
| Функция | Описание |
|
|
65
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
66
|
+
| `getExtractPluginOptions` | Загружает конфигурацию Intlayer и возвращает `ExtractPluginOptions`, готовые для использования с `intlayerExtractBabelPlugin`. |
|
|
67
|
+
| `getOptimizePluginOptions` | Загружает конфигурацию Intlayer и скомпилированные словари, и возвращает `OptimizePluginOptions`, готовые для использования с `intlayerOptimizeBabelPlugin`. |
|
|
68
|
+
| `getPurgePluginOptions` | Загружает конфигурацию Intlayer и возвращает `PurgePluginOptions`, готовые для использования с `intlayerPurgeBabelPlugin`. |
|
|
69
|
+
| `getMinifyPluginOptions` | Загружает конфигурацию Intlayer и возвращает `MinifyPluginOptions`, готовые для использования с `intlayerMinifyBabelPlugin`. |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### Типы
|
|
74
|
+
|
|
75
|
+
| Тип | Описание |
|
|
76
|
+
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
77
|
+
| `CompilerMode` | Режим компилятора: `'dev'` для разработки с поддержкой HMR или `'build'` для продакшен-сборок. |
|
|
78
|
+
| `ExtractPluginOptions` | Параметры для `intlayerExtractBabelPlugin`: список файлов, конфигурация, callback `onExtract` и т. д. |
|
|
79
|
+
| `ExtractResult` | Результат извлечения: ключ словаря, путь к файлу, содержимое и локаль. |
|
|
80
|
+
| `OptimizePluginOptions` | Параметры для `intlayerOptimizeBabelPlugin`: пути к словарям, режим импорта, сопоставление режимов для каждого словаря и т. д. |
|
|
81
|
+
| `PurgePluginOptions` | Параметры для `intlayerPurgeBabelPlugin`: базовый каталог, флаги purge/minify/optimize, список файлов компонентов. |
|
|
82
|
+
| `MinifyPluginOptions` | Параметры для `intlayerMinifyBabelPlugin`: базовый каталог, флаги minify/optimize/editorEnabled. |
|
|
83
|
+
| `PruneContext` | Общее состояние плагинов анализа и очистки: карты использования полей, карты переименования и т. д. |
|
|
84
|
+
| `DictionaryFieldUsage` | Результат использования полей для одного словаря: `Set<string>` или `'all'`, когда статический анализ не дает однозначного ответа. |
|
|
85
|
+
| `NestedRenameEntry` | Узел в дереве переименования: `shortName` и карта дочерних элементов. |
|
|
86
|
+
| `NestedRenameMap` | Один уровень в дереве переименования: `Map<string, NestedRenameEntry>`. |
|
|
87
|
+
| `CompatCallerConfig` | Конфигурация совместимого анализатора использования для пакетов `compat-adapter` (имя вызывающего модуля и параметры обработки). |
|
|
88
|
+
| `ScriptBlock` | Блок скрипта, извлеченный из SFC-файла (Vue или Svelte): содержимое, смещение начала и смещение конца. |
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
### Вспомогательные функции
|
|
93
|
+
|
|
94
|
+
| Функция | Описание |
|
|
95
|
+
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
96
|
+
| `generateShortFieldName` | Преобразует целое число (начиная с нуля) в короткий буквенный идентификатор: `0` → `'a'`, `25` → `'z'`, `26` → `'aa'`, etc. |
|
|
97
|
+
| `buildNestedRenameMapFromContent` | Рекурсивно строит `NestedRenameMap` на основе значений содержимого скомпилированного словаря с учетом структур узлов Intlayer (translation, enumeration и т. д.). |
|
|
98
|
+
| `createPruneContext` | Создает новый пустой объект `PruneContext`, инициализированный значениями по умолчанию. |
|
|
99
|
+
| `extractScriptBlocks` | Извлекает блоки `<script>` из SFC-файлов (Vue / Svelte) для последующего анализа в Babel. |
|
|
100
|
+
| `BABEL_PARSER_OPTIONS` | Константа, представляющая параметры парсера Babel, охватывающие поддерживаемые фреймворки (React/Vue/Svelte/Angular/...). |
|
|
101
|
+
| `INTLAYER_CALLER_NAMES` | Константный список исходных имен вызывающих модулей Intlayer: `['useIntlayer', 'getIntlayer']`. |
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Пример использования
|
|
106
|
+
|
|
107
|
+
```js
|
|
108
|
+
// babel.config.js
|
|
109
|
+
const {
|
|
110
|
+
intlayerExtractBabelPlugin,
|
|
111
|
+
intlayerPurgeBabelPlugin,
|
|
112
|
+
intlayerMinifyBabelPlugin,
|
|
113
|
+
intlayerOptimizeBabelPlugin,
|
|
114
|
+
getExtractPluginOptions,
|
|
115
|
+
getPurgePluginOptions,
|
|
116
|
+
getMinifyPluginOptions,
|
|
117
|
+
getOptimizePluginOptions,
|
|
118
|
+
} = require("@intlayer/babel");
|
|
119
|
+
|
|
120
|
+
module.exports = {
|
|
121
|
+
presets: ["next/babel"],
|
|
122
|
+
plugins: [
|
|
123
|
+
[intlayerExtractBabelPlugin, getExtractPluginOptions()],
|
|
124
|
+
[intlayerPurgeBabelPlugin, getPurgePluginOptions()],
|
|
125
|
+
[intlayerMinifyBabelPlugin, getMinifyPluginOptions()],
|
|
126
|
+
[intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
|
|
127
|
+
],
|
|
128
|
+
};
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
> **Примечание:** Плагин `intlayerPurgeBabelPlugin` должен быть объявлен **перед** `intlayerMinifyBabelPlugin`, так как последний считывает карту переименования, созданную первым. Кроме того, обоим должен предшествовать плагин `intlayerOptimizeBabelPlugin`, чтобы он мог видеть ключи словарей до перезаписи вызовов `useIntlayer`.
|