@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.
Files changed (660) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +80 -0
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +80 -0
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +4 -0
  6. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  7. package/docs/ar/compiler.md +6 -3
  8. package/docs/ar/custom_domains.md +8 -2
  9. package/docs/ar/custom_url_rewrites.md +8 -2
  10. package/docs/ar/intlayer_with_analog.md +5 -1
  11. package/docs/ar/intlayer_with_astro.md +2 -0
  12. package/docs/ar/intlayer_with_astro_lit.md +2 -0
  13. package/docs/ar/intlayer_with_astro_preact.md +2 -0
  14. package/docs/ar/intlayer_with_astro_react.md +2 -0
  15. package/docs/ar/intlayer_with_astro_solid.md +2 -0
  16. package/docs/ar/intlayer_with_astro_svelte.md +2 -0
  17. package/docs/ar/intlayer_with_astro_vanilla.md +2 -0
  18. package/docs/ar/intlayer_with_astro_vue.md +2 -0
  19. package/docs/ar/intlayer_with_lynx+react.md +6 -1
  20. package/docs/ar/intlayer_with_nextjs_16.md +2 -0
  21. package/docs/ar/intlayer_with_nextjs_compiler.md +2 -0
  22. package/docs/ar/intlayer_with_react_native+expo.md +62 -80
  23. package/docs/ar/intlayer_with_react_router_v7.md +3 -1
  24. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -1
  25. package/docs/ar/intlayer_with_storybook.md +7 -1
  26. package/docs/ar/intlayer_with_svelte_kit.md +8 -3
  27. package/docs/ar/intlayer_with_tanstack+solid.md +18 -11
  28. package/docs/ar/intlayer_with_tanstack.md +16 -7
  29. package/docs/ar/intlayer_with_vite+lit.md +8 -2
  30. package/docs/ar/intlayer_with_vite+preact.md +2 -0
  31. package/docs/ar/intlayer_with_vite+react.md +8 -3
  32. package/docs/ar/intlayer_with_vite+react_compiler.md +9 -2
  33. package/docs/ar/intlayer_with_vite+solid.md +2 -0
  34. package/docs/ar/intlayer_with_vite+svelte.md +4 -2
  35. package/docs/ar/intlayer_with_vite+vanilla.md +16 -5
  36. package/docs/ar/intlayer_with_vite+vue.md +8 -3
  37. package/docs/ar/packages/@intlayer_babel/export.md +131 -0
  38. package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
  39. package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
  40. package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
  41. package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
  42. package/docs/ar/releases/v9.md +45 -1
  43. package/docs/bn/custom_domains.md +8 -2
  44. package/docs/bn/intlayer_with_storybook.md +7 -1
  45. package/docs/bn/intlayer_with_vite+lit.md +8 -2
  46. package/docs/bn/intlayer_with_vite+vanilla.md +16 -5
  47. package/docs/cs/custom_domains.md +8 -2
  48. package/docs/cs/intlayer_with_storybook.md +7 -1
  49. package/docs/cs/intlayer_with_vite+lit.md +8 -2
  50. package/docs/cs/intlayer_with_vite+vanilla.md +16 -5
  51. package/docs/de/compiler.md +6 -3
  52. package/docs/de/custom_domains.md +8 -2
  53. package/docs/de/custom_url_rewrites.md +8 -2
  54. package/docs/de/intlayer_with_analog.md +5 -1
  55. package/docs/de/intlayer_with_astro.md +3 -1
  56. package/docs/de/intlayer_with_astro_lit.md +3 -1
  57. package/docs/de/intlayer_with_astro_preact.md +3 -1
  58. package/docs/de/intlayer_with_astro_react.md +3 -1
  59. package/docs/de/intlayer_with_astro_solid.md +3 -1
  60. package/docs/de/intlayer_with_astro_svelte.md +3 -1
  61. package/docs/de/intlayer_with_astro_vanilla.md +3 -1
  62. package/docs/de/intlayer_with_astro_vue.md +3 -1
  63. package/docs/de/intlayer_with_lynx+react.md +6 -1
  64. package/docs/de/intlayer_with_nextjs_16.md +2 -0
  65. package/docs/de/intlayer_with_nextjs_compiler.md +2 -0
  66. package/docs/de/intlayer_with_react_native+expo.md +56 -69
  67. package/docs/de/intlayer_with_react_router_v7.md +3 -1
  68. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +8 -3
  69. package/docs/de/intlayer_with_storybook.md +7 -1
  70. package/docs/de/intlayer_with_svelte_kit.md +9 -4
  71. package/docs/de/intlayer_with_tanstack+solid.md +18 -11
  72. package/docs/de/intlayer_with_tanstack.md +17 -8
  73. package/docs/de/intlayer_with_vite+lit.md +13 -4
  74. package/docs/de/intlayer_with_vite+preact.md +3 -1
  75. package/docs/de/intlayer_with_vite+react.md +9 -4
  76. package/docs/de/intlayer_with_vite+react_compiler.md +9 -2
  77. package/docs/de/intlayer_with_vite+solid.md +3 -1
  78. package/docs/de/intlayer_with_vite+svelte.md +9 -4
  79. package/docs/de/intlayer_with_vite+vanilla.md +16 -5
  80. package/docs/de/intlayer_with_vite+vue.md +9 -4
  81. package/docs/de/packages/@intlayer_babel/export.md +131 -0
  82. package/docs/de/packages/react-native-intlayer/exports.md +47 -13
  83. package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
  84. package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
  85. package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
  86. package/docs/de/releases/v9.md +23 -1
  87. package/docs/en/compiler.md +5 -1
  88. package/docs/en/custom_domains.md +8 -2
  89. package/docs/en/custom_url_rewrites.md +8 -2
  90. package/docs/en/intlayer_with_analog.md +5 -1
  91. package/docs/en/intlayer_with_astro.md +2 -2
  92. package/docs/en/intlayer_with_astro_lit.md +2 -2
  93. package/docs/en/intlayer_with_astro_preact.md +2 -2
  94. package/docs/en/intlayer_with_astro_react.md +2 -2
  95. package/docs/en/intlayer_with_astro_solid.md +2 -2
  96. package/docs/en/intlayer_with_astro_svelte.md +2 -2
  97. package/docs/en/intlayer_with_astro_vanilla.md +2 -2
  98. package/docs/en/intlayer_with_astro_vue.md +2 -2
  99. package/docs/en/intlayer_with_lynx+react.md +6 -1
  100. package/docs/en/intlayer_with_nextjs_16.md +2 -0
  101. package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
  102. package/docs/en/intlayer_with_react_native+expo.md +20 -19
  103. package/docs/en/intlayer_with_react_router_v7.md +8 -3
  104. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +8 -3
  105. package/docs/en/intlayer_with_storybook.md +7 -1
  106. package/docs/en/intlayer_with_svelte_kit.md +8 -5
  107. package/docs/en/intlayer_with_tanstack+solid.md +18 -9
  108. package/docs/en/intlayer_with_tanstack.md +16 -7
  109. package/docs/en/intlayer_with_vite+lit.md +13 -4
  110. package/docs/en/intlayer_with_vite+preact.md +8 -3
  111. package/docs/en/intlayer_with_vite+react.md +8 -3
  112. package/docs/en/intlayer_with_vite+react_compiler.md +9 -2
  113. package/docs/en/intlayer_with_vite+solid.md +8 -3
  114. package/docs/en/intlayer_with_vite+svelte.md +8 -3
  115. package/docs/en/intlayer_with_vite+vanilla.md +15 -6
  116. package/docs/en/intlayer_with_vite+vue.md +8 -3
  117. package/docs/en/packages/@intlayer_babel/export.md +131 -0
  118. package/docs/en/packages/react-native-intlayer/exports.md +47 -13
  119. package/docs/en/packages/vite-intlayer/exports.md +38 -13
  120. package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
  121. package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
  122. package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
  123. package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
  124. package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
  125. package/docs/en/releases/v9.md +25 -1
  126. package/docs/en-GB/compiler.md +6 -3
  127. package/docs/en-GB/custom_domains.md +8 -2
  128. package/docs/en-GB/custom_url_rewrites.md +8 -2
  129. package/docs/en-GB/intlayer_with_analog.md +5 -1
  130. package/docs/en-GB/intlayer_with_astro.md +2 -0
  131. package/docs/en-GB/intlayer_with_astro_lit.md +2 -0
  132. package/docs/en-GB/intlayer_with_astro_preact.md +2 -0
  133. package/docs/en-GB/intlayer_with_astro_react.md +2 -0
  134. package/docs/en-GB/intlayer_with_astro_solid.md +2 -0
  135. package/docs/en-GB/intlayer_with_astro_svelte.md +2 -0
  136. package/docs/en-GB/intlayer_with_astro_vanilla.md +2 -0
  137. package/docs/en-GB/intlayer_with_astro_vue.md +2 -0
  138. package/docs/en-GB/intlayer_with_lynx+react.md +6 -1
  139. package/docs/en-GB/intlayer_with_react_native+expo.md +46 -95
  140. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -3
  141. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -3
  142. package/docs/en-GB/intlayer_with_storybook.md +7 -1
  143. package/docs/en-GB/intlayer_with_svelte_kit.md +6 -3
  144. package/docs/en-GB/intlayer_with_tanstack+solid.md +18 -11
  145. package/docs/en-GB/intlayer_with_tanstack.md +14 -7
  146. package/docs/en-GB/intlayer_with_vite+lit.md +13 -4
  147. package/docs/en-GB/intlayer_with_vite+react.md +6 -3
  148. package/docs/en-GB/intlayer_with_vite+react_compiler.md +9 -2
  149. package/docs/en-GB/intlayer_with_vite+svelte.md +6 -3
  150. package/docs/en-GB/intlayer_with_vite+vanilla.md +15 -4
  151. package/docs/en-GB/intlayer_with_vite+vue.md +6 -3
  152. package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
  153. package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
  154. package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
  155. package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
  156. package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
  157. package/docs/en-GB/releases/v9.md +23 -1
  158. package/docs/es/compiler.md +6 -3
  159. package/docs/es/custom_domains.md +8 -2
  160. package/docs/es/custom_url_rewrites.md +8 -2
  161. package/docs/es/intlayer_with_analog.md +5 -1
  162. package/docs/es/intlayer_with_astro.md +3 -1
  163. package/docs/es/intlayer_with_astro_lit.md +3 -1
  164. package/docs/es/intlayer_with_astro_preact.md +3 -1
  165. package/docs/es/intlayer_with_astro_react.md +3 -1
  166. package/docs/es/intlayer_with_astro_solid.md +3 -1
  167. package/docs/es/intlayer_with_astro_svelte.md +3 -1
  168. package/docs/es/intlayer_with_astro_vanilla.md +3 -1
  169. package/docs/es/intlayer_with_astro_vue.md +3 -1
  170. package/docs/es/intlayer_with_lynx+react.md +6 -1
  171. package/docs/es/intlayer_with_nextjs_16.md +2 -0
  172. package/docs/es/intlayer_with_nextjs_compiler.md +2 -0
  173. package/docs/es/intlayer_with_react_native+expo.md +49 -81
  174. package/docs/es/intlayer_with_react_router_v7.md +3 -1
  175. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +9 -4
  176. package/docs/es/intlayer_with_storybook.md +7 -1
  177. package/docs/es/intlayer_with_svelte_kit.md +9 -4
  178. package/docs/es/intlayer_with_tanstack+solid.md +18 -11
  179. package/docs/es/intlayer_with_tanstack.md +17 -8
  180. package/docs/es/intlayer_with_vite+lit.md +13 -4
  181. package/docs/es/intlayer_with_vite+preact.md +3 -1
  182. package/docs/es/intlayer_with_vite+react.md +9 -4
  183. package/docs/es/intlayer_with_vite+react_compiler.md +9 -2
  184. package/docs/es/intlayer_with_vite+solid.md +3 -1
  185. package/docs/es/intlayer_with_vite+svelte.md +4 -2
  186. package/docs/es/intlayer_with_vite+vanilla.md +16 -5
  187. package/docs/es/intlayer_with_vite+vue.md +9 -4
  188. package/docs/es/packages/@intlayer_babel/export.md +131 -0
  189. package/docs/es/packages/react-native-intlayer/exports.md +47 -13
  190. package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
  191. package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
  192. package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
  193. package/docs/es/releases/v9.md +23 -1
  194. package/docs/fr/compiler.md +6 -3
  195. package/docs/fr/custom_domains.md +8 -2
  196. package/docs/fr/custom_url_rewrites.md +8 -2
  197. package/docs/fr/intlayer_with_analog.md +5 -1
  198. package/docs/fr/intlayer_with_astro.md +3 -1
  199. package/docs/fr/intlayer_with_astro_lit.md +3 -1
  200. package/docs/fr/intlayer_with_astro_preact.md +3 -1
  201. package/docs/fr/intlayer_with_astro_react.md +3 -1
  202. package/docs/fr/intlayer_with_astro_solid.md +3 -1
  203. package/docs/fr/intlayer_with_astro_svelte.md +3 -1
  204. package/docs/fr/intlayer_with_astro_vanilla.md +3 -1
  205. package/docs/fr/intlayer_with_astro_vue.md +3 -1
  206. package/docs/fr/intlayer_with_lynx+react.md +6 -1
  207. package/docs/fr/intlayer_with_nextjs_16.md +2 -0
  208. package/docs/fr/intlayer_with_nextjs_compiler.md +2 -0
  209. package/docs/fr/intlayer_with_react_native+expo.md +60 -69
  210. package/docs/fr/intlayer_with_react_router_v7.md +3 -1
  211. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -1
  212. package/docs/fr/intlayer_with_storybook.md +7 -1
  213. package/docs/fr/intlayer_with_svelte_kit.md +9 -4
  214. package/docs/fr/intlayer_with_tanstack+solid.md +18 -11
  215. package/docs/fr/intlayer_with_tanstack.md +17 -8
  216. package/docs/fr/intlayer_with_vite+lit.md +13 -4
  217. package/docs/fr/intlayer_with_vite+preact.md +3 -1
  218. package/docs/fr/intlayer_with_vite+react.md +9 -4
  219. package/docs/fr/intlayer_with_vite+react_compiler.md +9 -2
  220. package/docs/fr/intlayer_with_vite+solid.md +3 -1
  221. package/docs/fr/intlayer_with_vite+svelte.md +9 -4
  222. package/docs/fr/intlayer_with_vite+vanilla.md +16 -5
  223. package/docs/fr/intlayer_with_vite+vue.md +9 -4
  224. package/docs/fr/packages/@intlayer_babel/export.md +131 -0
  225. package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
  226. package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
  227. package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
  228. package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
  229. package/docs/fr/releases/v9.md +23 -1
  230. package/docs/hi/compiler.md +6 -3
  231. package/docs/hi/custom_domains.md +8 -2
  232. package/docs/hi/custom_url_rewrites.md +8 -2
  233. package/docs/hi/intlayer_with_analog.md +5 -1
  234. package/docs/hi/intlayer_with_astro.md +6 -3
  235. package/docs/hi/intlayer_with_astro_lit.md +6 -3
  236. package/docs/hi/intlayer_with_astro_preact.md +6 -3
  237. package/docs/hi/intlayer_with_astro_react.md +6 -3
  238. package/docs/hi/intlayer_with_astro_solid.md +6 -3
  239. package/docs/hi/intlayer_with_astro_svelte.md +6 -3
  240. package/docs/hi/intlayer_with_astro_vanilla.md +6 -3
  241. package/docs/hi/intlayer_with_astro_vue.md +6 -3
  242. package/docs/hi/intlayer_with_lynx+react.md +6 -1
  243. package/docs/hi/intlayer_with_react_native+expo.md +96 -88
  244. package/docs/hi/intlayer_with_react_router_v7.md +6 -3
  245. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -3
  246. package/docs/hi/intlayer_with_storybook.md +7 -1
  247. package/docs/hi/intlayer_with_svelte_kit.md +12 -6
  248. package/docs/hi/intlayer_with_tanstack+solid.md +18 -11
  249. package/docs/hi/intlayer_with_tanstack.md +20 -10
  250. package/docs/hi/intlayer_with_vite+lit.md +8 -2
  251. package/docs/hi/intlayer_with_vite+preact.md +6 -3
  252. package/docs/hi/intlayer_with_vite+react.md +12 -6
  253. package/docs/hi/intlayer_with_vite+react_compiler.md +9 -2
  254. package/docs/hi/intlayer_with_vite+solid.md +6 -3
  255. package/docs/hi/intlayer_with_vite+svelte.md +7 -4
  256. package/docs/hi/intlayer_with_vite+vanilla.md +16 -5
  257. package/docs/hi/intlayer_with_vite+vue.md +12 -6
  258. package/docs/hi/packages/@intlayer_babel/export.md +131 -0
  259. package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
  260. package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
  261. package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
  262. package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
  263. package/docs/hi/releases/v9.md +23 -1
  264. package/docs/id/compiler.md +6 -3
  265. package/docs/id/custom_domains.md +8 -2
  266. package/docs/id/custom_url_rewrites.md +8 -2
  267. package/docs/id/intlayer_with_analog.md +5 -1
  268. package/docs/id/intlayer_with_astro.md +3 -1
  269. package/docs/id/intlayer_with_astro_lit.md +3 -1
  270. package/docs/id/intlayer_with_astro_preact.md +3 -1
  271. package/docs/id/intlayer_with_astro_react.md +3 -1
  272. package/docs/id/intlayer_with_astro_solid.md +3 -1
  273. package/docs/id/intlayer_with_astro_svelte.md +3 -1
  274. package/docs/id/intlayer_with_astro_vanilla.md +3 -1
  275. package/docs/id/intlayer_with_astro_vue.md +3 -1
  276. package/docs/id/intlayer_with_lynx+react.md +6 -1
  277. package/docs/id/intlayer_with_nextjs_16.md +2 -0
  278. package/docs/id/intlayer_with_nextjs_compiler.md +2 -0
  279. package/docs/id/intlayer_with_react_native+expo.md +51 -34
  280. package/docs/id/intlayer_with_react_router_v7.md +3 -1
  281. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +9 -4
  282. package/docs/id/intlayer_with_storybook.md +7 -1
  283. package/docs/id/intlayer_with_svelte_kit.md +9 -4
  284. package/docs/id/intlayer_with_tanstack+solid.md +18 -11
  285. package/docs/id/intlayer_with_tanstack.md +17 -8
  286. package/docs/id/intlayer_with_vite+lit.md +8 -2
  287. package/docs/id/intlayer_with_vite+preact.md +3 -1
  288. package/docs/id/intlayer_with_vite+react.md +9 -4
  289. package/docs/id/intlayer_with_vite+react_compiler.md +9 -2
  290. package/docs/id/intlayer_with_vite+solid.md +3 -1
  291. package/docs/id/intlayer_with_vite+svelte.md +5 -3
  292. package/docs/id/intlayer_with_vite+vanilla.md +16 -5
  293. package/docs/id/intlayer_with_vite+vue.md +9 -4
  294. package/docs/id/packages/@intlayer_babel/export.md +131 -0
  295. package/docs/id/packages/react-native-intlayer/exports.md +47 -13
  296. package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
  297. package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
  298. package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
  299. package/docs/id/releases/v9.md +23 -1
  300. package/docs/it/compiler.md +6 -3
  301. package/docs/it/custom_domains.md +8 -2
  302. package/docs/it/custom_url_rewrites.md +8 -2
  303. package/docs/it/intlayer_with_analog.md +5 -1
  304. package/docs/it/intlayer_with_astro.md +3 -1
  305. package/docs/it/intlayer_with_astro_lit.md +3 -1
  306. package/docs/it/intlayer_with_astro_preact.md +3 -1
  307. package/docs/it/intlayer_with_astro_react.md +3 -1
  308. package/docs/it/intlayer_with_astro_solid.md +3 -1
  309. package/docs/it/intlayer_with_astro_svelte.md +3 -1
  310. package/docs/it/intlayer_with_astro_vanilla.md +3 -1
  311. package/docs/it/intlayer_with_astro_vue.md +3 -1
  312. package/docs/it/intlayer_with_lynx+react.md +6 -1
  313. package/docs/it/intlayer_with_nextjs_16.md +2 -0
  314. package/docs/it/intlayer_with_nextjs_compiler.md +2 -0
  315. package/docs/it/intlayer_with_react_native+expo.md +38 -73
  316. package/docs/it/intlayer_with_react_router_v7.md +3 -1
  317. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -1
  318. package/docs/it/intlayer_with_storybook.md +7 -1
  319. package/docs/it/intlayer_with_svelte_kit.md +9 -4
  320. package/docs/it/intlayer_with_tanstack+solid.md +18 -11
  321. package/docs/it/intlayer_with_tanstack.md +17 -8
  322. package/docs/it/intlayer_with_vite+lit.md +13 -4
  323. package/docs/it/intlayer_with_vite+preact.md +3 -1
  324. package/docs/it/intlayer_with_vite+react.md +9 -4
  325. package/docs/it/intlayer_with_vite+react_compiler.md +9 -2
  326. package/docs/it/intlayer_with_vite+solid.md +3 -1
  327. package/docs/it/intlayer_with_vite+svelte.md +4 -2
  328. package/docs/it/intlayer_with_vite+vanilla.md +16 -5
  329. package/docs/it/intlayer_with_vite+vue.md +9 -4
  330. package/docs/it/packages/@intlayer_babel/export.md +131 -0
  331. package/docs/it/packages/react-native-intlayer/exports.md +47 -13
  332. package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
  333. package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
  334. package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
  335. package/docs/it/releases/v9.md +23 -1
  336. package/docs/ja/compiler.md +6 -3
  337. package/docs/ja/custom_domains.md +8 -2
  338. package/docs/ja/custom_url_rewrites.md +8 -2
  339. package/docs/ja/intlayer_with_analog.md +5 -1
  340. package/docs/ja/intlayer_with_astro.md +2 -0
  341. package/docs/ja/intlayer_with_astro_lit.md +2 -0
  342. package/docs/ja/intlayer_with_astro_preact.md +2 -0
  343. package/docs/ja/intlayer_with_astro_react.md +2 -0
  344. package/docs/ja/intlayer_with_astro_solid.md +2 -0
  345. package/docs/ja/intlayer_with_astro_svelte.md +2 -0
  346. package/docs/ja/intlayer_with_astro_vanilla.md +2 -0
  347. package/docs/ja/intlayer_with_astro_vue.md +2 -0
  348. package/docs/ja/intlayer_with_lynx+react.md +6 -1
  349. package/docs/ja/intlayer_with_nextjs_16.md +2 -0
  350. package/docs/ja/intlayer_with_nextjs_compiler.md +2 -0
  351. package/docs/ja/intlayer_with_react_native+expo.md +104 -138
  352. package/docs/ja/intlayer_with_react_router_v7.md +8 -3
  353. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -1
  354. package/docs/ja/intlayer_with_storybook.md +7 -1
  355. package/docs/ja/intlayer_with_svelte_kit.md +2 -0
  356. package/docs/ja/intlayer_with_tanstack+solid.md +18 -11
  357. package/docs/ja/intlayer_with_tanstack.md +18 -11
  358. package/docs/ja/intlayer_with_vite+lit.md +13 -4
  359. package/docs/ja/intlayer_with_vite+preact.md +8 -3
  360. package/docs/ja/intlayer_with_vite+react.md +3 -1
  361. package/docs/ja/intlayer_with_vite+react_compiler.md +9 -2
  362. package/docs/ja/intlayer_with_vite+solid.md +3 -1
  363. package/docs/ja/intlayer_with_vite+svelte.md +5 -3
  364. package/docs/ja/intlayer_with_vite+vanilla.md +16 -5
  365. package/docs/ja/intlayer_with_vite+vue.md +9 -4
  366. package/docs/ja/packages/@intlayer_babel/export.md +131 -0
  367. package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
  368. package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
  369. package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
  370. package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
  371. package/docs/ja/releases/v9.md +23 -1
  372. package/docs/ko/compiler.md +6 -3
  373. package/docs/ko/custom_domains.md +8 -2
  374. package/docs/ko/custom_url_rewrites.md +8 -2
  375. package/docs/ko/intlayer_with_analog.md +5 -1
  376. package/docs/ko/intlayer_with_astro.md +3 -1
  377. package/docs/ko/intlayer_with_astro_lit.md +3 -1
  378. package/docs/ko/intlayer_with_astro_preact.md +3 -1
  379. package/docs/ko/intlayer_with_astro_react.md +3 -1
  380. package/docs/ko/intlayer_with_astro_solid.md +3 -1
  381. package/docs/ko/intlayer_with_astro_svelte.md +3 -1
  382. package/docs/ko/intlayer_with_astro_vanilla.md +3 -1
  383. package/docs/ko/intlayer_with_astro_vue.md +3 -1
  384. package/docs/ko/intlayer_with_lynx+react.md +6 -1
  385. package/docs/ko/intlayer_with_nextjs_16.md +2 -0
  386. package/docs/ko/intlayer_with_nextjs_compiler.md +2 -0
  387. package/docs/ko/intlayer_with_react_native+expo.md +237 -30
  388. package/docs/ko/intlayer_with_react_router_v7.md +3 -1
  389. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -1
  390. package/docs/ko/intlayer_with_storybook.md +7 -1
  391. package/docs/ko/intlayer_with_svelte_kit.md +9 -4
  392. package/docs/ko/intlayer_with_tanstack+solid.md +18 -11
  393. package/docs/ko/intlayer_with_tanstack.md +17 -8
  394. package/docs/ko/intlayer_with_vite+lit.md +13 -4
  395. package/docs/ko/intlayer_with_vite+preact.md +3 -1
  396. package/docs/ko/intlayer_with_vite+react.md +3 -1
  397. package/docs/ko/intlayer_with_vite+react_compiler.md +9 -2
  398. package/docs/ko/intlayer_with_vite+svelte.md +5 -3
  399. package/docs/ko/intlayer_with_vite+vanilla.md +16 -5
  400. package/docs/ko/intlayer_with_vite+vue.md +9 -4
  401. package/docs/ko/packages/@intlayer_babel/export.md +131 -0
  402. package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
  403. package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
  404. package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
  405. package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
  406. package/docs/ko/releases/v9.md +23 -1
  407. package/docs/nl/custom_domains.md +8 -2
  408. package/docs/nl/intlayer_with_storybook.md +7 -1
  409. package/docs/nl/intlayer_with_vite+lit.md +8 -2
  410. package/docs/nl/intlayer_with_vite+vanilla.md +16 -5
  411. package/docs/pl/compiler.md +6 -3
  412. package/docs/pl/custom_domains.md +8 -2
  413. package/docs/pl/custom_url_rewrites.md +8 -2
  414. package/docs/pl/intlayer_with_analog.md +5 -1
  415. package/docs/pl/intlayer_with_astro.md +6 -4
  416. package/docs/pl/intlayer_with_astro_lit.md +3 -1
  417. package/docs/pl/intlayer_with_astro_preact.md +3 -1
  418. package/docs/pl/intlayer_with_astro_react.md +3 -1
  419. package/docs/pl/intlayer_with_astro_solid.md +3 -1
  420. package/docs/pl/intlayer_with_astro_svelte.md +3 -1
  421. package/docs/pl/intlayer_with_astro_vanilla.md +3 -1
  422. package/docs/pl/intlayer_with_astro_vue.md +3 -1
  423. package/docs/pl/intlayer_with_lynx+react.md +6 -1
  424. package/docs/pl/intlayer_with_nextjs_16.md +2 -0
  425. package/docs/pl/intlayer_with_nextjs_compiler.md +2 -0
  426. package/docs/pl/intlayer_with_react_native+expo.md +81 -47
  427. package/docs/pl/intlayer_with_react_router_v7.md +3 -1
  428. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -1
  429. package/docs/pl/intlayer_with_storybook.md +7 -1
  430. package/docs/pl/intlayer_with_svelte_kit.md +9 -4
  431. package/docs/pl/intlayer_with_tanstack+solid.md +18 -9
  432. package/docs/pl/intlayer_with_tanstack.md +17 -8
  433. package/docs/pl/intlayer_with_vite+lit.md +8 -2
  434. package/docs/pl/intlayer_with_vite+preact.md +3 -1
  435. package/docs/pl/intlayer_with_vite+react.md +9 -4
  436. package/docs/pl/intlayer_with_vite+react_compiler.md +9 -2
  437. package/docs/pl/intlayer_with_vite+solid.md +3 -1
  438. package/docs/pl/intlayer_with_vite+svelte.md +4 -2
  439. package/docs/pl/intlayer_with_vite+vanilla.md +16 -5
  440. package/docs/pl/intlayer_with_vite+vue.md +9 -4
  441. package/docs/pl/packages/@intlayer_babel/export.md +131 -0
  442. package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
  443. package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
  444. package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
  445. package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
  446. package/docs/pl/releases/v9.md +23 -1
  447. package/docs/pt/compiler.md +6 -3
  448. package/docs/pt/custom_domains.md +8 -2
  449. package/docs/pt/custom_url_rewrites.md +8 -2
  450. package/docs/pt/intlayer_with_analog.md +5 -1
  451. package/docs/pt/intlayer_with_astro.md +6 -4
  452. package/docs/pt/intlayer_with_astro_lit.md +3 -1
  453. package/docs/pt/intlayer_with_astro_preact.md +3 -1
  454. package/docs/pt/intlayer_with_astro_react.md +3 -1
  455. package/docs/pt/intlayer_with_astro_solid.md +3 -1
  456. package/docs/pt/intlayer_with_astro_svelte.md +3 -1
  457. package/docs/pt/intlayer_with_astro_vanilla.md +3 -1
  458. package/docs/pt/intlayer_with_astro_vue.md +3 -1
  459. package/docs/pt/intlayer_with_lynx+react.md +6 -1
  460. package/docs/pt/intlayer_with_nextjs_16.md +2 -0
  461. package/docs/pt/intlayer_with_nextjs_compiler.md +2 -0
  462. package/docs/pt/intlayer_with_react_native+expo.md +44 -76
  463. package/docs/pt/intlayer_with_react_router_v7.md +8 -3
  464. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -1
  465. package/docs/pt/intlayer_with_storybook.md +7 -1
  466. package/docs/pt/intlayer_with_svelte_kit.md +9 -4
  467. package/docs/pt/intlayer_with_tanstack+solid.md +18 -9
  468. package/docs/pt/intlayer_with_tanstack.md +17 -8
  469. package/docs/pt/intlayer_with_vite+lit.md +13 -4
  470. package/docs/pt/intlayer_with_vite+preact.md +3 -1
  471. package/docs/pt/intlayer_with_vite+react.md +9 -4
  472. package/docs/pt/intlayer_with_vite+react_compiler.md +9 -2
  473. package/docs/pt/intlayer_with_vite+solid.md +3 -1
  474. package/docs/pt/intlayer_with_vite+svelte.md +4 -2
  475. package/docs/pt/intlayer_with_vite+vanilla.md +16 -5
  476. package/docs/pt/intlayer_with_vite+vue.md +9 -4
  477. package/docs/pt/packages/@intlayer_babel/export.md +131 -0
  478. package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
  479. package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
  480. package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
  481. package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
  482. package/docs/pt/releases/v9.md +23 -1
  483. package/docs/ru/compiler.md +6 -3
  484. package/docs/ru/custom_domains.md +8 -2
  485. package/docs/ru/custom_url_rewrites.md +8 -2
  486. package/docs/ru/intlayer_with_analog.md +5 -1
  487. package/docs/ru/intlayer_with_astro.md +3 -1
  488. package/docs/ru/intlayer_with_astro_lit.md +3 -1
  489. package/docs/ru/intlayer_with_astro_preact.md +3 -1
  490. package/docs/ru/intlayer_with_astro_react.md +3 -1
  491. package/docs/ru/intlayer_with_astro_solid.md +3 -1
  492. package/docs/ru/intlayer_with_astro_svelte.md +3 -1
  493. package/docs/ru/intlayer_with_astro_vanilla.md +3 -1
  494. package/docs/ru/intlayer_with_astro_vue.md +3 -1
  495. package/docs/ru/intlayer_with_lynx+react.md +6 -1
  496. package/docs/ru/intlayer_with_nextjs_16.md +2 -0
  497. package/docs/ru/intlayer_with_nextjs_compiler.md +2 -0
  498. package/docs/ru/intlayer_with_react_native+expo.md +77 -61
  499. package/docs/ru/intlayer_with_react_router_v7.md +3 -1
  500. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -1
  501. package/docs/ru/intlayer_with_storybook.md +7 -1
  502. package/docs/ru/intlayer_with_svelte_kit.md +9 -4
  503. package/docs/ru/intlayer_with_tanstack+solid.md +18 -11
  504. package/docs/ru/intlayer_with_tanstack.md +17 -8
  505. package/docs/ru/intlayer_with_vite+lit.md +13 -4
  506. package/docs/ru/intlayer_with_vite+preact.md +3 -1
  507. package/docs/ru/intlayer_with_vite+react.md +9 -4
  508. package/docs/ru/intlayer_with_vite+react_compiler.md +9 -2
  509. package/docs/ru/intlayer_with_vite+solid.md +3 -1
  510. package/docs/ru/intlayer_with_vite+svelte.md +4 -2
  511. package/docs/ru/intlayer_with_vite+vanilla.md +16 -5
  512. package/docs/ru/intlayer_with_vite+vue.md +9 -4
  513. package/docs/ru/packages/@intlayer_babel/export.md +131 -0
  514. package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
  515. package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
  516. package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
  517. package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
  518. package/docs/ru/releases/v9.md +23 -1
  519. package/docs/tr/compiler.md +6 -3
  520. package/docs/tr/custom_domains.md +8 -2
  521. package/docs/tr/custom_url_rewrites.md +8 -2
  522. package/docs/tr/intlayer_with_analog.md +5 -1
  523. package/docs/tr/intlayer_with_astro_lit.md +3 -1
  524. package/docs/tr/intlayer_with_astro_preact.md +3 -1
  525. package/docs/tr/intlayer_with_astro_react.md +3 -1
  526. package/docs/tr/intlayer_with_astro_solid.md +3 -1
  527. package/docs/tr/intlayer_with_astro_svelte.md +3 -1
  528. package/docs/tr/intlayer_with_astro_vanilla.md +3 -1
  529. package/docs/tr/intlayer_with_astro_vue.md +3 -1
  530. package/docs/tr/intlayer_with_lynx+react.md +6 -1
  531. package/docs/tr/intlayer_with_nextjs_16.md +2 -0
  532. package/docs/tr/intlayer_with_nextjs_compiler.md +2 -0
  533. package/docs/tr/intlayer_with_react_native+expo.md +36 -57
  534. package/docs/tr/intlayer_with_react_router_v7.md +3 -1
  535. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -1
  536. package/docs/tr/intlayer_with_storybook.md +7 -1
  537. package/docs/tr/intlayer_with_svelte_kit.md +9 -4
  538. package/docs/tr/intlayer_with_tanstack+solid.md +18 -11
  539. package/docs/tr/intlayer_with_tanstack.md +17 -8
  540. package/docs/tr/intlayer_with_vite+lit.md +8 -2
  541. package/docs/tr/intlayer_with_vite+preact.md +3 -1
  542. package/docs/tr/intlayer_with_vite+react.md +9 -4
  543. package/docs/tr/intlayer_with_vite+react_compiler.md +9 -2
  544. package/docs/tr/intlayer_with_vite+solid.md +3 -1
  545. package/docs/tr/intlayer_with_vite+svelte.md +4 -2
  546. package/docs/tr/intlayer_with_vite+vanilla.md +16 -5
  547. package/docs/tr/intlayer_with_vite+vue.md +9 -4
  548. package/docs/tr/packages/@intlayer_babel/export.md +131 -0
  549. package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
  550. package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
  551. package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
  552. package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
  553. package/docs/tr/releases/v9.md +23 -1
  554. package/docs/uk/compiler.md +6 -3
  555. package/docs/uk/custom_domains.md +8 -2
  556. package/docs/uk/custom_url_rewrites.md +8 -2
  557. package/docs/uk/intlayer_with_analog.md +5 -1
  558. package/docs/uk/intlayer_with_astro.md +3 -1
  559. package/docs/uk/intlayer_with_astro_lit.md +3 -1
  560. package/docs/uk/intlayer_with_astro_preact.md +3 -1
  561. package/docs/uk/intlayer_with_astro_react.md +3 -1
  562. package/docs/uk/intlayer_with_astro_solid.md +3 -1
  563. package/docs/uk/intlayer_with_astro_svelte.md +3 -1
  564. package/docs/uk/intlayer_with_astro_vanilla.md +3 -1
  565. package/docs/uk/intlayer_with_astro_vue.md +3 -1
  566. package/docs/uk/intlayer_with_lynx+react.md +6 -1
  567. package/docs/uk/intlayer_with_nextjs_16.md +2 -0
  568. package/docs/uk/intlayer_with_nextjs_compiler.md +2 -0
  569. package/docs/uk/intlayer_with_react_native+expo.md +70 -53
  570. package/docs/uk/intlayer_with_react_router_v7.md +3 -1
  571. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +3 -1
  572. package/docs/uk/intlayer_with_storybook.md +7 -1
  573. package/docs/uk/intlayer_with_svelte_kit.md +9 -4
  574. package/docs/uk/intlayer_with_tanstack+solid.md +18 -11
  575. package/docs/uk/intlayer_with_tanstack.md +17 -8
  576. package/docs/uk/intlayer_with_vite+lit.md +8 -2
  577. package/docs/uk/intlayer_with_vite+preact.md +3 -1
  578. package/docs/uk/intlayer_with_vite+react.md +9 -4
  579. package/docs/uk/intlayer_with_vite+react_compiler.md +9 -2
  580. package/docs/uk/intlayer_with_vite+solid.md +3 -1
  581. package/docs/uk/intlayer_with_vite+svelte.md +9 -4
  582. package/docs/uk/intlayer_with_vite+vanilla.md +16 -5
  583. package/docs/uk/intlayer_with_vite+vue.md +9 -4
  584. package/docs/uk/packages/@intlayer_babel/export.md +131 -0
  585. package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
  586. package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
  587. package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
  588. package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
  589. package/docs/uk/releases/v9.md +23 -1
  590. package/docs/ur/custom_domains.md +8 -2
  591. package/docs/ur/intlayer_with_storybook.md +7 -1
  592. package/docs/ur/intlayer_with_vite+lit.md +8 -2
  593. package/docs/ur/intlayer_with_vite+vanilla.md +16 -5
  594. package/docs/vi/compiler.md +6 -3
  595. package/docs/vi/custom_domains.md +8 -2
  596. package/docs/vi/custom_url_rewrites.md +8 -2
  597. package/docs/vi/intlayer_with_analog.md +5 -1
  598. package/docs/vi/intlayer_with_astro.md +3 -1
  599. package/docs/vi/intlayer_with_astro_lit.md +3 -1
  600. package/docs/vi/intlayer_with_astro_preact.md +3 -1
  601. package/docs/vi/intlayer_with_astro_react.md +3 -1
  602. package/docs/vi/intlayer_with_astro_solid.md +3 -1
  603. package/docs/vi/intlayer_with_astro_svelte.md +3 -1
  604. package/docs/vi/intlayer_with_astro_vanilla.md +3 -1
  605. package/docs/vi/intlayer_with_astro_vue.md +3 -1
  606. package/docs/vi/intlayer_with_lynx+react.md +6 -1
  607. package/docs/vi/intlayer_with_nextjs_15.md +2 -0
  608. package/docs/vi/intlayer_with_nextjs_16.md +2 -0
  609. package/docs/vi/intlayer_with_nextjs_compiler.md +2 -0
  610. package/docs/vi/intlayer_with_react_native+expo.md +49 -33
  611. package/docs/vi/intlayer_with_react_router_v7.md +3 -1
  612. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +9 -4
  613. package/docs/vi/intlayer_with_storybook.md +7 -1
  614. package/docs/vi/intlayer_with_svelte_kit.md +9 -4
  615. package/docs/vi/intlayer_with_tanstack+solid.md +18 -11
  616. package/docs/vi/intlayer_with_tanstack.md +17 -8
  617. package/docs/vi/intlayer_with_vite+lit.md +8 -2
  618. package/docs/vi/intlayer_with_vite+preact.md +3 -1
  619. package/docs/vi/intlayer_with_vite+react.md +9 -4
  620. package/docs/vi/intlayer_with_vite+react_compiler.md +9 -2
  621. package/docs/vi/intlayer_with_vite+solid.md +3 -1
  622. package/docs/vi/intlayer_with_vite+svelte.md +9 -4
  623. package/docs/vi/intlayer_with_vite+vanilla.md +16 -5
  624. package/docs/vi/intlayer_with_vite+vue.md +9 -4
  625. package/docs/vi/packages/@intlayer_babel/export.md +131 -0
  626. package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
  627. package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
  628. package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
  629. package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
  630. package/docs/vi/releases/v9.md +23 -1
  631. package/docs/zh/compiler.md +6 -3
  632. package/docs/zh/custom_domains.md +8 -2
  633. package/docs/zh/custom_url_rewrites.md +8 -2
  634. package/docs/zh/intlayer_with_astro.md +3 -1
  635. package/docs/zh/intlayer_with_astro_lit.md +3 -1
  636. package/docs/zh/intlayer_with_astro_preact.md +3 -1
  637. package/docs/zh/intlayer_with_astro_react.md +3 -1
  638. package/docs/zh/intlayer_with_astro_solid.md +3 -1
  639. package/docs/zh/intlayer_with_astro_svelte.md +3 -1
  640. package/docs/zh/intlayer_with_astro_vanilla.md +3 -1
  641. package/docs/zh/intlayer_with_astro_vue.md +3 -1
  642. package/docs/zh/intlayer_with_nextjs_16.md +2 -0
  643. package/docs/zh/intlayer_with_nextjs_compiler.md +2 -0
  644. package/docs/zh/intlayer_with_react_native+expo.md +221 -82
  645. package/docs/zh/intlayer_with_react_router_v7.md +3 -1
  646. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -1
  647. package/docs/zh/intlayer_with_storybook.md +7 -1
  648. package/docs/zh/intlayer_with_svelte_kit.md +9 -4
  649. package/docs/zh/intlayer_with_vite+preact.md +3 -1
  650. package/docs/zh/intlayer_with_vite+react.md +9 -4
  651. package/docs/zh/intlayer_with_vite+svelte.md +9 -4
  652. package/docs/zh/intlayer_with_vite+vue.md +9 -4
  653. package/docs/zh/packages/@intlayer_babel/export.md +131 -0
  654. package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
  655. package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
  656. package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
  657. package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
  658. package/docs/zh/releases/v9.md +23 -1
  659. package/package.json +6 -6
  660. package/src/generated/docs.entry.ts +80 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-06-18
3
- updatedAt: 2026-05-31
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 导入 provider 和 hook;react-intlayer 不再需要作为直接依赖项"
20
23
  - version: 8.9.0
21
24
  date: 2026-05-04
22
25
  changes: "更新 Solid useIntlayer API 用法以直接访问属性"
@@ -29,7 +32,7 @@ history:
29
32
  author: aymericzip
30
33
  ---
31
34
 
32
- # 翻译您的 Expo and React Native 应用 | 国际化(i18n)
35
+ # 翻译您的 Expo and React Native 应用 | 国际化(i18n
33
36
 
34
37
  <Tabs defaultTab="code">
35
38
  <Tab label="代码" value="code">
@@ -37,7 +40,7 @@ author: aymericzip
37
40
  <iframe
38
41
  src="https://ide.intlayer.org/aymericzip/intlayer-react-native-template?file=intlayer.config.ts"
39
42
  className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
40
- title="Demo CodeSandbox - Intlayer"
43
+ title="Demo CodeSandbox - 如何使用 Intlayer 国际化您的应用"
41
44
  sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
42
45
  loading="lazy"
43
46
  />
@@ -56,24 +59,66 @@ author: aymericzip
56
59
  </Tab>
57
60
  </Tabs>
58
61
 
59
- 请参阅 GitHub 上的[应用模板](https://github.com/aymericzip/intlayer-react-native-template)。
62
+ ## 目录
60
63
 
61
- ### 套餐
64
+ <TOC/>
62
65
 
63
- - **内层**
64
- 用于配置、字典内容、类型生成和 CLI 命令的核心 i18n 工具包。
66
+ ## 为什么选择 Intlayer 而非其他方案?
65
67
 
66
- - **反应内层**
67
- React 集成提供了上下文提供程序和 React 挂钩,您将在 React Native 中使用它们来获取和切换语言环境。
68
+ 与 `react-native-localize` 或 `i18next` 等主流方案相比,Intlayer 是一个集成了以下优化功能的解决方案:
68
69
 
69
- - **react-native-intlayer**
70
- React Native 集成提供了 Metro 插件,用于将 Intlayer 与 React Native 捆绑器集成。
70
+ <AccordionGroup>
71
71
 
72
- ---
72
+ <Accordion header="完整的 React Native 覆盖">
73
+
74
+ Intlayer 经过优化,可与 React Native 和 Expo 完美配合,提供**组件级内容作用域**、**TypeScript 支持**以及在移动应用中扩展国际化 (i18n) 所需的所有功能。
75
+
76
+ </Accordion>
77
+
78
+ <Accordion header="可维护性">
79
+
80
+ 将应用内容限定作用域**有助于维护**大规模应用程序。您可以复制或删除单个功能文件夹,而无需承受审查整个内容代码库的心理负担。此外,Intlayer **具有完整的类型支持**,确保内容的准确性。
81
+
82
+ </Accordion>
83
+
84
+ <Accordion header="AI 代理">
85
+
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)** 和 **[agent skills](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**,使 AI 代理的开发者体验 (DX) 更加顺畅。
87
+
88
+ </Accordion>
89
+
90
+ <Accordion header="自动化">
91
+
92
+ 使用您选择的 LLM,以 AI 提供商的成本在 CI/CD 管道中自动进行翻译。Intlayer 还提供**编译器**来自动提取内容,以及[网络平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)来帮助**在后台进行翻译**。
93
+
94
+ </Accordion>
95
+
96
+ <Accordion header="性能">
97
+
98
+ 将大型 JSON 文件连接到组件可能会导致性能和响应性问题。Intlayer 在构建时优化内容加载。
99
+
100
+ </Accordion>
101
+
102
+ <Accordion header="非开发者扩展">
103
+
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)**,帮助您**实时**管理多语言内容,使翻译人员、文案人员和其他团队成员的协作更加无缝。内容可以本地和/或远程存储。
105
+
106
+ </Accordion>
73
107
 
74
- ## 第一步:安装依赖
108
+ <Accordion header="包体积">
75
109
 
76
- 在你的 React Native 项目中,安装以下包:
110
+ 无需将大型 JSON 文件加载到页面中,只需加载必要的内容。Intlayer 帮助**将包体积和视图大小减少多达 50%**。
111
+
112
+ </Accordion>
113
+ </AccordionGroup>
114
+
115
+ <Steps>
116
+
117
+ <Step number={1} title="安装依赖">
118
+
119
+ 请参阅 GitHub 上的[应用模板](https://github.com/aymericzip/intlayer-react-native-template)。
120
+
121
+ 在您的 React Native 项目中,安装以下包:
77
122
 
78
123
  ```bash packageManager="npm"
79
124
  npx intlayer-cli init --interactive
@@ -96,55 +141,101 @@ bunx intlayer-cli init --interactive
96
141
  > 该命令将检测您的环境并安装所需的软件包。例如:
97
142
 
98
143
  ```bash packageManager="npm"
99
- npm install intlayer react-intlayer
100
- npm install --save-dev react-native-intlayer
144
+ npm install intlayer react-native-intlayer
101
145
  ```
102
146
 
103
147
  ```bash packageManager="pnpm"
104
- pnpm add intlayer react-intlayer
105
- pnpm add --save-dev react-native-intlayer
148
+ pnpm add intlayer react-native-intlayer
106
149
  ```
107
150
 
108
151
  ```bash packageManager="yarn"
109
- yarn add intlayer react-intlayer
110
- yarn add --save-dev react-native-intlayer
152
+ yarn add intlayer react-native-intlayer
111
153
  ```
112
154
 
113
155
  ```bash packageManager="bun"
114
- bun add intlayer react-intlayer
115
- bun add --dev react-native-intlayer
156
+ bun add intlayer react-native-intlayer
116
157
  ```
117
158
 
118
- ## 第4步:添加 Intlayer 提供者
159
+ ### 套餐
119
160
 
120
- 为了在您的应用程序中保持用户语言的同步,您需要使用来自 `react-intlayer-native` 的 `IntlayerProvider` 组件包裹您的根组件。
161
+ - **intlayer**
162
+ 用于配置、字典内容、类型生成和 CLI 命令的核心 i18n 工具包。
121
163
 
122
- > 请确保使用来自 `react-native-intlayer` 而不是 `react-intlayer` 的提供者。来自 `react-native-intlayer` 的导出包含了 web API 的 polyfills。
164
+ - **react-native-intlayer**
165
+ React Native 集成,提供您将用于获取和切换语言环境的上下文 provider 和 React hook、React Native polyfill,以及将 Intlayer 与 React Native 打包器集成的 Metro 插件。它重新导出 `react-intlayer` 的所有内容,因此在 React Native 应用中只需要这一个包。
123
166
 
124
- ````tsx fileName="app/_layout.tsx" codeFormat={["typescript", "esm"]}
125
- import { Stack } from "expo-router";
126
- import { getLocales } from "expo-localization";
127
- import { IntlayerProvider } from "react-native-intlayer";
128
- import { type FC } from "react";
167
+ ---
129
168
 
169
+ </Step>
130
170
 
131
- const getDeviceLocale = () => getLocales()[0]?.languageTag;
171
+ <Step number={2} title="创建 Intlayer 配置">
172
+
173
+ 在您的项目根目录(或任何方便的位置)创建一个 **Intlayer 配置**文件。它可能如下所示:
174
+
175
+ ```ts fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
176
+ /**
177
+ * 如果 Locales 类型不可用,请尝试在 tsconfig.json 中将 moduleResolution 设置为 "bundler"
178
+ */
179
+ import { Locales, type IntlayerConfig } from "intlayer";
180
+
181
+ const config: IntlayerConfig = {
182
+ internationalization: {
183
+ locales: [
184
+ Locales.ENGLISH,
185
+ Locales.FRENCH,
186
+ Locales.SPANISH,
187
+ // ... 添加您需要的其他语言环境
188
+ ],
189
+ defaultLocale: Locales.ENGLISH,
190
+ },
191
+ };
132
192
 
133
- const RootLayout: FC = () => {
134
- return (
135
- <IntlayerProvider defaultLocale={getDeviceLocale()}>
136
- <Stack>
137
- 为了在您的应用程序中保持用户语言的同步,您需要使用来自 `react-intlayer` 的 `IntlayerProvider` 组件包裹您的根组件。
193
+ export default config;
194
+ ```
195
+
196
+ 在此配置中,您可以:
197
+
198
+ - 配置**支持的语言环境列表**。
199
+ - 设置**默认**语言环境。
200
+ - 以后,您可以添加更多高级选项(例如日志、自定义内容目录等)。
201
+ - 请参阅 [Intlayer 配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md) 了解更多信息。
202
+
203
+ </Step>
204
+
205
+ <Step number={3} title="添加 Metro 插件">
206
+
207
+ Metro 是 React Native 的打包器。它是使用 `react-native init` 命令创建的 React Native 项目的默认打包器。要在 Metro 中使用 Intlayer,您需要将插件添加到 `metro.config.js` 文件中:
208
+
209
+ ```js fileName="metro.config.js"
210
+ const { getDefaultConfig } = require("expo/metro-config");
211
+ const { configMetroIntlayer } = require("react-native-intlayer/metro");
212
+
213
+ module.exports = (async () => {
214
+ const defaultConfig = getDefaultConfig(__dirname);
215
+
216
+ return await configMetroIntlayer(defaultConfig);
217
+ })();
218
+ ```
219
+
220
+ > 注意:`configMetroIntlayer` 是一个 Promise 函数。如果您想同步使用它,请改用 `configMetroIntlayerSync`,或避免使用 IFFE(立即调用函数表达式)。
221
+ > 注意:`configMetroIntlayerSync` 不允许在服务器启动时构建 intlayer 字典
222
+
223
+ </Step>
224
+
225
+ <Step number={4} title="添加 Intlayer provider">
226
+
227
+ 为了在您的应用程序中保持用户语言的同步,您需要使用来自 `react-native-intlayer` 的 `IntlayerProvider` 组件包裹您的根组件。
228
+
229
+ > 始终从 `react-native-intlayer` 导入。其 `IntlayerProvider` 包含 Intlayer 使用的 web API 的 polyfill,该包重新导出了 `react-intlayer` 中的所有 hook 和工具。
138
230
 
139
231
  此外,您需要在 `index.js` 文件中添加 `intlayerPolyfill` 函数,以确保 Intlayer 能够正常工作。
140
232
 
141
- ```tsx fileName="app/_layout.tsx" codeFormat="typescript"
233
+ ```tsx fileName="app/_layout.tsx" codeFormat={["typescript", "esm"]}
142
234
  import { Stack } from "expo-router";
143
235
  import { getLocales } from "expo-localization";
144
236
  import { IntlayerProvider } from "react-native-intlayer";
145
237
  import { type FC } from "react";
146
238
 
147
-
148
239
  const getDeviceLocale = () => getLocales()[0]?.languageTag;
149
240
 
150
241
  const RootLayout: FC = () => {
@@ -158,9 +249,29 @@ const RootLayout: FC = () => {
158
249
  };
159
250
 
160
251
  export default RootLayout;
161
- ````
252
+ ```
253
+
254
+ </Step>
162
255
 
163
- ## 5步:声明您的内容
256
+ <Step number={5} title="声明您的内容">
257
+
258
+ 在项目中任意位置(通常在 `src/` 目录中)创建**内容声明**文件,使用 Intlayer 支持的任何扩展格式:
259
+
260
+ - `.content.json`
261
+ - `.content.jsonc`
262
+ - `.content.json5`
263
+ - `.content.ts`
264
+ - `.content.tsx`
265
+ - `.content.js`
266
+ - `.content.jsx`
267
+ - `.content.mjs`
268
+ - `.content.mjx`
269
+ - `.content.cjs`
270
+ - `.content.md`
271
+ - `.content.mdx`
272
+ - `.content.yaml`
273
+ - `.content.yml`
274
+ - 等等
164
275
 
165
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` 发生冲突并抛出错误:
166
277
  >
@@ -170,35 +281,63 @@ export default RootLayout;
170
281
  >
171
282
  > 请将您的声明放置在 `app/` 之外的目录中(例如 `content/` 或 `src/content/`)。Intlayer 会发现项目中任意位置的 `.content.*` 文件,字典通过它们的 `key` 进行引用,因此不需要进行任何导入更改。在原生端这不是必需的(Metro 的 `blockList` 已经隐藏了它们),但使用非 `app/` 目录可确保这两个平台都能正常工作。
172
283
 
173
- ````
284
+ 示例(带有 React Native TSX 节点的 TypeScript):
285
+
286
+ ```tsx fileName="src/app.content.tsx" contentDeclarationFormat={["typescript", "esm", "commonjs"]}
287
+ import { t, type Dictionary } from "intlayer";
288
+ import type { ReactNode } from "react";
289
+
290
+ /**
291
+ * 我们"app"域的内容字典
292
+ */
293
+ import { t, type Dictionary } from "intlayer";
294
+
295
+ const homeScreenContent = {
296
+ key: "home-screen",
297
+ content: {
298
+ title: t({
299
+ en: "Welcome!",
300
+ fr: "Bienvenue!",
301
+ es: "¡Bienvenido!",
302
+ }),
303
+ },
304
+ } satisfies Dictionary;
174
305
 
175
- ```jsx fileName="app/_layout.cjx" codeFormat="commonjs"
176
- const { Stack } = require("expo-router");
177
- const { getLocales } = require("expo-localization");
178
- const { IntlayerProvider } = require("react-native-intlayer");
306
+ export default homeScreenContent;
307
+ ```
179
308
 
309
+ ```json fileName="src/app.content.json" contentDeclarationFormat="json"
310
+ {
311
+ "$schema": "https://intlayer.org/schema.json",
312
+ "key": "app",
313
+ "content": {
314
+ "title": {
315
+ "nodeType": "translation",
316
+ "translation": {
317
+ "en": "Welcome!",
318
+ "fr": "Bienvenue!",
319
+ "es": "¡Bienvenido!"
320
+ }
321
+ }
322
+ }
323
+ }
324
+ ```
180
325
 
181
- // 获取设备的语言环境
182
- const getDeviceLocale = () => getLocales()[0]?.languageTag;
326
+ > 有关内容声明的详细信息,请参阅 [Intlayer 内容文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md)。
183
327
 
184
- const RootLayout = () => {
185
- return (
186
- <IntlayerProvider defaultLocale={getDeviceLocale()}>
187
- <Stack>
188
- <Stack.Screen name="(tabs)" options={{ headerShown: false }} />
189
- </Stack>
190
- </IntlayerProvider>
191
- );
192
- };
328
+ ---
193
329
 
194
- module.exports = RootLayout;
195
- ````
330
+ </Step>
331
+
332
+ <Step number={6} title="在组件中使用 Intlayer">
333
+
334
+ 在子组件中使用 `useIntlayer` hook 获取本地化内容。
196
335
 
197
336
  ### 示例
198
337
 
199
338
  ```tsx fileName="app/(tabs)/index.tsx" codeFormat={["typescript", "esm"]}
200
339
  import { Image, StyleSheet, Platform } from "react-native";
201
- import { useIntlayer } from "intlayer";
340
+ import { useIntlayer } from "react-native-intlayer";
202
341
  import { HelloWave } from "@/components/HelloWave";
203
342
  import ParallaxScrollView from "@/components/ParallaxScrollView";
204
343
  import { ThemedText } from "@/components/ThemedText";
@@ -228,9 +367,9 @@ const HomeScreen = (): FC => {
228
367
 
229
368
  const styles = StyleSheet.create({
230
369
  titleContainer: {
231
- flexDirection: "row", // 横向排列
232
- alignItems: "center", // 垂直居中对齐
233
- gap: 8, // 元素间距为8
370
+ flexDirection: "row",
371
+ alignItems: "center",
372
+ gap: 8,
234
373
  },
235
374
  });
236
375
 
@@ -239,21 +378,21 @@ export default HomeScreen;
239
378
 
240
379
  > 当在基于字符串的属性中使用 `content.someKey`(例如按钮的 `title` 或 `Text` 组件的 `children`)时,**请调用 `content.someKey.value`** 来获取实际的字符串。
241
380
 
242
- > 如果您的应用程序已经存在,您可以结合使用 [Intlayer 编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) 和 [提取命令](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 在一秒钟内转换成干个组件。
381
+ > 如果您的应用程序已经存在,您可以结合使用 [Intlayer 编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) 和 [提取命令](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 在一秒钟内转换数千个组件。
243
382
 
244
383
  ---
245
384
 
246
- <Steps>
385
+ </Step>
247
386
 
248
- <Step number={1} title="更改应用程序语言环境" isOptional={true}>
387
+ <Step number={7} title="更改应用程序语言环境" isOptional={true}>
249
388
 
250
- 要在组件内部切换语言环境,可以使用 `useLocale` 钩子的 `setLocale` 方法:
389
+ 要在组件内部切换语言环境,可以使用 `useLocale` hook `setLocale` 方法:
251
390
 
252
391
  ```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat={["typescript", "esm"]}
253
392
  import { type FC } from "react";
254
393
  import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
255
394
  import { getLocaleName } from "intlayer";
256
- import { useLocale } from "react-intlayer";
395
+ import { useLocale } from "react-native-intlayer";
257
396
 
258
397
  export const LocaleSwitcher: FC = () => {
259
398
  const { setLocale, availableLocales } = useLocale();
@@ -275,28 +414,28 @@ export const LocaleSwitcher: FC = () => {
275
414
 
276
415
  const styles = StyleSheet.create({
277
416
  container: {
278
- flexDirection: "row", // 容器内元素横向排列
279
- justifyContent: "center", // 水平居中对齐
280
- alignItems: "center", // 垂直居中对齐
281
- gap: 8, // 元素间距为8
417
+ flexDirection: "row",
418
+ justifyContent: "center",
419
+ alignItems: "center",
420
+ gap: 8,
282
421
  },
283
422
  button: {
284
- paddingVertical: 6, // 垂直内边距6
285
- paddingHorizontal: 12, // 水平内边距12
286
- borderRadius: 6, // 边角圆角半径6
287
- backgroundColor: "#ddd", // 背景颜色为浅灰色
423
+ paddingVertical: 6,
424
+ paddingHorizontal: 12,
425
+ borderRadius: 6,
426
+ backgroundColor: "#ddd",
288
427
  },
289
428
  text: {
290
- fontSize: 14, // 字体大小14
291
- fontWeight: "500", // 字体粗细500
292
- color: "#333", // 文字颜色深灰
429
+ fontSize: 14,
430
+ fontWeight: "500",
431
+ color: "#333",
293
432
  },
294
433
  });
295
434
  ```
296
435
 
297
436
  这会触发所有使用 Intlayer 内容的组件重新渲染,现在显示新语言环境的翻译内容。
298
437
 
299
- > 详情请参见 [`useLocale` 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
438
+ > 详情请参见 [`useLocale` 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/useLocale.md)。
300
439
 
301
440
  </Step>
302
441
 
@@ -367,13 +506,13 @@ Intlayer 会在一个隐藏文件夹中(默认是 `.intlayer`)生成类型
367
506
 
368
507
  React Native 的稳定性不如 React Web,因此要特别注意版本对齐。
369
508
 
370
- Intlayer 主要针对 Web Intl API;在 React Native 上,你必须包含适当的 polyfills
509
+ Intlayer 主要针对 Web Intl API;在 React Native 上,你必须包含适当的 polyfill
371
510
 
372
511
  检查清单:
373
512
 
374
- - 使用最新版本的 `intlayer`、`react-intlayer` 和 `react-native-intlayer`。
513
+ - 使用最新版本的 `intlayer` 和 `react-native-intlayer`。
375
514
  - 启用 Intlayer polyfill。
376
- - 如果你使用 `getLocaleName` 或其他基于 Intl-API 的工具,请提前导入这些 polyfills(例如在 `index.js` 或 `App.tsx` 中):
515
+ - 如果你使用 `getLocaleName` 或其他基于 Intl-API 的工具,请提前导入这些 polyfill(例如在 `index.js` 或 `App.tsx` 中):
377
516
 
378
517
  ```ts
379
518
  import "intl";
@@ -339,6 +339,8 @@ bun x intlayer extract
339
339
  </Tab>
340
340
  <Tab value='Babel 编译器'>
341
341
 
342
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
343
+
342
344
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
343
345
 
344
346
  ```ts fileName="vite.config.ts"
@@ -348,7 +350,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
348
350
  export default defineConfig({
349
351
  plugins: [
350
352
  intlayer(),
351
- intlayerCompiler(), // 添加编译器插件
353
+ intlayerCompiler(), // Adds the compiler plugin
352
354
  ],
353
355
  });
354
356
  ```
@@ -294,6 +294,8 @@ bun x intlayer extract
294
294
  </Tab>
295
295
  <Tab value='Babel 编译器'>
296
296
 
297
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
298
+
297
299
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
298
300
 
299
301
  ```ts fileName="vite.config.ts"
@@ -303,7 +305,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
303
305
  export default defineConfig({
304
306
  plugins: [
305
307
  intlayer(),
306
- intlayerCompiler(), // 添加编译器插件
308
+ intlayerCompiler(), // Adds the compiler plugin
307
309
  ],
308
310
  });
309
311
  ```
@@ -103,7 +103,13 @@ const config: StorybookConfig = {
103
103
  } as const;
104
104
 
105
105
  const viteConfig = defineConfig(() => ({
106
- plugins: [intlayer()],
106
+ plugins: [
107
+ intlayer({
108
+ proxy: {
109
+ ignore: (req) => req.url?.startsWith("/api"),
110
+ },
111
+ }),
112
+ ],
107
113
  }));
108
114
 
109
115
  return mergeConfig(baseConfig, viteConfig(env));
@@ -229,14 +229,17 @@ goto(localizedPath); // 根据语言环境导航到 /en/about 或 /fr/about
229
229
 
230
230
  ```ts fileName="vite.config.ts"
231
231
  import { defineConfig } from "vite";
232
- import { intlayer, intlayerProxy } from "vite-intlayer";
232
+ import { intlayer } from "vite-intlayer";
233
233
  import { sveltekit } from "@sveltejs/kit/vite";
234
234
 
235
235
  // https://vitejs.dev/config/
236
236
  export default defineConfig({
237
237
  plugins: [
238
- intlayerProxy(), // should be placed first
239
- intlayer(),
238
+ intlayer({
239
+ proxy: {
240
+ ignore: (req) => req.url?.startsWith("/api"),
241
+ },
242
+ }),
240
243
  sveltekit(),
241
244
  ],],
242
245
  });
@@ -334,6 +337,8 @@ bun x intlayer extract
334
337
  </Tab>
335
338
  <Tab value='Babel 编译器'>
336
339
 
340
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
341
+
337
342
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
338
343
 
339
344
  ```ts fileName="vite.config.ts"
@@ -343,7 +348,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
343
348
  export default defineConfig({
344
349
  plugins: [
345
350
  intlayer(),
346
- intlayerCompiler(), // 添加编译器插件
351
+ intlayerCompiler(), // Adds the compiler plugin
347
352
  ],
348
353
  });
349
354
  ```
@@ -495,6 +495,8 @@ bun x intlayer extract
495
495
  </Tab>
496
496
  <Tab value='Babel 编译器'>
497
497
 
498
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
499
+
498
500
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
499
501
 
500
502
  ```ts fileName="vite.config.ts"
@@ -504,7 +506,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
504
506
  export default defineConfig({
505
507
  plugins: [
506
508
  intlayer(),
507
- intlayerCompiler(), // 添加编译器插件
509
+ intlayerCompiler(), // Adds the compiler plugin
508
510
  ],
509
511
  });
510
512
  ```
@@ -225,14 +225,17 @@ const App: FC = () => (
225
225
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
226
226
  import { defineConfig } from "vite";
227
227
  import react from "@vitejs/plugin-react-swc";
228
- import { intlayer, intlayerProxy } from "vite-intlayer";
228
+ import { intlayer } from "vite-intlayer";
229
229
 
230
230
  // https://vitejs.dev/config/
231
231
  export default defineConfig({
232
232
  plugins: [
233
- intlayerProxy(), // should be placed first
234
233
  react(),
235
- intlayer(),
234
+ intlayer({
235
+ proxy: {
236
+ ignore: (req) => req.url?.startsWith("/api"),
237
+ },
238
+ }),
236
239
  ],
237
240
  });
238
241
  ```
@@ -536,6 +539,8 @@ bun x intlayer extract
536
539
  </Tab>
537
540
  <Tab value='Babel 编译器'>
538
541
 
542
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
543
+
539
544
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
540
545
 
541
546
  ```ts fileName="vite.config.ts"
@@ -545,7 +550,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
545
550
  export default defineConfig({
546
551
  plugins: [
547
552
  intlayer(),
548
- intlayerCompiler(), // 添加编译器插件
553
+ intlayerCompiler(), // Adds the compiler plugin
549
554
  ],
550
555
  });
551
556
  ```
@@ -460,14 +460,17 @@ $: content = useIntlayer('app', locale);
460
460
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
461
461
  import { defineConfig } from "vite";
462
462
  import { svelte } from "@sveltejs/vite-plugin-svelte";
463
- import { intlayer, intlayerProxy } from "vite-intlayer";
463
+ import { intlayer } from "vite-intlayer";
464
464
 
465
465
  // https://vitejs.dev/config/
466
466
  export default defineConfig({
467
467
  plugins: [
468
- intlayerProxy(), // should be placed first
469
468
  svelte(),
470
- intlayer(),
469
+ intlayer({
470
+ proxy: {
471
+ ignore: (req) => req.url?.startsWith("/api"),
472
+ },
473
+ }),
471
474
  ],
472
475
  });
473
476
  ```
@@ -598,6 +601,8 @@ bun x intlayer extract
598
601
  </Tab>
599
602
  <Tab value='Babel 编译器'>
600
603
 
604
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
605
+
601
606
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
602
607
 
603
608
  ```ts fileName="vite.config.ts"
@@ -607,7 +612,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
607
612
  export default defineConfig({
608
613
  plugins: [
609
614
  intlayer(),
610
- intlayerCompiler(), // 添加编译器插件
615
+ intlayerCompiler(), // Adds the compiler plugin
611
616
  ],
612
617
  });
613
618
  ```
@@ -636,14 +636,17 @@ import LocaleSwitcher from "@components/LocaleSwitcher.vue";
636
636
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
637
637
  import { defineConfig } from "vite";
638
638
  import vue from "@vitejs/plugin-vue";
639
- import { intlayer, intlayerProxy } from "vite-intlayer";
639
+ import { intlayer } from "vite-intlayer";
640
640
 
641
641
  // https://vitejs.dev/config/
642
642
  export default defineConfig({
643
643
  plugins: [
644
- intlayerProxy(), // should be placed first
645
644
  vue(),
646
- intlayer(),
645
+ intlayer({
646
+ proxy: {
647
+ ignore: (req) => req.url?.startsWith("/api"),
648
+ },
649
+ }),
647
650
  ],
648
651
  });
649
652
  ```
@@ -967,6 +970,8 @@ bun x intlayer extract
967
970
  </Tab>
968
971
  <Tab value='Babel 编译器'>
969
972
 
973
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
974
+
970
975
  更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
971
976
 
972
977
  ```ts fileName="vite.config.ts"
@@ -976,7 +981,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
976
981
  export default defineConfig({
977
982
  plugins: [
978
983
  intlayer(),
979
- intlayerCompiler(), // 添加编译器插件
984
+ intlayerCompiler(), // Adds the compiler plugin
980
985
  ],
981
986
  });
982
987
  ```