@intlayer/docs 8.4.10 → 8.5.1

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 (382) 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 +32 -25
  8. package/docs/ar/dictionary/markdown.md +33 -35
  9. package/docs/ar/intlayer_with_analog.md +10 -27
  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 +689 -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 +24 -8
  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 +689 -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 +689 -0
  31. package/docs/cs/intlayer_with_vite+vanilla.md +722 -0
  32. package/docs/de/compiler.md +6 -1
  33. package/docs/de/configuration.md +12 -9
  34. package/docs/de/dictionary/html.md +151 -26
  35. package/docs/de/dictionary/markdown.md +154 -42
  36. package/docs/de/intlayer_with_analog.md +10 -27
  37. package/docs/de/intlayer_with_angular.md +1 -12
  38. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  39. package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
  40. package/docs/de/intlayer_with_react_router_v7.md +6 -1
  41. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +6 -1
  42. package/docs/de/intlayer_with_storybook.md +2 -5
  43. package/docs/de/intlayer_with_svelte_kit.md +9 -5
  44. package/docs/de/intlayer_with_vite+lit.md +698 -0
  45. package/docs/de/intlayer_with_vite+react.md +16 -4
  46. package/docs/de/intlayer_with_vite+solid.md +1 -1
  47. package/docs/de/intlayer_with_vite+svelte.md +19 -6
  48. package/docs/de/intlayer_with_vite+vanilla.md +722 -0
  49. package/docs/de/intlayer_with_vite+vue.md +24 -8
  50. package/docs/de/packages/react-intlayer/MarkdownRenderer.md +1 -1
  51. package/docs/de/packages/svelte-intlayer/useRewriteURL.md +1 -1
  52. package/docs/de/releases/v8.md +27 -27
  53. package/docs/en/compiler.md +6 -1
  54. package/docs/en/configuration.md +12 -9
  55. package/docs/en/dictionary/html.md +152 -27
  56. package/docs/en/dictionary/markdown.md +154 -38
  57. package/docs/en/intlayer_with_analog.md +10 -27
  58. package/docs/en/intlayer_with_angular.md +1 -12
  59. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  60. package/docs/en/intlayer_with_nextjs_16.md +12 -3
  61. package/docs/en/intlayer_with_nextjs_compiler.md +16 -4
  62. package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
  63. package/docs/en/intlayer_with_react_router_v7.md +17 -4
  64. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +18 -4
  65. package/docs/en/intlayer_with_storybook.md +2 -5
  66. package/docs/en/intlayer_with_svelte_kit.md +21 -8
  67. package/docs/en/intlayer_with_tanstack.md +12 -3
  68. package/docs/en/intlayer_with_vite+lit.md +703 -0
  69. package/docs/en/intlayer_with_vite+preact.md +31 -3
  70. package/docs/en/intlayer_with_vite+react.md +28 -7
  71. package/docs/en/intlayer_with_vite+react_compiler.md +4 -1
  72. package/docs/en/intlayer_with_vite+solid.md +31 -3
  73. package/docs/en/intlayer_with_vite+svelte.md +30 -9
  74. package/docs/en/intlayer_with_vite+vanilla.md +725 -0
  75. package/docs/en/intlayer_with_vite+vue.md +41 -10
  76. package/docs/en/packages/react-intlayer/MarkdownRenderer.md +1 -1
  77. package/docs/en/packages/svelte-intlayer/useRewriteURL.md +1 -1
  78. package/docs/en/readme.md +1 -0
  79. package/docs/en/releases/v8.md +27 -27
  80. package/docs/en-GB/compiler.md +4 -1
  81. package/docs/en-GB/configuration.md +4 -1
  82. package/docs/en-GB/dictionary/html.md +32 -25
  83. package/docs/en-GB/dictionary/markdown.md +34 -36
  84. package/docs/en-GB/intlayer_with_analog.md +10 -27
  85. package/docs/en-GB/intlayer_with_angular.md +1 -12
  86. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  87. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  88. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -1
  89. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -1
  90. package/docs/en-GB/intlayer_with_storybook.md +2 -5
  91. package/docs/en-GB/intlayer_with_svelte_kit.md +9 -5
  92. package/docs/en-GB/intlayer_with_vite+lit.md +703 -0
  93. package/docs/en-GB/intlayer_with_vite+react.md +15 -3
  94. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  95. package/docs/en-GB/intlayer_with_vite+svelte.md +17 -5
  96. package/docs/en-GB/intlayer_with_vite+vanilla.md +725 -0
  97. package/docs/en-GB/intlayer_with_vite+vue.md +19 -7
  98. package/docs/en-GB/packages/react-intlayer/MarkdownRenderer.md +1 -1
  99. package/docs/en-GB/packages/svelte-intlayer/useRewriteURL.md +1 -1
  100. package/docs/en-GB/releases/v8.md +27 -27
  101. package/docs/es/compiler.md +6 -1
  102. package/docs/es/configuration.md +12 -9
  103. package/docs/es/dictionary/html.md +152 -27
  104. package/docs/es/dictionary/markdown.md +155 -43
  105. package/docs/es/intlayer_with_analog.md +10 -27
  106. package/docs/es/intlayer_with_angular.md +1 -12
  107. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  108. package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
  109. package/docs/es/intlayer_with_react_router_v7.md +6 -1
  110. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +6 -1
  111. package/docs/es/intlayer_with_storybook.md +2 -5
  112. package/docs/es/intlayer_with_svelte_kit.md +9 -5
  113. package/docs/es/intlayer_with_vite+lit.md +698 -0
  114. package/docs/es/intlayer_with_vite+react.md +16 -4
  115. package/docs/es/intlayer_with_vite+solid.md +1 -1
  116. package/docs/es/intlayer_with_vite+svelte.md +16 -6
  117. package/docs/es/intlayer_with_vite+vanilla.md +722 -0
  118. package/docs/es/intlayer_with_vite+vue.md +24 -8
  119. package/docs/es/packages/react-intlayer/MarkdownRenderer.md +1 -1
  120. package/docs/es/packages/svelte-intlayer/useRewriteURL.md +1 -1
  121. package/docs/es/releases/v8.md +27 -27
  122. package/docs/fr/compiler.md +8 -3
  123. package/docs/fr/configuration.md +12 -9
  124. package/docs/fr/dictionary/html.md +151 -26
  125. package/docs/fr/dictionary/markdown.md +155 -43
  126. package/docs/fr/intlayer_with_analog.md +10 -27
  127. package/docs/fr/intlayer_with_angular.md +1 -12
  128. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  129. package/docs/fr/intlayer_with_nextjs_page_router.md +1 -1
  130. package/docs/fr/intlayer_with_react_router_v7.md +6 -1
  131. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  132. package/docs/fr/intlayer_with_storybook.md +2 -5
  133. package/docs/fr/intlayer_with_svelte_kit.md +9 -5
  134. package/docs/fr/intlayer_with_vite+lit.md +698 -0
  135. package/docs/fr/intlayer_with_vite+react.md +16 -4
  136. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  137. package/docs/fr/intlayer_with_vite+svelte.md +19 -6
  138. package/docs/fr/intlayer_with_vite+vanilla.md +722 -0
  139. package/docs/fr/intlayer_with_vite+vue.md +24 -8
  140. package/docs/fr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  141. package/docs/fr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  142. package/docs/fr/releases/v8.md +27 -27
  143. package/docs/hi/dictionary/html.md +32 -25
  144. package/docs/hi/dictionary/markdown.md +35 -37
  145. package/docs/hi/intlayer_with_analog.md +10 -27
  146. package/docs/hi/intlayer_with_angular.md +1 -12
  147. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  148. package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
  149. package/docs/hi/intlayer_with_react_router_v7.md +6 -1
  150. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  151. package/docs/hi/intlayer_with_storybook.md +2 -5
  152. package/docs/hi/intlayer_with_svelte_kit.md +9 -5
  153. package/docs/hi/intlayer_with_vite+lit.md +689 -0
  154. package/docs/hi/intlayer_with_vite+react.md +16 -4
  155. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  156. package/docs/hi/intlayer_with_vite+svelte.md +13 -6
  157. package/docs/hi/intlayer_with_vite+vanilla.md +722 -0
  158. package/docs/hi/intlayer_with_vite+vue.md +24 -8
  159. package/docs/hi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  160. package/docs/hi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  161. package/docs/hi/releases/v8.md +27 -27
  162. package/docs/id/dictionary/html.md +32 -25
  163. package/docs/id/dictionary/markdown.md +35 -37
  164. package/docs/id/intlayer_with_analog.md +10 -27
  165. package/docs/id/intlayer_with_angular.md +1 -12
  166. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  167. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  168. package/docs/id/intlayer_with_react_router_v7.md +6 -1
  169. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +6 -1
  170. package/docs/id/intlayer_with_storybook.md +2 -5
  171. package/docs/id/intlayer_with_svelte_kit.md +9 -5
  172. package/docs/id/intlayer_with_vite+lit.md +689 -0
  173. package/docs/id/intlayer_with_vite+react.md +16 -4
  174. package/docs/id/intlayer_with_vite+solid.md +1 -1
  175. package/docs/id/intlayer_with_vite+svelte.md +13 -6
  176. package/docs/id/intlayer_with_vite+vanilla.md +722 -0
  177. package/docs/id/intlayer_with_vite+vue.md +19 -7
  178. package/docs/id/packages/react-intlayer/MarkdownRenderer.md +1 -1
  179. package/docs/id/packages/svelte-intlayer/useRewriteURL.md +1 -1
  180. package/docs/id/releases/v8.md +27 -27
  181. package/docs/it/compiler.md +8 -3
  182. package/docs/it/configuration.md +12 -9
  183. package/docs/it/dictionary/html.md +151 -26
  184. package/docs/it/dictionary/markdown.md +155 -39
  185. package/docs/it/intlayer_with_analog.md +10 -27
  186. package/docs/it/intlayer_with_angular.md +1 -12
  187. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  188. package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
  189. package/docs/it/intlayer_with_react_router_v7.md +6 -1
  190. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +6 -1
  191. package/docs/it/intlayer_with_storybook.md +2 -5
  192. package/docs/it/intlayer_with_svelte_kit.md +9 -5
  193. package/docs/it/intlayer_with_vite+lit.md +698 -0
  194. package/docs/it/intlayer_with_vite+react.md +16 -4
  195. package/docs/it/intlayer_with_vite+solid.md +1 -1
  196. package/docs/it/intlayer_with_vite+svelte.md +13 -6
  197. package/docs/it/intlayer_with_vite+vanilla.md +722 -0
  198. package/docs/it/intlayer_with_vite+vue.md +24 -8
  199. package/docs/it/packages/react-intlayer/MarkdownRenderer.md +1 -1
  200. package/docs/it/packages/svelte-intlayer/useRewriteURL.md +1 -1
  201. package/docs/it/releases/v8.md +27 -27
  202. package/docs/ja/dictionary/html.md +153 -29
  203. package/docs/ja/dictionary/markdown.md +154 -42
  204. package/docs/ja/intlayer_with_analog.md +10 -27
  205. package/docs/ja/intlayer_with_angular.md +1 -12
  206. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  207. package/docs/ja/intlayer_with_nextjs_page_router.md +1 -1
  208. package/docs/ja/intlayer_with_react_router_v7.md +6 -1
  209. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +6 -1
  210. package/docs/ja/intlayer_with_storybook.md +2 -5
  211. package/docs/ja/intlayer_with_vite+lit.md +698 -0
  212. package/docs/ja/intlayer_with_vite+solid.md +1 -1
  213. package/docs/ja/intlayer_with_vite+svelte.md +13 -6
  214. package/docs/ja/intlayer_with_vite+vanilla.md +722 -0
  215. package/docs/ja/intlayer_with_vite+vue.md +24 -8
  216. package/docs/ja/packages/react-intlayer/MarkdownRenderer.md +1 -1
  217. package/docs/ja/packages/svelte-intlayer/useRewriteURL.md +1 -1
  218. package/docs/ja/releases/v8.md +27 -27
  219. package/docs/ko/dictionary/html.md +154 -30
  220. package/docs/ko/dictionary/markdown.md +155 -43
  221. package/docs/ko/intlayer_with_analog.md +10 -27
  222. package/docs/ko/intlayer_with_angular.md +1 -12
  223. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  224. package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
  225. package/docs/ko/intlayer_with_react_router_v7.md +6 -1
  226. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +6 -1
  227. package/docs/ko/intlayer_with_storybook.md +2 -5
  228. package/docs/ko/intlayer_with_svelte_kit.md +9 -5
  229. package/docs/ko/intlayer_with_vite+lit.md +698 -0
  230. package/docs/ko/intlayer_with_vite+react.md +16 -4
  231. package/docs/ko/intlayer_with_vite+solid.md +1 -1
  232. package/docs/ko/intlayer_with_vite+svelte.md +13 -6
  233. package/docs/ko/intlayer_with_vite+vanilla.md +722 -0
  234. package/docs/ko/intlayer_with_vite+vue.md +24 -8
  235. package/docs/ko/packages/react-intlayer/MarkdownRenderer.md +1 -1
  236. package/docs/ko/packages/svelte-intlayer/useRewriteURL.md +1 -1
  237. package/docs/ko/releases/v8.md +27 -27
  238. package/docs/nl/intlayer_with_storybook.md +2 -5
  239. package/docs/nl/intlayer_with_vite+lit.md +689 -0
  240. package/docs/nl/intlayer_with_vite+vanilla.md +722 -0
  241. package/docs/pl/dictionary/html.md +151 -26
  242. package/docs/pl/dictionary/markdown.md +155 -43
  243. package/docs/pl/intlayer_with_analog.md +10 -27
  244. package/docs/pl/intlayer_with_angular.md +1 -12
  245. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  246. package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
  247. package/docs/pl/intlayer_with_react_router_v7.md +6 -1
  248. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +6 -1
  249. package/docs/pl/intlayer_with_storybook.md +2 -5
  250. package/docs/pl/intlayer_with_svelte_kit.md +9 -5
  251. package/docs/pl/intlayer_with_vite+lit.md +689 -0
  252. package/docs/pl/intlayer_with_vite+react.md +16 -4
  253. package/docs/pl/intlayer_with_vite+solid.md +1 -1
  254. package/docs/pl/intlayer_with_vite+svelte.md +13 -6
  255. package/docs/pl/intlayer_with_vite+vanilla.md +722 -0
  256. package/docs/pl/intlayer_with_vite+vue.md +19 -7
  257. package/docs/pl/packages/react-intlayer/MarkdownRenderer.md +1 -1
  258. package/docs/pl/packages/svelte-intlayer/useRewriteURL.md +1 -1
  259. package/docs/pl/releases/v8.md +27 -27
  260. package/docs/pt/compiler.md +7 -2
  261. package/docs/pt/configuration.md +11 -9
  262. package/docs/pt/dictionary/html.md +132 -26
  263. package/docs/pt/dictionary/markdown.md +155 -43
  264. package/docs/pt/intlayer_with_analog.md +10 -27
  265. package/docs/pt/intlayer_with_angular.md +1 -12
  266. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  267. package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
  268. package/docs/pt/intlayer_with_react_router_v7.md +6 -1
  269. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -1
  270. package/docs/pt/intlayer_with_storybook.md +2 -5
  271. package/docs/pt/intlayer_with_svelte_kit.md +9 -5
  272. package/docs/pt/intlayer_with_vite+lit.md +698 -0
  273. package/docs/pt/intlayer_with_vite+react.md +16 -4
  274. package/docs/pt/intlayer_with_vite+solid.md +1 -1
  275. package/docs/pt/intlayer_with_vite+svelte.md +16 -6
  276. package/docs/pt/intlayer_with_vite+vanilla.md +722 -0
  277. package/docs/pt/intlayer_with_vite+vue.md +24 -8
  278. package/docs/pt/packages/react-intlayer/MarkdownRenderer.md +1 -1
  279. package/docs/pt/packages/svelte-intlayer/useRewriteURL.md +1 -1
  280. package/docs/pt/releases/v8.md +27 -27
  281. package/docs/ru/dictionary/html.md +153 -29
  282. package/docs/ru/dictionary/markdown.md +155 -41
  283. package/docs/ru/intlayer_with_analog.md +10 -27
  284. package/docs/ru/intlayer_with_angular.md +1 -12
  285. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  286. package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
  287. package/docs/ru/intlayer_with_react_router_v7.md +6 -1
  288. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +6 -1
  289. package/docs/ru/intlayer_with_storybook.md +2 -5
  290. package/docs/ru/intlayer_with_svelte_kit.md +9 -5
  291. package/docs/ru/intlayer_with_vite+lit.md +698 -0
  292. package/docs/ru/intlayer_with_vite+react.md +16 -4
  293. package/docs/ru/intlayer_with_vite+solid.md +1 -1
  294. package/docs/ru/intlayer_with_vite+svelte.md +13 -6
  295. package/docs/ru/intlayer_with_vite+vanilla.md +722 -0
  296. package/docs/ru/intlayer_with_vite+vue.md +24 -8
  297. package/docs/ru/packages/react-intlayer/MarkdownRenderer.md +1 -1
  298. package/docs/ru/packages/svelte-intlayer/useRewriteURL.md +1 -1
  299. package/docs/ru/releases/v8.md +27 -27
  300. package/docs/tr/dictionary/html.md +134 -29
  301. package/docs/tr/dictionary/markdown.md +155 -41
  302. package/docs/tr/intlayer_with_analog.md +10 -27
  303. package/docs/tr/intlayer_with_angular.md +1 -12
  304. package/docs/tr/intlayer_with_nextjs_14.md +1 -1
  305. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  306. package/docs/tr/intlayer_with_react_router_v7.md +6 -1
  307. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  308. package/docs/tr/intlayer_with_storybook.md +2 -5
  309. package/docs/tr/intlayer_with_svelte_kit.md +9 -5
  310. package/docs/tr/intlayer_with_vite+lit.md +689 -0
  311. package/docs/tr/intlayer_with_vite+react.md +16 -4
  312. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  313. package/docs/tr/intlayer_with_vite+svelte.md +13 -6
  314. package/docs/tr/intlayer_with_vite+vanilla.md +722 -0
  315. package/docs/tr/intlayer_with_vite+vue.md +19 -7
  316. package/docs/tr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  317. package/docs/tr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  318. package/docs/tr/releases/v8.md +27 -27
  319. package/docs/uk/dictionary/html.md +32 -25
  320. package/docs/uk/dictionary/markdown.md +35 -37
  321. package/docs/uk/intlayer_with_analog.md +10 -27
  322. package/docs/uk/intlayer_with_angular.md +1 -12
  323. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  324. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  325. package/docs/uk/intlayer_with_react_router_v7.md +5 -1
  326. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +6 -1
  327. package/docs/uk/intlayer_with_storybook.md +2 -5
  328. package/docs/uk/intlayer_with_svelte_kit.md +9 -5
  329. package/docs/uk/intlayer_with_vite+lit.md +689 -0
  330. package/docs/uk/intlayer_with_vite+react.md +16 -4
  331. package/docs/uk/intlayer_with_vite+solid.md +1 -1
  332. package/docs/uk/intlayer_with_vite+svelte.md +18 -6
  333. package/docs/uk/intlayer_with_vite+vanilla.md +722 -0
  334. package/docs/uk/intlayer_with_vite+vue.md +19 -7
  335. package/docs/uk/packages/react-intlayer/MarkdownRenderer.md +1 -1
  336. package/docs/uk/packages/svelte-intlayer/useRewriteURL.md +1 -1
  337. package/docs/uk/releases/v8.md +27 -27
  338. package/docs/ur/intlayer_with_storybook.md +2 -5
  339. package/docs/ur/intlayer_with_vite+lit.md +689 -0
  340. package/docs/ur/intlayer_with_vite+vanilla.md +722 -0
  341. package/docs/vi/dictionary/html.md +32 -25
  342. package/docs/vi/dictionary/markdown.md +35 -37
  343. package/docs/vi/intlayer_with_analog.md +10 -27
  344. package/docs/vi/intlayer_with_angular.md +1 -12
  345. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  346. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  347. package/docs/vi/intlayer_with_react_router_v7.md +6 -1
  348. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  349. package/docs/vi/intlayer_with_storybook.md +2 -5
  350. package/docs/vi/intlayer_with_svelte_kit.md +9 -5
  351. package/docs/vi/intlayer_with_vite+lit.md +689 -0
  352. package/docs/vi/intlayer_with_vite+react.md +16 -4
  353. package/docs/vi/intlayer_with_vite+solid.md +1 -1
  354. package/docs/vi/intlayer_with_vite+svelte.md +17 -5
  355. package/docs/vi/intlayer_with_vite+vanilla.md +722 -0
  356. package/docs/vi/intlayer_with_vite+vue.md +19 -7
  357. package/docs/vi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  358. package/docs/vi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  359. package/docs/vi/releases/v8.md +27 -27
  360. package/docs/zh/compiler.md +8 -3
  361. package/docs/zh/configuration.md +4 -1
  362. package/docs/zh/dictionary/html.md +153 -29
  363. package/docs/zh/dictionary/markdown.md +155 -39
  364. package/docs/zh/intlayer_with_analog.md +10 -27
  365. package/docs/zh/intlayer_with_angular.md +1 -12
  366. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  367. package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
  368. package/docs/zh/intlayer_with_react_router_v7.md +6 -1
  369. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +6 -1
  370. package/docs/zh/intlayer_with_storybook.md +2 -5
  371. package/docs/zh/intlayer_with_svelte_kit.md +9 -5
  372. package/docs/zh/intlayer_with_vite+lit.md +698 -0
  373. package/docs/zh/intlayer_with_vite+react.md +16 -4
  374. package/docs/zh/intlayer_with_vite+solid.md +1 -1
  375. package/docs/zh/intlayer_with_vite+svelte.md +16 -6
  376. package/docs/zh/intlayer_with_vite+vanilla.md +722 -0
  377. package/docs/zh/intlayer_with_vite+vue.md +19 -7
  378. package/docs/zh/packages/react-intlayer/MarkdownRenderer.md +1 -1
  379. package/docs/zh/packages/svelte-intlayer/useRewriteURL.md +1 -1
  380. package/docs/zh/releases/v8.md +27 -27
  381. package/package.json +6 -6
  382. 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,12 @@ slugs:
17
17
  - content
18
18
  - markdown
19
19
  history:
20
+ - version: 8.5.0
21
+ date: 2026-03-24
22
+ changes: "Add `intlayerMarkdown` plugin object; use `app.use(intlayerMarkdown)` instead of `app.use(installIntlayerMarkdown)`"
23
+ - version: 8.5.0
24
+ date: 2026-03-24
25
+ changes: "move import from `{{framework}}-intlayer` to `{{framework}}-intlayer/markdown`"
20
26
  - version: 8.0.0
21
27
  date: 2026-01-22
22
28
  changes: "Add MarkdownRenderer / useMarkdownRenderer / renderMarkdown utility and forceInline option"
@@ -90,7 +96,7 @@ You can declare Markdown content using the `md` function or simply as a string (
90
96
 
91
97
  ---
92
98
 
93
- ## Part 2: Rendering Markdown
99
+ ## Rendering Markdown
94
100
 
95
101
  Rendering can be handled automatically by Intlayer's content system or manually using specialized tools.
96
102
 
@@ -213,7 +219,7 @@ If you need to render raw Markdown strings or have more control over the renderi
213
219
  Render a Markdown string with specific options.
214
220
 
215
221
  ```tsx
216
- import { MarkdownRenderer } from "react-intlayer";
222
+ import { MarkdownRenderer } from "react-intlayer/markdown";
217
223
 
218
224
  <MarkdownRenderer forceBlock={true} tagfilter={true}>
219
225
  {"# My Title"}
@@ -225,7 +231,7 @@ If you need to render raw Markdown strings or have more control over the renderi
225
231
  Get a pre-configured renderer function.
226
232
 
227
233
  ```tsx
228
- import { useMarkdownRenderer } from "react-intlayer";
234
+ import { useMarkdownRenderer } from "react-intlayer/markdown";
229
235
 
230
236
  const renderMarkdown = useMarkdownRenderer({
231
237
  forceBlock: true,
@@ -239,7 +245,7 @@ If you need to render raw Markdown strings or have more control over the renderi
239
245
  Standalone utility for rendering outside of components.
240
246
 
241
247
  ```tsx
242
- import { renderMarkdown } from "react-intlayer";
248
+ import { renderMarkdown } from "react-intlayer/markdown";
243
249
 
244
250
  const jsx = renderMarkdown("# My Title", { forceBlock: true });
245
251
  ```
@@ -251,7 +257,7 @@ If you need to render raw Markdown strings or have more control over the renderi
251
257
 
252
258
  ```vue
253
259
  <script setup>
254
- import { MarkdownRenderer } from "vue-intlayer";
260
+ import { MarkdownRenderer } from "vue-intlayer/markdown";
255
261
  </script>
256
262
 
257
263
  <template>
@@ -266,7 +272,7 @@ If you need to render raw Markdown strings or have more control over the renderi
266
272
 
267
273
  ```svelte
268
274
  <script lang="ts">
269
- import { MarkdownRenderer } from "svelte-intlayer";
275
+ import { MarkdownRenderer } from "svelte-intlayer/markdown";
270
276
  </script>
271
277
 
272
278
  <MarkdownRenderer forceBlock={true} value="# My Title" />
@@ -276,7 +282,7 @@ If you need to render raw Markdown strings or have more control over the renderi
276
282
 
277
283
  ```svelte
278
284
  <script lang="ts">
279
- import { useMarkdownRenderer } from "svelte-intlayer";
285
+ import { useMarkdownRenderer } from "svelte-intlayer/markdown";
280
286
  const render = useMarkdownRenderer();
281
287
  </script>
282
288
 
@@ -287,7 +293,7 @@ If you need to render raw Markdown strings or have more control over the renderi
287
293
 
288
294
  ```svelte
289
295
  <script lang="ts">
290
- import { renderMarkdown } from "svelte-intlayer";
296
+ import { renderMarkdown } from "svelte-intlayer/markdown";
291
297
  </script>
292
298
 
293
299
  {@html renderMarkdown("# My Title")}
@@ -298,7 +304,7 @@ If you need to render raw Markdown strings or have more control over the renderi
298
304
  #### `<MarkdownRenderer />` Component
299
305
 
300
306
  ```tsx
301
- import { MarkdownRenderer } from "preact-intlayer";
307
+ import { MarkdownRenderer } from "preact-intlayer/markdown";
302
308
 
303
309
  <MarkdownRenderer forceBlock={true}>
304
310
  {"# My Title"}
@@ -308,7 +314,7 @@ If you need to render raw Markdown strings or have more control over the renderi
308
314
  #### `useMarkdownRenderer()` Hook
309
315
 
310
316
  ```tsx
311
- import { useMarkdownRenderer } from "preact-intlayer";
317
+ import { useMarkdownRenderer } from "preact-intlayer/markdown";
312
318
 
313
319
  const render = useMarkdownRenderer();
314
320
 
@@ -318,7 +324,7 @@ If you need to render raw Markdown strings or have more control over the renderi
318
324
  #### `renderMarkdown()` Utility
319
325
 
320
326
  ```tsx
321
- import { renderMarkdown } from "preact-intlayer";
327
+ import { renderMarkdown } from "preact-intlayer/markdown";
322
328
 
323
329
  return <div>{renderMarkdown("# My Title")}</div>;
324
330
  ```
@@ -328,7 +334,7 @@ If you need to render raw Markdown strings or have more control over the renderi
328
334
  #### `<MarkdownRenderer />` Component
329
335
 
330
336
  ```tsx
331
- import { MarkdownRenderer } from "solid-intlayer";
337
+ import { MarkdownRenderer } from "solid-intlayer/markdown";
332
338
 
333
339
  <MarkdownRenderer forceBlock={true}>
334
340
  {"# My Title"}
@@ -338,7 +344,7 @@ If you need to render raw Markdown strings or have more control over the renderi
338
344
  #### `useMarkdownRenderer()` Hook
339
345
 
340
346
  ```tsx
341
- import { useMarkdownRenderer } from "solid-intlayer";
347
+ import { useMarkdownRenderer } from "solid-intlayer/markdown";
342
348
 
343
349
  const render = useMarkdownRenderer();
344
350
 
@@ -348,7 +354,7 @@ If you need to render raw Markdown strings or have more control over the renderi
348
354
  #### `renderMarkdown()` Utility
349
355
 
350
356
  ```tsx
351
- import { renderMarkdown } from "solid-intlayer";
357
+ import { renderMarkdown } from "solid-intlayer/markdown";
352
358
 
353
359
  return <div>{renderMarkdown("# My Title")}</div>;
354
360
  ```
@@ -359,7 +365,7 @@ If you need to render raw Markdown strings or have more control over the renderi
359
365
  Render a Markdown string using the service.
360
366
 
361
367
  ```typescript
362
- import { IntlayerMarkdownService } from "angular-intlayer";
368
+ import { IntlayerMarkdownService } from "angular-intlayer/markdown";
363
369
 
364
370
  export class MyComponent {
365
371
  constructor(private markdownService: IntlayerMarkdownService) {}
@@ -383,12 +389,10 @@ You can configure Markdown rendering globally for your entire application. This
383
389
  <Tab label="React / Next.js" value="react">
384
390
 
385
391
  ```tsx fileName="AppProvider.tsx"
386
- import { MarkdownProvider } from "react-intlayer";
392
+ import { MarkdownProvider } from "react-intlayer/markdown";
387
393
 
388
394
  export const AppProvider = ({ children }) => (
389
395
  <MarkdownProvider
390
- forceBlock={true}
391
- tagfilter={true}
392
396
  components={{
393
397
  h1: ({ children }) => <h1 className="text-2xl font-bold">{children}</h1>,
394
398
  a: ({ href, children }) => <Link to={href}>{children}</Link>,
@@ -399,43 +403,83 @@ You can configure Markdown rendering globally for your entire application. This
399
403
  );
400
404
  ```
401
405
 
406
+ You can also use your own markdown renderer:
407
+
408
+ ```tsx fileName="AppProvider.tsx"
409
+ import { MarkdownProvider } from "react-intlayer/markdown";
410
+
411
+ export const AppProvider = ({ children }) => (
412
+ <MarkdownProvider
413
+ renderMarkdown={async (md) => {
414
+ const { compileMarkdown } = await import('react-intlayer/markdown');
415
+ return compileMarkdown(md);
416
+ }}
417
+ >
418
+ {children}
419
+ </MarkdownProvider>
420
+ );
421
+ ```
422
+
423
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
424
+
402
425
  </Tab>
403
426
  <Tab label="Vue" value="vue">
404
427
 
405
428
  ```typescript fileName="main.ts"
406
429
  import { createApp } from "vue";
407
- import { installIntlayer, installIntlayerMarkdown } from "vue-intlayer";
430
+ import { intlayer } from "vue-intlayer";
431
+ import { intlayerMarkdown } from "vue-intlayer/markdown";
408
432
  import App from "./App.vue";
409
433
 
410
434
  const app = createApp(App);
411
435
 
412
- app.use(installIntlayer);
413
- app.use(installIntlayerMarkdown, {
414
- forceBlock: true,
415
- tagfilter: true,
436
+ app.use(intlayer);
437
+ app.use(intlayerMarkdown, {
416
438
  components: {
417
- h1: {
418
- component: "h1",
419
- props: { class: "text-2xl font-bold" },
420
- },
439
+ h1: (props) =>
440
+ h('h1', { style: { color: 'orange' }, ...props }, props.children),
441
+ ComponentDemo: () => h('div', { style: { background: 'grey' } }, 'DEMO'),
442
+ bold: (props) => h('strong', props),
443
+ code: (props) => h('code', props),
444
+ },
445
+ });
446
+
447
+ app.mount("#app");
448
+ ```
449
+
450
+ You can also use your own markdown renderer:
451
+
452
+ ```typescript fileName="main.ts"
453
+ import { createApp } from "vue";
454
+ import { intlayer } from "vue-intlayer";
455
+ import { intlayerMarkdown } from "vue-intlayer/markdown";
456
+ import App from "./App.vue";
457
+
458
+ const app = createApp(App);
459
+
460
+ app.use(intlayer);
461
+ app.use(intlayerMarkdown, {
462
+ renderMarkdown: async (md) => {
463
+ const { compileMarkdown } = await import('vue-intlayer/markdown');
464
+ return compileMarkdown(md);
421
465
  },
422
466
  });
423
467
 
424
468
  app.mount("#app");
425
469
  ```
426
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
 
436
482
  <MarkdownProvider
437
- forceBlock={true}
438
- tagfilter={true}
439
483
  components={{
440
484
  h1: MyHeading,
441
485
  }}
@@ -444,16 +488,33 @@ You can configure Markdown rendering globally for your entire application. This
444
488
  </MarkdownProvider>
445
489
  ```
446
490
 
491
+ You can also use your own markdown renderer:
492
+
493
+ ```svelte fileName="App.svelte"
494
+ <script lang="ts">
495
+ import { MarkdownProvider } from "svelte-intlayer/markdown";
496
+ </script>
497
+
498
+ <MarkdownProvider
499
+ renderMarkdown={async (md) => {
500
+ const { compileMarkdown } = await import('svelte-intlayer/markdown');
501
+ return compileMarkdown(md);
502
+ }}
503
+ >
504
+ <slot />
505
+ </MarkdownProvider>
506
+ ```
507
+
508
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
509
+
447
510
  </Tab>
448
511
  <Tab label="Preact" value="preact">
449
512
 
450
513
  ```tsx fileName="AppProvider.tsx"
451
- import { MarkdownProvider } from "preact-intlayer";
514
+ import { MarkdownProvider } from "preact-intlayer/markdown";
452
515
 
453
516
  export const AppProvider = ({ children }) => (
454
517
  <MarkdownProvider
455
- forceBlock={true}
456
- tagfilter={true}
457
518
  components={{
458
519
  h1: ({ children }) => <h1 className="text-2xl font-bold">{children}</h1>,
459
520
  }}
@@ -463,16 +524,33 @@ You can configure Markdown rendering globally for your entire application. This
463
524
  );
464
525
  ```
465
526
 
527
+ You can also use your own markdown renderer:
528
+
529
+ ```tsx fileName="AppProvider.tsx"
530
+ import { MarkdownProvider } from "preact-intlayer/markdown";
531
+
532
+ export const AppProvider = ({ children }) => (
533
+ <MarkdownProvider
534
+ renderMarkdown={async (md) => {
535
+ const { compileMarkdown } = await import('preact-intlayer/markdown');
536
+ return compileMarkdown(md);
537
+ }}
538
+ >
539
+ {children}
540
+ </MarkdownProvider>
541
+ );
542
+ ```
543
+
544
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
545
+
466
546
  </Tab>
467
547
  <Tab label="Solid" value="solid">
468
548
 
469
549
  ```tsx fileName="AppProvider.tsx"
470
- import { MarkdownProvider } from "solid-intlayer";
550
+ import { MarkdownProvider } from "solid-intlayer/markdown";
471
551
 
472
552
  export const AppProvider = (props) => (
473
553
  <MarkdownProvider
474
- forceBlock={true}
475
- tagfilter={true}
476
554
  components={{
477
555
  h1: (props) => <h1 className="text-2xl font-bold">{props.children}</h1>,
478
556
  }}
@@ -482,11 +560,30 @@ You can configure Markdown rendering globally for your entire application. This
482
560
  );
483
561
  ```
484
562
 
563
+ You can also use your own markdown renderer:
564
+
565
+ ```tsx fileName="AppProvider.tsx"
566
+ import { MarkdownProvider } from "solid-intlayer/markdown";
567
+
568
+ export const AppProvider = (props) => (
569
+ <MarkdownProvider
570
+ renderMarkdown={async (md) => {
571
+ const { compileMarkdown } = await import('solid-intlayer/markdown');
572
+ return compileMarkdown(md);
573
+ }}
574
+ >
575
+ {props.children}
576
+ </MarkdownProvider>
577
+ );
578
+ ```
579
+
580
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
581
+
485
582
  </Tab>
486
583
  <Tab label="Angular" value="angular">
487
584
 
488
585
  ```typescript fileName="app.config.ts"
489
- import { createIntlayerMarkdownProvider } from "angular-intlayer";
586
+ import { createIntlayerMarkdownProvider } from "angular-intlayer/markdown";
490
587
 
491
588
  export const appConfig: ApplicationConfig = {
492
589
  providers: [
@@ -499,6 +596,25 @@ You can configure Markdown rendering globally for your entire application. This
499
596
  };
500
597
  ```
501
598
 
599
+ You can also use your own markdown renderer:
600
+
601
+ ```typescript fileName="app.config.ts"
602
+ import { createIntlayerMarkdownProvider } from "angular-intlayer/markdown";
603
+
604
+ export const appConfig: ApplicationConfig = {
605
+ providers: [
606
+ createIntlayerMarkdownProvider({
607
+ renderMarkdown: async (md) => {
608
+ const { compileMarkdown } = await import('angular-intlayer/markdown');
609
+ return compileMarkdown(md);
610
+ },
611
+ }),
612
+ ],
613
+ };
614
+ ```
615
+
616
+ > Importing your Markdown renderer dynamically is a good way to reduce the bundle size of your application.
617
+
502
618
  </Tab>
503
619
  </Tabs>
504
620
 
@@ -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
@@ -23,6 +23,14 @@ history:
23
23
 
24
24
  # Translate your Analog (Angular) app using Intlayer | Internationalization (i18n)
25
25
 
26
+ <iframe
27
+ src="https://stackblitz.com/github/aymericzip/intlayer-analog-template?embed=1&ctl=1&file=intlayer.config.ts"
28
+ className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
29
+ title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
30
+ sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
31
+ loading="lazy"
32
+ />
33
+
26
34
  ## Table of Contents
27
35
 
28
36
  <TOC/>
@@ -42,21 +50,7 @@ With Intlayer, you can:
42
50
 
43
51
  ## Step-by-Step Guide to Set Up Intlayer in an Analog Application
44
52
 
45
- <Tabs defaultTab="code">
46
- <Tab label="Code" value="code">
47
-
48
- <iframe
49
- src="https://stackblitz.com/github/aymericzip/intlayer/tree/main/examples/vite-analog-app?embed=1&ctl=1&file=intlayer.config.ts"
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
- title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
52
- sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
53
- loading="lazy"
54
- />
55
-
56
- </Tab>
57
- </Tabs>
58
-
59
- See [Application Template](https://github.com/aymericzip/intlayer/tree/main/examples/analog-app-template) on GitHub.
53
+ See [Application Template](https://github.com/aymericzip/intlayer-analog-template) on GitHub.
60
54
 
61
55
  ### Step 1: Install Dependencies
62
56
 
@@ -271,17 +265,6 @@ import { useLocale } from "angular-intlayer";
271
265
  </select>
272
266
  </div>
273
267
  `,
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
268
  })
286
269
  export class LocaleSwitcherComponent {
287
270
  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