@intlayer/docs 9.0.0-canary.6 → 9.0.0-canary.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (714) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +80 -20
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +80 -20
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +4 -1
  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/dynamic_dictionaries/index.md +24 -18
  11. package/docs/ar/dynamic_dictionaries/variants.md +280 -22
  12. package/docs/ar/intlayer_with_analog.md +5 -1
  13. package/docs/ar/intlayer_with_astro.md +2 -0
  14. package/docs/ar/intlayer_with_astro_lit.md +2 -0
  15. package/docs/ar/intlayer_with_astro_preact.md +2 -0
  16. package/docs/ar/intlayer_with_astro_react.md +2 -0
  17. package/docs/ar/intlayer_with_astro_solid.md +2 -0
  18. package/docs/ar/intlayer_with_astro_svelte.md +2 -0
  19. package/docs/ar/intlayer_with_astro_vanilla.md +2 -0
  20. package/docs/ar/intlayer_with_astro_vue.md +2 -0
  21. package/docs/ar/intlayer_with_lynx+react.md +6 -1
  22. package/docs/ar/intlayer_with_nextjs_16.md +2 -0
  23. package/docs/ar/intlayer_with_nextjs_compiler.md +2 -0
  24. package/docs/ar/intlayer_with_react_native+expo.md +6 -1
  25. package/docs/ar/intlayer_with_react_router_v7.md +3 -1
  26. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -1
  27. package/docs/ar/intlayer_with_storybook.md +7 -1
  28. package/docs/ar/intlayer_with_svelte_kit.md +8 -3
  29. package/docs/ar/intlayer_with_tanstack+solid.md +18 -11
  30. package/docs/ar/intlayer_with_tanstack.md +16 -7
  31. package/docs/ar/intlayer_with_vite+lit.md +8 -2
  32. package/docs/ar/intlayer_with_vite+preact.md +2 -0
  33. package/docs/ar/intlayer_with_vite+react.md +8 -3
  34. package/docs/ar/intlayer_with_vite+react_compiler.md +9 -2
  35. package/docs/ar/intlayer_with_vite+solid.md +2 -0
  36. package/docs/ar/intlayer_with_vite+svelte.md +4 -2
  37. package/docs/ar/intlayer_with_vite+vanilla.md +16 -5
  38. package/docs/ar/intlayer_with_vite+vue.md +8 -3
  39. package/docs/ar/packages/@intlayer_babel/export.md +131 -0
  40. package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
  41. package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
  42. package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
  43. package/docs/ar/plugins/sync-json.md +0 -1
  44. package/docs/ar/releases/v9.md +79 -12
  45. package/docs/bn/custom_domains.md +8 -2
  46. package/docs/bn/intlayer_with_storybook.md +7 -1
  47. package/docs/bn/intlayer_with_vite+lit.md +8 -2
  48. package/docs/bn/intlayer_with_vite+vanilla.md +16 -5
  49. package/docs/cs/custom_domains.md +8 -2
  50. package/docs/cs/intlayer_with_storybook.md +7 -1
  51. package/docs/cs/intlayer_with_vite+lit.md +8 -2
  52. package/docs/cs/intlayer_with_vite+vanilla.md +16 -5
  53. package/docs/de/compiler.md +6 -3
  54. package/docs/de/custom_domains.md +8 -2
  55. package/docs/de/custom_url_rewrites.md +8 -2
  56. package/docs/de/dynamic_dictionaries/index.md +22 -22
  57. package/docs/de/dynamic_dictionaries/variants.md +272 -14
  58. package/docs/de/intlayer_with_analog.md +5 -1
  59. package/docs/de/intlayer_with_astro.md +3 -1
  60. package/docs/de/intlayer_with_astro_lit.md +3 -1
  61. package/docs/de/intlayer_with_astro_preact.md +3 -1
  62. package/docs/de/intlayer_with_astro_react.md +3 -1
  63. package/docs/de/intlayer_with_astro_solid.md +3 -1
  64. package/docs/de/intlayer_with_astro_svelte.md +3 -1
  65. package/docs/de/intlayer_with_astro_vanilla.md +3 -1
  66. package/docs/de/intlayer_with_astro_vue.md +3 -1
  67. package/docs/de/intlayer_with_lynx+react.md +6 -1
  68. package/docs/de/intlayer_with_nextjs_16.md +2 -0
  69. package/docs/de/intlayer_with_nextjs_compiler.md +2 -0
  70. package/docs/de/intlayer_with_react_native+expo.md +6 -1
  71. package/docs/de/intlayer_with_react_router_v7.md +3 -1
  72. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +8 -3
  73. package/docs/de/intlayer_with_storybook.md +7 -1
  74. package/docs/de/intlayer_with_svelte_kit.md +9 -4
  75. package/docs/de/intlayer_with_tanstack+solid.md +18 -11
  76. package/docs/de/intlayer_with_tanstack.md +17 -8
  77. package/docs/de/intlayer_with_vite+lit.md +13 -4
  78. package/docs/de/intlayer_with_vite+preact.md +3 -1
  79. package/docs/de/intlayer_with_vite+react.md +9 -4
  80. package/docs/de/intlayer_with_vite+react_compiler.md +9 -2
  81. package/docs/de/intlayer_with_vite+solid.md +3 -1
  82. package/docs/de/intlayer_with_vite+svelte.md +9 -4
  83. package/docs/de/intlayer_with_vite+vanilla.md +16 -5
  84. package/docs/de/intlayer_with_vite+vue.md +9 -4
  85. package/docs/de/packages/@intlayer_babel/export.md +131 -0
  86. package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
  87. package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
  88. package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
  89. package/docs/de/plugins/sync-json.md +0 -1
  90. package/docs/de/releases/v9.md +57 -12
  91. package/docs/en/compiler.md +5 -1
  92. package/docs/en/custom_domains.md +8 -2
  93. package/docs/en/custom_url_rewrites.md +8 -2
  94. package/docs/en/dynamic_dictionaries/index.md +20 -14
  95. package/docs/en/dynamic_dictionaries/variants.md +266 -8
  96. package/docs/en/intlayer_with_analog.md +5 -1
  97. package/docs/en/intlayer_with_astro.md +2 -2
  98. package/docs/en/intlayer_with_astro_lit.md +2 -2
  99. package/docs/en/intlayer_with_astro_preact.md +2 -2
  100. package/docs/en/intlayer_with_astro_react.md +2 -2
  101. package/docs/en/intlayer_with_astro_solid.md +2 -2
  102. package/docs/en/intlayer_with_astro_svelte.md +2 -2
  103. package/docs/en/intlayer_with_astro_vanilla.md +2 -2
  104. package/docs/en/intlayer_with_astro_vue.md +2 -2
  105. package/docs/en/intlayer_with_lynx+react.md +6 -1
  106. package/docs/en/intlayer_with_nextjs_16.md +2 -0
  107. package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
  108. package/docs/en/intlayer_with_react_native+expo.md +6 -1
  109. package/docs/en/intlayer_with_react_router_v7.md +8 -3
  110. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +8 -3
  111. package/docs/en/intlayer_with_storybook.md +7 -1
  112. package/docs/en/intlayer_with_svelte_kit.md +8 -5
  113. package/docs/en/intlayer_with_tanstack+solid.md +18 -9
  114. package/docs/en/intlayer_with_tanstack.md +16 -7
  115. package/docs/en/intlayer_with_vite+lit.md +13 -4
  116. package/docs/en/intlayer_with_vite+preact.md +8 -3
  117. package/docs/en/intlayer_with_vite+react.md +8 -3
  118. package/docs/en/intlayer_with_vite+react_compiler.md +9 -2
  119. package/docs/en/intlayer_with_vite+solid.md +8 -3
  120. package/docs/en/intlayer_with_vite+svelte.md +8 -3
  121. package/docs/en/intlayer_with_vite+vanilla.md +15 -6
  122. package/docs/en/intlayer_with_vite+vue.md +8 -3
  123. package/docs/en/packages/@intlayer_babel/export.md +131 -0
  124. package/docs/en/packages/vite-intlayer/exports.md +38 -13
  125. package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
  126. package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
  127. package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
  128. package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
  129. package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
  130. package/docs/en/plugins/sync-json.md +0 -1
  131. package/docs/en/releases/v9.md +59 -12
  132. package/docs/en-GB/compiler.md +6 -3
  133. package/docs/en-GB/custom_domains.md +8 -2
  134. package/docs/en-GB/custom_url_rewrites.md +8 -2
  135. package/docs/en-GB/dynamic_dictionaries/index.md +21 -15
  136. package/docs/en-GB/dynamic_dictionaries/variants.md +268 -10
  137. package/docs/en-GB/intlayer_with_analog.md +5 -1
  138. package/docs/en-GB/intlayer_with_astro.md +2 -0
  139. package/docs/en-GB/intlayer_with_astro_lit.md +2 -0
  140. package/docs/en-GB/intlayer_with_astro_preact.md +2 -0
  141. package/docs/en-GB/intlayer_with_astro_react.md +2 -0
  142. package/docs/en-GB/intlayer_with_astro_solid.md +2 -0
  143. package/docs/en-GB/intlayer_with_astro_svelte.md +2 -0
  144. package/docs/en-GB/intlayer_with_astro_vanilla.md +2 -0
  145. package/docs/en-GB/intlayer_with_astro_vue.md +2 -0
  146. package/docs/en-GB/intlayer_with_lynx+react.md +6 -1
  147. package/docs/en-GB/intlayer_with_react_native+expo.md +6 -1
  148. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -3
  149. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -3
  150. package/docs/en-GB/intlayer_with_storybook.md +7 -1
  151. package/docs/en-GB/intlayer_with_svelte_kit.md +6 -3
  152. package/docs/en-GB/intlayer_with_tanstack+solid.md +18 -11
  153. package/docs/en-GB/intlayer_with_tanstack.md +14 -7
  154. package/docs/en-GB/intlayer_with_vite+lit.md +13 -4
  155. package/docs/en-GB/intlayer_with_vite+react.md +6 -3
  156. package/docs/en-GB/intlayer_with_vite+react_compiler.md +9 -2
  157. package/docs/en-GB/intlayer_with_vite+svelte.md +6 -3
  158. package/docs/en-GB/intlayer_with_vite+vanilla.md +15 -4
  159. package/docs/en-GB/intlayer_with_vite+vue.md +6 -3
  160. package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
  161. package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
  162. package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
  163. package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
  164. package/docs/en-GB/plugins/sync-json.md +0 -1
  165. package/docs/en-GB/releases/v9.md +57 -12
  166. package/docs/es/compiler.md +6 -3
  167. package/docs/es/custom_domains.md +8 -2
  168. package/docs/es/custom_url_rewrites.md +8 -2
  169. package/docs/es/dynamic_dictionaries/index.md +25 -19
  170. package/docs/es/dynamic_dictionaries/variants.md +275 -17
  171. package/docs/es/intlayer_with_analog.md +5 -1
  172. package/docs/es/intlayer_with_astro.md +3 -1
  173. package/docs/es/intlayer_with_astro_lit.md +3 -1
  174. package/docs/es/intlayer_with_astro_preact.md +3 -1
  175. package/docs/es/intlayer_with_astro_react.md +3 -1
  176. package/docs/es/intlayer_with_astro_solid.md +3 -1
  177. package/docs/es/intlayer_with_astro_svelte.md +3 -1
  178. package/docs/es/intlayer_with_astro_vanilla.md +3 -1
  179. package/docs/es/intlayer_with_astro_vue.md +3 -1
  180. package/docs/es/intlayer_with_lynx+react.md +6 -1
  181. package/docs/es/intlayer_with_nextjs_16.md +2 -0
  182. package/docs/es/intlayer_with_nextjs_compiler.md +2 -0
  183. package/docs/es/intlayer_with_react_native+expo.md +6 -1
  184. package/docs/es/intlayer_with_react_router_v7.md +3 -1
  185. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +9 -4
  186. package/docs/es/intlayer_with_storybook.md +7 -1
  187. package/docs/es/intlayer_with_svelte_kit.md +9 -4
  188. package/docs/es/intlayer_with_tanstack+solid.md +18 -11
  189. package/docs/es/intlayer_with_tanstack.md +17 -8
  190. package/docs/es/intlayer_with_vite+lit.md +13 -4
  191. package/docs/es/intlayer_with_vite+preact.md +3 -1
  192. package/docs/es/intlayer_with_vite+react.md +9 -4
  193. package/docs/es/intlayer_with_vite+react_compiler.md +9 -2
  194. package/docs/es/intlayer_with_vite+solid.md +3 -1
  195. package/docs/es/intlayer_with_vite+svelte.md +4 -2
  196. package/docs/es/intlayer_with_vite+vanilla.md +16 -5
  197. package/docs/es/intlayer_with_vite+vue.md +9 -4
  198. package/docs/es/packages/@intlayer_babel/export.md +131 -0
  199. package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
  200. package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
  201. package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
  202. package/docs/es/plugins/sync-json.md +0 -1
  203. package/docs/es/releases/v9.md +57 -12
  204. package/docs/fr/compiler.md +6 -3
  205. package/docs/fr/custom_domains.md +8 -2
  206. package/docs/fr/custom_url_rewrites.md +8 -2
  207. package/docs/fr/dynamic_dictionaries/index.md +26 -20
  208. package/docs/fr/dynamic_dictionaries/variants.md +273 -15
  209. package/docs/fr/intlayer_with_analog.md +5 -1
  210. package/docs/fr/intlayer_with_astro.md +3 -1
  211. package/docs/fr/intlayer_with_astro_lit.md +3 -1
  212. package/docs/fr/intlayer_with_astro_preact.md +3 -1
  213. package/docs/fr/intlayer_with_astro_react.md +3 -1
  214. package/docs/fr/intlayer_with_astro_solid.md +3 -1
  215. package/docs/fr/intlayer_with_astro_svelte.md +3 -1
  216. package/docs/fr/intlayer_with_astro_vanilla.md +3 -1
  217. package/docs/fr/intlayer_with_astro_vue.md +3 -1
  218. package/docs/fr/intlayer_with_lynx+react.md +6 -1
  219. package/docs/fr/intlayer_with_nextjs_16.md +2 -0
  220. package/docs/fr/intlayer_with_nextjs_compiler.md +2 -0
  221. package/docs/fr/intlayer_with_react_native+expo.md +6 -1
  222. package/docs/fr/intlayer_with_react_router_v7.md +3 -1
  223. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -1
  224. package/docs/fr/intlayer_with_storybook.md +7 -1
  225. package/docs/fr/intlayer_with_svelte_kit.md +9 -4
  226. package/docs/fr/intlayer_with_tanstack+solid.md +18 -11
  227. package/docs/fr/intlayer_with_tanstack.md +17 -8
  228. package/docs/fr/intlayer_with_vite+lit.md +13 -4
  229. package/docs/fr/intlayer_with_vite+preact.md +3 -1
  230. package/docs/fr/intlayer_with_vite+react.md +9 -4
  231. package/docs/fr/intlayer_with_vite+react_compiler.md +9 -2
  232. package/docs/fr/intlayer_with_vite+solid.md +3 -1
  233. package/docs/fr/intlayer_with_vite+svelte.md +9 -4
  234. package/docs/fr/intlayer_with_vite+vanilla.md +16 -5
  235. package/docs/fr/intlayer_with_vite+vue.md +9 -4
  236. package/docs/fr/packages/@intlayer_babel/export.md +131 -0
  237. package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
  238. package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
  239. package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
  240. package/docs/fr/plugins/sync-json.md +0 -1
  241. package/docs/fr/releases/v9.md +57 -12
  242. package/docs/hi/compiler.md +6 -3
  243. package/docs/hi/custom_domains.md +8 -2
  244. package/docs/hi/custom_url_rewrites.md +8 -2
  245. package/docs/hi/dynamic_dictionaries/index.md +28 -22
  246. package/docs/hi/dynamic_dictionaries/variants.md +282 -24
  247. package/docs/hi/intlayer_with_analog.md +5 -1
  248. package/docs/hi/intlayer_with_astro.md +6 -3
  249. package/docs/hi/intlayer_with_astro_lit.md +6 -3
  250. package/docs/hi/intlayer_with_astro_preact.md +6 -3
  251. package/docs/hi/intlayer_with_astro_react.md +6 -3
  252. package/docs/hi/intlayer_with_astro_solid.md +6 -3
  253. package/docs/hi/intlayer_with_astro_svelte.md +6 -3
  254. package/docs/hi/intlayer_with_astro_vanilla.md +6 -3
  255. package/docs/hi/intlayer_with_astro_vue.md +6 -3
  256. package/docs/hi/intlayer_with_lynx+react.md +6 -1
  257. package/docs/hi/intlayer_with_react_native+expo.md +6 -1
  258. package/docs/hi/intlayer_with_react_router_v7.md +6 -3
  259. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -3
  260. package/docs/hi/intlayer_with_storybook.md +7 -1
  261. package/docs/hi/intlayer_with_svelte_kit.md +12 -6
  262. package/docs/hi/intlayer_with_tanstack+solid.md +18 -11
  263. package/docs/hi/intlayer_with_tanstack.md +20 -10
  264. package/docs/hi/intlayer_with_vite+lit.md +8 -2
  265. package/docs/hi/intlayer_with_vite+preact.md +6 -3
  266. package/docs/hi/intlayer_with_vite+react.md +12 -6
  267. package/docs/hi/intlayer_with_vite+react_compiler.md +9 -2
  268. package/docs/hi/intlayer_with_vite+solid.md +6 -3
  269. package/docs/hi/intlayer_with_vite+svelte.md +7 -4
  270. package/docs/hi/intlayer_with_vite+vanilla.md +16 -5
  271. package/docs/hi/intlayer_with_vite+vue.md +12 -6
  272. package/docs/hi/packages/@intlayer_babel/export.md +131 -0
  273. package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
  274. package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
  275. package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
  276. package/docs/hi/plugins/sync-json.md +0 -1
  277. package/docs/hi/releases/v9.md +57 -12
  278. package/docs/id/compiler.md +6 -3
  279. package/docs/id/custom_domains.md +8 -2
  280. package/docs/id/custom_url_rewrites.md +8 -2
  281. package/docs/id/dynamic_dictionaries/index.md +25 -19
  282. package/docs/id/dynamic_dictionaries/variants.md +274 -16
  283. package/docs/id/intlayer_with_analog.md +5 -1
  284. package/docs/id/intlayer_with_astro.md +3 -1
  285. package/docs/id/intlayer_with_astro_lit.md +3 -1
  286. package/docs/id/intlayer_with_astro_preact.md +3 -1
  287. package/docs/id/intlayer_with_astro_react.md +3 -1
  288. package/docs/id/intlayer_with_astro_solid.md +3 -1
  289. package/docs/id/intlayer_with_astro_svelte.md +3 -1
  290. package/docs/id/intlayer_with_astro_vanilla.md +3 -1
  291. package/docs/id/intlayer_with_astro_vue.md +3 -1
  292. package/docs/id/intlayer_with_lynx+react.md +6 -1
  293. package/docs/id/intlayer_with_nextjs_16.md +2 -0
  294. package/docs/id/intlayer_with_nextjs_compiler.md +2 -0
  295. package/docs/id/intlayer_with_react_native+expo.md +6 -1
  296. package/docs/id/intlayer_with_react_router_v7.md +3 -1
  297. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +9 -4
  298. package/docs/id/intlayer_with_storybook.md +7 -1
  299. package/docs/id/intlayer_with_svelte_kit.md +9 -4
  300. package/docs/id/intlayer_with_tanstack+solid.md +18 -11
  301. package/docs/id/intlayer_with_tanstack.md +17 -8
  302. package/docs/id/intlayer_with_vite+lit.md +8 -2
  303. package/docs/id/intlayer_with_vite+preact.md +3 -1
  304. package/docs/id/intlayer_with_vite+react.md +9 -4
  305. package/docs/id/intlayer_with_vite+react_compiler.md +9 -2
  306. package/docs/id/intlayer_with_vite+solid.md +3 -1
  307. package/docs/id/intlayer_with_vite+svelte.md +5 -3
  308. package/docs/id/intlayer_with_vite+vanilla.md +16 -5
  309. package/docs/id/intlayer_with_vite+vue.md +9 -4
  310. package/docs/id/packages/@intlayer_babel/export.md +131 -0
  311. package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
  312. package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
  313. package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
  314. package/docs/id/plugins/sync-json.md +0 -1
  315. package/docs/id/releases/v9.md +57 -12
  316. package/docs/it/compiler.md +6 -3
  317. package/docs/it/custom_domains.md +8 -2
  318. package/docs/it/custom_url_rewrites.md +8 -2
  319. package/docs/it/dynamic_dictionaries/index.md +26 -20
  320. package/docs/it/dynamic_dictionaries/variants.md +273 -15
  321. package/docs/it/intlayer_with_analog.md +5 -1
  322. package/docs/it/intlayer_with_astro.md +3 -1
  323. package/docs/it/intlayer_with_astro_lit.md +3 -1
  324. package/docs/it/intlayer_with_astro_preact.md +3 -1
  325. package/docs/it/intlayer_with_astro_react.md +3 -1
  326. package/docs/it/intlayer_with_astro_solid.md +3 -1
  327. package/docs/it/intlayer_with_astro_svelte.md +3 -1
  328. package/docs/it/intlayer_with_astro_vanilla.md +3 -1
  329. package/docs/it/intlayer_with_astro_vue.md +3 -1
  330. package/docs/it/intlayer_with_lynx+react.md +6 -1
  331. package/docs/it/intlayer_with_nextjs_16.md +2 -0
  332. package/docs/it/intlayer_with_nextjs_compiler.md +2 -0
  333. package/docs/it/intlayer_with_react_native+expo.md +6 -1
  334. package/docs/it/intlayer_with_react_router_v7.md +3 -1
  335. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -1
  336. package/docs/it/intlayer_with_storybook.md +7 -1
  337. package/docs/it/intlayer_with_svelte_kit.md +9 -4
  338. package/docs/it/intlayer_with_tanstack+solid.md +18 -11
  339. package/docs/it/intlayer_with_tanstack.md +17 -8
  340. package/docs/it/intlayer_with_vite+lit.md +13 -4
  341. package/docs/it/intlayer_with_vite+preact.md +3 -1
  342. package/docs/it/intlayer_with_vite+react.md +9 -4
  343. package/docs/it/intlayer_with_vite+react_compiler.md +9 -2
  344. package/docs/it/intlayer_with_vite+solid.md +3 -1
  345. package/docs/it/intlayer_with_vite+svelte.md +4 -2
  346. package/docs/it/intlayer_with_vite+vanilla.md +16 -5
  347. package/docs/it/intlayer_with_vite+vue.md +9 -4
  348. package/docs/it/packages/@intlayer_babel/export.md +131 -0
  349. package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
  350. package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
  351. package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
  352. package/docs/it/plugins/sync-json.md +0 -1
  353. package/docs/it/releases/v9.md +57 -12
  354. package/docs/ja/compiler.md +6 -3
  355. package/docs/ja/custom_domains.md +8 -2
  356. package/docs/ja/custom_url_rewrites.md +8 -2
  357. package/docs/ja/dynamic_dictionaries/index.md +27 -21
  358. package/docs/ja/dynamic_dictionaries/variants.md +276 -18
  359. package/docs/ja/intlayer_with_analog.md +5 -1
  360. package/docs/ja/intlayer_with_astro.md +2 -0
  361. package/docs/ja/intlayer_with_astro_lit.md +2 -0
  362. package/docs/ja/intlayer_with_astro_preact.md +2 -0
  363. package/docs/ja/intlayer_with_astro_react.md +2 -0
  364. package/docs/ja/intlayer_with_astro_solid.md +2 -0
  365. package/docs/ja/intlayer_with_astro_svelte.md +2 -0
  366. package/docs/ja/intlayer_with_astro_vanilla.md +2 -0
  367. package/docs/ja/intlayer_with_astro_vue.md +2 -0
  368. package/docs/ja/intlayer_with_lynx+react.md +6 -1
  369. package/docs/ja/intlayer_with_nextjs_16.md +2 -0
  370. package/docs/ja/intlayer_with_nextjs_compiler.md +2 -0
  371. package/docs/ja/intlayer_with_react_native+expo.md +6 -1
  372. package/docs/ja/intlayer_with_react_router_v7.md +8 -3
  373. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -1
  374. package/docs/ja/intlayer_with_storybook.md +7 -1
  375. package/docs/ja/intlayer_with_svelte_kit.md +2 -0
  376. package/docs/ja/intlayer_with_tanstack+solid.md +18 -11
  377. package/docs/ja/intlayer_with_tanstack.md +18 -11
  378. package/docs/ja/intlayer_with_vite+lit.md +13 -4
  379. package/docs/ja/intlayer_with_vite+preact.md +8 -3
  380. package/docs/ja/intlayer_with_vite+react.md +3 -1
  381. package/docs/ja/intlayer_with_vite+react_compiler.md +9 -2
  382. package/docs/ja/intlayer_with_vite+solid.md +3 -1
  383. package/docs/ja/intlayer_with_vite+svelte.md +5 -3
  384. package/docs/ja/intlayer_with_vite+vanilla.md +16 -5
  385. package/docs/ja/intlayer_with_vite+vue.md +9 -4
  386. package/docs/ja/packages/@intlayer_babel/export.md +131 -0
  387. package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
  388. package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
  389. package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
  390. package/docs/ja/plugins/sync-json.md +0 -1
  391. package/docs/ja/releases/v9.md +57 -12
  392. package/docs/ko/compiler.md +6 -3
  393. package/docs/ko/custom_domains.md +8 -2
  394. package/docs/ko/custom_url_rewrites.md +8 -2
  395. package/docs/ko/dynamic_dictionaries/index.md +23 -17
  396. package/docs/ko/dynamic_dictionaries/variants.md +273 -15
  397. package/docs/ko/intlayer_with_analog.md +5 -1
  398. package/docs/ko/intlayer_with_astro.md +3 -1
  399. package/docs/ko/intlayer_with_astro_lit.md +3 -1
  400. package/docs/ko/intlayer_with_astro_preact.md +3 -1
  401. package/docs/ko/intlayer_with_astro_react.md +3 -1
  402. package/docs/ko/intlayer_with_astro_solid.md +3 -1
  403. package/docs/ko/intlayer_with_astro_svelte.md +3 -1
  404. package/docs/ko/intlayer_with_astro_vanilla.md +3 -1
  405. package/docs/ko/intlayer_with_astro_vue.md +3 -1
  406. package/docs/ko/intlayer_with_lynx+react.md +6 -1
  407. package/docs/ko/intlayer_with_nextjs_16.md +2 -0
  408. package/docs/ko/intlayer_with_nextjs_compiler.md +2 -0
  409. package/docs/ko/intlayer_with_react_native+expo.md +6 -1
  410. package/docs/ko/intlayer_with_react_router_v7.md +3 -1
  411. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -1
  412. package/docs/ko/intlayer_with_storybook.md +7 -1
  413. package/docs/ko/intlayer_with_svelte_kit.md +9 -4
  414. package/docs/ko/intlayer_with_tanstack+solid.md +18 -11
  415. package/docs/ko/intlayer_with_tanstack.md +17 -8
  416. package/docs/ko/intlayer_with_vite+lit.md +13 -4
  417. package/docs/ko/intlayer_with_vite+preact.md +3 -1
  418. package/docs/ko/intlayer_with_vite+react.md +3 -1
  419. package/docs/ko/intlayer_with_vite+react_compiler.md +9 -2
  420. package/docs/ko/intlayer_with_vite+svelte.md +5 -3
  421. package/docs/ko/intlayer_with_vite+vanilla.md +16 -5
  422. package/docs/ko/intlayer_with_vite+vue.md +9 -4
  423. package/docs/ko/packages/@intlayer_babel/export.md +131 -0
  424. package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
  425. package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
  426. package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
  427. package/docs/ko/plugins/sync-json.md +0 -1
  428. package/docs/ko/releases/v9.md +57 -12
  429. package/docs/nl/custom_domains.md +8 -2
  430. package/docs/nl/intlayer_with_storybook.md +7 -1
  431. package/docs/nl/intlayer_with_vite+lit.md +8 -2
  432. package/docs/nl/intlayer_with_vite+vanilla.md +16 -5
  433. package/docs/pl/compiler.md +6 -3
  434. package/docs/pl/custom_domains.md +8 -2
  435. package/docs/pl/custom_url_rewrites.md +8 -2
  436. package/docs/pl/dynamic_dictionaries/index.md +26 -20
  437. package/docs/pl/dynamic_dictionaries/variants.md +275 -17
  438. package/docs/pl/intlayer_with_analog.md +5 -1
  439. package/docs/pl/intlayer_with_astro.md +6 -4
  440. package/docs/pl/intlayer_with_astro_lit.md +3 -1
  441. package/docs/pl/intlayer_with_astro_preact.md +3 -1
  442. package/docs/pl/intlayer_with_astro_react.md +3 -1
  443. package/docs/pl/intlayer_with_astro_solid.md +3 -1
  444. package/docs/pl/intlayer_with_astro_svelte.md +3 -1
  445. package/docs/pl/intlayer_with_astro_vanilla.md +3 -1
  446. package/docs/pl/intlayer_with_astro_vue.md +3 -1
  447. package/docs/pl/intlayer_with_lynx+react.md +6 -1
  448. package/docs/pl/intlayer_with_nextjs_16.md +2 -0
  449. package/docs/pl/intlayer_with_nextjs_compiler.md +2 -0
  450. package/docs/pl/intlayer_with_react_native+expo.md +6 -1
  451. package/docs/pl/intlayer_with_react_router_v7.md +3 -1
  452. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -1
  453. package/docs/pl/intlayer_with_storybook.md +7 -1
  454. package/docs/pl/intlayer_with_svelte_kit.md +9 -4
  455. package/docs/pl/intlayer_with_tanstack+solid.md +18 -9
  456. package/docs/pl/intlayer_with_tanstack.md +17 -8
  457. package/docs/pl/intlayer_with_vite+lit.md +8 -2
  458. package/docs/pl/intlayer_with_vite+preact.md +3 -1
  459. package/docs/pl/intlayer_with_vite+react.md +9 -4
  460. package/docs/pl/intlayer_with_vite+react_compiler.md +9 -2
  461. package/docs/pl/intlayer_with_vite+solid.md +3 -1
  462. package/docs/pl/intlayer_with_vite+svelte.md +4 -2
  463. package/docs/pl/intlayer_with_vite+vanilla.md +16 -5
  464. package/docs/pl/intlayer_with_vite+vue.md +9 -4
  465. package/docs/pl/packages/@intlayer_babel/export.md +131 -0
  466. package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
  467. package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
  468. package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
  469. package/docs/pl/plugins/sync-json.md +0 -1
  470. package/docs/pl/releases/v9.md +57 -12
  471. package/docs/pt/compiler.md +6 -3
  472. package/docs/pt/custom_domains.md +8 -2
  473. package/docs/pt/custom_url_rewrites.md +8 -2
  474. package/docs/pt/dynamic_dictionaries/index.md +25 -19
  475. package/docs/pt/dynamic_dictionaries/variants.md +276 -18
  476. package/docs/pt/intlayer_with_analog.md +5 -1
  477. package/docs/pt/intlayer_with_astro.md +6 -4
  478. package/docs/pt/intlayer_with_astro_lit.md +3 -1
  479. package/docs/pt/intlayer_with_astro_preact.md +3 -1
  480. package/docs/pt/intlayer_with_astro_react.md +3 -1
  481. package/docs/pt/intlayer_with_astro_solid.md +3 -1
  482. package/docs/pt/intlayer_with_astro_svelte.md +3 -1
  483. package/docs/pt/intlayer_with_astro_vanilla.md +3 -1
  484. package/docs/pt/intlayer_with_astro_vue.md +3 -1
  485. package/docs/pt/intlayer_with_lynx+react.md +6 -1
  486. package/docs/pt/intlayer_with_nextjs_16.md +2 -0
  487. package/docs/pt/intlayer_with_nextjs_compiler.md +2 -0
  488. package/docs/pt/intlayer_with_react_native+expo.md +6 -1
  489. package/docs/pt/intlayer_with_react_router_v7.md +8 -3
  490. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -1
  491. package/docs/pt/intlayer_with_storybook.md +7 -1
  492. package/docs/pt/intlayer_with_svelte_kit.md +9 -4
  493. package/docs/pt/intlayer_with_tanstack+solid.md +18 -9
  494. package/docs/pt/intlayer_with_tanstack.md +17 -8
  495. package/docs/pt/intlayer_with_vite+lit.md +13 -4
  496. package/docs/pt/intlayer_with_vite+preact.md +3 -1
  497. package/docs/pt/intlayer_with_vite+react.md +9 -4
  498. package/docs/pt/intlayer_with_vite+react_compiler.md +9 -2
  499. package/docs/pt/intlayer_with_vite+solid.md +3 -1
  500. package/docs/pt/intlayer_with_vite+svelte.md +4 -2
  501. package/docs/pt/intlayer_with_vite+vanilla.md +16 -5
  502. package/docs/pt/intlayer_with_vite+vue.md +9 -4
  503. package/docs/pt/packages/@intlayer_babel/export.md +131 -0
  504. package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
  505. package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
  506. package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
  507. package/docs/pt/plugins/sync-json.md +0 -1
  508. package/docs/pt/releases/v9.md +57 -12
  509. package/docs/ru/compiler.md +6 -3
  510. package/docs/ru/custom_domains.md +8 -2
  511. package/docs/ru/custom_url_rewrites.md +8 -2
  512. package/docs/ru/dynamic_dictionaries/index.md +25 -19
  513. package/docs/ru/dynamic_dictionaries/variants.md +277 -19
  514. package/docs/ru/intlayer_with_analog.md +5 -1
  515. package/docs/ru/intlayer_with_astro.md +3 -1
  516. package/docs/ru/intlayer_with_astro_lit.md +3 -1
  517. package/docs/ru/intlayer_with_astro_preact.md +3 -1
  518. package/docs/ru/intlayer_with_astro_react.md +3 -1
  519. package/docs/ru/intlayer_with_astro_solid.md +3 -1
  520. package/docs/ru/intlayer_with_astro_svelte.md +3 -1
  521. package/docs/ru/intlayer_with_astro_vanilla.md +3 -1
  522. package/docs/ru/intlayer_with_astro_vue.md +3 -1
  523. package/docs/ru/intlayer_with_lynx+react.md +6 -1
  524. package/docs/ru/intlayer_with_nextjs_16.md +2 -0
  525. package/docs/ru/intlayer_with_nextjs_compiler.md +2 -0
  526. package/docs/ru/intlayer_with_react_native+expo.md +6 -1
  527. package/docs/ru/intlayer_with_react_router_v7.md +3 -1
  528. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -1
  529. package/docs/ru/intlayer_with_storybook.md +7 -1
  530. package/docs/ru/intlayer_with_svelte_kit.md +9 -4
  531. package/docs/ru/intlayer_with_tanstack+solid.md +18 -11
  532. package/docs/ru/intlayer_with_tanstack.md +17 -8
  533. package/docs/ru/intlayer_with_vite+lit.md +13 -4
  534. package/docs/ru/intlayer_with_vite+preact.md +3 -1
  535. package/docs/ru/intlayer_with_vite+react.md +9 -4
  536. package/docs/ru/intlayer_with_vite+react_compiler.md +9 -2
  537. package/docs/ru/intlayer_with_vite+solid.md +3 -1
  538. package/docs/ru/intlayer_with_vite+svelte.md +4 -2
  539. package/docs/ru/intlayer_with_vite+vanilla.md +16 -5
  540. package/docs/ru/intlayer_with_vite+vue.md +9 -4
  541. package/docs/ru/packages/@intlayer_babel/export.md +131 -0
  542. package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
  543. package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
  544. package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
  545. package/docs/ru/plugins/sync-json.md +0 -1
  546. package/docs/ru/releases/v9.md +57 -12
  547. package/docs/tr/compiler.md +6 -3
  548. package/docs/tr/custom_domains.md +8 -2
  549. package/docs/tr/custom_url_rewrites.md +8 -2
  550. package/docs/tr/dynamic_dictionaries/index.md +27 -21
  551. package/docs/tr/dynamic_dictionaries/variants.md +274 -16
  552. package/docs/tr/intlayer_with_analog.md +5 -1
  553. package/docs/tr/intlayer_with_astro_lit.md +3 -1
  554. package/docs/tr/intlayer_with_astro_preact.md +3 -1
  555. package/docs/tr/intlayer_with_astro_react.md +3 -1
  556. package/docs/tr/intlayer_with_astro_solid.md +3 -1
  557. package/docs/tr/intlayer_with_astro_svelte.md +3 -1
  558. package/docs/tr/intlayer_with_astro_vanilla.md +3 -1
  559. package/docs/tr/intlayer_with_astro_vue.md +3 -1
  560. package/docs/tr/intlayer_with_lynx+react.md +6 -1
  561. package/docs/tr/intlayer_with_nextjs_16.md +2 -0
  562. package/docs/tr/intlayer_with_nextjs_compiler.md +2 -0
  563. package/docs/tr/intlayer_with_react_native+expo.md +6 -1
  564. package/docs/tr/intlayer_with_react_router_v7.md +3 -1
  565. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -1
  566. package/docs/tr/intlayer_with_storybook.md +7 -1
  567. package/docs/tr/intlayer_with_svelte_kit.md +9 -4
  568. package/docs/tr/intlayer_with_tanstack+solid.md +18 -11
  569. package/docs/tr/intlayer_with_tanstack.md +17 -8
  570. package/docs/tr/intlayer_with_vite+lit.md +8 -2
  571. package/docs/tr/intlayer_with_vite+preact.md +3 -1
  572. package/docs/tr/intlayer_with_vite+react.md +9 -4
  573. package/docs/tr/intlayer_with_vite+react_compiler.md +9 -2
  574. package/docs/tr/intlayer_with_vite+solid.md +3 -1
  575. package/docs/tr/intlayer_with_vite+svelte.md +4 -2
  576. package/docs/tr/intlayer_with_vite+vanilla.md +16 -5
  577. package/docs/tr/intlayer_with_vite+vue.md +9 -4
  578. package/docs/tr/packages/@intlayer_babel/export.md +131 -0
  579. package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
  580. package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
  581. package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
  582. package/docs/tr/plugins/sync-json.md +0 -1
  583. package/docs/tr/releases/v9.md +57 -12
  584. package/docs/uk/compiler.md +6 -3
  585. package/docs/uk/custom_domains.md +8 -2
  586. package/docs/uk/custom_url_rewrites.md +8 -2
  587. package/docs/uk/dynamic_dictionaries/index.md +25 -19
  588. package/docs/uk/dynamic_dictionaries/variants.md +277 -19
  589. package/docs/uk/intlayer_with_analog.md +5 -1
  590. package/docs/uk/intlayer_with_astro.md +3 -1
  591. package/docs/uk/intlayer_with_astro_lit.md +3 -1
  592. package/docs/uk/intlayer_with_astro_preact.md +3 -1
  593. package/docs/uk/intlayer_with_astro_react.md +3 -1
  594. package/docs/uk/intlayer_with_astro_solid.md +3 -1
  595. package/docs/uk/intlayer_with_astro_svelte.md +3 -1
  596. package/docs/uk/intlayer_with_astro_vanilla.md +3 -1
  597. package/docs/uk/intlayer_with_astro_vue.md +3 -1
  598. package/docs/uk/intlayer_with_lynx+react.md +6 -1
  599. package/docs/uk/intlayer_with_nextjs_16.md +2 -0
  600. package/docs/uk/intlayer_with_nextjs_compiler.md +2 -0
  601. package/docs/uk/intlayer_with_react_native+expo.md +6 -1
  602. package/docs/uk/intlayer_with_react_router_v7.md +3 -1
  603. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +3 -1
  604. package/docs/uk/intlayer_with_storybook.md +7 -1
  605. package/docs/uk/intlayer_with_svelte_kit.md +9 -4
  606. package/docs/uk/intlayer_with_tanstack+solid.md +18 -11
  607. package/docs/uk/intlayer_with_tanstack.md +17 -8
  608. package/docs/uk/intlayer_with_vite+lit.md +8 -2
  609. package/docs/uk/intlayer_with_vite+preact.md +3 -1
  610. package/docs/uk/intlayer_with_vite+react.md +9 -4
  611. package/docs/uk/intlayer_with_vite+react_compiler.md +9 -2
  612. package/docs/uk/intlayer_with_vite+solid.md +3 -1
  613. package/docs/uk/intlayer_with_vite+svelte.md +9 -4
  614. package/docs/uk/intlayer_with_vite+vanilla.md +16 -5
  615. package/docs/uk/intlayer_with_vite+vue.md +9 -4
  616. package/docs/uk/packages/@intlayer_babel/export.md +131 -0
  617. package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
  618. package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
  619. package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
  620. package/docs/uk/plugins/sync-json.md +0 -1
  621. package/docs/uk/releases/v9.md +57 -12
  622. package/docs/ur/custom_domains.md +8 -2
  623. package/docs/ur/intlayer_with_storybook.md +7 -1
  624. package/docs/ur/intlayer_with_vite+lit.md +8 -2
  625. package/docs/ur/intlayer_with_vite+vanilla.md +16 -5
  626. package/docs/vi/compiler.md +6 -3
  627. package/docs/vi/custom_domains.md +8 -2
  628. package/docs/vi/custom_url_rewrites.md +8 -2
  629. package/docs/vi/dynamic_dictionaries/index.md +28 -22
  630. package/docs/vi/dynamic_dictionaries/variants.md +278 -20
  631. package/docs/vi/intlayer_with_analog.md +5 -1
  632. package/docs/vi/intlayer_with_astro.md +3 -1
  633. package/docs/vi/intlayer_with_astro_lit.md +3 -1
  634. package/docs/vi/intlayer_with_astro_preact.md +3 -1
  635. package/docs/vi/intlayer_with_astro_react.md +3 -1
  636. package/docs/vi/intlayer_with_astro_solid.md +3 -1
  637. package/docs/vi/intlayer_with_astro_svelte.md +3 -1
  638. package/docs/vi/intlayer_with_astro_vanilla.md +3 -1
  639. package/docs/vi/intlayer_with_astro_vue.md +3 -1
  640. package/docs/vi/intlayer_with_lynx+react.md +6 -1
  641. package/docs/vi/intlayer_with_nextjs_15.md +2 -0
  642. package/docs/vi/intlayer_with_nextjs_16.md +2 -0
  643. package/docs/vi/intlayer_with_nextjs_compiler.md +2 -0
  644. package/docs/vi/intlayer_with_react_native+expo.md +6 -1
  645. package/docs/vi/intlayer_with_react_router_v7.md +3 -1
  646. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +9 -4
  647. package/docs/vi/intlayer_with_storybook.md +7 -1
  648. package/docs/vi/intlayer_with_svelte_kit.md +9 -4
  649. package/docs/vi/intlayer_with_tanstack+solid.md +18 -11
  650. package/docs/vi/intlayer_with_tanstack.md +17 -8
  651. package/docs/vi/intlayer_with_vite+lit.md +8 -2
  652. package/docs/vi/intlayer_with_vite+preact.md +3 -1
  653. package/docs/vi/intlayer_with_vite+react.md +9 -4
  654. package/docs/vi/intlayer_with_vite+react_compiler.md +9 -2
  655. package/docs/vi/intlayer_with_vite+solid.md +3 -1
  656. package/docs/vi/intlayer_with_vite+svelte.md +9 -4
  657. package/docs/vi/intlayer_with_vite+vanilla.md +16 -5
  658. package/docs/vi/intlayer_with_vite+vue.md +9 -4
  659. package/docs/vi/packages/@intlayer_babel/export.md +131 -0
  660. package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
  661. package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
  662. package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
  663. package/docs/vi/plugins/sync-json.md +0 -1
  664. package/docs/vi/releases/v9.md +57 -12
  665. package/docs/zh/compiler.md +6 -3
  666. package/docs/zh/custom_domains.md +8 -2
  667. package/docs/zh/custom_url_rewrites.md +8 -2
  668. package/docs/zh/dynamic_dictionaries/index.md +24 -18
  669. package/docs/zh/dynamic_dictionaries/variants.md +274 -16
  670. package/docs/zh/intlayer_with_astro.md +3 -1
  671. package/docs/zh/intlayer_with_astro_lit.md +3 -1
  672. package/docs/zh/intlayer_with_astro_preact.md +3 -1
  673. package/docs/zh/intlayer_with_astro_react.md +3 -1
  674. package/docs/zh/intlayer_with_astro_solid.md +3 -1
  675. package/docs/zh/intlayer_with_astro_svelte.md +3 -1
  676. package/docs/zh/intlayer_with_astro_vanilla.md +3 -1
  677. package/docs/zh/intlayer_with_astro_vue.md +3 -1
  678. package/docs/zh/intlayer_with_nextjs_16.md +2 -0
  679. package/docs/zh/intlayer_with_nextjs_compiler.md +2 -0
  680. package/docs/zh/intlayer_with_react_native+expo.md +6 -1
  681. package/docs/zh/intlayer_with_react_router_v7.md +3 -1
  682. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -1
  683. package/docs/zh/intlayer_with_storybook.md +7 -1
  684. package/docs/zh/intlayer_with_svelte_kit.md +9 -4
  685. package/docs/zh/intlayer_with_vite+preact.md +3 -1
  686. package/docs/zh/intlayer_with_vite+react.md +9 -4
  687. package/docs/zh/intlayer_with_vite+svelte.md +9 -4
  688. package/docs/zh/intlayer_with_vite+vue.md +9 -4
  689. package/docs/zh/packages/@intlayer_babel/export.md +131 -0
  690. package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
  691. package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
  692. package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
  693. package/docs/zh/plugins/sync-json.md +0 -1
  694. package/docs/zh/releases/v9.md +57 -12
  695. package/package.json +6 -6
  696. package/src/generated/docs.entry.ts +80 -20
  697. package/docs/ar/dynamic_dictionaries/dynamic_content.md +0 -271
  698. package/docs/de/dynamic_dictionaries/dynamic_content.md +0 -271
  699. package/docs/en/dynamic_dictionaries/dynamic_content.md +0 -271
  700. package/docs/en-GB/dynamic_dictionaries/dynamic_content.md +0 -271
  701. package/docs/es/dynamic_dictionaries/dynamic_content.md +0 -271
  702. package/docs/fr/dynamic_dictionaries/dynamic_content.md +0 -271
  703. package/docs/hi/dynamic_dictionaries/dynamic_content.md +0 -271
  704. package/docs/id/dynamic_dictionaries/dynamic_content.md +0 -271
  705. package/docs/it/dynamic_dictionaries/dynamic_content.md +0 -271
  706. package/docs/ja/dynamic_dictionaries/dynamic_content.md +0 -271
  707. package/docs/ko/dynamic_dictionaries/dynamic_content.md +0 -271
  708. package/docs/pl/dynamic_dictionaries/dynamic_content.md +0 -271
  709. package/docs/pt/dynamic_dictionaries/dynamic_content.md +0 -271
  710. package/docs/ru/dynamic_dictionaries/dynamic_content.md +0 -271
  711. package/docs/tr/dynamic_dictionaries/dynamic_content.md +0 -271
  712. package/docs/uk/dynamic_dictionaries/dynamic_content.md +0 -271
  713. package/docs/vi/dynamic_dictionaries/dynamic_content.md +0 -271
  714. package/docs/zh/dynamic_dictionaries/dynamic_content.md +0 -271
@@ -228,11 +228,15 @@ export default defineConfig({
228
228
  tanstackStart({
229
229
  router: {
230
230
  routeFileIgnorePattern:
231
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
231
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
232
232
  },
233
233
  }),
234
234
  solidPlugin({ ssr: true }),
235
- intlayer(),
235
+ intlayer({
236
+ proxy: {
237
+ ignore: (req) => req.url?.startsWith("/api"),
238
+ },
239
+ }),
236
240
  ],
237
241
  });
238
242
  ```
@@ -568,22 +572,25 @@ Vous pouvez également utiliser `intlayerProxy` pour ajouter un routage côté s
568
572
 
569
573
  > Notez que pour utiliser `intlayerProxy` en production, vous devez déplacer le package `vite-intlayer` de `devDependencies` vers `dependencies`.
570
574
 
571
- ```typescript {7,14-17} fileName="vite.config.ts"
575
+ ```typescript fileName="vite.config.ts"
572
576
  import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
573
577
  import solid from "vite-plugin-solid";
574
578
  import { nitro } from "nitro/vite";
575
579
  import { defineConfig } from "vite";
576
- import { intlayer, intlayerProxy } from "vite-intlayer";
580
+ import { intlayer } from "vite-intlayer";
577
581
 
578
582
  export default defineConfig({
579
583
  plugins: [
580
- intlayerProxy(), // Le proxy doit être placé avant le serveur si vous utilisez Nitro
581
584
  nitro(),
582
- intlayer(),
585
+ intlayer({
586
+ proxy: {
587
+ ignore: (req) => req.url?.startsWith("/api"),
588
+ },
589
+ }),
583
590
  tanstackStart({
584
591
  router: {
585
592
  routeFileIgnorePattern:
586
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
593
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
587
594
  },
588
595
  }),
589
596
  solid(),
@@ -826,9 +833,9 @@ bun x intlayer extract
826
833
  </Tab>
827
834
  <Tab value='Babel compiler'>
828
835
 
829
- Mettez à jour votre `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
836
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
830
837
 
831
- > Depuis Intlayer v9, le compilateur est directement intégré au plugin `intlayer()` et s'active automatiquement dès que `compiler.enabled` est défini avec un chemin `compiler.output`. Enregistrer `intlayerCompiler()` séparément comme indiqué ci-dessous est désormais facultatif — il se déduplique de lui-même s'il est également ajouté. Voir les [notes de version v9](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/releases/v9.md).
838
+ Mettez à jour votre `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
832
839
 
833
840
  ```ts fileName="vite.config.ts"
834
841
  import { intlayer, intlayerCompiler } from "vite-intlayer";
@@ -843,12 +850,12 @@ export default defineConfig({
843
850
  tanstackStart({
844
851
  router: {
845
852
  routeFileIgnorePattern:
846
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
853
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
847
854
  },
848
855
  }),
849
856
  solidPlugin({ ssr: true }),
850
857
  intlayer(),
851
- intlayerCompiler(),
858
+ intlayerCompiler(), // Adds the compiler plugin
852
859
  ],
853
860
  });
854
861
  ```
@@ -242,11 +242,15 @@ import { intlayer } from "vite-intlayer";
242
242
  const config = defineConfig({
243
243
  plugins: [
244
244
  nitro(),
245
- intlayer(),
245
+ intlayer({
246
+ proxy: {
247
+ ignore: (req) => req.url?.startsWith("/api"),
248
+ },
249
+ }),
246
250
  tanstackStart({
247
251
  router: {
248
252
  routeFileIgnorePattern:
249
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
253
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
250
254
  },
251
255
  }),
252
256
  viteReact(),
@@ -650,22 +654,25 @@ Vous pouvez également utiliser `intlayerProxy` pour ajouter un routage côté s
650
654
 
651
655
  > Notez que pour utiliser `intlayerProxy` en production, vous devez déplacer le paquet `vite-intlayer` de `devDependencies` vers `dependencies`.
652
656
 
653
- ```typescript {7,14-17} fileName="vite.config.ts"
657
+ ```typescript fileName="vite.config.ts"
654
658
  import { tanstackStart } from "@tanstack/react-start/plugin/vite";
655
659
  import viteReact from "@vitejs/plugin-react";
656
660
  import { nitro } from "nitro/vite";
657
661
  import { defineConfig } from "vite";
658
- import { intlayer, intlayerProxy } from "vite-intlayer";
662
+ import { intlayer } from "vite-intlayer";
659
663
 
660
664
  export default defineConfig({
661
665
  plugins: [
662
- intlayerProxy(), // Le proxy doit être placé avant le serveur si vous utilisez Nitro
663
666
  nitro(),
664
- intlayer(),
667
+ intlayer({
668
+ proxy: {
669
+ ignore: (req) => req.url?.startsWith("/api"),
670
+ },
671
+ }),
665
672
  tanstackStart({
666
673
  router: {
667
674
  routeFileIgnorePattern:
668
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
675
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
669
676
  },
670
677
  }),
671
678
  viteReact(),
@@ -906,6 +913,8 @@ bun x intlayer extract
906
913
  </Tab>
907
914
  <Tab value='Compilateur Babel'>
908
915
 
916
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
917
+
909
918
  Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
910
919
 
911
920
  ```ts fileName="vite.config.ts"
@@ -915,7 +924,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
915
924
  export default defineConfig({
916
925
  plugins: [
917
926
  intlayer(),
918
- intlayerCompiler(), // Ajoute le plugin du compilateur
927
+ intlayerCompiler(), // Adds the compiler plugin
919
928
  ],
920
929
  });
921
930
  ```
@@ -205,7 +205,13 @@ import { intlayer } from "vite-intlayer";
205
205
 
206
206
  // https://vitejs.dev/config/
207
207
  export default defineConfig({
208
- plugins: [intlayer()],
208
+ plugins: [
209
+ intlayer({
210
+ proxy: {
211
+ ignore: (req) => req.url?.startsWith("/api"),
212
+ },
213
+ }),
214
+ ],
209
215
  });
210
216
  ```
211
217
 
@@ -474,12 +480,15 @@ Tout d'abord, ajoutez `intlayerProxy` à votre configuration Vite :
474
480
 
475
481
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
476
482
  import { defineConfig } from "vite";
477
- import { intlayer, intlayerProxy } from "vite-intlayer";
483
+ import { intlayer } from "vite-intlayer";
478
484
 
479
485
  export default defineConfig({
480
486
  plugins: [
481
- intlayerProxy(), // should be placed first
482
- intlayer(),
487
+ intlayer({
488
+ proxy: {
489
+ ignore: (req) => req.url?.startsWith("/api"),
490
+ },
491
+ }),
483
492
  ],
484
493
  });
485
494
  ```
@@ -829,6 +829,8 @@ bun x intlayer extract
829
829
  </Tab>
830
830
  <Tab value='Compilateur Babel'>
831
831
 
832
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
833
+
832
834
  Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
833
835
 
834
836
  ```ts fileName="vite.config.ts"
@@ -838,7 +840,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
838
840
  export default defineConfig({
839
841
  plugins: [
840
842
  intlayer(),
841
- intlayerCompiler(), // Ajoute le plugin du compilateur
843
+ intlayerCompiler(), // Adds the compiler plugin
842
844
  ],
843
845
  });
844
846
  ```
@@ -504,14 +504,17 @@ En parallèle, vous pouvez également utiliser le `intlayerProxy` pour ajouter u
504
504
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
505
505
  import { defineConfig } from "vite";
506
506
  import react from "@vitejs/plugin-react-swc";
507
- import { intlayer, intlayerProxy } from "vite-intlayer";
507
+ import { intlayer } from "vite-intlayer";
508
508
 
509
509
  // https://vitejs.dev/config/
510
510
  export default defineConfig({
511
511
  plugins: [
512
- intlayerProxy(), // should be placed first
513
512
  react(),
514
- intlayer(),
513
+ intlayer({
514
+ proxy: {
515
+ ignore: (req) => req.url?.startsWith("/api"),
516
+ },
517
+ }),
515
518
  ],
516
519
  });
517
520
  ```
@@ -816,6 +819,8 @@ bun x intlayer extract
816
819
  </Tab>
817
820
  <Tab value='Compilateur Babel'>
818
821
 
822
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
823
+
819
824
  Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
820
825
 
821
826
  ```ts fileName="vite.config.ts"
@@ -825,7 +830,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
825
830
  export default defineConfig({
826
831
  plugins: [
827
832
  intlayer(),
828
- intlayerCompiler(), // Ajoute le plugin du compilateur
833
+ intlayerCompiler(), // Adds the compiler plugin
829
834
  ],
830
835
  });
831
836
  ```
@@ -213,11 +213,18 @@ Ajoutez le plugin intlayer dans votre configuration.
213
213
  ```typescript fileName="vite.config.ts"
214
214
  import { defineConfig } from "vite";
215
215
  import react from "@vitejs/plugin-react-swc";
216
- import { intlayer, intlayerCompiler } from "vite-intlayer";
216
+ import { intlayer } from "vite-intlayer";
217
217
 
218
218
  // https://vitejs.dev/config/
219
219
  export default defineConfig({
220
- plugins: [react(), intlayer(), intlayerCompiler()],
220
+ plugins: [
221
+ react(),
222
+ intlayer({
223
+ proxy: {
224
+ ignore: (req) => req.url?.startsWith("/api"),
225
+ },
226
+ }),
227
+ ],
221
228
  });
222
229
  ```
223
230
 
@@ -596,6 +596,8 @@ bun x intlayer extract
596
596
  </Tab>
597
597
  <Tab value='Compilateur Babel'>
598
598
 
599
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
600
+
599
601
  Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
600
602
 
601
603
  ```ts fileName="vite.config.ts"
@@ -605,7 +607,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
605
607
  export default defineConfig({
606
608
  plugins: [
607
609
  intlayer(),
608
- intlayerCompiler(), // Ajoute le plugin du compilateur
610
+ intlayerCompiler(), // Adds the compiler plugin
609
611
  ],
610
612
  });
611
613
  ```
@@ -458,14 +458,17 @@ En parallèle, vous pouvez également utiliser le `intlayerProxy` pour ajouter u
458
458
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
459
459
  import { defineConfig } from "vite";
460
460
  import { svelte } from "@sveltejs/vite-plugin-svelte";
461
- import { intlayer, intlayerProxy } from "vite-intlayer";
461
+ import { intlayer } from "vite-intlayer";
462
462
 
463
463
  // https://vitejs.dev/config/
464
464
  export default defineConfig({
465
465
  plugins: [
466
- intlayerProxy(), // should be placed first
467
466
  svelte(),
468
- intlayer(),
467
+ intlayer({
468
+ proxy: {
469
+ ignore: (req) => req.url?.startsWith("/api"),
470
+ },
471
+ }),
469
472
  ],
470
473
  });
471
474
  ```
@@ -597,6 +600,8 @@ bun x intlayer extract
597
600
  </Tab>
598
601
  <Tab value='Compilateur Babel'>
599
602
 
603
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
604
+
600
605
  Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
601
606
 
602
607
  ```ts fileName="vite.config.ts"
@@ -606,7 +611,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
606
611
  export default defineConfig({
607
612
  plugins: [
608
613
  intlayer(),
609
- intlayerCompiler(), // Ajoute le plugin du compilateur
614
+ intlayerCompiler(), // Adds the compiler plugin
610
615
  ],
611
616
  });
612
617
  ```
@@ -205,7 +205,13 @@ import { intlayer } from "vite-intlayer";
205
205
 
206
206
  // https://vitejs.dev/config/
207
207
  export default defineConfig({
208
- plugins: [intlayer()],
208
+ plugins: [
209
+ intlayer({
210
+ proxy: {
211
+ ignore: (req) => req.url?.startsWith("/api"),
212
+ },
213
+ }),
214
+ ],
209
215
  });
210
216
  ```
211
217
 
@@ -466,12 +472,15 @@ Tout d'abord, ajoutez `intlayerProxy` à votre config Vite :
466
472
 
467
473
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
468
474
  import { defineConfig } from "vite";
469
- import { intlayer, intlayerProxy } from "vite-intlayer";
475
+ import { intlayer } from "vite-intlayer";
470
476
 
471
477
  export default defineConfig({
472
478
  plugins: [
473
- intlayerProxy(), // doit être placé en premier
474
- intlayer(),
479
+ intlayer({
480
+ proxy: {
481
+ ignore: (req) => req.url?.startsWith("/api"),
482
+ },
483
+ }),
475
484
  ],
476
485
  });
477
486
  ```
@@ -603,6 +612,8 @@ bun x intlayer extract
603
612
  </Tab>
604
613
  <Tab value='Compilateur Babel'>
605
614
 
615
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
616
+
606
617
  Mettez à jour votre `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
607
618
 
608
619
  ```ts fileName="vite.config.ts"
@@ -612,7 +623,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
612
623
  export default defineConfig({
613
624
  plugins: [
614
625
  intlayer(),
615
- intlayerCompiler(), // Ajoute le plugin compilateur
626
+ intlayerCompiler(), // Adds the compiler plugin
616
627
  ],
617
628
  });
618
629
  ```
@@ -620,14 +620,17 @@ Parallèlement, vous pouvez également utiliser le `intlayerProxy` pour ajouter
620
620
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
621
621
  import { defineConfig } from "vite";
622
622
  import vue from "@vitejs/plugin-vue";
623
- import { intlayer, intlayerProxy } from "vite-intlayer";
623
+ import { intlayer } from "vite-intlayer";
624
624
 
625
625
  // https://vitejs.dev/config/
626
626
  export default defineConfig({
627
627
  plugins: [
628
- intlayerProxy(), // should be placed first
629
628
  vue(),
630
- intlayer(),
629
+ intlayer({
630
+ proxy: {
631
+ ignore: (req) => req.url?.startsWith("/api"),
632
+ },
633
+ }),
631
634
  ],
632
635
  });
633
636
  ```
@@ -952,6 +955,8 @@ bun x intlayer extract
952
955
  </Tab>
953
956
  <Tab value='Compilateur Babel'>
954
957
 
958
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
959
+
955
960
  Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
956
961
 
957
962
  ```ts fileName="vite.config.ts"
@@ -961,7 +966,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
961
966
  export default defineConfig({
962
967
  plugins: [
963
968
  intlayer(),
964
- intlayerCompiler(), // Ajoute le plugin du compilateur
969
+ intlayerCompiler(), // Adds the compiler plugin
965
970
  ],
966
971
  });
967
972
  ```
@@ -0,0 +1,131 @@
1
+ ---
2
+ createdAt: 2026-06-25
3
+ updatedAt: 2026-06-25
4
+ title: "Documentation du package @intlayer/babel"
5
+ description: Plugins Babel pour Intlayer afin de gérer l'extraction de contenu, l'optimisation des importations, la purge des champs inutilisés et le masquage des noms de champs lors de la construction.
6
+ keywords:
7
+ - "@intlayer/babel"
8
+ - babel
9
+ - plugin
10
+ - internationalisation
11
+ - i18n
12
+ - compilateur
13
+ - optimiser
14
+ - purger
15
+ - minifier
16
+ slugs:
17
+ - doc
18
+ - packages
19
+ - "@intlayer/babel"
20
+ - export
21
+ history:
22
+ - version: 9.0.0
23
+ date: 2026-06-25
24
+ changes: "Documentation unifiée de toutes les exportations"
25
+ author: aymericzip
26
+ ---
27
+
28
+ # Package @intlayer/babel
29
+
30
+ Le package `@intlayer/babel` fournit un ensemble de plugins Babel spécialisés pour Intlayer. Ces plugins couvrent l'ensemble du cycle de construction : extraction des déclarations de contenu, réécriture des appels `useIntlayer` / `getIntlayer` en importations de dictionnaires optimisés, purge des champs inutilisés et minification des noms de champs.
31
+
32
+ ## Installation
33
+
34
+ ```bash
35
+ npm install @intlayer/babel
36
+ ```
37
+
38
+ ## Exportations
39
+
40
+ Importation :
41
+
42
+ ```ts
43
+ import { ... } from "@intlayer/babel";
44
+ ```
45
+
46
+ ---
47
+
48
+ ### Plugins
49
+
50
+ | Fonction / Classe | Description |
51
+ | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52
+ | `intlayerExtractBabelPlugin` | Plugin Babel qui extrait le contenu traduisible des fichiers sources et injecte automatiquement les hooks `useIntlayer` / `getIntlayer`. Conçu pour être utilisé avec Next.js et les outils de construction basés sur Babel. |
53
+ | `intlayerOptimizeBabelPlugin` | Plugin Babel qui transforme les appels `useIntlayer` et `getIntlayer` et réécrit leurs importations en importations de dictionnaires JSON optimisées (statiques, dynamiques ou via fetch). |
54
+ | `intlayerPurgeBabelPlugin` | Plugin Babel qui analyse les fichiers sources et réécrit les fichiers JSON des dictionnaires compilés pour supprimer les champs inutilisés (`build.purge`) ou les renommer en alias courts (`build.minify`). |
55
+ | `intlayerMinifyBabelPlugin` | Plugin Babel qui réécrit les fichiers sources pour utiliser les alias de champs courts attribués pendant la phase de minification (par exemple, `content.title` ← `content.a`). Dépend de `intlayerPurgeBabelPlugin`. |
56
+ | `makeFieldRenameBabelPlugin` | Fonction factory qui produit un plugin Babel pour renommer les accès aux champs de contenu des dictionnaires dans les fichiers sources selon la `dictionaryKeyToFieldRenameMap` renseignée dans le `PruneContext`. |
57
+ | `makeUsageAnalyzerBabelPlugin` | Fonction factory qui produit un plugin Babel pour analyser l'utilisation de `useIntlayer` / `getIntlayer` dans le code source et regrouper les données d'utilisation des champs dans le `PruneContext` partagé. |
58
+ | `getSharedPruneContext` | Fonction utilitaire qui renvoie l'objet `PruneContext` partagé pour le répertoire de base spécifié, ou `null` si le contexte n'a pas encore été initialisé. |
59
+
60
+ ---
61
+
62
+ ### Utilitaires de configuration des plugins
63
+
64
+ | Fonction | Description |
65
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
66
+ | `getExtractPluginOptions` | Charge la configuration Intlayer et renvoie les `ExtractPluginOptions` prêtes à l'emploi avec `intlayerExtractBabelPlugin`. |
67
+ | `getOptimizePluginOptions` | Charge la configuration Intlayer et les dictionnaires compilés, et renvoie les `OptimizePluginOptions` prêtes à l'emploi avec `intlayerOptimizeBabelPlugin`. |
68
+ | `getPurgePluginOptions` | Charge la configuration Intlayer et renvoie les `PurgePluginOptions` prêtes à l'emploi avec `intlayerPurgeBabelPlugin`. |
69
+ | `getMinifyPluginOptions` | Charge la configuration Intlayer et renvoie les `MinifyPluginOptions` prêtes à l'emploi avec `intlayerMinifyBabelPlugin`. |
70
+
71
+ ---
72
+
73
+ ### Types
74
+
75
+ | Type | Description |
76
+ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
77
+ | `CompilerMode` | Mode du compilateur : `'dev'` pour le développement avec support HMR, ou `'build'` pour les builds de production. |
78
+ | `ExtractPluginOptions` | Options pour `intlayerExtractBabelPlugin` : liste des fichiers, configuration, callback `onExtract`, etc. |
79
+ | `ExtractResult` | Résultat de l'extraction : clé de dictionnaire, chemin du fichier, contenu et locale. |
80
+ | `OptimizePluginOptions` | Options pour `intlayerOptimizeBabelPlugin` : chemins des dictionnaires, mode d'importation, carte des modes par dictionnaire, etc. |
81
+ | `PurgePluginOptions` | Options pour `intlayerPurgeBabelPlugin` : répertoire de base, drapeaux purge/minify/optimize, liste des fichiers de composants. |
82
+ | `MinifyPluginOptions` | Options pour `intlayerMinifyBabelPlugin` : répertoire de base, drapeaux minify/optimize/editorEnabled. |
83
+ | `PruneContext` | État partagé entre les plugins d'analyse et de purge : cartes d'utilisation des champs, cartes de renommage, etc. |
84
+ | `DictionaryFieldUsage` | Résultat de l'utilisation des champs pour un seul dictionnaire : `Set<string>` ou `'all'` lorsque l'analyse statique n'est pas concluante. |
85
+ | `NestedRenameEntry` | Nœud dans l'arbre de renommage : le `shortName` et la carte des enfants. |
86
+ | `NestedRenameMap` | Un niveau dans l'arbre de renommage : `Map<string, NestedRenameEntry>`. |
87
+ | `CompatCallerConfig` | Configuration pour un analyseur d'utilisation compatible pour les packages compat-adapter (nom de l'appelant et options de traitement). |
88
+ | `ScriptBlock` | Bloc de script extrait d'un fichier SFC (Vue ou Svelte) : contenu, décalage de début et décalage de fin. |
89
+
90
+ ---
91
+
92
+ ### Fonctions utilitaires
93
+
94
+ | Fonction | Description |
95
+ | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
96
+ | `generateShortFieldName` | Convertit un entier (en commençant par zéro) en un identifiant alphabétique court : `0` → `'a'`, `25` → `'z'`, `26` → `'aa'`, etc. |
97
+ | `buildNestedRenameMapFromContent` | Construit de manière récursive une `NestedRenameMap` à partir de la valeur du contenu d'un dictionnaire compilé, en respectant les structures de nœuds Intlayer (translation, enumeration, etc.). |
98
+ | `createPruneContext` | Crée un nouvel objet `PruneContext` vide initialisé avec les valeurs par défaut. |
99
+ | `extractScriptBlocks` | Extrait les blocs `<script>` des fichiers SFC (Vue / Svelte) pour une analyse Babel ultérieure. |
100
+ | `BABEL_PARSER_OPTIONS` | Constante représentant les options du parseur Babel couvrant les frameworks pris en charge (React/Vue/Svelte/Angular/...). |
101
+ | `INTLAYER_CALLER_NAMES` | Liste constante des noms d'appelants originaux d'Intlayer : `['useIntlayer', 'getIntlayer']`. |
102
+
103
+ ---
104
+
105
+ ## Exemple d'utilisation
106
+
107
+ ```js
108
+ // babel.config.js
109
+ const {
110
+ intlayerExtractBabelPlugin,
111
+ intlayerPurgeBabelPlugin,
112
+ intlayerMinifyBabelPlugin,
113
+ intlayerOptimizeBabelPlugin,
114
+ getExtractPluginOptions,
115
+ getPurgePluginOptions,
116
+ getMinifyPluginOptions,
117
+ getOptimizePluginOptions,
118
+ } = require("@intlayer/babel");
119
+
120
+ module.exports = {
121
+ presets: ["next/babel"],
122
+ plugins: [
123
+ [intlayerExtractBabelPlugin, getExtractPluginOptions()],
124
+ [intlayerPurgeBabelPlugin, getPurgePluginOptions()],
125
+ [intlayerMinifyBabelPlugin, getMinifyPluginOptions()],
126
+ [intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
127
+ ],
128
+ };
129
+ ```
130
+
131
+ > **Note :** Le plugin `intlayerPurgeBabelPlugin` doit être déclaré **avant** `intlayerMinifyBabelPlugin`, car ce dernier lit la carte de renommage construite par le premier. De plus, ils doivent tous deux être précédés par `intlayerOptimizeBabelPlugin` afin que celui-ci puisse voir les clés de dictionnaire avant que les appels à `useIntlayer` ne soient réécrits.
@@ -0,0 +1,120 @@
1
+ ---
2
+ createdAt: 2026-06-25
3
+ updatedAt: 2026-06-25
4
+ title: Documentation du plugin Vite intlayerCompiler | vite-intlayer
5
+ description: Plugin Vite qui extrait les déclarations de contenu Intlayer en ligne des fichiers de composants et les écrit dans des fichiers JSON de dictionnaire lors du build ou de la phase de transformation.
6
+ keywords:
7
+ - intlayerCompiler
8
+ - vite
9
+ - plugin
10
+ - compilateur
11
+ - contenu
12
+ - dictionnaire
13
+ - internationalisation
14
+ - i18n
15
+ slugs:
16
+ - doc
17
+ - packages
18
+ - vite-intlayer
19
+ - intlayerCompiler
20
+ history:
21
+ - version: 9.0.0
22
+ date: 2026-06-25
23
+ changes: "Intégré dans intlayer() ; initialisation de la doc"
24
+ author: aymericzip
25
+ ---
26
+
27
+ # intlayerCompiler
28
+
29
+ `intlayerCompiler` est un plugin Vite qui scanne les fichiers sources des composants à la recherche de **déclarations de contenu Intlayer en ligne** — du contenu défini directement à l'intérieur d'un composant plutôt que dans un fichier `.content.ts` séparé — et les écrit dans des fichiers JSON de dictionnaire pendant la phase de transformation.
30
+
31
+ > **Depuis Intlayer v9**, `intlayerCompiler` est automatiquement inclus dans le plugin principal [`intlayer()`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/packages/vite-intlayer/intlayer.md) lorsque `compiler.enabled` est à `true` et que `compiler.output` est défini dans votre configuration Intlayer. Vous n'avez besoin de l'enregistrer séparément que si vous souhaitez un contrôle total sur la configuration spécifique au compilateur.
32
+
33
+ ## Utilisation
34
+
35
+ ### En tant que partie de `intlayer()` (recommandé, v9+)
36
+
37
+ Activez le compilateur via votre configuration Intlayer :
38
+
39
+ ```ts
40
+ // intlayer.config.ts
41
+ import { defineConfig } from "intlayer";
42
+
43
+ export default defineConfig({
44
+ compiler: {
45
+ enabled: true,
46
+ output: "./src/dictionaries", // où les dictionnaires extraits sont écrits
47
+ },
48
+ });
49
+ ```
50
+
51
+ Ensuite, utilisez le plugin standard sans enregistrement supplémentaire :
52
+
53
+ ```ts
54
+ // vite.config.ts
55
+ import { defineConfig } from "vite";
56
+ import { intlayer } from "vite-intlayer";
57
+
58
+ export default defineConfig({
59
+ plugins: [intlayer()],
60
+ });
61
+ ```
62
+
63
+ ### Autonome (si nécessaire)
64
+
65
+ ```ts
66
+ // vite.config.ts
67
+ import { defineConfig } from "vite";
68
+ import { intlayerCompiler } from "vite-intlayer";
69
+
70
+ export default defineConfig({
71
+ plugins: [intlayerCompiler()],
72
+ });
73
+ ```
74
+
75
+ ## Options
76
+
77
+ ```ts
78
+ import type { IntlayerCompilerOptions } from "vite-intlayer";
79
+ ```
80
+
81
+ | Option | Type | Description |
82
+ | ---------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------- |
83
+ | `configOptions` | `GetConfigurationOptions` | Surcharges de configuration Intlayer transmises à `getConfiguration()`. |
84
+ | `compilerConfig` | `Partial<CompilerConfig>` | Surcharges pour la section de configuration spécifique au compilateur (ex. `enabled`, `output`, `filesList`). |
85
+
86
+ ### Exemple
87
+
88
+ ```ts
89
+ intlayerCompiler({
90
+ configOptions: { configFile: "./config/intlayer.config.ts" },
91
+ compilerConfig: { enabled: true, output: "./src/dictionaries" },
92
+ });
93
+ ```
94
+
95
+ ## Comment ça fonctionne
96
+
97
+ ### Phase de transformation
98
+
99
+ Pour chaque fichier source qui correspond à `compiler.filesList`, le plugin du compilateur :
100
+
101
+ 1. Passe le contenu du fichier via `extractContent` de `@intlayer/babel`.
102
+ 2. Appelle `onExtract` pour chaque déclaration trouvée, ce qui écrit le JSON du dictionnaire résultant dans `compiler.output`.
103
+ 3. Renvoie le code source transformé avec les déclarations en ligne remplacées par des appels standard `useIntlayer('key')` / `getIntlayer('key')`.
104
+
105
+ Types de fichiers pris en charge : `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`, `.svelte`, `.astro`.
106
+
107
+ ### HMR (Hot Module Replacement)
108
+
109
+ Lorsqu'un fichier de composant est enregistré en mode développement, le compilateur :
110
+
111
+ 1. Détecte le changement de fichier via le hook `handleHotUpdate` de Vite.
112
+ 2. Extrait à nouveau le contenu du fichier mis à jour.
113
+ 3. Écrit le JSON du dictionnaire mis à jour.
114
+ 4. Déclenche un rechargement complet de la page (`server.ws.send({ type: 'full-reload' })`).
115
+
116
+ Un debounce de 500 ms empêche l'écriture du dictionnaire elle-même (qui déclenche également un événement de modification de fichier) de provoquer une boucle d'extraction infinie.
117
+
118
+ ### Dédoublonnage
119
+
120
+ `intlayerCompiler` utilise le même mécanisme de dédoublonnage `createPrimaryInstanceGuard` que les autres plugins intégrés. Lorsque `intlayer()` (qui intègre le compilateur) et un appel manuel à `intlayerCompiler()` sont tous deux présents, seule la première instance enregistrée s'exécute — aucun dictionnaire n'est écrit deux fois.