@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 - あなたのアプリを翻訳する完全ガイド"
|
|
5
5
|
description: "i18nextはもう不要。2026年に多言語(i18n)Expo + React Nativeアプリを構築するためのガイド。AIエージェントで翻訳し、バンドルサイズ、SEO、パフォーマンスを最適化します。"
|
|
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: "プロバイダーとフックを react-native-intlayer から直接インポートするよう変更。react-intlayer は直接の依存関係として不要になった"
|
|
20
23
|
- version: 8.9.0
|
|
21
24
|
date: 2026-05-04
|
|
22
25
|
changes: "Solid の useIntlayer API の使用法を直接プロパティアクセスに更新"
|
|
@@ -56,127 +59,118 @@ author: aymericzip
|
|
|
56
59
|
</Tab>
|
|
57
60
|
</Tabs>
|
|
58
61
|
|
|
59
|
-
|
|
62
|
+
## 目次
|
|
60
63
|
|
|
61
|
-
|
|
64
|
+
<TOC/>
|
|
62
65
|
|
|
63
|
-
|
|
66
|
+
## 代替手段ではなく Intlayer を使用する理由
|
|
64
67
|
|
|
65
|
-
|
|
68
|
+
`react-native-localize` や `i18next` などの主要なソリューションと比較して、Intlayer は次のような統合された最適化を備えたソリューションです。
|
|
66
69
|
|
|
67
|
-
|
|
70
|
+
<AccordionGroup>
|
|
68
71
|
|
|
69
|
-
|
|
72
|
+
<Accordion header="React Native を完全にカバー">
|
|
70
73
|
|
|
71
|
-
|
|
74
|
+
Intlayer は、**コンポーネントレベルのコンテンツスコープ**、**TypeScript サポート**、およびモバイルアプリの国際化 (i18n) のスケーリングに必要なすべての機能を提供することにより、React Native および Expo と完全に連携するように最適化されています。
|
|
72
75
|
|
|
73
|
-
|
|
76
|
+
</Accordion>
|
|
74
77
|
|
|
75
|
-
|
|
78
|
+
<Accordion header="保守性">
|
|
76
79
|
|
|
77
|
-
|
|
80
|
+
アプリケーションのコンテンツのスコープを設定すると、大規模なアプリケーションの**メンテナンスが容易になります**。コンテンツコードベース全体を確認するという精神的な負担を負うことなく、単一の機能フォルダーを複製または削除できます。さらに、Intlayer は**完全に型指定**されており、コンテンツの正確性を保証します。
|
|
78
81
|
|
|
79
|
-
|
|
82
|
+
</Accordion>
|
|
80
83
|
|
|
81
|
-
|
|
84
|
+
<Accordion header="AI エージェント">
|
|
82
85
|
|
|
83
|
-
|
|
86
|
+
コンテンツを同じ場所に配置すると、大規模言語モデル (LLM) によって**必要なコンテキストが削減**されます。Intlayer には、翻訳の欠落をテストする **CLI**、**[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)**、および **[エージェントスキル](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)** などのツールスイートも付属しており、AI エージェントの開発者エクスペリエンス (DX) がさらにスムーズになります。
|
|
84
87
|
|
|
85
|
-
|
|
88
|
+
</Accordion>
|
|
86
89
|
|
|
87
|
-
|
|
90
|
+
<Accordion header="オートメーション">
|
|
88
91
|
|
|
89
|
-
|
|
92
|
+
AI プロバイダーの費用で、選択した LLM を使用して CI/CD パイプラインで自動化して翻訳します。Intlayer は、コンテンツ抽出を自動化する**コンパイラー**と、**バックグラウンドでの翻訳**を支援する [Web プラットフォーム](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md) も提供します。
|
|
90
93
|
|
|
91
|
-
|
|
94
|
+
</Accordion>
|
|
92
95
|
|
|
93
|
-
<
|
|
96
|
+
<Accordion header="パフォーマンス">
|
|
94
97
|
|
|
95
|
-
|
|
98
|
+
大量の JSON ファイルをコンポーネントに接続すると、パフォーマンスと反応性の問題が発生する可能性があります。Intlayer は、ビルド時のコンテンツの読み込みを最適化します。
|
|
96
99
|
|
|
97
|
-
|
|
100
|
+
</Accordion>
|
|
98
101
|
|
|
99
|
-
|
|
102
|
+
<Accordion header="非開発者によるスケーリング">
|
|
100
103
|
|
|
101
|
-
|
|
102
|
-
npm install intlayer 反応-intlayer
|
|
103
|
-
npm install --save-dev 反応ネイティブ-intlayer
|
|
104
|
-
npx 内部層初期化
|
|
105
|
-
「」
|
|
104
|
+
Intlayer は単なる i18n ソリューションではなく、**自己ホスト型[ビジュアルエディター](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)** と **[完全な CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)** を提供し、**リアルタイム**で多言語コンテンツを管理できるようになり、翻訳者、コピーライター、その他のチームメンバーとのコラボレーションがシームレスになります。コンテンツはローカルおよび/またはリモートに保存できます。
|
|
106
105
|
|
|
107
|
-
|
|
108
|
-
pnpm add intlayer 反応-intlayer
|
|
109
|
-
pnpm add --save-dev 反応ネイティブ-intlayer
|
|
110
|
-
pnpm 内部層初期化
|
|
111
|
-
「」
|
|
106
|
+
</Accordion>
|
|
112
107
|
|
|
113
|
-
|
|
114
|
-
糸 中間層を追加 反応内部層
|
|
115
|
-
糸追加 --save-dev 反応ネイティブ-内部層
|
|
116
|
-
糸の中間層の初期化
|
|
117
|
-
「」
|
|
108
|
+
<Accordion header="バンドルサイズ">
|
|
118
109
|
|
|
119
|
-
|
|
120
|
-
bun add intlayer 反応-intlayer
|
|
121
|
-
バン追加 --dev 反応ネイティブ-intlayer
|
|
122
|
-
bun x 内部層の初期化
|
|
123
|
-
「」
|
|
110
|
+
大量の JSON ファイルをページにロードするのではなく、必要なコンテンツのみをロードします。Intlayer は、**バンドルとビューのサイズを最大 50% 削減**するのに役立ちます。
|
|
124
111
|
|
|
125
|
-
|
|
112
|
+
</Accordion>
|
|
113
|
+
</AccordionGroup>
|
|
126
114
|
|
|
127
|
-
|
|
128
|
-
構成、辞書コンテンツ、タイプ生成、および CLI コマンド用のコア i18n ツールキット。
|
|
115
|
+
<Steps>
|
|
129
116
|
|
|
130
|
-
|
|
131
|
-
React Native でロケールの取得と切り替えに使用するコンテキスト プロバイダーと React フックを提供する React 統合。
|
|
117
|
+
<Step number={1} title="依存関係をインストールする">
|
|
132
118
|
|
|
133
|
-
-
|
|
134
|
-
Intlayer を React Native バンドラーと統合するための Metro プラグインを提供する React Native 統合。
|
|
119
|
+
GitHub の [アプリケーションテンプレート](https://github.com/aymericzip/intlayer-react-native-template) を参照してください。
|
|
135
120
|
|
|
136
|
-
|
|
121
|
+
React Native プロジェクトから、次のパッケージをインストールします:
|
|
137
122
|
|
|
138
|
-
|
|
123
|
+
```bash packageManager="npm"
|
|
124
|
+
npx intlayer-cli init --interactive
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
```bash packageManager="pnpm"
|
|
128
|
+
pnpm dlx intlayer-cli init --interactive
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
```bash packageManager="yarn"
|
|
132
|
+
yarn dlx intlayer-cli init --interactive
|
|
133
|
+
```
|
|
139
134
|
|
|
140
|
-
|
|
135
|
+
```bash packageManager="bun"
|
|
136
|
+
bunx intlayer-cli init --interactive
|
|
137
|
+
```
|
|
141
138
|
|
|
139
|
+
> `--interactive` フラグはオプションです。AI エージェントの場合は `intlayer-cli init` を使用してください。
|
|
142
140
|
|
|
143
|
-
|
|
141
|
+
> このコマンドは環境を検出し、必要なパッケージをインストールします。例えば:
|
|
144
142
|
|
|
145
143
|
```bash packageManager="npm"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
npm install --save-dev react-native-intlayer
|
|
149
|
-
````
|
|
144
|
+
npm install intlayer react-native-intlayer
|
|
145
|
+
```
|
|
150
146
|
|
|
151
147
|
```bash packageManager="pnpm"
|
|
152
|
-
pnpm add intlayer react-intlayer
|
|
153
|
-
pnpm add --save-dev react-native-intlayer
|
|
154
|
-
pnpm intlayer init
|
|
148
|
+
pnpm add intlayer react-native-intlayer
|
|
155
149
|
```
|
|
156
150
|
|
|
157
151
|
```bash packageManager="yarn"
|
|
158
|
-
yarn add intlayer react-intlayer
|
|
159
|
-
|
|
152
|
+
yarn add intlayer react-native-intlayer
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
```bash packageManager="bun"
|
|
156
|
+
bun add intlayer react-native-intlayer
|
|
160
157
|
```
|
|
161
158
|
|
|
162
159
|
### パッケージ
|
|
163
160
|
|
|
164
161
|
- **intlayer**
|
|
165
|
-
設定、辞書コンテンツ、型生成、CLIコマンドのためのコアi18nツールキット。
|
|
166
|
-
|
|
167
|
-
- **react-intlayer**
|
|
168
|
-
React Nativeでロケールの取得や切り替えに使用するコンテキストプロバイダーとReactフックを提供するReact統合。
|
|
162
|
+
設定、辞書コンテンツ、型生成、CLI コマンドのためのコア i18n ツールキット。
|
|
169
163
|
|
|
170
164
|
- **react-native-intlayer**
|
|
171
|
-
IntlayerをReact Nativeバンドラーと統合するためのMetroプラグインを提供するReact Native
|
|
165
|
+
ロケールの取得や切り替えに使用するコンテキストプロバイダーと React フック、React Native ポリフィル、および Intlayer を React Native バンドラーと統合するための Metro プラグインを提供する React Native 統合。`react-intlayer` からすべてを再エクスポートするため、React Native アプリではこの単一パッケージのみが必要です。
|
|
172
166
|
|
|
173
167
|
---
|
|
174
168
|
|
|
175
169
|
</Step>
|
|
176
170
|
|
|
177
|
-
<Step number={
|
|
171
|
+
<Step number={2} title="Intlayer設定ファイルの作成">
|
|
178
172
|
|
|
179
|
-
|
|
173
|
+
プロジェクトのルート(または任意の便利な場所)に **Intlayer 設定ファイル**を作成します。以下のような内容になるかもしれません:
|
|
180
174
|
|
|
181
175
|
```ts fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
182
176
|
/**
|
|
@@ -204,13 +198,13 @@ export default config;
|
|
|
204
198
|
- **サポートするロケールのリスト**を設定する。
|
|
205
199
|
- **デフォルト**のロケールを設定する。
|
|
206
200
|
- 後で、より高度なオプション(例:ログ、カスタムコンテンツディレクトリなど)を追加することも可能です。
|
|
207
|
-
- 詳細は[Intlayerの設定ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/configuration.md)を参照してください。
|
|
201
|
+
- 詳細は [Intlayer の設定ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/configuration.md) を参照してください。
|
|
208
202
|
|
|
209
203
|
</Step>
|
|
210
204
|
|
|
211
|
-
<Step number={
|
|
205
|
+
<Step number={3} title="Metro プラグインを追加する">
|
|
212
206
|
|
|
213
|
-
MetroはReact Native用のバンドラーです。`react-native init
|
|
207
|
+
Metro は React Native 用のバンドラーです。`react-native init` コマンドで作成された React Native プロジェクトのデフォルトバンドラーです。Intlayer を Metro で使用するには、`metro.config.js` ファイルにプラグインを追加する必要があります。
|
|
214
208
|
|
|
215
209
|
```js fileName="metro.config.js"
|
|
216
210
|
const { getDefaultConfig } = require("expo/metro-config");
|
|
@@ -223,34 +217,25 @@ module.exports = (async () => {
|
|
|
223
217
|
})();
|
|
224
218
|
```
|
|
225
219
|
|
|
220
|
+
> 注:`configMetroIntlayer` は Promise 関数です。同期的に使用したい場合は `configMetroIntlayerSync` を使用するか、IFFE(即時実行関数式)を避けてください。
|
|
221
|
+
> 注:`configMetroIntlayerSync` はサーバー起動時に intlayer 辞書をビルドすることができません
|
|
222
|
+
|
|
226
223
|
</Step>
|
|
227
224
|
|
|
228
|
-
<Step number={
|
|
225
|
+
<Step number={4} title="Intlayer プロバイダーを追加する">
|
|
229
226
|
|
|
230
|
-
アプリケーション全体でユーザーの言語を同期させるには、ルートコンポーネントを `react-intlayer
|
|
227
|
+
アプリケーション全体でユーザーの言語を同期させるには、ルートコンポーネントを `react-native-intlayer` の `IntlayerProvider` コンポーネントでラップする必要があります。
|
|
231
228
|
|
|
232
|
-
>
|
|
233
|
-
|
|
234
|
-
```tsx fileName="app/_layout.tsx" codeFormat={["typescript", "esm"]}
|
|
235
|
-
import { Stack } from "expo-router";
|
|
236
|
-
import { getLocales } from "expo-localization";
|
|
237
|
-
import { IntlayerProvider } from "react-native-intlayer";
|
|
238
|
-
import { type FC } from "react";
|
|
229
|
+
> 常に `react-native-intlayer` からインポートしてください。その `IntlayerProvider` には Intlayer が使用する Web API のポリフィルが含まれており、このパッケージは `react-intlayer` からすべてのフックとユーティリティを再エクスポートします。
|
|
239
230
|
|
|
231
|
+
また、Intlayer が正しく動作するように、`index.js` ファイルに `intlayerPolyfill` 関数を追加する必要があります。
|
|
240
232
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
const RootLayout: FC = () => {
|
|
244
|
-
return (
|
|
245
|
-
<IntlayerProvider defaultLocale={getDeviceLocale()}>
|
|
246
|
-
<Stack>
|
|
247
|
-
tsx fileName="app/_layout.tsx" codeFormat="typescript"
|
|
233
|
+
```tsx fileName="app/_layout.tsx" codeFormat={["typescript", "esm"]}
|
|
248
234
|
import { Stack } from "expo-router";
|
|
249
235
|
import { getLocales } from "expo-localization";
|
|
250
236
|
import { IntlayerProvider } from "react-native-intlayer";
|
|
251
237
|
import { type FC } from "react";
|
|
252
238
|
|
|
253
|
-
|
|
254
239
|
const getDeviceLocale = () => getLocales()[0]?.languageTag;
|
|
255
240
|
|
|
256
241
|
const RootLayout: FC = () => {
|
|
@@ -268,35 +253,13 @@ export default RootLayout;
|
|
|
268
253
|
|
|
269
254
|
</Step>
|
|
270
255
|
|
|
271
|
-
<Step number={
|
|
272
|
-
|
|
273
|
-
```jsx fileName="app/_layout.cjx" codeFormat="commonjs"
|
|
274
|
-
const { Stack } = require("expo-router");
|
|
275
|
-
const { getLocales } = require("expo-localization");
|
|
276
|
-
const { IntlayerProvider } = require("react-native-intlayer");
|
|
277
|
-
|
|
278
|
-
const getDeviceLocale = () => getLocales()[0]?.languageTag;
|
|
279
|
-
|
|
280
|
-
const RootLayout = () => {
|
|
281
|
-
return (
|
|
282
|
-
<IntlayerProvider defaultLocale={getDeviceLocale()}>
|
|
283
|
-
<Stack>
|
|
284
|
-
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
|
285
|
-
</Stack>
|
|
286
|
-
</IntlayerProvider>
|
|
287
|
-
);
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
module.exports = RootLayout;
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
</Step>
|
|
294
|
-
|
|
295
|
-
<Step number={7} title="コンテンツを宣言する">
|
|
256
|
+
<Step number={5} title="コンテンツを宣言する">
|
|
296
257
|
|
|
297
258
|
プロジェクト内の任意の場所(一般的には `src/` 内)に**コンテンツ宣言**ファイルを作成します。Intlayer がサポートする任意の拡張子形式を使用できます:
|
|
298
259
|
|
|
299
260
|
- `.content.json`
|
|
261
|
+
- `.content.jsonc`
|
|
262
|
+
- `.content.json5`
|
|
300
263
|
- `.content.ts`
|
|
301
264
|
- `.content.tsx`
|
|
302
265
|
- `.content.js`
|
|
@@ -304,7 +267,10 @@ module.exports = RootLayout;
|
|
|
304
267
|
- `.content.mjs`
|
|
305
268
|
- `.content.mjx`
|
|
306
269
|
- `.content.cjs`
|
|
307
|
-
- `.content.
|
|
270
|
+
- `.content.md`
|
|
271
|
+
- `.content.mdx`
|
|
272
|
+
- `.content.yaml`
|
|
273
|
+
- `.content.yml`
|
|
308
274
|
- その他
|
|
309
275
|
|
|
310
276
|
> **Expo Router (Web): `.content.*` ファイルは `app/` ディレクトリの外に配置してください。** Expo Router は `app/` 内のすべての JavaScript/TypeScript ファイルをルートとして扱います。Web では、ルート検出がファイルシステムを直接スキャンし、Metro の `resolver.blockList` を**考慮しない**ため、同じ場所に配置された `*.content.ts` がルートとして登録されてしまいます。`app/(tabs)/_layout.content.ts` のようなファイルはレイアウトとして解析され(`.content` 部分がプラットフォームの接尾辞として読み込まれます)、実際の `_layout.tsx` と競合して次のエラーがスローされます:
|
|
@@ -357,21 +323,21 @@ export default homeScreenContent;
|
|
|
357
323
|
}
|
|
358
324
|
```
|
|
359
325
|
|
|
360
|
-
> コンテンツ宣言の詳細については、[Intlayerのコンテンツドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
|
|
326
|
+
> コンテンツ宣言の詳細については、[Intlayer のコンテンツドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md) を参照してください。
|
|
361
327
|
|
|
362
328
|
---
|
|
363
329
|
|
|
364
330
|
</Step>
|
|
365
331
|
|
|
366
|
-
<Step number={
|
|
332
|
+
<Step number={6} title="コンポーネントで Intlayer を使用する">
|
|
367
333
|
|
|
368
|
-
|
|
334
|
+
子コンポーネントで `useIntlayer` フックを使用して、ローカライズされたコンテンツを取得します。
|
|
369
335
|
|
|
370
336
|
### 例
|
|
371
337
|
|
|
372
338
|
```tsx fileName="app/(tabs)/index.tsx" codeFormat={["typescript", "esm"]}
|
|
373
339
|
import { Image, StyleSheet, Platform } from "react-native";
|
|
374
|
-
import { useIntlayer } from "intlayer";
|
|
340
|
+
import { useIntlayer } from "react-native-intlayer";
|
|
375
341
|
import { HelloWave } from "@/components/HelloWave";
|
|
376
342
|
import ParallaxScrollView from "@/components/ParallaxScrollView";
|
|
377
343
|
import { ThemedText } from "@/components/ThemedText";
|
|
@@ -418,7 +384,7 @@ export default HomeScreen;
|
|
|
418
384
|
|
|
419
385
|
</Step>
|
|
420
386
|
|
|
421
|
-
<Step number={
|
|
387
|
+
<Step number={7} title="アプリのロケールを変更する" isOptional={true}>
|
|
422
388
|
|
|
423
389
|
コンポーネント内からロケールを切り替えるには、`useLocale` フックの `setLocale` メソッドを使用できます。
|
|
424
390
|
|
|
@@ -426,7 +392,7 @@ export default HomeScreen;
|
|
|
426
392
|
import { type FC } from "react";
|
|
427
393
|
import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
|
|
428
394
|
import { getLocaleName } from "intlayer";
|
|
429
|
-
import { useLocale } from "react-intlayer";
|
|
395
|
+
import { useLocale } from "react-native-intlayer";
|
|
430
396
|
|
|
431
397
|
export const LocaleSwitcher: FC = () => {
|
|
432
398
|
const { setLocale, availableLocales } = useLocale();
|
|
@@ -467,22 +433,22 @@ const styles = StyleSheet.create({
|
|
|
467
433
|
});
|
|
468
434
|
```
|
|
469
435
|
|
|
470
|
-
これにより、Intlayerのコンテンツを使用しているすべてのコンポーネントが再レンダリングされ、新しいロケールの翻訳が表示されます。
|
|
436
|
+
これにより、Intlayer のコンテンツを使用しているすべてのコンポーネントが再レンダリングされ、新しいロケールの翻訳が表示されます。
|
|
471
437
|
|
|
472
|
-
> 詳細は[`useLocale
|
|
438
|
+
> 詳細は [`useLocale` のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/react-intlayer/useLocale.md) をご覧ください。
|
|
473
439
|
|
|
474
440
|
</Step>
|
|
475
441
|
|
|
476
442
|
</Steps>
|
|
477
443
|
|
|
478
|
-
## TypeScriptの設定(TypeScriptを使用している場合)
|
|
444
|
+
## TypeScript の設定(TypeScript を使用している場合)
|
|
479
445
|
|
|
480
|
-
Intlayerは、補完機能を向上させ、翻訳エラーを検出するために、隠しフォルダ(デフォルトは `.intlayer`)に型定義を生成します:
|
|
446
|
+
Intlayer は、補完機能を向上させ、翻訳エラーを検出するために、隠しフォルダ(デフォルトは `.intlayer`)に型定義を生成します:
|
|
481
447
|
|
|
482
448
|
```json5
|
|
483
449
|
// tsconfig.json
|
|
484
450
|
{
|
|
485
|
-
// ... 既存のTS設定
|
|
451
|
+
// ... 既存の TS 設定
|
|
486
452
|
"include": [
|
|
487
453
|
"src", // ソースコード
|
|
488
454
|
".intlayer/types/**/*.ts", // <-- 自動生成された型定義を含める
|
|
@@ -498,22 +464,22 @@ Intlayerは、補完機能を向上させ、翻訳エラーを検出するため
|
|
|
498
464
|
|
|
499
465
|
---
|
|
500
466
|
|
|
501
|
-
## Git設定
|
|
467
|
+
## Git 設定
|
|
502
468
|
|
|
503
|
-
Intlayerによって自動生成されたファイルをコミットしないように、`.gitignore
|
|
469
|
+
Intlayer によって自動生成されたファイルをコミットしないように、`.gitignore` に以下を追加してください:
|
|
504
470
|
|
|
505
471
|
```bash
|
|
506
|
-
#
|
|
472
|
+
# Intlayer によって生成されたファイルを無視
|
|
507
473
|
.intlayer
|
|
508
474
|
```
|
|
509
475
|
|
|
510
476
|
---
|
|
511
477
|
|
|
512
|
-
### VS Code拡張機能
|
|
478
|
+
### VS Code 拡張機能
|
|
513
479
|
|
|
514
|
-
Intlayer
|
|
480
|
+
Intlayer の開発体験を向上させるために、公式の **Intlayer VS Code 拡張機能**をインストールできます。
|
|
515
481
|
|
|
516
|
-
[VS Codeマーケットプレイスからインストール](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
482
|
+
[VS Code マーケットプレイスからインストール](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
517
483
|
|
|
518
484
|
この拡張機能は以下を提供します:
|
|
519
485
|
|
|
@@ -522,17 +488,17 @@ Intlayerの開発体験を向上させるために、公式の**Intlayer VS Code
|
|
|
522
488
|
- 翻訳内容の**インラインプレビュー**。
|
|
523
489
|
- 翻訳の作成や更新を簡単に行うための**クイックアクション**。
|
|
524
490
|
|
|
525
|
-
拡張機能の使い方の詳細については、[Intlayer VS Code拡張機能のドキュメント](https://intlayer.org/doc/vs-code-extension)を参照してください。
|
|
491
|
+
拡張機能の使い方の詳細については、[Intlayer VS Code 拡張機能のドキュメント](https://intlayer.org/doc/vs-code-extension) を参照してください。
|
|
526
492
|
|
|
527
493
|
---
|
|
528
494
|
|
|
529
495
|
## さらに進む
|
|
530
496
|
|
|
531
|
-
- **ビジュアルエディター**:翻訳を視覚的に管理するために、[Intlayerビジュアルエディター](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_visual_editor.md)を使用してください。
|
|
532
|
-
- **CMS統合**: 辞書コンテンツを外部化し、[CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_CMS.md)から取得することも可能です。
|
|
533
|
-
- **CLIコマンド**: 翻訳の**抽出**や**欠落キーの確認**などのタスクには、[Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/index.md)を活用してください。
|
|
497
|
+
- **ビジュアルエディター**:翻訳を視覚的に管理するために、[Intlayer ビジュアルエディター](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_visual_editor.md) を使用してください。
|
|
498
|
+
- **CMS 統合**: 辞書コンテンツを外部化し、[CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_CMS.md) から取得することも可能です。
|
|
499
|
+
- **CLI コマンド**: 翻訳の**抽出**や**欠落キーの確認**などのタスクには、[Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/index.md) を活用してください。
|
|
534
500
|
|
|
535
|
-
**Intlayer
|
|
501
|
+
**Intlayer** を通じて、完全な i18n 機能を備えた **React Native** アプリの開発をお楽しみください!
|
|
536
502
|
|
|
537
503
|
---
|
|
538
504
|
|
|
@@ -544,7 +510,7 @@ Intlayer は主に Web Intl API を対象としており、React Native では
|
|
|
544
510
|
|
|
545
511
|
チェックリスト:
|
|
546
512
|
|
|
547
|
-
- `intlayer
|
|
513
|
+
- `intlayer` および `react-native-intlayer` の最新バージョンを使用してください。
|
|
548
514
|
- Intlayer polyfill を有効にしてください。
|
|
549
515
|
- `getLocaleName` または他の Intl-API ベースのユーティリティを使用する場合は、これらの polyfill を早期にインポートしてください(たとえば `index.js` または `App.tsx` で):
|
|
550
516
|
|
|
@@ -169,14 +169,17 @@ This comprehensive guide provides everything you need to integrate Intlayer with
|
|
|
169
169
|
```typescript {3,7} fileName="vite.config.ts"
|
|
170
170
|
import { reactRouter } from "@react-router/dev/vite";
|
|
171
171
|
import { defineConfig } from "vite";
|
|
172
|
-
import { intlayer
|
|
172
|
+
import { intlayer } from "vite-intlayer";
|
|
173
173
|
|
|
174
174
|
export default defineConfig({
|
|
175
175
|
plugins: [
|
|
176
|
-
intlayerProxy(), // should be placed first
|
|
177
176
|
reactRouter(),
|
|
178
177
|
|
|
179
|
-
intlayer(
|
|
178
|
+
intlayer({
|
|
179
|
+
proxy: {
|
|
180
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
181
|
+
},
|
|
182
|
+
}),
|
|
180
183
|
],
|
|
181
184
|
});
|
|
182
185
|
```
|
|
@@ -246,6 +249,8 @@ bun x intlayer extract
|
|
|
246
249
|
</Tab>
|
|
247
250
|
<Tab value='Babelコンパイラ'>
|
|
248
251
|
|
|
252
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
253
|
+
|
|
249
254
|
```bash packageManager="npm"
|
|
250
255
|
npm install @intlayer/babel --save-dev
|
|
251
256
|
```
|
|
@@ -667,6 +667,8 @@ bun x intlayer extract
|
|
|
667
667
|
</Tab>
|
|
668
668
|
<Tab value='Babelコンパイラ'>
|
|
669
669
|
|
|
670
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
671
|
+
|
|
670
672
|
`vite.config.ts` を更新して `intlayerCompiler` プラグインを含めます。
|
|
671
673
|
|
|
672
674
|
```ts fileName="vite.config.ts"
|
|
@@ -676,7 +678,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
676
678
|
export default defineConfig({
|
|
677
679
|
plugins: [
|
|
678
680
|
intlayer(),
|
|
679
|
-
intlayerCompiler(), //
|
|
681
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
680
682
|
],
|
|
681
683
|
});
|
|
682
684
|
```
|
|
@@ -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));
|
|
@@ -203,6 +203,8 @@ bun x intlayer extract
|
|
|
203
203
|
</Tab>
|
|
204
204
|
<Tab value='Babelコンパイラ'>
|
|
205
205
|
|
|
206
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
207
|
+
|
|
206
208
|
```bash packageManager="npm"
|
|
207
209
|
npm install @intlayer/babel --save-dev
|
|
208
210
|
```
|
|
@@ -211,11 +211,15 @@ export default defineConfig({
|
|
|
211
211
|
tanstackStart({
|
|
212
212
|
router: {
|
|
213
213
|
routeFileIgnorePattern:
|
|
214
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
214
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
215
215
|
},
|
|
216
216
|
}),
|
|
217
217
|
solidPlugin({ ssr: true }),
|
|
218
|
-
intlayer(
|
|
218
|
+
intlayer({
|
|
219
|
+
proxy: {
|
|
220
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
221
|
+
},
|
|
222
|
+
}),
|
|
219
223
|
],
|
|
220
224
|
});
|
|
221
225
|
```
|
|
@@ -551,22 +555,25 @@ const RootComponent: ParentComponent = (props) => {
|
|
|
551
555
|
|
|
552
556
|
> 本番環境で `intlayerProxy` を使用するには、`vite-intlayer` パッケージを `devDependencies` から `dependencies` に切り替える必要があることに注意してください。
|
|
553
557
|
|
|
554
|
-
```typescript
|
|
558
|
+
```typescript fileName="vite.config.ts"
|
|
555
559
|
import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
|
|
556
560
|
import solid from "vite-plugin-solid";
|
|
557
561
|
import { nitro } from "nitro/vite";
|
|
558
562
|
import { defineConfig } from "vite";
|
|
559
|
-
import { intlayer
|
|
563
|
+
import { intlayer } from "vite-intlayer";
|
|
560
564
|
|
|
561
565
|
export default defineConfig({
|
|
562
566
|
plugins: [
|
|
563
|
-
intlayerProxy(), // Nitroを使用する場合、プロキシはサーバーの前に配置する必要があります
|
|
564
567
|
nitro(),
|
|
565
|
-
intlayer(
|
|
568
|
+
intlayer({
|
|
569
|
+
proxy: {
|
|
570
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
571
|
+
},
|
|
572
|
+
}),
|
|
566
573
|
tanstackStart({
|
|
567
574
|
router: {
|
|
568
575
|
routeFileIgnorePattern:
|
|
569
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
576
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
570
577
|
},
|
|
571
578
|
}),
|
|
572
579
|
solid(),
|
|
@@ -809,9 +816,9 @@ bun x intlayer extract
|
|
|
809
816
|
</Tab>
|
|
810
817
|
<Tab value='Babel compiler'>
|
|
811
818
|
|
|
812
|
-
`intlayerCompiler`
|
|
819
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
813
820
|
|
|
814
|
-
|
|
821
|
+
`intlayerCompiler` プラグインを含めるように `vite.config.ts` を更新します:
|
|
815
822
|
|
|
816
823
|
```ts fileName="vite.config.ts"
|
|
817
824
|
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
@@ -826,12 +833,12 @@ export default defineConfig({
|
|
|
826
833
|
tanstackStart({
|
|
827
834
|
router: {
|
|
828
835
|
routeFileIgnorePattern:
|
|
829
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
836
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
830
837
|
},
|
|
831
838
|
}),
|
|
832
839
|
solidPlugin({ ssr: true }),
|
|
833
840
|
intlayer(),
|
|
834
|
-
intlayerCompiler(),
|
|
841
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
835
842
|
],
|
|
836
843
|
});
|
|
837
844
|
```
|