@intlayer/docs 8.4.9 → 8.5.0

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 (370) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +40 -0
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +40 -0
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +2 -0
  6. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  7. package/docs/ar/dictionary/html.md +22 -22
  8. package/docs/ar/dictionary/markdown.md +18 -18
  9. package/docs/ar/intlayer_with_analog.md +2 -13
  10. package/docs/ar/intlayer_with_angular.md +1 -12
  11. package/docs/ar/intlayer_with_nextjs_14.md +1 -1
  12. package/docs/ar/intlayer_with_nextjs_page_router.md +1 -1
  13. package/docs/ar/intlayer_with_react_router_v7.md +6 -1
  14. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +6 -1
  15. package/docs/ar/intlayer_with_storybook.md +2 -5
  16. package/docs/ar/intlayer_with_svelte_kit.md +9 -5
  17. package/docs/ar/intlayer_with_vite+lit.md +738 -0
  18. package/docs/ar/intlayer_with_vite+react.md +16 -4
  19. package/docs/ar/intlayer_with_vite+solid.md +1 -1
  20. package/docs/ar/intlayer_with_vite+svelte.md +13 -6
  21. package/docs/ar/intlayer_with_vite+vanilla.md +722 -0
  22. package/docs/ar/intlayer_with_vite+vue.md +21 -5
  23. package/docs/ar/packages/react-intlayer/MarkdownRenderer.md +1 -1
  24. package/docs/ar/packages/svelte-intlayer/useRewriteURL.md +1 -1
  25. package/docs/ar/releases/v8.md +27 -27
  26. package/docs/bn/intlayer_with_storybook.md +2 -5
  27. package/docs/bn/intlayer_with_vite+lit.md +738 -0
  28. package/docs/bn/intlayer_with_vite+vanilla.md +722 -0
  29. package/docs/cs/intlayer_with_storybook.md +2 -5
  30. package/docs/cs/intlayer_with_vite+lit.md +738 -0
  31. package/docs/cs/intlayer_with_vite+vanilla.md +722 -0
  32. package/docs/de/dictionary/html.md +146 -24
  33. package/docs/de/dictionary/markdown.md +143 -25
  34. package/docs/de/intlayer_with_analog.md +2 -13
  35. package/docs/de/intlayer_with_angular.md +1 -12
  36. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  37. package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
  38. package/docs/de/intlayer_with_react_router_v7.md +6 -1
  39. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +6 -1
  40. package/docs/de/intlayer_with_storybook.md +2 -5
  41. package/docs/de/intlayer_with_svelte_kit.md +9 -5
  42. package/docs/de/intlayer_with_vite+lit.md +747 -0
  43. package/docs/de/intlayer_with_vite+react.md +16 -4
  44. package/docs/de/intlayer_with_vite+solid.md +1 -1
  45. package/docs/de/intlayer_with_vite+svelte.md +19 -6
  46. package/docs/de/intlayer_with_vite+vanilla.md +722 -0
  47. package/docs/de/intlayer_with_vite+vue.md +21 -5
  48. package/docs/de/packages/react-intlayer/MarkdownRenderer.md +1 -1
  49. package/docs/de/packages/svelte-intlayer/useRewriteURL.md +1 -1
  50. package/docs/de/releases/v8.md +27 -27
  51. package/docs/en/compiler.md +4 -1
  52. package/docs/en/configuration.md +4 -1
  53. package/docs/en/dictionary/html.md +146 -24
  54. package/docs/en/dictionary/markdown.md +143 -21
  55. package/docs/en/intlayer_with_analog.md +3 -14
  56. package/docs/en/intlayer_with_angular.md +1 -12
  57. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  58. package/docs/en/intlayer_with_nextjs_16.md +12 -3
  59. package/docs/en/intlayer_with_nextjs_compiler.md +16 -4
  60. package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
  61. package/docs/en/intlayer_with_react_router_v7.md +17 -4
  62. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +18 -4
  63. package/docs/en/intlayer_with_storybook.md +2 -5
  64. package/docs/en/intlayer_with_svelte_kit.md +21 -8
  65. package/docs/en/intlayer_with_tanstack.md +12 -3
  66. package/docs/en/intlayer_with_vite+lit.md +750 -0
  67. package/docs/en/intlayer_with_vite+preact.md +31 -3
  68. package/docs/en/intlayer_with_vite+react.md +28 -7
  69. package/docs/en/intlayer_with_vite+react_compiler.md +4 -1
  70. package/docs/en/intlayer_with_vite+solid.md +31 -3
  71. package/docs/en/intlayer_with_vite+svelte.md +30 -9
  72. package/docs/en/intlayer_with_vite+vanilla.md +725 -0
  73. package/docs/en/intlayer_with_vite+vue.md +28 -7
  74. package/docs/en/packages/react-intlayer/MarkdownRenderer.md +1 -1
  75. package/docs/en/packages/svelte-intlayer/useRewriteURL.md +1 -1
  76. package/docs/en/readme.md +1 -0
  77. package/docs/en/releases/v8.md +27 -27
  78. package/docs/en-GB/compiler.md +4 -1
  79. package/docs/en-GB/configuration.md +4 -1
  80. package/docs/en-GB/dictionary/html.md +22 -22
  81. package/docs/en-GB/dictionary/markdown.md +18 -18
  82. package/docs/en-GB/intlayer_with_analog.md +2 -13
  83. package/docs/en-GB/intlayer_with_angular.md +1 -12
  84. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  85. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  86. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -1
  87. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -1
  88. package/docs/en-GB/intlayer_with_storybook.md +2 -5
  89. package/docs/en-GB/intlayer_with_svelte_kit.md +9 -5
  90. package/docs/en-GB/intlayer_with_vite+lit.md +750 -0
  91. package/docs/en-GB/intlayer_with_vite+react.md +15 -3
  92. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  93. package/docs/en-GB/intlayer_with_vite+svelte.md +17 -5
  94. package/docs/en-GB/intlayer_with_vite+vanilla.md +725 -0
  95. package/docs/en-GB/intlayer_with_vite+vue.md +16 -4
  96. package/docs/en-GB/packages/react-intlayer/MarkdownRenderer.md +1 -1
  97. package/docs/en-GB/packages/svelte-intlayer/useRewriteURL.md +1 -1
  98. package/docs/en-GB/releases/v8.md +27 -27
  99. package/docs/es/dictionary/html.md +147 -25
  100. package/docs/es/dictionary/markdown.md +143 -25
  101. package/docs/es/intlayer_with_analog.md +2 -13
  102. package/docs/es/intlayer_with_angular.md +1 -12
  103. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  104. package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
  105. package/docs/es/intlayer_with_react_router_v7.md +6 -1
  106. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +6 -1
  107. package/docs/es/intlayer_with_storybook.md +2 -5
  108. package/docs/es/intlayer_with_svelte_kit.md +9 -5
  109. package/docs/es/intlayer_with_vite+lit.md +747 -0
  110. package/docs/es/intlayer_with_vite+react.md +16 -4
  111. package/docs/es/intlayer_with_vite+solid.md +1 -1
  112. package/docs/es/intlayer_with_vite+svelte.md +16 -6
  113. package/docs/es/intlayer_with_vite+vanilla.md +722 -0
  114. package/docs/es/intlayer_with_vite+vue.md +21 -5
  115. package/docs/es/packages/react-intlayer/MarkdownRenderer.md +1 -1
  116. package/docs/es/packages/svelte-intlayer/useRewriteURL.md +1 -1
  117. package/docs/es/releases/v8.md +27 -27
  118. package/docs/fr/dictionary/html.md +146 -24
  119. package/docs/fr/dictionary/markdown.md +143 -25
  120. package/docs/fr/intlayer_with_analog.md +2 -13
  121. package/docs/fr/intlayer_with_angular.md +1 -12
  122. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  123. package/docs/fr/intlayer_with_nextjs_page_router.md +1 -1
  124. package/docs/fr/intlayer_with_react_router_v7.md +6 -1
  125. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  126. package/docs/fr/intlayer_with_storybook.md +2 -5
  127. package/docs/fr/intlayer_with_svelte_kit.md +9 -5
  128. package/docs/fr/intlayer_with_vite+lit.md +747 -0
  129. package/docs/fr/intlayer_with_vite+react.md +16 -4
  130. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  131. package/docs/fr/intlayer_with_vite+svelte.md +19 -6
  132. package/docs/fr/intlayer_with_vite+vanilla.md +722 -0
  133. package/docs/fr/intlayer_with_vite+vue.md +21 -5
  134. package/docs/fr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  135. package/docs/fr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  136. package/docs/fr/releases/v8.md +27 -27
  137. package/docs/hi/dictionary/html.md +22 -22
  138. package/docs/hi/dictionary/markdown.md +18 -18
  139. package/docs/hi/intlayer_with_analog.md +2 -13
  140. package/docs/hi/intlayer_with_angular.md +1 -12
  141. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  142. package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
  143. package/docs/hi/intlayer_with_react_router_v7.md +6 -1
  144. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  145. package/docs/hi/intlayer_with_storybook.md +2 -5
  146. package/docs/hi/intlayer_with_svelte_kit.md +9 -5
  147. package/docs/hi/intlayer_with_vite+lit.md +738 -0
  148. package/docs/hi/intlayer_with_vite+react.md +16 -4
  149. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  150. package/docs/hi/intlayer_with_vite+svelte.md +13 -6
  151. package/docs/hi/intlayer_with_vite+vanilla.md +722 -0
  152. package/docs/hi/intlayer_with_vite+vue.md +21 -5
  153. package/docs/hi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  154. package/docs/hi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  155. package/docs/hi/releases/v8.md +27 -27
  156. package/docs/id/dictionary/html.md +22 -22
  157. package/docs/id/dictionary/markdown.md +18 -18
  158. package/docs/id/intlayer_with_analog.md +2 -13
  159. package/docs/id/intlayer_with_angular.md +1 -12
  160. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  161. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  162. package/docs/id/intlayer_with_react_router_v7.md +6 -1
  163. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +6 -1
  164. package/docs/id/intlayer_with_storybook.md +2 -5
  165. package/docs/id/intlayer_with_svelte_kit.md +9 -5
  166. package/docs/id/intlayer_with_vite+lit.md +738 -0
  167. package/docs/id/intlayer_with_vite+react.md +16 -4
  168. package/docs/id/intlayer_with_vite+solid.md +1 -1
  169. package/docs/id/intlayer_with_vite+svelte.md +13 -6
  170. package/docs/id/intlayer_with_vite+vanilla.md +722 -0
  171. package/docs/id/intlayer_with_vite+vue.md +16 -4
  172. package/docs/id/packages/react-intlayer/MarkdownRenderer.md +1 -1
  173. package/docs/id/packages/svelte-intlayer/useRewriteURL.md +1 -1
  174. package/docs/id/releases/v8.md +27 -27
  175. package/docs/it/dictionary/html.md +146 -24
  176. package/docs/it/dictionary/markdown.md +143 -21
  177. package/docs/it/intlayer_with_analog.md +2 -13
  178. package/docs/it/intlayer_with_angular.md +1 -12
  179. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  180. package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
  181. package/docs/it/intlayer_with_react_router_v7.md +6 -1
  182. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +6 -1
  183. package/docs/it/intlayer_with_storybook.md +2 -5
  184. package/docs/it/intlayer_with_svelte_kit.md +9 -5
  185. package/docs/it/intlayer_with_vite+lit.md +747 -0
  186. package/docs/it/intlayer_with_vite+react.md +16 -4
  187. package/docs/it/intlayer_with_vite+solid.md +1 -1
  188. package/docs/it/intlayer_with_vite+svelte.md +13 -6
  189. package/docs/it/intlayer_with_vite+vanilla.md +722 -0
  190. package/docs/it/intlayer_with_vite+vue.md +21 -5
  191. package/docs/it/packages/react-intlayer/MarkdownRenderer.md +1 -1
  192. package/docs/it/packages/svelte-intlayer/useRewriteURL.md +1 -1
  193. package/docs/it/releases/v8.md +27 -27
  194. package/docs/ja/dictionary/html.md +148 -27
  195. package/docs/ja/dictionary/markdown.md +139 -24
  196. package/docs/ja/intlayer_with_analog.md +2 -13
  197. package/docs/ja/intlayer_with_angular.md +1 -12
  198. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  199. package/docs/ja/intlayer_with_nextjs_page_router.md +1 -1
  200. package/docs/ja/intlayer_with_react_router_v7.md +6 -1
  201. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +6 -1
  202. package/docs/ja/intlayer_with_storybook.md +2 -5
  203. package/docs/ja/intlayer_with_vite+lit.md +747 -0
  204. package/docs/ja/intlayer_with_vite+solid.md +1 -1
  205. package/docs/ja/intlayer_with_vite+svelte.md +13 -6
  206. package/docs/ja/intlayer_with_vite+vanilla.md +722 -0
  207. package/docs/ja/intlayer_with_vite+vue.md +21 -5
  208. package/docs/ja/packages/react-intlayer/MarkdownRenderer.md +1 -1
  209. package/docs/ja/packages/svelte-intlayer/useRewriteURL.md +1 -1
  210. package/docs/ja/releases/v8.md +27 -27
  211. package/docs/ko/dictionary/html.md +149 -28
  212. package/docs/ko/dictionary/markdown.md +143 -25
  213. package/docs/ko/intlayer_with_analog.md +2 -13
  214. package/docs/ko/intlayer_with_angular.md +1 -12
  215. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  216. package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
  217. package/docs/ko/intlayer_with_react_router_v7.md +6 -1
  218. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +6 -1
  219. package/docs/ko/intlayer_with_storybook.md +2 -5
  220. package/docs/ko/intlayer_with_svelte_kit.md +9 -5
  221. package/docs/ko/intlayer_with_vite+lit.md +747 -0
  222. package/docs/ko/intlayer_with_vite+react.md +16 -4
  223. package/docs/ko/intlayer_with_vite+solid.md +1 -1
  224. package/docs/ko/intlayer_with_vite+svelte.md +13 -6
  225. package/docs/ko/intlayer_with_vite+vanilla.md +722 -0
  226. package/docs/ko/intlayer_with_vite+vue.md +21 -5
  227. package/docs/ko/packages/react-intlayer/MarkdownRenderer.md +1 -1
  228. package/docs/ko/packages/svelte-intlayer/useRewriteURL.md +1 -1
  229. package/docs/ko/releases/v8.md +27 -27
  230. package/docs/nl/intlayer_with_storybook.md +2 -5
  231. package/docs/nl/intlayer_with_vite+lit.md +738 -0
  232. package/docs/nl/intlayer_with_vite+vanilla.md +722 -0
  233. package/docs/pl/dictionary/html.md +146 -24
  234. package/docs/pl/dictionary/markdown.md +143 -25
  235. package/docs/pl/intlayer_with_analog.md +2 -13
  236. package/docs/pl/intlayer_with_angular.md +1 -12
  237. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  238. package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
  239. package/docs/pl/intlayer_with_react_router_v7.md +6 -1
  240. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +6 -1
  241. package/docs/pl/intlayer_with_storybook.md +2 -5
  242. package/docs/pl/intlayer_with_svelte_kit.md +9 -5
  243. package/docs/pl/intlayer_with_vite+lit.md +738 -0
  244. package/docs/pl/intlayer_with_vite+react.md +16 -4
  245. package/docs/pl/intlayer_with_vite+solid.md +1 -1
  246. package/docs/pl/intlayer_with_vite+svelte.md +13 -6
  247. package/docs/pl/intlayer_with_vite+vanilla.md +722 -0
  248. package/docs/pl/intlayer_with_vite+vue.md +16 -4
  249. package/docs/pl/packages/react-intlayer/MarkdownRenderer.md +1 -1
  250. package/docs/pl/packages/svelte-intlayer/useRewriteURL.md +1 -1
  251. package/docs/pl/releases/v8.md +27 -27
  252. package/docs/pt/dictionary/html.md +127 -24
  253. package/docs/pt/dictionary/markdown.md +143 -25
  254. package/docs/pt/intlayer_with_analog.md +2 -13
  255. package/docs/pt/intlayer_with_angular.md +1 -12
  256. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  257. package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
  258. package/docs/pt/intlayer_with_react_router_v7.md +6 -1
  259. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -1
  260. package/docs/pt/intlayer_with_storybook.md +2 -5
  261. package/docs/pt/intlayer_with_svelte_kit.md +9 -5
  262. package/docs/pt/intlayer_with_vite+lit.md +747 -0
  263. package/docs/pt/intlayer_with_vite+react.md +16 -4
  264. package/docs/pt/intlayer_with_vite+solid.md +1 -1
  265. package/docs/pt/intlayer_with_vite+svelte.md +16 -6
  266. package/docs/pt/intlayer_with_vite+vanilla.md +722 -0
  267. package/docs/pt/intlayer_with_vite+vue.md +21 -5
  268. package/docs/pt/packages/react-intlayer/MarkdownRenderer.md +1 -1
  269. package/docs/pt/packages/svelte-intlayer/useRewriteURL.md +1 -1
  270. package/docs/pt/releases/v8.md +27 -27
  271. package/docs/ru/dictionary/html.md +148 -27
  272. package/docs/ru/dictionary/markdown.md +143 -23
  273. package/docs/ru/intlayer_with_analog.md +2 -13
  274. package/docs/ru/intlayer_with_angular.md +1 -12
  275. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  276. package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
  277. package/docs/ru/intlayer_with_react_router_v7.md +6 -1
  278. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +6 -1
  279. package/docs/ru/intlayer_with_storybook.md +2 -5
  280. package/docs/ru/intlayer_with_svelte_kit.md +9 -5
  281. package/docs/ru/intlayer_with_vite+lit.md +747 -0
  282. package/docs/ru/intlayer_with_vite+react.md +16 -4
  283. package/docs/ru/intlayer_with_vite+solid.md +1 -1
  284. package/docs/ru/intlayer_with_vite+svelte.md +13 -6
  285. package/docs/ru/intlayer_with_vite+vanilla.md +722 -0
  286. package/docs/ru/intlayer_with_vite+vue.md +21 -5
  287. package/docs/ru/packages/react-intlayer/MarkdownRenderer.md +1 -1
  288. package/docs/ru/packages/svelte-intlayer/useRewriteURL.md +1 -1
  289. package/docs/ru/releases/v8.md +27 -27
  290. package/docs/tr/dictionary/html.md +129 -27
  291. package/docs/tr/dictionary/markdown.md +143 -23
  292. package/docs/tr/intlayer_with_analog.md +2 -13
  293. package/docs/tr/intlayer_with_angular.md +1 -12
  294. package/docs/tr/intlayer_with_nextjs_14.md +1 -1
  295. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  296. package/docs/tr/intlayer_with_react_router_v7.md +6 -1
  297. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  298. package/docs/tr/intlayer_with_storybook.md +2 -5
  299. package/docs/tr/intlayer_with_svelte_kit.md +9 -5
  300. package/docs/tr/intlayer_with_vite+lit.md +738 -0
  301. package/docs/tr/intlayer_with_vite+react.md +16 -4
  302. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  303. package/docs/tr/intlayer_with_vite+svelte.md +13 -6
  304. package/docs/tr/intlayer_with_vite+vanilla.md +722 -0
  305. package/docs/tr/intlayer_with_vite+vue.md +16 -4
  306. package/docs/tr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  307. package/docs/tr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  308. package/docs/tr/releases/v8.md +27 -27
  309. package/docs/uk/dictionary/html.md +22 -22
  310. package/docs/uk/dictionary/markdown.md +18 -18
  311. package/docs/uk/intlayer_with_analog.md +2 -13
  312. package/docs/uk/intlayer_with_angular.md +1 -12
  313. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  314. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  315. package/docs/uk/intlayer_with_react_router_v7.md +5 -1
  316. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +6 -1
  317. package/docs/uk/intlayer_with_storybook.md +2 -5
  318. package/docs/uk/intlayer_with_svelte_kit.md +9 -5
  319. package/docs/uk/intlayer_with_vite+lit.md +738 -0
  320. package/docs/uk/intlayer_with_vite+react.md +16 -4
  321. package/docs/uk/intlayer_with_vite+solid.md +1 -1
  322. package/docs/uk/intlayer_with_vite+svelte.md +18 -6
  323. package/docs/uk/intlayer_with_vite+vanilla.md +722 -0
  324. package/docs/uk/intlayer_with_vite+vue.md +16 -4
  325. package/docs/uk/packages/react-intlayer/MarkdownRenderer.md +1 -1
  326. package/docs/uk/packages/svelte-intlayer/useRewriteURL.md +1 -1
  327. package/docs/uk/releases/v8.md +27 -27
  328. package/docs/ur/intlayer_with_storybook.md +2 -5
  329. package/docs/ur/intlayer_with_vite+lit.md +738 -0
  330. package/docs/ur/intlayer_with_vite+vanilla.md +722 -0
  331. package/docs/vi/dictionary/html.md +22 -22
  332. package/docs/vi/dictionary/markdown.md +18 -18
  333. package/docs/vi/intlayer_with_analog.md +2 -13
  334. package/docs/vi/intlayer_with_angular.md +1 -12
  335. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  336. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  337. package/docs/vi/intlayer_with_react_router_v7.md +6 -1
  338. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  339. package/docs/vi/intlayer_with_storybook.md +2 -5
  340. package/docs/vi/intlayer_with_svelte_kit.md +9 -5
  341. package/docs/vi/intlayer_with_vite+lit.md +738 -0
  342. package/docs/vi/intlayer_with_vite+react.md +16 -4
  343. package/docs/vi/intlayer_with_vite+solid.md +1 -1
  344. package/docs/vi/intlayer_with_vite+svelte.md +17 -5
  345. package/docs/vi/intlayer_with_vite+vanilla.md +722 -0
  346. package/docs/vi/intlayer_with_vite+vue.md +16 -4
  347. package/docs/vi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  348. package/docs/vi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  349. package/docs/vi/releases/v8.md +27 -27
  350. package/docs/zh/dictionary/html.md +148 -27
  351. package/docs/zh/dictionary/markdown.md +143 -21
  352. package/docs/zh/intlayer_with_analog.md +2 -13
  353. package/docs/zh/intlayer_with_angular.md +1 -12
  354. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  355. package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
  356. package/docs/zh/intlayer_with_react_router_v7.md +6 -1
  357. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +6 -1
  358. package/docs/zh/intlayer_with_storybook.md +2 -5
  359. package/docs/zh/intlayer_with_svelte_kit.md +9 -5
  360. package/docs/zh/intlayer_with_vite+lit.md +747 -0
  361. package/docs/zh/intlayer_with_vite+react.md +16 -4
  362. package/docs/zh/intlayer_with_vite+solid.md +1 -1
  363. package/docs/zh/intlayer_with_vite+svelte.md +16 -6
  364. package/docs/zh/intlayer_with_vite+vanilla.md +722 -0
  365. package/docs/zh/intlayer_with_vite+vue.md +16 -4
  366. package/docs/zh/packages/react-intlayer/MarkdownRenderer.md +1 -1
  367. package/docs/zh/packages/svelte-intlayer/useRewriteURL.md +1 -1
  368. package/docs/zh/releases/v8.md +27 -27
  369. package/package.json +8 -8
  370. package/src/generated/docs.entry.ts +40 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-02-07
3
- updatedAt: 2026-01-22
3
+ updatedAt: 2026-03-24
4
4
  title: Markdown
5
5
  description: Learn how to declare and use Markdown content in your multilingual website with Intlayer. Follow the steps in this online documentation to integrate Markdown seamlessly into your project.
6
6
  keywords:
@@ -17,6 +17,9 @@ slugs:
17
17
  - content
18
18
  - markdown
19
19
  history:
20
+ - version: 8.5.0
21
+ date: 2026-03-24
22
+ changes: "move import from `{{framework}}-intlayer` to `{{framework}}-intlayer/markdown`"
20
23
  - version: 8.0.0
21
24
  date: 2026-01-22
22
25
  changes: "Add MarkdownRenderer / useMarkdownRenderer / renderMarkdown utility and forceInline option"
@@ -213,7 +216,7 @@ If you need to render raw Markdown strings or have more control over the renderi
213
216
  Render a Markdown string with specific options.
214
217
 
215
218
  ```tsx
216
- import { MarkdownRenderer } from "react-intlayer";
219
+ import { MarkdownRenderer } from "react-intlayer/markdown";
217
220
 
218
221
  <MarkdownRenderer forceBlock={true} tagfilter={true}>
219
222
  {"# My Title"}
@@ -225,7 +228,7 @@ If you need to render raw Markdown strings or have more control over the renderi
225
228
  Get a pre-configured renderer function.
226
229
 
227
230
  ```tsx
228
- import { useMarkdownRenderer } from "react-intlayer";
231
+ import { useMarkdownRenderer } from "react-intlayer/markdown";
229
232
 
230
233
  const renderMarkdown = useMarkdownRenderer({
231
234
  forceBlock: true,
@@ -239,7 +242,7 @@ If you need to render raw Markdown strings or have more control over the renderi
239
242
  Standalone utility for rendering outside of components.
240
243
 
241
244
  ```tsx
242
- import { renderMarkdown } from "react-intlayer";
245
+ import { renderMarkdown } from "react-intlayer/markdown";
243
246
 
244
247
  const jsx = renderMarkdown("# My Title", { forceBlock: true });
245
248
  ```
@@ -251,7 +254,7 @@ If you need to render raw Markdown strings or have more control over the renderi
251
254
 
252
255
  ```vue
253
256
  <script setup>
254
- import { MarkdownRenderer } from "vue-intlayer";
257
+ import { MarkdownRenderer } from "vue-intlayer/markdown";
255
258
  </script>
256
259
 
257
260
  <template>
@@ -266,7 +269,7 @@ If you need to render raw Markdown strings or have more control over the renderi
266
269
 
267
270
  ```svelte
268
271
  <script lang="ts">
269
- import { MarkdownRenderer } from "svelte-intlayer";
272
+ import { MarkdownRenderer } from "svelte-intlayer/markdown";
270
273
  </script>
271
274
 
272
275
  <MarkdownRenderer forceBlock={true} value="# My Title" />
@@ -276,7 +279,7 @@ If you need to render raw Markdown strings or have more control over the renderi
276
279
 
277
280
  ```svelte
278
281
  <script lang="ts">
279
- import { useMarkdownRenderer } from "svelte-intlayer";
282
+ import { useMarkdownRenderer } from "svelte-intlayer/markdown";
280
283
  const render = useMarkdownRenderer();
281
284
  </script>
282
285
 
@@ -287,7 +290,7 @@ If you need to render raw Markdown strings or have more control over the renderi
287
290
 
288
291
  ```svelte
289
292
  <script lang="ts">
290
- import { renderMarkdown } from "svelte-intlayer";
293
+ import { renderMarkdown } from "svelte-intlayer/markdown";
291
294
  </script>
292
295
 
293
296
  {@html renderMarkdown("# My Title")}
@@ -298,7 +301,7 @@ If you need to render raw Markdown strings or have more control over the renderi
298
301
  #### `<MarkdownRenderer />` Component
299
302
 
300
303
  ```tsx
301
- import { MarkdownRenderer } from "preact-intlayer";
304
+ import { MarkdownRenderer } from "preact-intlayer/markdown";
302
305
 
303
306
  <MarkdownRenderer forceBlock={true}>
304
307
  {"# My Title"}
@@ -308,7 +311,7 @@ If you need to render raw Markdown strings or have more control over the renderi
308
311
  #### `useMarkdownRenderer()` Hook
309
312
 
310
313
  ```tsx
311
- import { useMarkdownRenderer } from "preact-intlayer";
314
+ import { useMarkdownRenderer } from "preact-intlayer/markdown";
312
315
 
313
316
  const render = useMarkdownRenderer();
314
317
 
@@ -318,7 +321,7 @@ If you need to render raw Markdown strings or have more control over the renderi
318
321
  #### `renderMarkdown()` Utility
319
322
 
320
323
  ```tsx
321
- import { renderMarkdown } from "preact-intlayer";
324
+ import { renderMarkdown } from "preact-intlayer/markdown";
322
325
 
323
326
  return <div>{renderMarkdown("# My Title")}</div>;
324
327
  ```
@@ -328,7 +331,7 @@ If you need to render raw Markdown strings or have more control over the renderi
328
331
  #### `<MarkdownRenderer />` Component
329
332
 
330
333
  ```tsx
331
- import { MarkdownRenderer } from "solid-intlayer";
334
+ import { MarkdownRenderer } from "solid-intlayer/markdown";
332
335
 
333
336
  <MarkdownRenderer forceBlock={true}>
334
337
  {"# My Title"}
@@ -338,7 +341,7 @@ If you need to render raw Markdown strings or have more control over the renderi
338
341
  #### `useMarkdownRenderer()` Hook
339
342
 
340
343
  ```tsx
341
- import { useMarkdownRenderer } from "solid-intlayer";
344
+ import { useMarkdownRenderer } from "solid-intlayer/markdown";
342
345
 
343
346
  const render = useMarkdownRenderer();
344
347
 
@@ -348,7 +351,7 @@ If you need to render raw Markdown strings or have more control over the renderi
348
351
  #### `renderMarkdown()` Utility
349
352
 
350
353
  ```tsx
351
- import { renderMarkdown } from "solid-intlayer";
354
+ import { renderMarkdown } from "solid-intlayer/markdown";
352
355
 
353
356
  return <div>{renderMarkdown("# My Title")}</div>;
354
357
  ```
@@ -359,7 +362,7 @@ If you need to render raw Markdown strings or have more control over the renderi
359
362
  Render a Markdown string using the service.
360
363
 
361
364
  ```typescript
362
- import { IntlayerMarkdownService } from "angular-intlayer";
365
+ import { IntlayerMarkdownService } from "angular-intlayer/markdown";
363
366
 
364
367
  export class MyComponent {
365
368
  constructor(private markdownService: IntlayerMarkdownService) {}
@@ -383,7 +386,7 @@ You can configure Markdown rendering globally for your entire application. This
383
386
  <Tab label="React / Next.js" value="react">
384
387
 
385
388
  ```tsx fileName="AppProvider.tsx"
386
- import { MarkdownProvider } from "react-intlayer";
389
+ import { MarkdownProvider } from "react-intlayer/markdown";
387
390
 
388
391
  export const AppProvider = ({ children }) => (
389
392
  <MarkdownProvider
@@ -399,12 +402,32 @@ You can configure Markdown rendering globally for your entire application. This
399
402
  );
400
403
  ```
401
404
 
405
+ You can also use your own markdown renderer:
406
+
407
+ ```tsx fileName="AppProvider.tsx"
408
+ import { MarkdownProvider } from "react-intlayer/markdown";
409
+
410
+ export const AppProvider = ({ children }) => (
411
+ <MarkdownProvider
412
+ renderMarkdown={async (md) => {
413
+ const { compileMarkdown } = await import('react-intlayer/markdown');
414
+ return compileMarkdown(md);
415
+ }}
416
+ >
417
+ {children}
418
+ </MarkdownProvider>
419
+ );
420
+ ```
421
+
422
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
423
+
402
424
  </Tab>
403
425
  <Tab label="Vue" value="vue">
404
426
 
405
427
  ```typescript fileName="main.ts"
406
428
  import { createApp } from "vue";
407
- import { installIntlayer, installIntlayerMarkdown } from "vue-intlayer";
429
+ import { installIntlayer } from "vue-intlayer";
430
+ import { installIntlayerMarkdown } from "vue-intlayer/markdown";
408
431
  import App from "./App.vue";
409
432
 
410
433
  const app = createApp(App);
@@ -424,12 +447,35 @@ You can configure Markdown rendering globally for your entire application. This
424
447
  app.mount("#app");
425
448
  ```
426
449
 
450
+ You can also use your own markdown renderer:
451
+
452
+ ```typescript fileName="main.ts"
453
+ import { createApp } from "vue";
454
+ import { installIntlayer } from "vue-intlayer";
455
+ import { installIntlayerMarkdown } from "vue-intlayer/markdown";
456
+ import App from "./App.vue";
457
+
458
+ const app = createApp(App);
459
+
460
+ app.use(installIntlayer);
461
+ app.use(installIntlayerMarkdown, {
462
+ renderMarkdown: async (md) => {
463
+ const { compileMarkdown } = await import('vue-intlayer/markdown');
464
+ return compileMarkdown(md);
465
+ },
466
+ });
467
+
468
+ app.mount("#app");
469
+ ```
470
+
471
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
472
+
427
473
  </Tab>
428
474
  <Tab label="Svelte" value="svelte">
429
475
 
430
476
  ```svelte fileName="App.svelte"
431
477
  <script lang="ts">
432
- import { MarkdownProvider } from "svelte-intlayer";
478
+ import { MarkdownProvider } from "svelte-intlayer/markdown";
433
479
  import MyHeading from "./MyHeading.svelte";
434
480
  </script>
435
481
 
@@ -444,11 +490,30 @@ You can configure Markdown rendering globally for your entire application. This
444
490
  </MarkdownProvider>
445
491
  ```
446
492
 
493
+ You can also use your own markdown renderer:
494
+
495
+ ```svelte fileName="App.svelte"
496
+ <script lang="ts">
497
+ import { MarkdownProvider } from "svelte-intlayer/markdown";
498
+ </script>
499
+
500
+ <MarkdownProvider
501
+ renderMarkdown={async (md) => {
502
+ const { compileMarkdown } = await import('svelte-intlayer/markdown');
503
+ return compileMarkdown(md);
504
+ }}
505
+ >
506
+ <slot />
507
+ </MarkdownProvider>
508
+ ```
509
+
510
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
511
+
447
512
  </Tab>
448
513
  <Tab label="Preact" value="preact">
449
514
 
450
515
  ```tsx fileName="AppProvider.tsx"
451
- import { MarkdownProvider } from "preact-intlayer";
516
+ import { MarkdownProvider } from "preact-intlayer/markdown";
452
517
 
453
518
  export const AppProvider = ({ children }) => (
454
519
  <MarkdownProvider
@@ -463,11 +528,30 @@ You can configure Markdown rendering globally for your entire application. This
463
528
  );
464
529
  ```
465
530
 
531
+ You can also use your own markdown renderer:
532
+
533
+ ```tsx fileName="AppProvider.tsx"
534
+ import { MarkdownProvider } from "preact-intlayer/markdown";
535
+
536
+ export const AppProvider = ({ children }) => (
537
+ <MarkdownProvider
538
+ renderMarkdown={async (md) => {
539
+ const { compileMarkdown } = await import('preact-intlayer/markdown');
540
+ return compileMarkdown(md);
541
+ }}
542
+ >
543
+ {children}
544
+ </MarkdownProvider>
545
+ );
546
+ ```
547
+
548
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
549
+
466
550
  </Tab>
467
551
  <Tab label="Solid" value="solid">
468
552
 
469
553
  ```tsx fileName="AppProvider.tsx"
470
- import { MarkdownProvider } from "solid-intlayer";
554
+ import { MarkdownProvider } from "solid-intlayer/markdown";
471
555
 
472
556
  export const AppProvider = (props) => (
473
557
  <MarkdownProvider
@@ -482,11 +566,30 @@ You can configure Markdown rendering globally for your entire application. This
482
566
  );
483
567
  ```
484
568
 
569
+ You can also use your own markdown renderer:
570
+
571
+ ```tsx fileName="AppProvider.tsx"
572
+ import { MarkdownProvider } from "solid-intlayer/markdown";
573
+
574
+ export const AppProvider = (props) => (
575
+ <MarkdownProvider
576
+ renderMarkdown={async (md) => {
577
+ const { compileMarkdown } = await import('solid-intlayer/markdown');
578
+ return compileMarkdown(md);
579
+ }}
580
+ >
581
+ {props.children}
582
+ </MarkdownProvider>
583
+ );
584
+ ```
585
+
586
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
587
+
485
588
  </Tab>
486
589
  <Tab label="Angular" value="angular">
487
590
 
488
591
  ```typescript fileName="app.config.ts"
489
- import { createIntlayerMarkdownProvider } from "angular-intlayer";
592
+ import { createIntlayerMarkdownProvider } from "angular-intlayer/markdown";
490
593
 
491
594
  export const appConfig: ApplicationConfig = {
492
595
  providers: [
@@ -499,6 +602,25 @@ You can configure Markdown rendering globally for your entire application. This
499
602
  };
500
603
  ```
501
604
 
605
+ You can also use your own markdown renderer:
606
+
607
+ ```typescript fileName="app.config.ts"
608
+ import { createIntlayerMarkdownProvider } from "angular-intlayer/markdown";
609
+
610
+ export const appConfig: ApplicationConfig = {
611
+ providers: [
612
+ createIntlayerMarkdownProvider({
613
+ renderMarkdown: async (md) => {
614
+ const { compileMarkdown } = await import('angular-intlayer/markdown');
615
+ return compileMarkdown(md);
616
+ },
617
+ }),
618
+ ],
619
+ };
620
+ ```
621
+
622
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
623
+
502
624
  </Tab>
503
625
  </Tabs>
504
626
 
@@ -14,7 +14,7 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - analog
17
- applicationTemplate: https://github.com/aymericzip/intlayer/tree/main/examples/analog-app-template
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-analog-template
18
18
  history:
19
19
  - version: 8.0.4
20
20
  date: 2026-01-26
@@ -46,7 +46,7 @@ With Intlayer, you can:
46
46
  <Tab label="Code" value="code">
47
47
 
48
48
  <iframe
49
- src="https://stackblitz.com/github/aymericzip/intlayer/tree/main/examples/vite-analog-app?embed=1&ctl=1&file=intlayer.config.ts"
49
+ src="https://stackblitz.com/github/aymericzip/intlayer-analog-template?embed=1&ctl=1&file=intlayer.config.ts"
50
50
  className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
51
51
  title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
52
52
  sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
@@ -56,7 +56,7 @@ With Intlayer, you can:
56
56
  </Tab>
57
57
  </Tabs>
58
58
 
59
- See [Application Template](https://github.com/aymericzip/intlayer/tree/main/examples/analog-app-template) on GitHub.
59
+ See [Application Template](https://github.com/aymericzip/intlayer-analog-template) on GitHub.
60
60
 
61
61
  ### Step 1: Install Dependencies
62
62
 
@@ -271,17 +271,6 @@ import { useLocale } from "angular-intlayer";
271
271
  </select>
272
272
  </div>
273
273
  `,
274
- styles: [
275
- `
276
- .locale-switcher {
277
- margin: 1rem;
278
- padding: 0.5rem;
279
- border: 1px solid #ccc;
280
- border-radius: 4px;
281
- width: fit-content;
282
- }
283
- `,
284
- ],
285
274
  })
286
275
  export class LocaleSwitcherComponent {
287
276
  localeCtx = useLocale();
@@ -204,7 +204,7 @@ import { mergeConfig } from "angular-intlayer/webpack";
204
204
  export default mergeConfig({});
205
205
  ```
206
206
 
207
- > The `mergeConfig` function configures Webpack with Intlayer. It injects the `IntlayerWebpackPlugin` (to handle content declaration files) and sets up aliases for optimal performance.
207
+ > The `mergeConfig` function configures Webpack with Intlayer. It injects the `IntlayerPlugin` (to handle content declaration files) and sets up aliases for optimal performance.
208
208
 
209
209
  ### Step 4: Declare Your Content
210
210
 
@@ -331,17 +331,6 @@ import { useLocale } from "angular-intlayer";
331
331
  </select>
332
332
  </div>
333
333
  `,
334
- styles: [
335
- `
336
- .locale-switcher {
337
- margin: 1rem;
338
- padding: 0.5rem;
339
- border: 1px solid #ccc;
340
- border-radius: 4px;
341
- width: fit-content;
342
- }
343
- `,
344
- ],
345
334
  })
346
335
  export class LocaleSwitcherComponent {
347
336
  localeCtx = useLocale();
@@ -1432,7 +1432,7 @@ Link.displayName = "Link";
1432
1432
 
1433
1433
  import { getLocalizedUrl } from 'intlayer';
1434
1434
  import NextLink, { type LinkProps as NextLinkProps } from 'next/link';
1435
- import { useLocale } from 'next-intlayer';
1435
+ import { useLocale } from "next-intlayer";
1436
1436
  import { forwardRef, PropsWithChildren, type ForwardedRef } from 'react';
1437
1437
 
1438
1438
  /**
@@ -1655,7 +1655,10 @@ const config: IntlayerConfig = {
1655
1655
 
1656
1656
  /**
1657
1657
  * Indicates if the components should be saved after being transformed.
1658
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
1658
+ *
1659
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
1660
+ *
1661
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
1659
1662
  */
1660
1663
  saveComponents: false,
1661
1664
 
@@ -1686,7 +1689,10 @@ const config = {
1686
1689
 
1687
1690
  /**
1688
1691
  * Indicates if the components should be saved after being transformed.
1689
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
1692
+ *
1693
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
1694
+ *
1695
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
1690
1696
  */
1691
1697
  saveComponents: false,
1692
1698
 
@@ -1717,7 +1723,10 @@ const config = {
1717
1723
 
1718
1724
  /**
1719
1725
  * Indicates if the components should be saved after being transformed.
1720
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
1726
+ *
1727
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
1728
+ *
1729
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
1721
1730
  */
1722
1731
  saveComponents: false,
1723
1732
 
@@ -152,7 +152,10 @@ const config: IntlayerConfig = {
152
152
 
153
153
  /**
154
154
  * Indicates if the components should be saved after being transformed.
155
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
155
+ *
156
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
157
+ *
158
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
156
159
  */
157
160
  saveComponents: false,
158
161
  },
@@ -483,7 +486,10 @@ const config: IntlayerConfig = {
483
486
 
484
487
  /**
485
488
  * Indicates if the components should be saved after being transformed.
486
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
489
+ *
490
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
491
+ *
492
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
487
493
  */
488
494
  saveComponents: false,
489
495
 
@@ -514,7 +520,10 @@ const config = {
514
520
 
515
521
  /**
516
522
  * Indicates if the components should be saved after being transformed.
517
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
523
+ *
524
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
525
+ *
526
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
518
527
  */
519
528
  saveComponents: false,
520
529
 
@@ -545,7 +554,10 @@ const config = {
545
554
 
546
555
  /**
547
556
  * Indicates if the components should be saved after being transformed.
548
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
557
+ *
558
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
559
+ *
560
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
549
561
  */
550
562
  saveComponents: false,
551
563
 
@@ -1345,7 +1345,7 @@ Link.displayName = "Link";
1345
1345
 
1346
1346
  import { getLocalizedUrl } from 'intlayer';
1347
1347
  import NextLink, { type LinkProps as NextLinkProps } from 'next/link';
1348
- import { useLocale } from 'next-intlayer';
1348
+ import { useLocale } from "next-intlayer";
1349
1349
  import { forwardRef, PropsWithChildren, type ForwardedRef } from 'react';
1350
1350
 
1351
1351
  /**
@@ -526,7 +526,11 @@ import { intlayer, intlayerProxy } from "vite-intlayer";
526
526
 
527
527
  // https://vitejs.dev/config/
528
528
  export default defineConfig({
529
- plugins: [react(), intlayer(), intlayerProxy()],
529
+ plugins: [
530
+ intlayerProxy(), // should be placed first
531
+ react(),
532
+ intlayer(),
533
+ ],
530
534
  });
531
535
  ```
532
536
 
@@ -556,7 +560,10 @@ const config: IntlayerConfig = {
556
560
 
557
561
  /**
558
562
  * Indicates if the components should be saved after being transformed.
559
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
563
+ *
564
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
565
+ *
566
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
560
567
  */
561
568
  saveComponents: false,
562
569
 
@@ -587,7 +594,10 @@ const config = {
587
594
 
588
595
  /**
589
596
  * Indicates if the components should be saved after being transformed.
590
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
597
+ *
598
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
599
+ *
600
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
591
601
  */
592
602
  saveComponents: false,
593
603
 
@@ -618,7 +628,10 @@ const config = {
618
628
 
619
629
  /**
620
630
  * Indicates if the components should be saved after being transformed.
621
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
631
+ *
632
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
633
+ *
634
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
622
635
  */
623
636
  saveComponents: false,
624
637
 
@@ -589,7 +589,12 @@ import { intlayer, intlayerProxy } from "vite-intlayer";
589
589
  import tsconfigPaths from "vite-tsconfig-paths";
590
590
 
591
591
  export default defineConfig({
592
- plugins: [reactRouter(), tsconfigPaths(), intlayer(), intlayerProxy()],
592
+ plugins: [
593
+ intlayerProxy(), // should be placed first
594
+ reactRouter(),
595
+ tsconfigPaths(),
596
+ intlayer(),
597
+ ],
593
598
  });
594
599
  ```
595
600
 
@@ -619,7 +624,10 @@ const config: IntlayerConfig = {
619
624
 
620
625
  /**
621
626
  * Indicates if the components should be saved after being transformed.
622
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
627
+ *
628
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
629
+ *
630
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
623
631
  */
624
632
  saveComponents: false,
625
633
 
@@ -650,7 +658,10 @@ const config = {
650
658
 
651
659
  /**
652
660
  * Indicates if the components should be saved after being transformed.
653
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
661
+ *
662
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
663
+ *
664
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
654
665
  */
655
666
  saveComponents: false,
656
667
 
@@ -681,7 +692,10 @@ const config = {
681
692
 
682
693
  /**
683
694
  * Indicates if the components should be saved after being transformed.
684
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
695
+ *
696
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
697
+ *
698
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
685
699
  */
686
700
  saveComponents: false,
687
701
 
@@ -265,7 +265,7 @@ For Webpack-based Storybook setups (e.g. `@storybook/react-webpack5`), extend th
265
265
 
266
266
  ```typescript fileName=".storybook/main.ts" codeFormat="typescript"
267
267
  import type { StorybookConfig } from "@storybook/react-webpack5";
268
- import { IntlayerWebpackPlugin } from "@intlayer/webpack";
268
+ import { IntlayerPlugin } from "@intlayer/webpack";
269
269
 
270
270
  const config: StorybookConfig = {
271
271
  stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
@@ -276,10 +276,7 @@ const config: StorybookConfig = {
276
276
  },
277
277
 
278
278
  webpackFinal: async (baseConfig) => {
279
- baseConfig.plugins = [
280
- ...(baseConfig.plugins ?? []),
281
- new IntlayerWebpackPlugin(),
282
- ];
279
+ baseConfig.plugins = [...(baseConfig.plugins ?? []), new IntlayerPlugin()];
283
280
  return baseConfig;
284
281
  },
285
282
  };