@intlayer/docs 8.3.0 → 8.3.2

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 (360) hide show
  1. package/blog/ar/i18n_using_next-i18next.md +1 -0
  2. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +0 -29
  3. package/blog/uk/internationalization_and_SEO.md +1 -1
  4. package/docs/ar/compiler.md +84 -49
  5. package/docs/ar/configuration.md +82 -58
  6. package/docs/ar/intlayer_with_analog.md +2 -2
  7. package/docs/ar/intlayer_with_angular.md +2 -2
  8. package/docs/ar/intlayer_with_astro.md +2 -2
  9. package/docs/ar/intlayer_with_lynx+react.md +2 -2
  10. package/docs/ar/intlayer_with_nextjs_16.md +174 -1
  11. package/docs/ar/intlayer_with_nextjs_compiler.md +174 -1
  12. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +4 -7
  13. package/docs/ar/intlayer_with_react_native+expo.md +2 -2
  14. package/docs/ar/intlayer_with_react_router_v7.md +224 -1
  15. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +225 -1
  16. package/docs/ar/intlayer_with_svelte_kit.md +175 -2
  17. package/docs/ar/intlayer_with_tanstack.md +176 -1
  18. package/docs/ar/intlayer_with_vite+preact.md +176 -3
  19. package/docs/ar/intlayer_with_vite+react.md +174 -1
  20. package/docs/ar/intlayer_with_vite+solid.md +176 -3
  21. package/docs/ar/intlayer_with_vite+svelte.md +176 -3
  22. package/docs/ar/intlayer_with_vite+vue.md +178 -5
  23. package/docs/ar/vs_code_extension.md +1 -1
  24. package/docs/de/compiler.md +83 -48
  25. package/docs/de/configuration.md +417 -214
  26. package/docs/de/intlayer_with_analog.md +2 -2
  27. package/docs/de/intlayer_with_angular.md +2 -2
  28. package/docs/de/intlayer_with_astro.md +2 -2
  29. package/docs/de/intlayer_with_lynx+react.md +2 -2
  30. package/docs/de/intlayer_with_nextjs_16.md +176 -1
  31. package/docs/de/intlayer_with_nextjs_compiler.md +106 -349
  32. package/docs/de/intlayer_with_react_native+expo.md +2 -2
  33. package/docs/de/intlayer_with_react_router_v7.md +225 -2
  34. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +221 -79
  35. package/docs/de/intlayer_with_svelte_kit.md +158 -2
  36. package/docs/de/intlayer_with_tanstack.md +159 -1
  37. package/docs/de/intlayer_with_vite+preact.md +159 -3
  38. package/docs/de/intlayer_with_vite+react.md +157 -1
  39. package/docs/de/intlayer_with_vite+solid.md +161 -5
  40. package/docs/de/intlayer_with_vite+svelte.md +159 -3
  41. package/docs/de/intlayer_with_vite+vue.md +159 -3
  42. package/docs/de/vs_code_extension.md +1 -1
  43. package/docs/en/compiler.md +60 -33
  44. package/docs/en/configuration.md +82 -77
  45. package/docs/en/intlayer_with_analog.md +1 -1
  46. package/docs/en/intlayer_with_angular.md +1 -1
  47. package/docs/en/intlayer_with_astro.md +1 -1
  48. package/docs/en/intlayer_with_lynx+react.md +1 -1
  49. package/docs/en/intlayer_with_nextjs_16.md +176 -0
  50. package/docs/en/intlayer_with_nextjs_compiler.md +179 -1
  51. package/docs/en/intlayer_with_react_native+expo.md +1 -1
  52. package/docs/en/intlayer_with_react_router_v7.md +159 -0
  53. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +159 -0
  54. package/docs/en/intlayer_with_svelte_kit.md +159 -0
  55. package/docs/en/intlayer_with_tanstack.md +160 -1
  56. package/docs/en/intlayer_with_vite+preact.md +160 -1
  57. package/docs/en/intlayer_with_vite+react.md +159 -0
  58. package/docs/en/intlayer_with_vite+solid.md +149 -28
  59. package/docs/en/intlayer_with_vite+svelte.md +160 -1
  60. package/docs/en/intlayer_with_vite+vue.md +143 -42
  61. package/docs/en/vs_code_extension.md +1 -1
  62. package/docs/en-GB/compiler.md +66 -34
  63. package/docs/en-GB/configuration.md +80 -57
  64. package/docs/en-GB/intlayer_with_analog.md +1 -1
  65. package/docs/en-GB/intlayer_with_angular.md +1 -1
  66. package/docs/en-GB/intlayer_with_astro.md +1 -1
  67. package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
  68. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  69. package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
  70. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  71. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  72. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  73. package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
  74. package/docs/en-GB/vs_code_extension.md +1 -1
  75. package/docs/es/compiler.md +83 -48
  76. package/docs/es/configuration.md +412 -208
  77. package/docs/es/intlayer_with_adonisjs.md +1 -1
  78. package/docs/es/intlayer_with_analog.md +2 -2
  79. package/docs/es/intlayer_with_angular.md +2 -2
  80. package/docs/es/intlayer_with_astro.md +2 -2
  81. package/docs/es/intlayer_with_express.md +1 -1
  82. package/docs/es/intlayer_with_fastify.md +1 -1
  83. package/docs/es/intlayer_with_hono.md +1 -1
  84. package/docs/es/intlayer_with_lynx+react.md +2 -2
  85. package/docs/es/intlayer_with_nestjs.md +1 -1
  86. package/docs/es/intlayer_with_nextjs_16.md +176 -3
  87. package/docs/es/intlayer_with_nextjs_compiler.md +175 -2
  88. package/docs/es/intlayer_with_nuxt.md +1 -1
  89. package/docs/es/intlayer_with_react_native+expo.md +2 -2
  90. package/docs/es/intlayer_with_react_router_v7.md +227 -4
  91. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +162 -4
  92. package/docs/es/intlayer_with_svelte_kit.md +158 -2
  93. package/docs/es/intlayer_with_tanstack.md +160 -2
  94. package/docs/es/intlayer_with_vite+preact.md +164 -8
  95. package/docs/es/intlayer_with_vite+react.md +160 -4
  96. package/docs/es/intlayer_with_vite+solid.md +165 -9
  97. package/docs/es/intlayer_with_vite+svelte.md +159 -3
  98. package/docs/es/intlayer_with_vite+vue.md +169 -13
  99. package/docs/es/vs_code_extension.md +1 -1
  100. package/docs/fr/compiler.md +81 -46
  101. package/docs/fr/configuration.md +351 -149
  102. package/docs/fr/intlayer_with_adonisjs.md +1 -1
  103. package/docs/fr/intlayer_with_analog.md +2 -2
  104. package/docs/fr/intlayer_with_angular.md +2 -2
  105. package/docs/fr/intlayer_with_astro.md +2 -2
  106. package/docs/fr/intlayer_with_express.md +1 -1
  107. package/docs/fr/intlayer_with_fastify.md +1 -1
  108. package/docs/fr/intlayer_with_hono.md +1 -1
  109. package/docs/fr/intlayer_with_lynx+react.md +2 -2
  110. package/docs/fr/intlayer_with_nestjs.md +1 -1
  111. package/docs/fr/intlayer_with_nextjs_16.md +183 -7
  112. package/docs/fr/intlayer_with_nextjs_compiler.md +179 -3
  113. package/docs/fr/intlayer_with_react_native+expo.md +2 -2
  114. package/docs/fr/intlayer_with_react_router_v7.md +229 -3
  115. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +237 -6
  116. package/docs/fr/intlayer_with_svelte_kit.md +158 -2
  117. package/docs/fr/intlayer_with_tanstack.md +159 -1
  118. package/docs/fr/intlayer_with_vite+preact.md +166 -10
  119. package/docs/fr/intlayer_with_vite+react.md +163 -7
  120. package/docs/fr/intlayer_with_vite+solid.md +165 -9
  121. package/docs/fr/intlayer_with_vite+svelte.md +159 -3
  122. package/docs/fr/intlayer_with_vite+vue.md +168 -12
  123. package/docs/fr/vs_code_extension.md +1 -1
  124. package/docs/hi/compiler.md +81 -46
  125. package/docs/hi/configuration.md +89 -65
  126. package/docs/hi/intlayer_with_analog.md +1 -1
  127. package/docs/hi/intlayer_with_angular.md +2 -2
  128. package/docs/hi/intlayer_with_astro.md +2 -2
  129. package/docs/hi/intlayer_with_lynx+react.md +2 -2
  130. package/docs/hi/intlayer_with_nextjs_16.md +174 -1
  131. package/docs/hi/intlayer_with_nextjs_compiler.md +174 -1
  132. package/docs/hi/intlayer_with_react_native+expo.md +2 -2
  133. package/docs/hi/intlayer_with_react_router_v7.md +224 -1
  134. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +225 -1
  135. package/docs/hi/intlayer_with_svelte_kit.md +158 -2
  136. package/docs/hi/intlayer_with_tanstack.md +159 -1
  137. package/docs/hi/intlayer_with_vite+preact.md +159 -3
  138. package/docs/hi/intlayer_with_vite+react.md +157 -1
  139. package/docs/hi/intlayer_with_vite+solid.md +159 -3
  140. package/docs/hi/intlayer_with_vite+svelte.md +159 -3
  141. package/docs/hi/intlayer_with_vite+vue.md +159 -3
  142. package/docs/hi/vs_code_extension.md +1 -1
  143. package/docs/id/compiler.md +84 -51
  144. package/docs/id/configuration.md +85 -65
  145. package/docs/id/intlayer_with_analog.md +2 -2
  146. package/docs/id/intlayer_with_angular.md +2 -2
  147. package/docs/id/intlayer_with_astro.md +2 -2
  148. package/docs/id/intlayer_with_lynx+react.md +2 -2
  149. package/docs/id/intlayer_with_nextjs_16.md +174 -1
  150. package/docs/id/intlayer_with_nextjs_compiler.md +174 -1
  151. package/docs/id/intlayer_with_react_native+expo.md +2 -2
  152. package/docs/id/intlayer_with_react_router_v7.md +224 -1
  153. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +225 -1
  154. package/docs/id/intlayer_with_svelte_kit.md +158 -2
  155. package/docs/id/intlayer_with_tanstack.md +159 -1
  156. package/docs/id/intlayer_with_vite+preact.md +159 -3
  157. package/docs/id/intlayer_with_vite+react.md +159 -3
  158. package/docs/id/intlayer_with_vite+solid.md +159 -3
  159. package/docs/id/intlayer_with_vite+svelte.md +159 -3
  160. package/docs/id/intlayer_with_vite+vue.md +159 -3
  161. package/docs/id/vs_code_extension.md +1 -1
  162. package/docs/it/compiler.md +81 -46
  163. package/docs/it/configuration.md +410 -208
  164. package/docs/it/intlayer_with_analog.md +2 -2
  165. package/docs/it/intlayer_with_angular.md +2 -2
  166. package/docs/it/intlayer_with_astro.md +2 -2
  167. package/docs/it/intlayer_with_lynx+react.md +2 -2
  168. package/docs/it/intlayer_with_nextjs_16.md +174 -1
  169. package/docs/it/intlayer_with_nextjs_compiler.md +174 -1
  170. package/docs/it/intlayer_with_react_native+expo.md +2 -2
  171. package/docs/it/intlayer_with_react_router_v7.md +225 -2
  172. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +226 -2
  173. package/docs/it/intlayer_with_svelte_kit.md +158 -2
  174. package/docs/it/intlayer_with_tanstack.md +159 -1
  175. package/docs/it/intlayer_with_vite+preact.md +159 -3
  176. package/docs/it/intlayer_with_vite+react.md +159 -3
  177. package/docs/it/intlayer_with_vite+solid.md +161 -5
  178. package/docs/it/intlayer_with_vite+svelte.md +159 -3
  179. package/docs/it/intlayer_with_vite+vue.md +161 -5
  180. package/docs/it/vs_code_extension.md +1 -1
  181. package/docs/ja/compiler.md +94 -58
  182. package/docs/ja/configuration.md +90 -66
  183. package/docs/ja/intlayer_with_analog.md +2 -2
  184. package/docs/ja/intlayer_with_angular.md +2 -2
  185. package/docs/ja/intlayer_with_astro.md +2 -2
  186. package/docs/ja/intlayer_with_lynx+react.md +2 -2
  187. package/docs/ja/intlayer_with_nextjs_16.md +174 -1
  188. package/docs/ja/intlayer_with_nextjs_compiler.md +174 -1
  189. package/docs/ja/intlayer_with_react_native+expo.md +2 -2
  190. package/docs/ja/intlayer_with_react_router_v7.md +184 -394
  191. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +226 -2
  192. package/docs/ja/intlayer_with_svelte_kit.md +119 -595
  193. package/docs/ja/intlayer_with_tanstack.md +131 -642
  194. package/docs/ja/intlayer_with_vite+preact.md +111 -1231
  195. package/docs/ja/intlayer_with_vite+react.md +129 -1304
  196. package/docs/ja/intlayer_with_vite+solid.md +161 -5
  197. package/docs/ja/intlayer_with_vite+svelte.md +159 -3
  198. package/docs/ja/intlayer_with_vite+vue.md +159 -3
  199. package/docs/ja/vs_code_extension.md +1 -1
  200. package/docs/ko/compiler.md +88 -52
  201. package/docs/ko/configuration.md +89 -65
  202. package/docs/ko/intlayer_with_analog.md +2 -2
  203. package/docs/ko/intlayer_with_angular.md +2 -2
  204. package/docs/ko/intlayer_with_astro.md +2 -2
  205. package/docs/ko/intlayer_with_lynx+react.md +2 -2
  206. package/docs/ko/intlayer_with_nextjs_16.md +174 -1
  207. package/docs/ko/intlayer_with_nextjs_compiler.md +174 -1
  208. package/docs/ko/intlayer_with_react_native+expo.md +2 -2
  209. package/docs/ko/intlayer_with_react_router_v7.md +225 -2
  210. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +226 -2
  211. package/docs/ko/intlayer_with_svelte_kit.md +158 -2
  212. package/docs/ko/intlayer_with_tanstack.md +159 -1
  213. package/docs/ko/intlayer_with_vite+preact.md +159 -3
  214. package/docs/ko/intlayer_with_vite+react.md +157 -1
  215. package/docs/ko/intlayer_with_vite+solid.md +161 -5
  216. package/docs/ko/intlayer_with_vite+svelte.md +159 -3
  217. package/docs/ko/intlayer_with_vite+vue.md +159 -3
  218. package/docs/ko/vs_code_extension.md +1 -1
  219. package/docs/pl/compiler.md +84 -51
  220. package/docs/pl/configuration.md +85 -57
  221. package/docs/pl/intlayer_with_analog.md +2 -2
  222. package/docs/pl/intlayer_with_angular.md +2 -2
  223. package/docs/pl/intlayer_with_astro.md +2 -2
  224. package/docs/pl/intlayer_with_lynx+react.md +2 -2
  225. package/docs/pl/intlayer_with_nextjs_16.md +174 -1
  226. package/docs/pl/intlayer_with_nextjs_compiler.md +174 -1
  227. package/docs/pl/intlayer_with_react_native+expo.md +2 -2
  228. package/docs/pl/intlayer_with_react_router_v7.md +224 -1
  229. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +225 -1
  230. package/docs/pl/intlayer_with_svelte_kit.md +158 -2
  231. package/docs/pl/intlayer_with_tanstack.md +159 -1
  232. package/docs/pl/intlayer_with_vite+preact.md +158 -2
  233. package/docs/pl/intlayer_with_vite+react.md +159 -3
  234. package/docs/pl/intlayer_with_vite+solid.md +159 -3
  235. package/docs/pl/intlayer_with_vite+svelte.md +159 -3
  236. package/docs/pl/intlayer_with_vite+vue.md +161 -5
  237. package/docs/pl/vs_code_extension.md +1 -1
  238. package/docs/pt/compiler.md +81 -46
  239. package/docs/pt/configuration.md +399 -199
  240. package/docs/pt/intlayer_with_analog.md +2 -2
  241. package/docs/pt/intlayer_with_angular.md +2 -2
  242. package/docs/pt/intlayer_with_astro.md +2 -2
  243. package/docs/pt/intlayer_with_lynx+react.md +2 -2
  244. package/docs/pt/intlayer_with_nextjs_16.md +174 -1
  245. package/docs/pt/intlayer_with_nextjs_compiler.md +174 -1
  246. package/docs/pt/intlayer_with_react_native+expo.md +2 -2
  247. package/docs/pt/intlayer_with_react_router_v7.md +224 -1
  248. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +225 -1
  249. package/docs/pt/intlayer_with_svelte_kit.md +158 -2
  250. package/docs/pt/intlayer_with_tanstack.md +159 -1
  251. package/docs/pt/intlayer_with_vite+preact.md +158 -2
  252. package/docs/pt/intlayer_with_vite+react.md +157 -1
  253. package/docs/pt/intlayer_with_vite+solid.md +159 -3
  254. package/docs/pt/intlayer_with_vite+svelte.md +159 -3
  255. package/docs/pt/intlayer_with_vite+vue.md +159 -3
  256. package/docs/pt/vs_code_extension.md +1 -1
  257. package/docs/ru/compiler.md +90 -57
  258. package/docs/ru/configuration.md +78 -67
  259. package/docs/ru/intlayer_with_analog.md +2 -2
  260. package/docs/ru/intlayer_with_angular.md +2 -2
  261. package/docs/ru/intlayer_with_astro.md +2 -2
  262. package/docs/ru/intlayer_with_lynx+react.md +2 -2
  263. package/docs/ru/intlayer_with_nextjs_16.md +174 -1
  264. package/docs/ru/intlayer_with_nextjs_compiler.md +174 -1
  265. package/docs/ru/intlayer_with_react_native+expo.md +2 -2
  266. package/docs/ru/intlayer_with_react_router_v7.md +224 -1
  267. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +225 -1
  268. package/docs/ru/intlayer_with_svelte_kit.md +158 -2
  269. package/docs/ru/intlayer_with_tanstack.md +159 -1
  270. package/docs/ru/intlayer_with_vite+preact.md +159 -3
  271. package/docs/ru/intlayer_with_vite+react.md +157 -1
  272. package/docs/ru/intlayer_with_vite+solid.md +159 -3
  273. package/docs/ru/intlayer_with_vite+svelte.md +159 -3
  274. package/docs/ru/intlayer_with_vite+vue.md +159 -3
  275. package/docs/ru/vs_code_extension.md +1 -1
  276. package/docs/tr/compiler.md +85 -52
  277. package/docs/tr/configuration.md +85 -61
  278. package/docs/tr/intlayer_with_analog.md +2 -2
  279. package/docs/tr/intlayer_with_angular.md +2 -2
  280. package/docs/tr/intlayer_with_astro.md +2 -2
  281. package/docs/tr/intlayer_with_lynx+react.md +2 -2
  282. package/docs/tr/intlayer_with_nextjs_16.md +174 -1
  283. package/docs/tr/intlayer_with_nextjs_compiler.md +174 -1
  284. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +6 -14
  285. package/docs/tr/intlayer_with_react_native+expo.md +2 -2
  286. package/docs/tr/intlayer_with_react_router_v7.md +224 -1
  287. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +225 -1
  288. package/docs/tr/intlayer_with_svelte_kit.md +158 -2
  289. package/docs/tr/intlayer_with_tanstack.md +159 -1
  290. package/docs/tr/intlayer_with_vite+preact.md +159 -3
  291. package/docs/tr/intlayer_with_vite+react.md +159 -3
  292. package/docs/tr/intlayer_with_vite+solid.md +159 -3
  293. package/docs/tr/intlayer_with_vite+svelte.md +159 -3
  294. package/docs/tr/intlayer_with_vite+vue.md +159 -3
  295. package/docs/tr/vs_code_extension.md +1 -1
  296. package/docs/uk/compiler.md +96 -61
  297. package/docs/uk/configuration.md +85 -57
  298. package/docs/uk/intlayer_with_analog.md +2 -2
  299. package/docs/uk/intlayer_with_angular.md +2 -2
  300. package/docs/uk/intlayer_with_astro.md +2 -2
  301. package/docs/uk/intlayer_with_lynx+react.md +2 -2
  302. package/docs/uk/intlayer_with_nextjs_16.md +174 -1
  303. package/docs/uk/intlayer_with_nextjs_compiler.md +174 -1
  304. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +4 -22
  305. package/docs/uk/intlayer_with_react_native+expo.md +2 -2
  306. package/docs/uk/intlayer_with_react_router_v7.md +224 -1
  307. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +225 -1
  308. package/docs/uk/intlayer_with_svelte_kit.md +157 -1
  309. package/docs/uk/intlayer_with_tanstack.md +159 -1
  310. package/docs/uk/intlayer_with_vite+preact.md +159 -3
  311. package/docs/uk/intlayer_with_vite+react.md +157 -1
  312. package/docs/uk/intlayer_with_vite+solid.md +159 -3
  313. package/docs/uk/intlayer_with_vite+svelte.md +159 -3
  314. package/docs/uk/intlayer_with_vite+vue.md +159 -3
  315. package/docs/uk/vs_code_extension.md +1 -1
  316. package/docs/vi/compiler.md +85 -50
  317. package/docs/vi/configuration.md +87 -59
  318. package/docs/vi/intlayer_with_analog.md +2 -2
  319. package/docs/vi/intlayer_with_angular.md +2 -2
  320. package/docs/vi/intlayer_with_astro.md +2 -2
  321. package/docs/vi/intlayer_with_lynx+react.md +2 -2
  322. package/docs/vi/intlayer_with_nextjs_16.md +174 -1
  323. package/docs/vi/intlayer_with_nextjs_compiler.md +174 -1
  324. package/docs/vi/intlayer_with_react_native+expo.md +2 -2
  325. package/docs/vi/intlayer_with_react_router_v7.md +224 -1
  326. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +225 -1
  327. package/docs/vi/intlayer_with_svelte_kit.md +158 -2
  328. package/docs/vi/intlayer_with_tanstack.md +159 -1
  329. package/docs/vi/intlayer_with_vite+preact.md +159 -3
  330. package/docs/vi/intlayer_with_vite+react.md +159 -3
  331. package/docs/vi/intlayer_with_vite+solid.md +159 -3
  332. package/docs/vi/intlayer_with_vite+svelte.md +159 -3
  333. package/docs/vi/intlayer_with_vite+vue.md +159 -3
  334. package/docs/vi/vs_code_extension.md +1 -1
  335. package/docs/zh/compiler.md +84 -49
  336. package/docs/zh/configuration.md +82 -58
  337. package/docs/zh/intlayer_with_adonisjs.md +1 -1
  338. package/docs/zh/intlayer_with_analog.md +2 -2
  339. package/docs/zh/intlayer_with_angular.md +2 -2
  340. package/docs/zh/intlayer_with_astro.md +2 -2
  341. package/docs/zh/intlayer_with_express.md +1 -1
  342. package/docs/zh/intlayer_with_fastify.md +1 -1
  343. package/docs/zh/intlayer_with_hono.md +1 -1
  344. package/docs/zh/intlayer_with_lynx+react.md +2 -2
  345. package/docs/zh/intlayer_with_nestjs.md +1 -1
  346. package/docs/zh/intlayer_with_nextjs_16.md +174 -1
  347. package/docs/zh/intlayer_with_nextjs_compiler.md +174 -1
  348. package/docs/zh/intlayer_with_react_native+expo.md +2 -2
  349. package/docs/zh/intlayer_with_react_router_v7.md +227 -4
  350. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +228 -4
  351. package/docs/zh/intlayer_with_svelte_kit.md +158 -2
  352. package/docs/zh/intlayer_with_tanstack.md +159 -1
  353. package/docs/zh/intlayer_with_vite+preact.md +161 -5
  354. package/docs/zh/intlayer_with_vite+react.md +157 -1
  355. package/docs/zh/intlayer_with_vite+solid.md +163 -7
  356. package/docs/zh/intlayer_with_vite+svelte.md +159 -3
  357. package/docs/zh/intlayer_with_vite+vue.md +162 -6
  358. package/docs/zh/vs_code_extension.md +2 -2
  359. package/package.json +8 -8
  360. package/docs/update_docs.py +0 -65
@@ -622,44 +622,165 @@ export const Link: ParentComponent<AnchorProps> = (props) => {
622
622
  };
623
623
  ```
624
624
 
625
- ### (Optional) Step 11: Render Markdown
625
+ ### (Optional) Step 11: Extract the content of your components
626
626
 
627
- Intlayer supports rendering Markdown content directly in your Solid application using its own internal parser. By default, Markdown is treated as plain text. To render it as rich HTML, wrap your application with the `MarkdownProvider`.
627
+ If you have an existing codebase, transforming thousands of files can be time-consuming.
628
628
 
629
- ```tsx fileName="src/index.tsx"
630
- import { render } from "solid-js/web";
631
- import { MarkdownProvider } from "solid-intlayer";
632
- import App from "./App";
629
+ To ease this process, Intlayer propose a [compiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/compiler.md) / [extractor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/extract.md) to transform your components and extract the content.
633
630
 
634
- const root = document.getElementById("root");
631
+ To set it up, you can add a `compiler` section in your `intlayer.config.ts` file:
635
632
 
636
- render(
637
- () => (
638
- <MarkdownProvider>
639
- <App />
640
- </MarkdownProvider>
641
- ),
642
- root!
643
- );
644
- ```
633
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
634
+ import { type IntlayerConfig } from "intlayer";
645
635
 
646
- Then you can use it in your components:
636
+ const config: IntlayerConfig = {
637
+ // ... Rest of your config
638
+ compiler: {
639
+ /**
640
+ * Indicates if the compiler should be enabled.
641
+ */
642
+ enabled: true,
643
+
644
+ /**
645
+ * Defines the output files path
646
+ */
647
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
648
+
649
+ /**
650
+ * Indicates if the components should be saved after being transformed.
651
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
652
+ */
653
+ saveComponents: false,
654
+
655
+ /**
656
+ * Dictionary key prefix
657
+ */
658
+ dictionaryKeyPrefix: "",
659
+ },
660
+ };
647
661
 
648
- ```tsx
649
- import { useIntlayer } from "solid-intlayer";
662
+ export default config;
663
+ ```
650
664
 
651
- const MyComponent = () => {
652
- const content = useIntlayer("my-content");
665
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
666
+ /** @type {import('intlayer').IntlayerConfig} */
667
+ const config = {
668
+ // ... Rest of your config
669
+ compiler: {
670
+ /**
671
+ * Indicates if the compiler should be enabled.
672
+ */
673
+ enabled: true,
674
+
675
+ /**
676
+ * Defines the output files path
677
+ */
678
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
679
+
680
+ /**
681
+ * Indicates if the components should be saved after being transformed.
682
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
683
+ */
684
+ saveComponents: false,
685
+
686
+ /**
687
+ * Dictionary key prefix
688
+ */
689
+ dictionaryKeyPrefix: "",
690
+ },
691
+ };
653
692
 
654
- return (
655
- <div>
656
- {/* Renders as HTML via MarkdownProvider */}
657
- {content().markdownContent}
658
- </div>
659
- );
693
+ export default config;
694
+ ```
695
+
696
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
697
+ /** @type {import('intlayer').IntlayerConfig} */
698
+ const config = {
699
+ // ... Rest of your config
700
+ compiler: {
701
+ /**
702
+ * Indicates if the compiler should be enabled.
703
+ */
704
+ enabled: true,
705
+
706
+ /**
707
+ * Defines the output files path
708
+ */
709
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
710
+
711
+ /**
712
+ * Indicates if the components should be saved after being transformed.
713
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
714
+ */
715
+ saveComponents: false,
716
+
717
+ /**
718
+ * Dictionary key prefix
719
+ */
720
+ dictionaryKeyPrefix: "",
721
+ },
660
722
  };
723
+
724
+ module.exports = config;
661
725
  ```
662
726
 
727
+ <Tabs>
728
+ <Tab value='Extract command'>
729
+
730
+ Run the extractor to transform your components and extract the content
731
+
732
+ ```bash packageManager="npm"
733
+ npx intlayer extract
734
+ ```
735
+
736
+ ```bash packageManager="pnpm"
737
+ pnpm intlayer extract
738
+ ```
739
+
740
+ ```bash packageManager="yarn"
741
+ yarn intlayer extract
742
+ ```
743
+
744
+ ```bash packageManager="bun"
745
+ bunx intlayer extract
746
+ ```
747
+
748
+ </Tab>
749
+ <Tab value='Babel compiler'>
750
+
751
+ Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
752
+
753
+ ```ts fileName="vite.config.ts"
754
+ import { defineConfig } from "vite";
755
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
756
+
757
+ export default defineConfig({
758
+ plugins: [
759
+ intlayer(),
760
+ intlayerCompiler(), // Adds the compiler plugin
761
+ ],
762
+ });
763
+ ```
764
+
765
+ ```bash packageManager="npm"
766
+ npm run build # Or npm run dev
767
+ ```
768
+
769
+ ```bash packageManager="pnpm"
770
+ pnpm run build # Or pnpm run dev
771
+ ```
772
+
773
+ ```bash packageManager="yarn"
774
+ yarn build # Or yarn dev
775
+ ```
776
+
777
+ ```bash packageManager="bun"
778
+ bun run build # Or bun run dev
779
+ ```
780
+
781
+ </Tab>
782
+ </Tabs>
783
+
663
784
  ### Configure TypeScript
664
785
 
665
786
  Ensure your TypeScript configuration includes the autogenerated types.
@@ -679,7 +800,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
679
800
 
680
801
  To do this, you can add the following instructions to your `.gitignore` file:
681
802
 
682
- ```plaintext
803
+ ```bash
683
804
  # Ignore the files generated by Intlayer
684
805
  .intlayer
685
806
  ```
@@ -504,13 +504,172 @@ For SEO, it is recommended to prefix your routes with the locale (e.g., `/about`
504
504
  </a>
505
505
  ```
506
506
 
507
+ ### (Optional) Step 10: Extract the content of your components
508
+
509
+ If you have an existing codebase, transforming thousands of files can be time-consuming.
510
+
511
+ To ease this process, Intlayer propose a [compiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/compiler.md) / [extractor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/extract.md) to transform your components and extract the content.
512
+
513
+ To set it up, you can add a `compiler` section in your `intlayer.config.ts` file:
514
+
515
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
516
+ import { type IntlayerConfig } from "intlayer";
517
+
518
+ const config: IntlayerConfig = {
519
+ // ... Rest of your config
520
+ compiler: {
521
+ /**
522
+ * Indicates if the compiler should be enabled.
523
+ */
524
+ enabled: true,
525
+
526
+ /**
527
+ * Defines the output files path
528
+ */
529
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
530
+
531
+ /**
532
+ * Indicates if the components should be saved after being transformed.
533
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
534
+ */
535
+ saveComponents: false,
536
+
537
+ /**
538
+ * Dictionary key prefix
539
+ */
540
+ dictionaryKeyPrefix: "",
541
+ },
542
+ };
543
+
544
+ export default config;
545
+ ```
546
+
547
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
548
+ /** @type {import('intlayer').IntlayerConfig} */
549
+ const config = {
550
+ // ... Rest of your config
551
+ compiler: {
552
+ /**
553
+ * Indicates if the compiler should be enabled.
554
+ */
555
+ enabled: true,
556
+
557
+ /**
558
+ * Defines the output files path
559
+ */
560
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
561
+
562
+ /**
563
+ * Indicates if the components should be saved after being transformed.
564
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
565
+ */
566
+ saveComponents: false,
567
+
568
+ /**
569
+ * Dictionary key prefix
570
+ */
571
+ dictionaryKeyPrefix: "",
572
+ },
573
+ };
574
+
575
+ export default config;
576
+ ```
577
+
578
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
579
+ /** @type {import('intlayer').IntlayerConfig} */
580
+ const config = {
581
+ // ... Rest of your config
582
+ compiler: {
583
+ /**
584
+ * Indicates if the compiler should be enabled.
585
+ */
586
+ enabled: true,
587
+
588
+ /**
589
+ * Defines the output files path
590
+ */
591
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
592
+
593
+ /**
594
+ * Indicates if the components should be saved after being transformed.
595
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
596
+ */
597
+ saveComponents: false,
598
+
599
+ /**
600
+ * Dictionary key prefix
601
+ */
602
+ dictionaryKeyPrefix: "",
603
+ },
604
+ };
605
+
606
+ module.exports = config;
607
+ ```
608
+
609
+ <Tabs>
610
+ <Tab value='Extract command'>
611
+
612
+ Run the extractor to transform your components and extract the content
613
+
614
+ ```bash packageManager="npm"
615
+ npx intlayer extract
616
+ ```
617
+
618
+ ```bash packageManager="pnpm"
619
+ pnpm intlayer extract
620
+ ```
621
+
622
+ ```bash packageManager="yarn"
623
+ yarn intlayer extract
624
+ ```
625
+
626
+ ```bash packageManager="bun"
627
+ bunx intlayer extract
628
+ ```
629
+
630
+ </Tab>
631
+ <Tab value='Babel compiler'>
632
+
633
+ Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
634
+
635
+ ```ts fileName="vite.config.ts"
636
+ import { defineConfig } from "vite";
637
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
638
+
639
+ export default defineConfig({
640
+ plugins: [
641
+ intlayer(),
642
+ intlayerCompiler(), // Adds the compiler plugin
643
+ ],
644
+ });
645
+ ```
646
+
647
+ ```bash packageManager="npm"
648
+ npm run build # Or npm run dev
649
+ ```
650
+
651
+ ```bash packageManager="pnpm"
652
+ pnpm run build # Or pnpm run dev
653
+ ```
654
+
655
+ ```bash packageManager="yarn"
656
+ yarn build # Or yarn dev
657
+ ```
658
+
659
+ ```bash packageManager="bun"
660
+ bun run build # Or bun run dev
661
+ ```
662
+
663
+ </Tab>
664
+ </Tabs>
665
+
507
666
  ### Git Configuration
508
667
 
509
668
  It is recommended to ignore the files generated by Intlayer. This allows you to avoid committing them to your Git repository.
510
669
 
511
670
  To do this, you can add the following instructions to your `.gitignore` file:
512
671
 
513
- ```plaintext
672
+ ```bash
514
673
  # Ignore the files generated by Intlayer
515
674
  .intlayer
516
675
  ```
@@ -957,64 +957,165 @@ import RouterLink from "@components/RouterLink.vue";
957
957
  </template>
958
958
  ```
959
959
 
960
- ### (Optional) Step 11: Render Markdown
960
+ ### (Optional) Step 11: Extract the content of your components
961
961
 
962
- Intlayer supports rendering Markdown content directly in your Vue application. By default, Markdown is treated as plain text. To convert Markdown into rich HTML, you can integrate [markdown-it](https://github.com/markdown-it/markdown-it), a Markdown parser.
962
+ If you have an existing codebase, transforming thousands of files can be time-consuming.
963
963
 
964
- This is particularly useful when your translations include formatted content like lists, links, or emphasis.
964
+ To ease this process, Intlayer propose a [compiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/compiler.md) / [extractor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/extract.md) to transform your components and extract the content.
965
965
 
966
- By default Intlayer render markdown as string. But Intlayer also provides a way to render markdown into HTML using the `installIntlayerMarkdown` function.
966
+ To set it up, you can add a `compiler` section in your `intlayer.config.ts` file:
967
967
 
968
- > To see how to declare markdown content using the `intlayer` package, see the [markdown doc](https://github.com/aymericzip/intlayer/tree/main/docs/en/dictionary/markdown.md).
968
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
969
+ import { type IntlayerConfig } from "intlayer";
969
970
 
970
- ```ts fileName="main.ts"
971
- import MarkdownIt from "markdown-it";
972
- import { createApp, h } from "vue";
973
- import { installIntlayer, installIntlayerMarkdown } from "vue-intlayer";
971
+ const config: IntlayerConfig = {
972
+ // ... Rest of your config
973
+ compiler: {
974
+ /**
975
+ * Indicates if the compiler should be enabled.
976
+ */
977
+ enabled: true,
978
+
979
+ /**
980
+ * Defines the output files path
981
+ */
982
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
983
+
984
+ /**
985
+ * Indicates if the components should be saved after being transformed.
986
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
987
+ */
988
+ saveComponents: false,
989
+
990
+ /**
991
+ * Dictionary key prefix
992
+ */
993
+ dictionaryKeyPrefix: "",
994
+ },
995
+ };
974
996
 
975
- const app = createApp(App);
997
+ export default config;
998
+ ```
976
999
 
977
- installIntlayer(app);
1000
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
1001
+ /** @type {import('intlayer').IntlayerConfig} */
1002
+ const config = {
1003
+ // ... Rest of your config
1004
+ compiler: {
1005
+ /**
1006
+ * Indicates if the compiler should be enabled.
1007
+ */
1008
+ enabled: true,
1009
+
1010
+ /**
1011
+ * Defines the output files path
1012
+ */
1013
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
1014
+
1015
+ /**
1016
+ * Indicates if the components should be saved after being transformed.
1017
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
1018
+ */
1019
+ saveComponents: false,
1020
+
1021
+ /**
1022
+ * Dictionary key prefix
1023
+ */
1024
+ dictionaryKeyPrefix: "",
1025
+ },
1026
+ };
978
1027
 
979
- const md = new MarkdownIt({
980
- html: true, // allow HTML tags
981
- linkify: true, // auto-link URLs
982
- typographer: true, // enable smart quotes, dashes, etc.
983
- });
1028
+ export default config;
1029
+ ```
1030
+
1031
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
1032
+ /** @type {import('intlayer').IntlayerConfig} */
1033
+ const config = {
1034
+ // ... Rest of your config
1035
+ compiler: {
1036
+ /**
1037
+ * Indicates if the compiler should be enabled.
1038
+ */
1039
+ enabled: true,
1040
+
1041
+ /**
1042
+ * Defines the output files path
1043
+ */
1044
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
1045
+
1046
+ /**
1047
+ * Indicates if the components should be saved after being transformed.
1048
+ * That way, the compiler can be run only once to transform the app, and then it can be removed.
1049
+ */
1050
+ saveComponents: false,
1051
+
1052
+ /**
1053
+ * Dictionary key prefix
1054
+ */
1055
+ dictionaryKeyPrefix: "",
1056
+ },
1057
+ };
1058
+
1059
+ module.exports = config;
1060
+ ```
1061
+
1062
+ <Tabs>
1063
+ <Tab value='Extract command'>
1064
+
1065
+ Run the extractor to transform your components and extract the content
1066
+
1067
+ ```bash packageManager="npm"
1068
+ npx intlayer extract
1069
+ ```
1070
+
1071
+ ```bash packageManager="pnpm"
1072
+ pnpm intlayer extract
1073
+ ```
1074
+
1075
+ ```bash packageManager="yarn"
1076
+ yarn intlayer extract
1077
+ ```
1078
+
1079
+ ```bash packageManager="bun"
1080
+ bunx intlayer extract
1081
+ ```
984
1082
 
985
- // Tell Intlayer to use md.render() whenever it needs to turn markdown into HTML
986
- installIntlayerMarkdown(app, (markdown) => {
987
- const html = md.render(markdown);
988
- return h("div", { innerHTML: html });
1083
+ </Tab>
1084
+ <Tab value='Babel compiler'>
1085
+
1086
+ Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
1087
+
1088
+ ```ts fileName="vite.config.ts"
1089
+ import { defineConfig } from "vite";
1090
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
1091
+
1092
+ export default defineConfig({
1093
+ plugins: [
1094
+ intlayer(),
1095
+ intlayerCompiler(), // Adds the compiler plugin
1096
+ ],
989
1097
  });
990
1098
  ```
991
1099
 
992
- Once registered, you can use the component-based syntax to display the Markdown content directly:
1100
+ ```bash packageManager="npm"
1101
+ npm run build # Or npm run dev
1102
+ ```
993
1103
 
994
- ```vue
995
- <script setup lang="ts">
996
- import { useIntlayer } from "vue-intlayer";
1104
+ ```bash packageManager="pnpm"
1105
+ pnpm run build # Or pnpm run dev
1106
+ ```
997
1107
 
998
- const { myMarkdownContent } = useIntlayer("my-component");
999
- </script>
1108
+ ```bash packageManager="yarn"
1109
+ yarn build # Or yarn dev
1110
+ ```
1000
1111
 
1001
- <template>
1002
- <div>
1003
- <!-- Basic syntax -->
1004
- <myMarkdownContent />
1005
-
1006
- <!-- Or with custom components -->
1007
- <component
1008
- :is="
1009
- myMarkdownContent.use({
1010
- h1: (props) => h('h1', { style: { color: 'red' } }, props.children),
1011
- })
1012
- "
1013
- />
1014
- </div>
1015
- </template>
1112
+ ```bash packageManager="bun"
1113
+ bun run build # Or bun run dev
1016
1114
  ```
1017
1115
 
1116
+ </Tab>
1117
+ </Tabs>
1118
+
1018
1119
  ### Configure TypeScript
1019
1120
 
1020
1121
  Intlayer uses module augmentation to get benefits of TypeScript and make your codebase stronger.
@@ -1041,7 +1142,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
1041
1142
 
1042
1143
  To do this, you can add the following instructions to your `.gitignore` file:
1043
1144
 
1044
- ```plaintext
1145
+ ```bash
1045
1146
  # Ignore the files generated by Intlayer
1046
1147
  .intlayer
1047
1148
  ```
@@ -123,7 +123,7 @@ The extension can load environment variables from your workspace to run Intlayer
123
123
 
124
124
  #### Selecting the active environment
125
125
 
126
- - **Command Palette**: open the palette and run `Intlayer: Select Environment`, then choose the environment (e.g., `development`, `staging`, `production`). The extension will attempt to load the first available file in the priority list above and show a notification like “Loaded env from .env.<env>.local”.
126
+ - **Command Palette**: open the palette and run `Intlayer: Select Environment`, then choose the environment (e.g., `development`, `staging`, `production`). The extension will attempt to load the first available file in the priority list above and show a notification like “Loaded env from `.env.<env>.local`”.
127
127
  - **Settings**: go to `Settings → Extensions → Intlayer`, and set:
128
128
  - **Environment**: the environment name used to resolve `.env.<env>*` files.
129
129
  - (Optional) **Env File**: an explicit path to a `.env` file. When provided, it takes precedence over the inferred list.