@intlayer/docs 9.0.0-canary.5 → 9.0.0-canary.7
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 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +80 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +4 -0
- 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/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 +62 -80
- 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/react-native-intlayer/exports.md +48 -14
- 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/releases/v9.md +45 -1
- 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/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 +56 -69
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +20 -19
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +25 -1
- 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/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 +46 -95
- 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/react-native-intlayer/exports.md +51 -18
- 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/releases/v9.md +23 -1
- 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/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 +49 -81
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +60 -69
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +96 -88
- 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/react-native-intlayer/exports.md +48 -14
- 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/releases/v9.md +23 -1
- 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/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 +51 -34
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +38 -73
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +104 -138
- 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/react-native-intlayer/exports.md +47 -14
- 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/releases/v9.md +23 -1
- 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/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 +237 -30
- 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/react-native-intlayer/exports.md +48 -14
- 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/releases/v9.md +23 -1
- 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/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 +81 -47
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +44 -76
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +77 -61
- 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/react-native-intlayer/exports.md +49 -16
- 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/releases/v9.md +23 -1
- 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/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 +36 -57
- 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/react-native-intlayer/exports.md +48 -15
- 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/releases/v9.md +23 -1
- 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/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 +70 -53
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +49 -33
- 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/react-native-intlayer/exports.md +47 -13
- 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/releases/v9.md +23 -1
- 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/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 +221 -82
- 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/react-native-intlayer/exports.md +48 -14
- 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/releases/v9.md +23 -1
- package/package.json +6 -6
- package/src/generated/docs.entry.ts +80 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-06-18
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-06-25
|
|
4
4
|
title: "Expo + React Native i18n - Kompletny przewodnik po tłumaczeniu swojej aplikacji"
|
|
5
5
|
description: "Koniec z i18next. Przewodnik 2026 do budowania wielojęzycznej (i18n) aplikacji Expo + React Native. Tłumacz z agentami AI i optymalizuj rozmiar bundle, SEO i wydajność."
|
|
6
6
|
keywords:
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
applicationTemplate: https://github.com/aymericzip/intlayer-react-native-template
|
|
18
18
|
applicationShowcase: https://intlayer-react-native.vercel.app
|
|
19
19
|
history:
|
|
20
|
+
- version: 9.0.0
|
|
21
|
+
date: 2026-06-25
|
|
22
|
+
changes: "Importowanie providerów i hooków bezpośrednio z react-native-intlayer; react-intlayer nie jest już potrzebny jako bezpośrednia zależność"
|
|
20
23
|
- version: 8.9.0
|
|
21
24
|
date: 2026-05-04
|
|
22
25
|
changes: "Aktualizacja użycia API useIntlayer w Solid do bezpośredniego dostępu do właściwości"
|
|
@@ -63,38 +66,55 @@ author: aymericzip
|
|
|
63
66
|
|
|
64
67
|
<TOC/>
|
|
65
68
|
|
|
66
|
-
## Dlaczego
|
|
69
|
+
## Dlaczego Intlayer zamiast alternatyw?
|
|
67
70
|
|
|
68
|
-
W porównaniu do głównych rozwiązań, takich jak
|
|
71
|
+
W porównaniu do głównych rozwiązań, takich jak `react-native-localize` czy `i18next`, Intlayer jest rozwiązaniem wyposażonym w zintegrowane optymalizacje, takie jak:
|
|
69
72
|
|
|
70
|
-
|
|
73
|
+
<AccordionGroup>
|
|
74
|
+
|
|
75
|
+
<Accordion header="Pełne pokrycie React Native">
|
|
71
76
|
|
|
72
77
|
Intlayer jest zoptymalizowany do doskonałej współpracy z React Native i Expo, oferując **zakres treści na poziomie komponentów**, **obsługę TypeScript** i wszystkie funkcje potrzebne do skalowania internacjonalizacji (i18n) w aplikacjach mobilnych.
|
|
73
78
|
|
|
74
|
-
|
|
79
|
+
</Accordion>
|
|
80
|
+
|
|
81
|
+
<Accordion header="Łatwość konserwacji">
|
|
82
|
+
|
|
83
|
+
Określanie zakresu zawartości aplikacji **ułatwia konserwację** aplikacji na dużą skalę. Możesz powielić lub usunąć pojedynczy folder funkcji bez obciążania psychicznego koniecznością przeglądania całej bazy kodu zawartości. Dodatkowo Intlayer jest **w pełni typowany**, aby zapewnić dokładność treści.
|
|
84
|
+
|
|
85
|
+
</Accordion>
|
|
86
|
+
|
|
87
|
+
<Accordion header="Agent AI">
|
|
75
88
|
|
|
76
|
-
|
|
89
|
+
Wspólna lokalizacja treści **zmniejsza potrzebny kontekst** dzięki modelom dużego języka (LLM). Intlayer zawiera także zestaw narzędzi, takich jak **CLI** do sprawdzania brakujących tłumaczeń, **[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**, **[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** i **[umiejętności agenta](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**, aby praca programisty (DX) była jeszcze płynniejsza dla agentów AI.
|
|
77
90
|
|
|
78
|
-
|
|
91
|
+
</Accordion>
|
|
79
92
|
|
|
80
|
-
|
|
93
|
+
<Accordion header="Automatyzacja">
|
|
81
94
|
|
|
82
|
-
**
|
|
95
|
+
Korzystaj z automatyzacji, aby tłumaczyć w swoim potoku CI/CD przy użyciu wybranego LLM na koszt dostawcy sztucznej inteligencji. Intlayer oferuje także **kompilator** do automatyzacji ekstrakcji treści, a także [platformę internetową](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md), która pomaga **tłumaczyć w tle**.
|
|
83
96
|
|
|
84
|
-
|
|
97
|
+
</Accordion>
|
|
85
98
|
|
|
86
|
-
|
|
99
|
+
<Accordion header="Wydajność">
|
|
87
100
|
|
|
88
|
-
Łączenie ogromnych plików JSON z komponentami może prowadzić do problemów z wydajnością i reaktywnością.
|
|
101
|
+
Łączenie ogromnych plików JSON z komponentami może prowadzić do problemów z wydajnością i reaktywnością. Intlayer optymalizuje ładowanie treści w czasie kompilacji.
|
|
89
102
|
|
|
90
|
-
|
|
103
|
+
</Accordion>
|
|
91
104
|
|
|
92
|
-
|
|
105
|
+
<Accordion header="Skalowanie bez użycia dewelopera">
|
|
93
106
|
|
|
94
|
-
**
|
|
107
|
+
Więcej niż tylko rozwiązanie i18n, Intlayer zapewnia **samodzielny [edytor wizualny](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)** i **[pełny CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)**, który pomoże Ci zarządzać wielojęzyczną treścią w **czasie rzeczywistym**, dzięki czemu współpraca z tłumaczami, copywriterami i innymi członkami zespołu będzie płynna. Treść może być przechowywana lokalnie i/lub zdalnie.
|
|
108
|
+
|
|
109
|
+
</Accordion>
|
|
110
|
+
|
|
111
|
+
<Accordion header="Rozmiar bundle'a">
|
|
95
112
|
|
|
96
113
|
Zamiast ładować ogromne pliki JSON na swoje strony, ładuj tylko niezbędną treść. Intlayer pomaga **zmniejszyć rozmiary pakietów i wyświetleń nawet o 50%**.
|
|
97
114
|
|
|
115
|
+
</Accordion>
|
|
116
|
+
</AccordionGroup>
|
|
117
|
+
|
|
98
118
|
<Steps>
|
|
99
119
|
|
|
100
120
|
<Step number={1} title="Zainstaluj zależności">
|
|
@@ -103,28 +123,40 @@ Zobacz [Szablon aplikacji](https://github.com/aymericzip/intlayer-react-native-t
|
|
|
103
123
|
|
|
104
124
|
Z projektu React Native zainstaluj następujące pakiety:
|
|
105
125
|
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
npm install --save-dev reagują-native-intlayer
|
|
109
|
-
inicjacja międzywarstwy npx
|
|
126
|
+
```bash packageManager="npm"
|
|
127
|
+
npx intlayer-cli init --interactive
|
|
110
128
|
```
|
|
111
129
|
|
|
112
|
-
```
|
|
113
|
-
pnpm
|
|
114
|
-
pnpm add --save-dev reagują-native-intlayer
|
|
115
|
-
pnpm inicjacja warstwy międzywarstwowej
|
|
130
|
+
```bash packageManager="pnpm"
|
|
131
|
+
pnpm dlx intlayer-cli init --interactive
|
|
116
132
|
```
|
|
117
133
|
|
|
118
|
-
```bash packageManager="
|
|
119
|
-
|
|
120
|
-
przędza dodaj --save-dev reagująca-natywna-warstwa
|
|
121
|
-
init międzywarstwy przędzy
|
|
134
|
+
```bash packageManager="yarn"
|
|
135
|
+
yarn dlx intlayer-cli init --interactive
|
|
122
136
|
```
|
|
123
137
|
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
138
|
+
```bash packageManager="bun"
|
|
139
|
+
bunx intlayer-cli init --interactive
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
> Flaga `--interactive` jest opcjonalna. Użyj `intlayer-cli init`, jeśli jesteś agentem AI.
|
|
143
|
+
|
|
144
|
+
> To polecenie wykryje Twoje środowisko i zainstaluje wymagane pakiety. Na przykład:
|
|
145
|
+
|
|
146
|
+
```bash packageManager="npm"
|
|
147
|
+
npm install intlayer react-native-intlayer
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
```bash packageManager="pnpm"
|
|
151
|
+
pnpm add intlayer react-native-intlayer
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
```bash packageManager="yarn"
|
|
155
|
+
yarn add intlayer react-native-intlayer
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
```bash packageManager="bun"
|
|
159
|
+
bun add intlayer react-native-intlayer
|
|
128
160
|
```
|
|
129
161
|
|
|
130
162
|
### Pakiety
|
|
@@ -132,17 +164,14 @@ kok x inicjacja międzywarstwy
|
|
|
132
164
|
- **intlayer**
|
|
133
165
|
Podstawowe narzędzie i18n do konfiguracji, zawartości słownika, generowania typów oraz poleceń CLI.
|
|
134
166
|
|
|
135
|
-
- **react-intlayer**
|
|
136
|
-
Integracja z React, która dostarcza dostawców kontekstu oraz hooki React, których użyjesz w React Native do pobierania i przełączania lokalizacji.
|
|
137
|
-
|
|
138
167
|
- **react-native-intlayer**
|
|
139
|
-
Integracja z React Native, która dostarcza wtyczkę Metro do integracji Intlayer z bundlerem React Native.
|
|
168
|
+
Integracja z React Native, która dostarcza dostawców kontekstu oraz hooki React do pobierania i przełączania lokalizacji, polyfille dla React Native oraz wtyczkę Metro do integracji Intlayer z bundlerem React Native. Reeksportuje wszystko z `react-intlayer`, więc w aplikacji React Native potrzebny jest tylko ten jeden pakiet.
|
|
140
169
|
|
|
141
170
|
---
|
|
142
171
|
|
|
143
172
|
</Step>
|
|
144
173
|
|
|
145
|
-
<Step number={
|
|
174
|
+
<Step number={2} title="Utwórz konfigurację Intlayer">
|
|
146
175
|
|
|
147
176
|
W katalogu głównym projektu (lub w dowolnym wygodnym miejscu) utwórz plik **konfiguracji Intlayer**. Może on wyglądać tak:
|
|
148
177
|
|
|
@@ -176,7 +205,7 @@ W ramach tej konfiguracji możesz:
|
|
|
176
205
|
|
|
177
206
|
</Step>
|
|
178
207
|
|
|
179
|
-
<Step number={
|
|
208
|
+
<Step number={3} title="Dodaj wtyczkę Metro">
|
|
180
209
|
|
|
181
210
|
Metro to bundler dla React Native. Jest to domyślny bundler dla projektów React Native tworzonych za pomocą polecenia `react-native init`. Aby używać Intlayer z Metro, musisz dodać wtyczkę do pliku `metro.config.js`:
|
|
182
211
|
|
|
@@ -196,11 +225,11 @@ module.exports = (async () => {
|
|
|
196
225
|
|
|
197
226
|
</Step>
|
|
198
227
|
|
|
199
|
-
<Step number={
|
|
228
|
+
<Step number={4} title="Dodaj dostawcę Intlayer">
|
|
200
229
|
|
|
201
230
|
Aby utrzymać synchronizację języka użytkownika w całej aplikacji, musisz opakować swój komponent root w komponent `IntlayerProvider` z `react-native-intlayer`.
|
|
202
231
|
|
|
203
|
-
>
|
|
232
|
+
> Zawsze importuj z `react-native-intlayer`. Jego `IntlayerProvider` zawiera polyfille dla web API używanego przez Intlayer, a pakiet reeksportuje wszystkie hooki i narzędzia z `react-intlayer`.
|
|
204
233
|
|
|
205
234
|
Dodatkowo, musisz dodać funkcję `intlayerPolyfill` do swojego pliku `index.js`, aby zapewnić prawidłowe działanie Intlayer.
|
|
206
235
|
|
|
@@ -227,11 +256,13 @@ export default RootLayout;
|
|
|
227
256
|
|
|
228
257
|
</Step>
|
|
229
258
|
|
|
230
|
-
<Step number={
|
|
259
|
+
<Step number={5} title="Zadeklaruj swoją zawartość">
|
|
231
260
|
|
|
232
261
|
Utwórz pliki **deklaracji zawartości** w dowolnym miejscu w swoim projekcie (zwykle w katalogu `src/`), używając dowolnego z formatów rozszerzeń obsługiwanych przez Intlayer:
|
|
233
262
|
|
|
234
263
|
- `.content.json`
|
|
264
|
+
- `.content.jsonc`
|
|
265
|
+
- `.content.json5`
|
|
235
266
|
- `.content.ts`
|
|
236
267
|
- `.content.tsx`
|
|
237
268
|
- `.content.js`
|
|
@@ -239,7 +270,10 @@ Utwórz pliki **deklaracji zawartości** w dowolnym miejscu w swoim projekcie (z
|
|
|
239
270
|
- `.content.mjs`
|
|
240
271
|
- `.content.mjx`
|
|
241
272
|
- `.content.cjs`
|
|
242
|
-
- `.content.
|
|
273
|
+
- `.content.md`
|
|
274
|
+
- `.content.mdx`
|
|
275
|
+
- `.content.yaml`
|
|
276
|
+
- `.content.yml`
|
|
243
277
|
- itd.
|
|
244
278
|
|
|
245
279
|
> **Expo Router (web): trzymaj pliki `.content.*` poza katalogiem `app/`.** Expo Router traktuje każdy plik JavaScript/TypeScript wewnątrz `app/` jako ścieżkę (route). W sieci web odkrywanie ścieżek skanuje system plików bezpośrednio i **nie** honoruje `resolver.blockList` z Metro, więc współistniejący plik `*.content.ts` jest rejestrowany jako ścieżka. Plik taki jak `app/(tabs)/_layout.content.ts` jest nawet parsowany jako układ (layout - część `.content` jest czytana jako przyrostek platformy), co koliduje z prawdziwym `_layout.tsx` i wyrzuca błąd:
|
|
@@ -298,7 +332,7 @@ export default homeScreenContent;
|
|
|
298
332
|
|
|
299
333
|
</Step>
|
|
300
334
|
|
|
301
|
-
<Step number={
|
|
335
|
+
<Step number={6} title="Użyj Intlayer w swoich komponentach">
|
|
302
336
|
|
|
303
337
|
Użyj hooka `useIntlayer` w komponentach potomnych, aby uzyskać zlokalizowaną zawartość.
|
|
304
338
|
|
|
@@ -306,7 +340,7 @@ Użyj hooka `useIntlayer` w komponentach potomnych, aby uzyskać zlokalizowaną
|
|
|
306
340
|
|
|
307
341
|
```tsx fileName="app/(tabs)/index.tsx" codeFormat={["typescript", "esm"]}
|
|
308
342
|
import { Image, StyleSheet, Platform } from "react-native";
|
|
309
|
-
import { useIntlayer } from "react-intlayer";
|
|
343
|
+
import { useIntlayer } from "react-native-intlayer";
|
|
310
344
|
import { HelloWave } from "@/components/HelloWave";
|
|
311
345
|
import ParallaxScrollView from "@/components/ParallaxScrollView";
|
|
312
346
|
import { ThemedText } from "@/components/ThemedText";
|
|
@@ -353,7 +387,7 @@ export default HomeScreen;
|
|
|
353
387
|
|
|
354
388
|
</Step>
|
|
355
389
|
|
|
356
|
-
<Step number={
|
|
390
|
+
<Step number={7} title="Zmiana lokalizacji aplikacji" isOptional={true}>
|
|
357
391
|
|
|
358
392
|
Aby zmienić lokalizację z poziomu komponentów, możesz użyć metody `setLocale` hooka `useLocale`:
|
|
359
393
|
|
|
@@ -361,7 +395,7 @@ Aby zmienić lokalizację z poziomu komponentów, możesz użyć metody `setLoca
|
|
|
361
395
|
import { type FC } from "react";
|
|
362
396
|
import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
|
|
363
397
|
import { getLocaleName } from "intlayer";
|
|
364
|
-
import { useLocale } from "react-intlayer";
|
|
398
|
+
import { useLocale } from "react-native-intlayer";
|
|
365
399
|
|
|
366
400
|
export const LocaleSwitcher: FC = () => {
|
|
367
401
|
const { setLocale, availableLocales } = useLocale();
|
|
@@ -438,7 +472,7 @@ To umożliwia funkcje takie jak:
|
|
|
438
472
|
Aby uniknąć zatwierdzania automatycznie generowanych plików przez Intlayer, dodaj następujące wpisy do swojego `.gitignore`:
|
|
439
473
|
|
|
440
474
|
```bash
|
|
441
|
-
#
|
|
475
|
+
# Ignoruj pliki generowane przez Intlayer
|
|
442
476
|
.intlayer
|
|
443
477
|
```
|
|
444
478
|
|
|
@@ -479,7 +513,7 @@ Intlayer jest przede wszystkim skierowany do Web Intl API; na React Native musis
|
|
|
479
513
|
|
|
480
514
|
Lista kontrolna:
|
|
481
515
|
|
|
482
|
-
- Używaj najnowszych wersji `intlayer
|
|
516
|
+
- Używaj najnowszych wersji `intlayer` oraz `react-native-intlayer`.
|
|
483
517
|
- Włącz polyfill Intlayer.
|
|
484
518
|
- Jeśli używasz `getLocaleName` lub innych narzędzi opartych na API Intl, zaimportuj te polyfille wcześnie (na przykład w `index.js` lub `App.tsx`):
|
|
485
519
|
|
|
@@ -598,6 +598,8 @@ bun x intlayer extract
|
|
|
598
598
|
</Tab>
|
|
599
599
|
<Tab value='Kompilator Babel'>
|
|
600
600
|
|
|
601
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
602
|
+
|
|
601
603
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
602
604
|
|
|
603
605
|
```ts fileName="vite.config.ts"
|
|
@@ -607,7 +609,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
607
609
|
export default defineConfig({
|
|
608
610
|
plugins: [
|
|
609
611
|
intlayer(),
|
|
610
|
-
intlayerCompiler(), //
|
|
612
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
611
613
|
],
|
|
612
614
|
});
|
|
613
615
|
```
|
|
@@ -706,6 +706,8 @@ bun x intlayer extract
|
|
|
706
706
|
</Tab>
|
|
707
707
|
<Tab value='Kompilator Babel'>
|
|
708
708
|
|
|
709
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
710
|
+
|
|
709
711
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
710
712
|
|
|
711
713
|
```ts fileName="vite.config.ts"
|
|
@@ -715,7 +717,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
715
717
|
export default defineConfig({
|
|
716
718
|
plugins: [
|
|
717
719
|
intlayer(),
|
|
718
|
-
intlayerCompiler(), //
|
|
720
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
719
721
|
],
|
|
720
722
|
});
|
|
721
723
|
```
|
|
@@ -173,7 +173,13 @@ const config: StorybookConfig = {
|
|
|
173
173
|
} as const;
|
|
174
174
|
|
|
175
175
|
const viteConfig = defineConfig(() => ({
|
|
176
|
-
plugins: [
|
|
176
|
+
plugins: [
|
|
177
|
+
intlayer({
|
|
178
|
+
proxy: {
|
|
179
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
180
|
+
},
|
|
181
|
+
}),
|
|
182
|
+
],
|
|
177
183
|
}));
|
|
178
184
|
|
|
179
185
|
return mergeConfig(baseConfig, viteConfig(env));
|
|
@@ -597,14 +597,17 @@ Aby dodać backend proxy do swojej aplikacji SvelteKit, możesz użyć funkcji `
|
|
|
597
597
|
|
|
598
598
|
```ts fileName="vite.config.ts"
|
|
599
599
|
import { defineConfig } from "vite";
|
|
600
|
-
import { intlayer
|
|
600
|
+
import { intlayer } from "vite-intlayer";
|
|
601
601
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
602
602
|
|
|
603
603
|
// https://vitejs.dev/config/
|
|
604
604
|
export default defineConfig({
|
|
605
605
|
plugins: [
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
intlayer({
|
|
607
|
+
proxy: {
|
|
608
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
609
|
+
},
|
|
610
|
+
}),
|
|
608
611
|
sveltekit(),
|
|
609
612
|
],],
|
|
610
613
|
});
|
|
@@ -702,6 +705,8 @@ bun x intlayer extract
|
|
|
702
705
|
</Tab>
|
|
703
706
|
<Tab value='Kompilator Babel'>
|
|
704
707
|
|
|
708
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
709
|
+
|
|
705
710
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
706
711
|
|
|
707
712
|
```ts fileName="vite.config.ts"
|
|
@@ -711,7 +716,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
711
716
|
export default defineConfig({
|
|
712
717
|
plugins: [
|
|
713
718
|
intlayer(),
|
|
714
|
-
intlayerCompiler(), //
|
|
719
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
715
720
|
],
|
|
716
721
|
});
|
|
717
722
|
```
|
|
@@ -210,11 +210,15 @@ export default defineConfig({
|
|
|
210
210
|
tanstackStart({
|
|
211
211
|
router: {
|
|
212
212
|
routeFileIgnorePattern:
|
|
213
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
213
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
214
214
|
},
|
|
215
215
|
}),
|
|
216
216
|
solidPlugin({ ssr: true }),
|
|
217
|
-
intlayer(
|
|
217
|
+
intlayer({
|
|
218
|
+
proxy: {
|
|
219
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
220
|
+
},
|
|
221
|
+
}),
|
|
218
222
|
],
|
|
219
223
|
});
|
|
220
224
|
```
|
|
@@ -550,22 +554,25 @@ Możesz również użyć `intlayerProxy`, aby dodać routing po stronie serwera
|
|
|
550
554
|
|
|
551
555
|
> Zauważ, że aby korzystać z `intlayerProxy` w środowisku produkcyjnym, musisz przenieść pakiet `vite-intlayer` z `devDependencies` do `dependencies`.
|
|
552
556
|
|
|
553
|
-
```typescript
|
|
557
|
+
```typescript fileName="vite.config.ts"
|
|
554
558
|
import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
|
|
555
559
|
import solid from "vite-plugin-solid";
|
|
556
560
|
import { nitro } from "nitro/vite";
|
|
557
561
|
import { defineConfig } from "vite";
|
|
558
|
-
import { intlayer
|
|
562
|
+
import { intlayer } from "vite-intlayer";
|
|
559
563
|
|
|
560
564
|
export default defineConfig({
|
|
561
565
|
plugins: [
|
|
562
|
-
intlayerProxy(), // Proxy powinno być umieszczone przed serwerem, jeśli używasz Nitro
|
|
563
566
|
nitro(),
|
|
564
|
-
intlayer(
|
|
567
|
+
intlayer({
|
|
568
|
+
proxy: {
|
|
569
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
570
|
+
},
|
|
571
|
+
}),
|
|
565
572
|
tanstackStart({
|
|
566
573
|
router: {
|
|
567
574
|
routeFileIgnorePattern:
|
|
568
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
575
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
569
576
|
},
|
|
570
577
|
}),
|
|
571
578
|
solid(),
|
|
@@ -808,6 +815,8 @@ bun x intlayer extract
|
|
|
808
815
|
</Tab>
|
|
809
816
|
<Tab value='Kompilator Babel'>
|
|
810
817
|
|
|
818
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
819
|
+
|
|
811
820
|
Zaktualizuj swoje `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
812
821
|
|
|
813
822
|
```ts fileName="vite.config.ts"
|
|
@@ -823,12 +832,12 @@ export default defineConfig({
|
|
|
823
832
|
tanstackStart({
|
|
824
833
|
router: {
|
|
825
834
|
routeFileIgnorePattern:
|
|
826
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
835
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
827
836
|
},
|
|
828
837
|
}),
|
|
829
838
|
solidPlugin({ ssr: true }),
|
|
830
839
|
intlayer(),
|
|
831
|
-
intlayerCompiler(),
|
|
840
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
832
841
|
],
|
|
833
842
|
});
|
|
834
843
|
```
|
|
@@ -224,11 +224,15 @@ import { intlayer } from "vite-intlayer";
|
|
|
224
224
|
const config = defineConfig({
|
|
225
225
|
plugins: [
|
|
226
226
|
nitro(),
|
|
227
|
-
intlayer(
|
|
227
|
+
intlayer({
|
|
228
|
+
proxy: {
|
|
229
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
230
|
+
},
|
|
231
|
+
}),
|
|
228
232
|
tanstackStart({
|
|
229
233
|
router: {
|
|
230
234
|
routeFileIgnorePattern:
|
|
231
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
235
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
232
236
|
},
|
|
233
237
|
}),
|
|
234
238
|
viteReact(),
|
|
@@ -632,22 +636,25 @@ Możesz również użyć `intlayerProxy`, aby dodać routing po stronie serwera
|
|
|
632
636
|
|
|
633
637
|
> Uwaga: aby używać `intlayerProxy` w produkcji, musisz przenieść pakiet `vite-intlayer` z `devDependencies` do `dependencies`.
|
|
634
638
|
|
|
635
|
-
```typescript
|
|
639
|
+
```typescript fileName="vite.config.ts"
|
|
636
640
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
637
641
|
import viteReact from "@vitejs/plugin-react";
|
|
638
642
|
import { nitro } from "nitro/vite";
|
|
639
643
|
import { defineConfig } from "vite";
|
|
640
|
-
import { intlayer
|
|
644
|
+
import { intlayer } from "vite-intlayer";
|
|
641
645
|
|
|
642
646
|
export default defineConfig({
|
|
643
647
|
plugins: [
|
|
644
|
-
intlayerProxy(), // Proxy powinno być umieszczone przed serwerem, jeśli używasz Nitro
|
|
645
648
|
nitro(),
|
|
646
|
-
intlayer(
|
|
649
|
+
intlayer({
|
|
650
|
+
proxy: {
|
|
651
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
652
|
+
},
|
|
653
|
+
}),
|
|
647
654
|
tanstackStart({
|
|
648
655
|
router: {
|
|
649
656
|
routeFileIgnorePattern:
|
|
650
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
657
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
651
658
|
},
|
|
652
659
|
}),
|
|
653
660
|
viteReact(),
|
|
@@ -908,6 +915,8 @@ bun x intlayer extract
|
|
|
908
915
|
</Tab>
|
|
909
916
|
<Tab value='Kompilator Babel'>
|
|
910
917
|
|
|
918
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
919
|
+
|
|
911
920
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
912
921
|
|
|
913
922
|
```ts fileName="vite.config.ts"
|
|
@@ -917,7 +926,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
917
926
|
export default defineConfig({
|
|
918
927
|
plugins: [
|
|
919
928
|
intlayer(),
|
|
920
|
-
intlayerCompiler(), //
|
|
929
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
921
930
|
],
|
|
922
931
|
});
|
|
923
932
|
```
|
|
@@ -188,7 +188,13 @@ import { intlayer } from "vite-intlayer";
|
|
|
188
188
|
|
|
189
189
|
// https://vitejs.dev/config/
|
|
190
190
|
export default defineConfig({
|
|
191
|
-
plugins: [
|
|
191
|
+
plugins: [
|
|
192
|
+
intlayer({
|
|
193
|
+
proxy: {
|
|
194
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
195
|
+
},
|
|
196
|
+
}),
|
|
197
|
+
],
|
|
192
198
|
});
|
|
193
199
|
```
|
|
194
200
|
|
|
@@ -457,7 +463,7 @@ Najpierw dodaj `intlayerProxy` do konfiguracji Vite:
|
|
|
457
463
|
|
|
458
464
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
459
465
|
import { defineConfig } from "vite";
|
|
460
|
-
import { intlayer
|
|
466
|
+
import { intlayer } from "vite-intlayer";
|
|
461
467
|
|
|
462
468
|
export default defineConfig({
|
|
463
469
|
plugins: [intlayer(), intlayerProxy()],
|
|
@@ -813,6 +813,8 @@ bun x intlayer extract
|
|
|
813
813
|
</Tab>
|
|
814
814
|
<Tab value='Kompilator Babel'>
|
|
815
815
|
|
|
816
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
817
|
+
|
|
816
818
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
817
819
|
|
|
818
820
|
```ts fileName="vite.config.ts"
|
|
@@ -822,7 +824,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
822
824
|
export default defineConfig({
|
|
823
825
|
plugins: [
|
|
824
826
|
intlayer(),
|
|
825
|
-
intlayerCompiler(), //
|
|
827
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
826
828
|
],
|
|
827
829
|
});
|
|
828
830
|
```
|
|
@@ -498,14 +498,17 @@ Równolegle możesz również użyć `intlayerProxy`, aby dodać routing po stro
|
|
|
498
498
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
499
499
|
import { defineConfig } from "vite";
|
|
500
500
|
import react from "@vitejs/plugin-react-swc";
|
|
501
|
-
import { intlayer
|
|
501
|
+
import { intlayer } from "vite-intlayer";
|
|
502
502
|
|
|
503
503
|
// https://vitejs.dev/config/
|
|
504
504
|
export default defineConfig({
|
|
505
505
|
plugins: [
|
|
506
|
-
intlayerProxy(), // should be placed first
|
|
507
506
|
react(),
|
|
508
|
-
intlayer(
|
|
507
|
+
intlayer({
|
|
508
|
+
proxy: {
|
|
509
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
510
|
+
},
|
|
511
|
+
}),
|
|
509
512
|
],
|
|
510
513
|
});
|
|
511
514
|
```
|
|
@@ -809,6 +812,8 @@ bun x intlayer extract
|
|
|
809
812
|
</Tab>
|
|
810
813
|
<Tab value='Kompilator Babel'>
|
|
811
814
|
|
|
815
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
816
|
+
|
|
812
817
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
813
818
|
|
|
814
819
|
```ts fileName="vite.config.ts"
|
|
@@ -818,7 +823,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
818
823
|
export default defineConfig({
|
|
819
824
|
plugins: [
|
|
820
825
|
intlayer(),
|
|
821
|
-
intlayerCompiler(), //
|
|
826
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
822
827
|
],
|
|
823
828
|
});
|
|
824
829
|
```
|
|
@@ -213,11 +213,18 @@ Dodaj wtyczkę intlayer do swojej konfiguracji.
|
|
|
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
|
|
|
@@ -579,6 +579,8 @@ bun x intlayer extract
|
|
|
579
579
|
</Tab>
|
|
580
580
|
<Tab value='Kompilator Babel'>
|
|
581
581
|
|
|
582
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
583
|
+
|
|
582
584
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
583
585
|
|
|
584
586
|
```ts fileName="vite.config.ts"
|
|
@@ -588,7 +590,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
588
590
|
export default defineConfig({
|
|
589
591
|
plugins: [
|
|
590
592
|
intlayer(),
|
|
591
|
-
intlayerCompiler(), //
|
|
593
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
592
594
|
],
|
|
593
595
|
});
|
|
594
596
|
```
|
|
@@ -442,7 +442,7 @@ Równolegle możesz również użyć `intlayerProxy`, aby dodać routing po stro
|
|
|
442
442
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
443
443
|
import { defineConfig } from "vite";
|
|
444
444
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
445
|
-
import { intlayer
|
|
445
|
+
import { intlayer } from "vite-intlayer";
|
|
446
446
|
|
|
447
447
|
plugins: [intlayerProxy(), // should be placed first
|
|
448
448
|
svelte(), intlayer()],
|
|
@@ -552,6 +552,8 @@ bun x intlayer extract
|
|
|
552
552
|
</Tab>
|
|
553
553
|
<Tab value='Kompilator Babel'>
|
|
554
554
|
|
|
555
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
556
|
+
|
|
555
557
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
556
558
|
|
|
557
559
|
```ts fileName="vite.config.ts"
|
|
@@ -561,7 +563,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
561
563
|
export default defineConfig({
|
|
562
564
|
plugins: [
|
|
563
565
|
intlayer(),
|
|
564
|
-
intlayerCompiler(), //
|
|
566
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
565
567
|
],
|
|
566
568
|
});
|
|
567
569
|
```
|