@intlayer/docs 8.5.0 → 8.5.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 (777) hide show
  1. package/blog/ar/intlayer_with_i18next.md +1 -1
  2. package/blog/ar/intlayer_with_next-i18next.md +1 -1
  3. package/blog/ar/intlayer_with_next-intl.md +1 -1
  4. package/blog/ar/intlayer_with_react-i18next.md +1 -1
  5. package/blog/ar/intlayer_with_react-intl.md +1 -1
  6. package/blog/ar/intlayer_with_vue-i18n.md +1 -1
  7. package/blog/de/intlayer_with_i18next.md +1 -1
  8. package/blog/de/intlayer_with_next-i18next.md +1 -1
  9. package/blog/de/intlayer_with_next-intl.md +1 -1
  10. package/blog/de/intlayer_with_react-i18next.md +1 -1
  11. package/blog/de/intlayer_with_react-intl.md +1 -1
  12. package/blog/de/intlayer_with_vue-i18n.md +1 -1
  13. package/blog/en/intlayer_with_i18next.md +1 -1
  14. package/blog/en/intlayer_with_next-i18next.md +1 -1
  15. package/blog/en/intlayer_with_next-intl.md +1 -1
  16. package/blog/en/intlayer_with_react-i18next.md +1 -1
  17. package/blog/en/intlayer_with_react-intl.md +1 -1
  18. package/blog/en/intlayer_with_vue-i18n.md +1 -1
  19. package/blog/en-GB/intlayer_with_i18next.md +1 -1
  20. package/blog/en-GB/intlayer_with_next-i18next.md +1 -1
  21. package/blog/en-GB/intlayer_with_next-intl.md +1 -1
  22. package/blog/en-GB/intlayer_with_react-i18next.md +1 -1
  23. package/blog/en-GB/intlayer_with_react-intl.md +1 -1
  24. package/blog/en-GB/intlayer_with_vue-i18n.md +1 -1
  25. package/blog/es/intlayer_with_i18next.md +1 -1
  26. package/blog/es/intlayer_with_next-i18next.md +1 -1
  27. package/blog/es/intlayer_with_next-intl.md +1 -1
  28. package/blog/es/intlayer_with_react-i18next.md +1 -1
  29. package/blog/es/intlayer_with_react-intl.md +1 -1
  30. package/blog/es/intlayer_with_vue-i18n.md +1 -1
  31. package/blog/fr/intlayer_with_i18next.md +1 -1
  32. package/blog/fr/intlayer_with_next-i18next.md +1 -1
  33. package/blog/fr/intlayer_with_next-intl.md +1 -1
  34. package/blog/fr/intlayer_with_react-i18next.md +1 -1
  35. package/blog/fr/intlayer_with_react-intl.md +1 -1
  36. package/blog/fr/intlayer_with_vue-i18n.md +1 -1
  37. package/blog/hi/intlayer_with_i18next.md +1 -1
  38. package/blog/hi/intlayer_with_next-i18next.md +1 -1
  39. package/blog/hi/intlayer_with_next-intl.md +1 -1
  40. package/blog/hi/intlayer_with_react-i18next.md +1 -1
  41. package/blog/hi/intlayer_with_react-intl.md +1 -1
  42. package/blog/hi/intlayer_with_vue-i18n.md +1 -1
  43. package/blog/id/intlayer_with_i18next.md +1 -1
  44. package/blog/id/intlayer_with_next-i18next.md +1 -1
  45. package/blog/id/intlayer_with_next-intl.md +1 -1
  46. package/blog/id/intlayer_with_react-i18next.md +1 -1
  47. package/blog/id/intlayer_with_react-intl.md +1 -1
  48. package/blog/id/intlayer_with_vue-i18n.md +1 -1
  49. package/blog/it/intlayer_with_i18next.md +1 -1
  50. package/blog/it/intlayer_with_next-i18next.md +1 -1
  51. package/blog/it/intlayer_with_next-intl.md +1 -1
  52. package/blog/it/intlayer_with_react-i18next.md +1 -1
  53. package/blog/it/intlayer_with_react-intl.md +1 -1
  54. package/blog/it/intlayer_with_vue-i18n.md +1 -1
  55. package/blog/ja/intlayer_with_i18next.md +1 -1
  56. package/blog/ja/intlayer_with_next-i18next.md +1 -1
  57. package/blog/ja/intlayer_with_next-intl.md +1 -1
  58. package/blog/ja/intlayer_with_react-i18next.md +1 -1
  59. package/blog/ja/intlayer_with_react-intl.md +1 -1
  60. package/blog/ja/intlayer_with_vue-i18n.md +1 -1
  61. package/blog/ko/intlayer_with_i18next.md +1 -1
  62. package/blog/ko/intlayer_with_next-i18next.md +1 -1
  63. package/blog/ko/intlayer_with_next-intl.md +1 -1
  64. package/blog/ko/intlayer_with_react-i18next.md +1 -1
  65. package/blog/ko/intlayer_with_react-intl.md +1 -1
  66. package/blog/ko/intlayer_with_vue-i18n.md +1 -1
  67. package/blog/pl/intlayer_with_i18next.md +1 -1
  68. package/blog/pl/intlayer_with_next-i18next.md +1 -1
  69. package/blog/pl/intlayer_with_next-intl.md +1 -1
  70. package/blog/pl/intlayer_with_react-i18next.md +1 -1
  71. package/blog/pl/intlayer_with_react-intl.md +1 -1
  72. package/blog/pl/intlayer_with_vue-i18n.md +1 -1
  73. package/blog/pt/intlayer_with_i18next.md +1 -1
  74. package/blog/pt/intlayer_with_next-i18next.md +1 -1
  75. package/blog/pt/intlayer_with_next-intl.md +1 -1
  76. package/blog/pt/intlayer_with_react-i18next.md +1 -1
  77. package/blog/pt/intlayer_with_react-intl.md +1 -1
  78. package/blog/pt/intlayer_with_vue-i18n.md +1 -1
  79. package/blog/ru/intlayer_with_i18next.md +1 -1
  80. package/blog/ru/intlayer_with_next-i18next.md +1 -1
  81. package/blog/ru/intlayer_with_next-intl.md +1 -1
  82. package/blog/ru/intlayer_with_react-i18next.md +1 -1
  83. package/blog/ru/intlayer_with_react-intl.md +1 -1
  84. package/blog/ru/intlayer_with_vue-i18n.md +1 -1
  85. package/blog/tr/intlayer_with_i18next.md +1 -1
  86. package/blog/tr/intlayer_with_next-i18next.md +1 -1
  87. package/blog/tr/intlayer_with_next-intl.md +1 -1
  88. package/blog/tr/intlayer_with_react-i18next.md +1 -1
  89. package/blog/tr/intlayer_with_react-intl.md +1 -1
  90. package/blog/tr/intlayer_with_vue-i18n.md +1 -1
  91. package/blog/uk/intlayer_with_i18next.md +1 -1
  92. package/blog/uk/intlayer_with_next-i18next.md +1 -1
  93. package/blog/uk/intlayer_with_next-intl.md +1 -1
  94. package/blog/uk/intlayer_with_react-i18next.md +1 -1
  95. package/blog/uk/intlayer_with_react-intl.md +1 -1
  96. package/blog/uk/intlayer_with_vue-i18n.md +1 -1
  97. package/blog/vi/intlayer_with_i18next.md +1 -1
  98. package/blog/vi/intlayer_with_next-i18next.md +1 -1
  99. package/blog/vi/intlayer_with_next-intl.md +1 -1
  100. package/blog/vi/intlayer_with_react-i18next.md +1 -1
  101. package/blog/vi/intlayer_with_react-intl.md +1 -1
  102. package/blog/vi/intlayer_with_vue-i18n.md +1 -1
  103. package/blog/zh/intlayer_with_i18next.md +1 -1
  104. package/blog/zh/intlayer_with_next-i18next.md +1 -1
  105. package/blog/zh/intlayer_with_next-intl.md +1 -1
  106. package/blog/zh/intlayer_with_react-i18next.md +1 -1
  107. package/blog/zh/intlayer_with_react-intl.md +1 -1
  108. package/blog/zh/intlayer_with_vue-i18n.md +1 -1
  109. package/dist/cjs/generated/docs.entry.cjs +20 -0
  110. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  111. package/dist/esm/generated/docs.entry.mjs +20 -0
  112. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  113. package/dist/types/generated/docs.entry.d.ts +1 -0
  114. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  115. package/docs/ar/dictionary/html.md +10 -3
  116. package/docs/ar/dictionary/markdown.md +15 -17
  117. package/docs/ar/intlayer_CMS.md +1 -1
  118. package/docs/ar/intlayer_with_adonisjs.md +1 -1
  119. package/docs/ar/intlayer_with_analog.md +9 -15
  120. package/docs/ar/intlayer_with_angular.md +1 -1
  121. package/docs/ar/intlayer_with_create_react_app.md +1 -1
  122. package/docs/ar/intlayer_with_express.md +1 -1
  123. package/docs/ar/intlayer_with_fastify.md +1 -1
  124. package/docs/ar/intlayer_with_hono.md +1 -1
  125. package/docs/ar/intlayer_with_lynx+react.md +1 -1
  126. package/docs/ar/intlayer_with_nestjs.md +1 -1
  127. package/docs/ar/intlayer_with_next-i18next.md +1 -1
  128. package/docs/ar/intlayer_with_next-intl.md +1 -1
  129. package/docs/ar/intlayer_with_nextjs_14.md +1 -1
  130. package/docs/ar/intlayer_with_nextjs_15.md +1 -1
  131. package/docs/ar/intlayer_with_nextjs_16.md +2 -2
  132. package/docs/ar/intlayer_with_nextjs_compiler.md +2 -2
  133. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +1 -1
  134. package/docs/ar/intlayer_with_nextjs_page_router.md +1 -1
  135. package/docs/ar/intlayer_with_nuxt.md +1 -1
  136. package/docs/ar/intlayer_with_react_native+expo.md +1 -1
  137. package/docs/ar/intlayer_with_react_router_v7.md +2 -2
  138. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +2 -2
  139. package/docs/ar/intlayer_with_svelte_kit.md +3 -3
  140. package/docs/ar/intlayer_with_tanstack+solid.md +911 -0
  141. package/docs/ar/intlayer_with_tanstack.md +2 -2
  142. package/docs/ar/intlayer_with_vite+lit.md +9 -58
  143. package/docs/ar/intlayer_with_vite+preact.md +2 -2
  144. package/docs/ar/intlayer_with_vite+react.md +2 -2
  145. package/docs/ar/intlayer_with_vite+react_compiler.md +1 -1
  146. package/docs/ar/intlayer_with_vite+solid.md +2 -2
  147. package/docs/ar/intlayer_with_vite+svelte.md +2 -2
  148. package/docs/ar/intlayer_with_vite+vanilla.md +2 -2
  149. package/docs/ar/intlayer_with_vite+vue.md +5 -5
  150. package/docs/bn/intlayer_with_fastify.md +1 -1
  151. package/docs/bn/intlayer_with_hono.md +1 -1
  152. package/docs/bn/intlayer_with_vite+lit.md +9 -58
  153. package/docs/bn/intlayer_with_vite+vanilla.md +2 -2
  154. package/docs/cs/intlayer_with_fastify.md +1 -1
  155. package/docs/cs/intlayer_with_hono.md +1 -1
  156. package/docs/cs/intlayer_with_vite+lit.md +9 -58
  157. package/docs/cs/intlayer_with_vite+vanilla.md +2 -2
  158. package/docs/de/compiler.md +6 -1
  159. package/docs/de/configuration.md +12 -9
  160. package/docs/de/dictionary/html.md +11 -8
  161. package/docs/de/dictionary/markdown.md +17 -23
  162. package/docs/de/intlayer_CMS.md +1 -1
  163. package/docs/de/intlayer_with_adonisjs.md +1 -1
  164. package/docs/de/intlayer_with_analog.md +9 -15
  165. package/docs/de/intlayer_with_angular.md +1 -1
  166. package/docs/de/intlayer_with_create_react_app.md +1 -1
  167. package/docs/de/intlayer_with_express.md +1 -1
  168. package/docs/de/intlayer_with_fastify.md +1 -1
  169. package/docs/de/intlayer_with_hono.md +1 -1
  170. package/docs/de/intlayer_with_lynx+react.md +1 -1
  171. package/docs/de/intlayer_with_nestjs.md +1 -1
  172. package/docs/de/intlayer_with_next-i18next.md +1 -1
  173. package/docs/de/intlayer_with_next-intl.md +1 -1
  174. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  175. package/docs/de/intlayer_with_nextjs_15.md +1 -1
  176. package/docs/de/intlayer_with_nextjs_16.md +2 -2
  177. package/docs/de/intlayer_with_nextjs_compiler.md +1 -1
  178. package/docs/de/intlayer_with_nextjs_no_locale_path.md +1 -1
  179. package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
  180. package/docs/de/intlayer_with_nuxt.md +1 -1
  181. package/docs/de/intlayer_with_react_router_v7.md +2 -2
  182. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -1
  183. package/docs/de/intlayer_with_svelte_kit.md +3 -3
  184. package/docs/de/intlayer_with_tanstack+solid.md +911 -0
  185. package/docs/de/intlayer_with_tanstack.md +2 -2
  186. package/docs/de/intlayer_with_vite+lit.md +9 -58
  187. package/docs/de/intlayer_with_vite+preact.md +2 -2
  188. package/docs/de/intlayer_with_vite+react.md +2 -2
  189. package/docs/de/intlayer_with_vite+react_compiler.md +1 -1
  190. package/docs/de/intlayer_with_vite+solid.md +2 -2
  191. package/docs/de/intlayer_with_vite+svelte.md +2 -2
  192. package/docs/de/intlayer_with_vite+vanilla.md +2 -2
  193. package/docs/de/intlayer_with_vite+vue.md +5 -5
  194. package/docs/en/compiler.md +2 -0
  195. package/docs/en/configuration.md +8 -8
  196. package/docs/en/dictionary/html.md +12 -9
  197. package/docs/en/dictionary/markdown.md +18 -24
  198. package/docs/en/intlayer_CMS.md +1 -1
  199. package/docs/en/intlayer_with_adonisjs.md +1 -1
  200. package/docs/en/intlayer_with_analog.md +9 -15
  201. package/docs/en/intlayer_with_angular.md +1 -1
  202. package/docs/en/intlayer_with_create_react_app.md +1 -1
  203. package/docs/en/intlayer_with_express.md +1 -1
  204. package/docs/en/intlayer_with_fastify.md +1 -1
  205. package/docs/en/intlayer_with_hono.md +1 -1
  206. package/docs/en/intlayer_with_lynx+react.md +1 -1
  207. package/docs/en/intlayer_with_nestjs.md +1 -1
  208. package/docs/en/intlayer_with_next-i18next.md +1 -1
  209. package/docs/en/intlayer_with_next-intl.md +1 -1
  210. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  211. package/docs/en/intlayer_with_nextjs_15.md +1 -1
  212. package/docs/en/intlayer_with_nextjs_16.md +2 -2
  213. package/docs/en/intlayer_with_nextjs_compiler.md +2 -2
  214. package/docs/en/intlayer_with_nextjs_no_locale_path.md +1 -1
  215. package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
  216. package/docs/en/intlayer_with_nuxt.md +1 -1
  217. package/docs/en/intlayer_with_react_native+expo.md +1 -1
  218. package/docs/en/intlayer_with_react_router_v7.md +2 -2
  219. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +2 -2
  220. package/docs/en/intlayer_with_svelte_kit.md +2 -2
  221. package/docs/en/intlayer_with_tanstack+solid.md +911 -0
  222. package/docs/en/intlayer_with_tanstack.md +2 -2
  223. package/docs/en/intlayer_with_vite+lit.md +11 -58
  224. package/docs/en/intlayer_with_vite+preact.md +2 -2
  225. package/docs/en/intlayer_with_vite+react.md +2 -2
  226. package/docs/en/intlayer_with_vite+react_compiler.md +1 -1
  227. package/docs/en/intlayer_with_vite+solid.md +2 -2
  228. package/docs/en/intlayer_with_vite+svelte.md +2 -2
  229. package/docs/en/intlayer_with_vite+vanilla.md +2 -2
  230. package/docs/en/intlayer_with_vite+vue.md +15 -5
  231. package/docs/en-GB/dictionary/html.md +10 -3
  232. package/docs/en-GB/dictionary/markdown.md +16 -18
  233. package/docs/en-GB/intlayer_CMS.md +1 -1
  234. package/docs/en-GB/intlayer_with_adonisjs.md +1 -1
  235. package/docs/en-GB/intlayer_with_analog.md +9 -15
  236. package/docs/en-GB/intlayer_with_angular.md +1 -1
  237. package/docs/en-GB/intlayer_with_create_react_app.md +2 -2
  238. package/docs/en-GB/intlayer_with_express.md +1 -1
  239. package/docs/en-GB/intlayer_with_fastify.md +1 -1
  240. package/docs/en-GB/intlayer_with_hono.md +1 -1
  241. package/docs/en-GB/intlayer_with_lynx+react.md +2 -2
  242. package/docs/en-GB/intlayer_with_nestjs.md +1 -1
  243. package/docs/en-GB/intlayer_with_next-i18next.md +1 -1
  244. package/docs/en-GB/intlayer_with_next-intl.md +1 -1
  245. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  246. package/docs/en-GB/intlayer_with_nextjs_15.md +1 -1
  247. package/docs/en-GB/intlayer_with_nextjs_16.md +1 -1
  248. package/docs/en-GB/intlayer_with_nextjs_compiler.md +1 -1
  249. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +1 -1
  250. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  251. package/docs/en-GB/intlayer_with_nuxt.md +1 -1
  252. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  253. package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
  254. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +1 -1
  255. package/docs/en-GB/intlayer_with_svelte_kit.md +2 -2
  256. package/docs/en-GB/intlayer_with_tanstack+solid.md +912 -0
  257. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  258. package/docs/en-GB/intlayer_with_vite+lit.md +11 -58
  259. package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
  260. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  261. package/docs/en-GB/intlayer_with_vite+react_compiler.md +1 -1
  262. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  263. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  264. package/docs/en-GB/intlayer_with_vite+vanilla.md +2 -2
  265. package/docs/en-GB/intlayer_with_vite+vue.md +4 -4
  266. package/docs/es/compiler.md +6 -1
  267. package/docs/es/configuration.md +12 -9
  268. package/docs/es/dictionary/html.md +11 -8
  269. package/docs/es/dictionary/markdown.md +18 -24
  270. package/docs/es/intlayer_CMS.md +1 -1
  271. package/docs/es/intlayer_with_adonisjs.md +1 -1
  272. package/docs/es/intlayer_with_analog.md +9 -15
  273. package/docs/es/intlayer_with_angular.md +1 -1
  274. package/docs/es/intlayer_with_create_react_app.md +1 -1
  275. package/docs/es/intlayer_with_express.md +1 -1
  276. package/docs/es/intlayer_with_fastify.md +1 -1
  277. package/docs/es/intlayer_with_hono.md +1 -1
  278. package/docs/es/intlayer_with_lynx+react.md +1 -1
  279. package/docs/es/intlayer_with_nestjs.md +1 -1
  280. package/docs/es/intlayer_with_next-i18next.md +1 -1
  281. package/docs/es/intlayer_with_next-intl.md +1 -1
  282. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  283. package/docs/es/intlayer_with_nextjs_15.md +1 -1
  284. package/docs/es/intlayer_with_nextjs_16.md +2 -2
  285. package/docs/es/intlayer_with_nextjs_compiler.md +2 -2
  286. package/docs/es/intlayer_with_nextjs_no_locale_path.md +1 -1
  287. package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
  288. package/docs/es/intlayer_with_nuxt.md +1 -1
  289. package/docs/es/intlayer_with_react_native+expo.md +1 -1
  290. package/docs/es/intlayer_with_react_router_v7.md +2 -2
  291. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +2 -2
  292. package/docs/es/intlayer_with_svelte_kit.md +3 -3
  293. package/docs/es/intlayer_with_tanstack+solid.md +911 -0
  294. package/docs/es/intlayer_with_tanstack.md +2 -2
  295. package/docs/es/intlayer_with_vite+lit.md +9 -58
  296. package/docs/es/intlayer_with_vite+preact.md +2 -2
  297. package/docs/es/intlayer_with_vite+react.md +2 -2
  298. package/docs/es/intlayer_with_vite+react_compiler.md +1 -1
  299. package/docs/es/intlayer_with_vite+solid.md +2 -2
  300. package/docs/es/intlayer_with_vite+svelte.md +2 -2
  301. package/docs/es/intlayer_with_vite+vanilla.md +2 -2
  302. package/docs/es/intlayer_with_vite+vue.md +5 -5
  303. package/docs/es/packages/next-intlayer/index.md +1 -1
  304. package/docs/es/packages/react-intlayer/index.md +1 -1
  305. package/docs/fr/compiler.md +8 -3
  306. package/docs/fr/configuration.md +12 -9
  307. package/docs/fr/dictionary/html.md +11 -8
  308. package/docs/fr/dictionary/markdown.md +18 -24
  309. package/docs/fr/intlayer_CMS.md +1 -1
  310. package/docs/fr/intlayer_with_adonisjs.md +1 -1
  311. package/docs/fr/intlayer_with_analog.md +9 -15
  312. package/docs/fr/intlayer_with_angular.md +1 -1
  313. package/docs/fr/intlayer_with_create_react_app.md +1 -1
  314. package/docs/fr/intlayer_with_express.md +1 -1
  315. package/docs/fr/intlayer_with_fastify.md +1 -1
  316. package/docs/fr/intlayer_with_hono.md +1 -1
  317. package/docs/fr/intlayer_with_lynx+react.md +1 -1
  318. package/docs/fr/intlayer_with_nestjs.md +1 -1
  319. package/docs/fr/intlayer_with_next-i18next.md +1 -1
  320. package/docs/fr/intlayer_with_next-intl.md +1 -1
  321. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  322. package/docs/fr/intlayer_with_nextjs_15.md +1 -1
  323. package/docs/fr/intlayer_with_nextjs_16.md +2 -2
  324. package/docs/fr/intlayer_with_nextjs_compiler.md +2 -2
  325. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +1 -1
  326. package/docs/fr/intlayer_with_nextjs_page_router.md +1 -1
  327. package/docs/fr/intlayer_with_nuxt.md +1 -1
  328. package/docs/fr/intlayer_with_react_router_v7.md +2 -2
  329. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +2 -2
  330. package/docs/fr/intlayer_with_svelte_kit.md +3 -3
  331. package/docs/fr/intlayer_with_tanstack+solid.md +911 -0
  332. package/docs/fr/intlayer_with_tanstack.md +2 -2
  333. package/docs/fr/intlayer_with_vite+lit.md +9 -58
  334. package/docs/fr/intlayer_with_vite+preact.md +2 -2
  335. package/docs/fr/intlayer_with_vite+react.md +2 -2
  336. package/docs/fr/intlayer_with_vite+react_compiler.md +1 -1
  337. package/docs/fr/intlayer_with_vite+solid.md +2 -2
  338. package/docs/fr/intlayer_with_vite+svelte.md +2 -2
  339. package/docs/fr/intlayer_with_vite+vanilla.md +2 -2
  340. package/docs/fr/intlayer_with_vite+vue.md +5 -5
  341. package/docs/fr/packages/react-intlayer/index.md +1 -1
  342. package/docs/hi/dictionary/html.md +10 -3
  343. package/docs/hi/dictionary/markdown.md +17 -19
  344. package/docs/hi/intlayer_CMS.md +1 -1
  345. package/docs/hi/intlayer_with_adonisjs.md +1 -1
  346. package/docs/hi/intlayer_with_analog.md +9 -15
  347. package/docs/hi/intlayer_with_angular.md +1 -1
  348. package/docs/hi/intlayer_with_create_react_app.md +1 -1
  349. package/docs/hi/intlayer_with_express.md +1 -1
  350. package/docs/hi/intlayer_with_fastify.md +1 -1
  351. package/docs/hi/intlayer_with_hono.md +1 -1
  352. package/docs/hi/intlayer_with_lynx+react.md +1 -1
  353. package/docs/hi/intlayer_with_nestjs.md +1 -1
  354. package/docs/hi/intlayer_with_next-i18next.md +1 -1
  355. package/docs/hi/intlayer_with_next-intl.md +1 -1
  356. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  357. package/docs/hi/intlayer_with_nextjs_15.md +1 -1
  358. package/docs/hi/intlayer_with_nextjs_16.md +2 -2
  359. package/docs/hi/intlayer_with_nextjs_compiler.md +2 -2
  360. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1 -1
  361. package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
  362. package/docs/hi/intlayer_with_nuxt.md +1 -1
  363. package/docs/hi/intlayer_with_react_router_v7.md +2 -2
  364. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +2 -2
  365. package/docs/hi/intlayer_with_svelte_kit.md +3 -3
  366. package/docs/hi/intlayer_with_tanstack+solid.md +911 -0
  367. package/docs/hi/intlayer_with_tanstack.md +2 -2
  368. package/docs/hi/intlayer_with_vite+lit.md +9 -58
  369. package/docs/hi/intlayer_with_vite+preact.md +2 -2
  370. package/docs/hi/intlayer_with_vite+react.md +2 -2
  371. package/docs/hi/intlayer_with_vite+react_compiler.md +1 -1
  372. package/docs/hi/intlayer_with_vite+solid.md +2 -2
  373. package/docs/hi/intlayer_with_vite+svelte.md +2 -2
  374. package/docs/hi/intlayer_with_vite+vanilla.md +2 -2
  375. package/docs/hi/intlayer_with_vite+vue.md +5 -5
  376. package/docs/hi/packages/intlayer/index.md +1 -1
  377. package/docs/id/dictionary/html.md +10 -3
  378. package/docs/id/dictionary/markdown.md +17 -19
  379. package/docs/id/intlayer_CMS.md +1 -1
  380. package/docs/id/intlayer_with_adonisjs.md +1 -1
  381. package/docs/id/intlayer_with_analog.md +9 -15
  382. package/docs/id/intlayer_with_angular.md +1 -1
  383. package/docs/id/intlayer_with_create_react_app.md +1 -1
  384. package/docs/id/intlayer_with_express.md +1 -1
  385. package/docs/id/intlayer_with_fastify.md +1 -1
  386. package/docs/id/intlayer_with_hono.md +1 -1
  387. package/docs/id/intlayer_with_lynx+react.md +1 -1
  388. package/docs/id/intlayer_with_nestjs.md +1 -1
  389. package/docs/id/intlayer_with_next-i18next.md +1 -1
  390. package/docs/id/intlayer_with_next-intl.md +1 -1
  391. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  392. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  393. package/docs/id/intlayer_with_nextjs_16.md +2 -2
  394. package/docs/id/intlayer_with_nextjs_compiler.md +2 -2
  395. package/docs/id/intlayer_with_nextjs_no_locale_path.md +1 -1
  396. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  397. package/docs/id/intlayer_with_nuxt.md +1 -1
  398. package/docs/id/intlayer_with_react_native+expo.md +1 -1
  399. package/docs/id/intlayer_with_react_router_v7.md +2 -2
  400. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +2 -2
  401. package/docs/id/intlayer_with_svelte_kit.md +3 -3
  402. package/docs/id/intlayer_with_tanstack+solid.md +911 -0
  403. package/docs/id/intlayer_with_tanstack.md +2 -2
  404. package/docs/id/intlayer_with_vite+lit.md +9 -58
  405. package/docs/id/intlayer_with_vite+preact.md +2 -2
  406. package/docs/id/intlayer_with_vite+react.md +2 -2
  407. package/docs/id/intlayer_with_vite+react_compiler.md +1 -1
  408. package/docs/id/intlayer_with_vite+solid.md +2 -2
  409. package/docs/id/intlayer_with_vite+svelte.md +2 -2
  410. package/docs/id/intlayer_with_vite+vanilla.md +2 -2
  411. package/docs/id/intlayer_with_vite+vue.md +5 -5
  412. package/docs/it/compiler.md +8 -3
  413. package/docs/it/configuration.md +12 -9
  414. package/docs/it/dictionary/html.md +11 -8
  415. package/docs/it/dictionary/markdown.md +18 -24
  416. package/docs/it/intlayer_CMS.md +1 -1
  417. package/docs/it/intlayer_with_adonisjs.md +1 -1
  418. package/docs/it/intlayer_with_analog.md +9 -15
  419. package/docs/it/intlayer_with_angular.md +1 -1
  420. package/docs/it/intlayer_with_create_react_app.md +1 -1
  421. package/docs/it/intlayer_with_express.md +1 -1
  422. package/docs/it/intlayer_with_fastify.md +1 -1
  423. package/docs/it/intlayer_with_hono.md +1 -1
  424. package/docs/it/intlayer_with_lynx+react.md +1 -1
  425. package/docs/it/intlayer_with_nestjs.md +1 -1
  426. package/docs/it/intlayer_with_next-i18next.md +1 -1
  427. package/docs/it/intlayer_with_next-intl.md +1 -1
  428. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  429. package/docs/it/intlayer_with_nextjs_15.md +1 -1
  430. package/docs/it/intlayer_with_nextjs_16.md +2 -2
  431. package/docs/it/intlayer_with_nextjs_compiler.md +2 -2
  432. package/docs/it/intlayer_with_nextjs_no_locale_path.md +1 -1
  433. package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
  434. package/docs/it/intlayer_with_nuxt.md +1 -1
  435. package/docs/it/intlayer_with_react_native+expo.md +1 -1
  436. package/docs/it/intlayer_with_react_router_v7.md +2 -2
  437. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +2 -2
  438. package/docs/it/intlayer_with_svelte_kit.md +3 -3
  439. package/docs/it/intlayer_with_tanstack+solid.md +911 -0
  440. package/docs/it/intlayer_with_tanstack.md +2 -2
  441. package/docs/it/intlayer_with_vite+lit.md +9 -58
  442. package/docs/it/intlayer_with_vite+preact.md +2 -2
  443. package/docs/it/intlayer_with_vite+react.md +2 -2
  444. package/docs/it/intlayer_with_vite+react_compiler.md +1 -1
  445. package/docs/it/intlayer_with_vite+solid.md +2 -2
  446. package/docs/it/intlayer_with_vite+svelte.md +2 -2
  447. package/docs/it/intlayer_with_vite+vanilla.md +2 -2
  448. package/docs/it/intlayer_with_vite+vue.md +5 -5
  449. package/docs/ja/dictionary/html.md +11 -8
  450. package/docs/ja/dictionary/markdown.md +21 -24
  451. package/docs/ja/intlayer_CMS.md +1 -1
  452. package/docs/ja/intlayer_with_adonisjs.md +1 -1
  453. package/docs/ja/intlayer_with_analog.md +9 -15
  454. package/docs/ja/intlayer_with_angular.md +1 -1
  455. package/docs/ja/intlayer_with_create_react_app.md +1 -1
  456. package/docs/ja/intlayer_with_express.md +1 -1
  457. package/docs/ja/intlayer_with_fastify.md +1 -1
  458. package/docs/ja/intlayer_with_hono.md +1 -1
  459. package/docs/ja/intlayer_with_lynx+react.md +1 -1
  460. package/docs/ja/intlayer_with_nestjs.md +1 -1
  461. package/docs/ja/intlayer_with_next-i18next.md +1 -1
  462. package/docs/ja/intlayer_with_next-intl.md +1 -1
  463. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  464. package/docs/ja/intlayer_with_nextjs_15.md +1 -1
  465. package/docs/ja/intlayer_with_nextjs_16.md +2 -2
  466. package/docs/ja/intlayer_with_nextjs_compiler.md +2 -2
  467. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1 -1
  468. package/docs/ja/intlayer_with_nextjs_page_router.md +1 -1
  469. package/docs/ja/intlayer_with_nuxt.md +1 -1
  470. package/docs/ja/intlayer_with_react_router_v7.md +1 -1
  471. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +2 -2
  472. package/docs/ja/intlayer_with_svelte_kit.md +1 -1
  473. package/docs/ja/intlayer_with_tanstack+solid.md +911 -0
  474. package/docs/ja/intlayer_with_tanstack.md +1 -1
  475. package/docs/ja/intlayer_with_vite+lit.md +9 -58
  476. package/docs/ja/intlayer_with_vite+preact.md +1 -1
  477. package/docs/ja/intlayer_with_vite+react.md +1 -1
  478. package/docs/ja/intlayer_with_vite+react_compiler.md +1 -1
  479. package/docs/ja/intlayer_with_vite+solid.md +2 -2
  480. package/docs/ja/intlayer_with_vite+svelte.md +2 -2
  481. package/docs/ja/intlayer_with_vite+vanilla.md +2 -2
  482. package/docs/ja/intlayer_with_vite+vue.md +5 -5
  483. package/docs/ko/dictionary/html.md +11 -8
  484. package/docs/ko/dictionary/markdown.md +18 -24
  485. package/docs/ko/intlayer_CMS.md +1 -1
  486. package/docs/ko/intlayer_with_adonisjs.md +1 -1
  487. package/docs/ko/intlayer_with_analog.md +9 -15
  488. package/docs/ko/intlayer_with_angular.md +1 -1
  489. package/docs/ko/intlayer_with_create_react_app.md +1 -1
  490. package/docs/ko/intlayer_with_express.md +1 -1
  491. package/docs/ko/intlayer_with_fastify.md +1 -1
  492. package/docs/ko/intlayer_with_hono.md +1 -1
  493. package/docs/ko/intlayer_with_lynx+react.md +1 -1
  494. package/docs/ko/intlayer_with_nestjs.md +1 -1
  495. package/docs/ko/intlayer_with_next-i18next.md +1 -1
  496. package/docs/ko/intlayer_with_next-intl.md +1 -1
  497. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  498. package/docs/ko/intlayer_with_nextjs_15.md +1 -1
  499. package/docs/ko/intlayer_with_nextjs_16.md +2 -2
  500. package/docs/ko/intlayer_with_nextjs_compiler.md +2 -2
  501. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1 -1
  502. package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
  503. package/docs/ko/intlayer_with_nuxt.md +1 -1
  504. package/docs/ko/intlayer_with_react_native+expo.md +1 -1
  505. package/docs/ko/intlayer_with_react_router_v7.md +2 -2
  506. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +2 -2
  507. package/docs/ko/intlayer_with_svelte_kit.md +3 -3
  508. package/docs/ko/intlayer_with_tanstack+solid.md +911 -0
  509. package/docs/ko/intlayer_with_tanstack.md +2 -2
  510. package/docs/ko/intlayer_with_vite+lit.md +9 -58
  511. package/docs/ko/intlayer_with_vite+preact.md +2 -2
  512. package/docs/ko/intlayer_with_vite+react.md +2 -2
  513. package/docs/ko/intlayer_with_vite+react_compiler.md +1 -1
  514. package/docs/ko/intlayer_with_vite+solid.md +2 -2
  515. package/docs/ko/intlayer_with_vite+svelte.md +2 -2
  516. package/docs/ko/intlayer_with_vite+vanilla.md +2 -2
  517. package/docs/ko/intlayer_with_vite+vue.md +5 -5
  518. package/docs/nl/intlayer_with_fastify.md +1 -1
  519. package/docs/nl/intlayer_with_hono.md +1 -1
  520. package/docs/nl/intlayer_with_vite+lit.md +9 -58
  521. package/docs/nl/intlayer_with_vite+vanilla.md +2 -2
  522. package/docs/pl/dictionary/html.md +11 -8
  523. package/docs/pl/dictionary/markdown.md +18 -24
  524. package/docs/pl/intlayer_CMS.md +1 -1
  525. package/docs/pl/intlayer_with_adonisjs.md +1 -1
  526. package/docs/pl/intlayer_with_analog.md +9 -15
  527. package/docs/pl/intlayer_with_angular.md +1 -1
  528. package/docs/pl/intlayer_with_create_react_app.md +1 -1
  529. package/docs/pl/intlayer_with_express.md +1 -1
  530. package/docs/pl/intlayer_with_fastify.md +1 -1
  531. package/docs/pl/intlayer_with_hono.md +1 -1
  532. package/docs/pl/intlayer_with_lynx+react.md +1 -1
  533. package/docs/pl/intlayer_with_nestjs.md +1 -1
  534. package/docs/pl/intlayer_with_next-i18next.md +1 -1
  535. package/docs/pl/intlayer_with_next-intl.md +1 -1
  536. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  537. package/docs/pl/intlayer_with_nextjs_15.md +1 -1
  538. package/docs/pl/intlayer_with_nextjs_16.md +2 -2
  539. package/docs/pl/intlayer_with_nextjs_compiler.md +2 -2
  540. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +1 -1
  541. package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
  542. package/docs/pl/intlayer_with_nuxt.md +1 -1
  543. package/docs/pl/intlayer_with_react_native+expo.md +1 -1
  544. package/docs/pl/intlayer_with_react_router_v7.md +2 -2
  545. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +2 -2
  546. package/docs/pl/intlayer_with_svelte_kit.md +3 -3
  547. package/docs/pl/intlayer_with_tanstack+solid.md +911 -0
  548. package/docs/pl/intlayer_with_tanstack.md +2 -2
  549. package/docs/pl/intlayer_with_vite+lit.md +9 -58
  550. package/docs/pl/intlayer_with_vite+preact.md +2 -2
  551. package/docs/pl/intlayer_with_vite+react.md +2 -2
  552. package/docs/pl/intlayer_with_vite+react_compiler.md +1 -1
  553. package/docs/pl/intlayer_with_vite+solid.md +2 -2
  554. package/docs/pl/intlayer_with_vite+svelte.md +2 -2
  555. package/docs/pl/intlayer_with_vite+vanilla.md +2 -2
  556. package/docs/pl/intlayer_with_vite+vue.md +5 -5
  557. package/docs/pt/compiler.md +7 -2
  558. package/docs/pt/configuration.md +11 -9
  559. package/docs/pt/dictionary/html.md +11 -8
  560. package/docs/pt/dictionary/markdown.md +18 -24
  561. package/docs/pt/intlayer_CMS.md +1 -1
  562. package/docs/pt/intlayer_with_adonisjs.md +1 -1
  563. package/docs/pt/intlayer_with_analog.md +9 -15
  564. package/docs/pt/intlayer_with_angular.md +1 -1
  565. package/docs/pt/intlayer_with_create_react_app.md +1 -1
  566. package/docs/pt/intlayer_with_express.md +1 -1
  567. package/docs/pt/intlayer_with_fastify.md +1 -1
  568. package/docs/pt/intlayer_with_hono.md +1 -1
  569. package/docs/pt/intlayer_with_lynx+react.md +1 -1
  570. package/docs/pt/intlayer_with_nestjs.md +1 -1
  571. package/docs/pt/intlayer_with_next-i18next.md +1 -1
  572. package/docs/pt/intlayer_with_next-intl.md +1 -1
  573. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  574. package/docs/pt/intlayer_with_nextjs_15.md +1 -1
  575. package/docs/pt/intlayer_with_nextjs_16.md +2 -2
  576. package/docs/pt/intlayer_with_nextjs_compiler.md +2 -2
  577. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +1 -1
  578. package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
  579. package/docs/pt/intlayer_with_nuxt.md +1 -1
  580. package/docs/pt/intlayer_with_react_native+expo.md +1 -1
  581. package/docs/pt/intlayer_with_react_router_v7.md +2 -2
  582. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +2 -2
  583. package/docs/pt/intlayer_with_svelte_kit.md +3 -3
  584. package/docs/pt/intlayer_with_tanstack+solid.md +911 -0
  585. package/docs/pt/intlayer_with_tanstack.md +2 -2
  586. package/docs/pt/intlayer_with_vite+lit.md +9 -58
  587. package/docs/pt/intlayer_with_vite+preact.md +2 -2
  588. package/docs/pt/intlayer_with_vite+react.md +2 -2
  589. package/docs/pt/intlayer_with_vite+react_compiler.md +1 -1
  590. package/docs/pt/intlayer_with_vite+solid.md +2 -2
  591. package/docs/pt/intlayer_with_vite+svelte.md +2 -2
  592. package/docs/pt/intlayer_with_vite+vanilla.md +2 -2
  593. package/docs/pt/intlayer_with_vite+vue.md +5 -5
  594. package/docs/ru/dictionary/html.md +11 -8
  595. package/docs/ru/dictionary/markdown.md +18 -24
  596. package/docs/ru/intlayer_CMS.md +1 -1
  597. package/docs/ru/intlayer_with_adonisjs.md +1 -1
  598. package/docs/ru/intlayer_with_analog.md +9 -15
  599. package/docs/ru/intlayer_with_angular.md +1 -1
  600. package/docs/ru/intlayer_with_create_react_app.md +1 -1
  601. package/docs/ru/intlayer_with_express.md +1 -1
  602. package/docs/ru/intlayer_with_fastify.md +1 -1
  603. package/docs/ru/intlayer_with_hono.md +1 -1
  604. package/docs/ru/intlayer_with_lynx+react.md +1 -1
  605. package/docs/ru/intlayer_with_nestjs.md +1 -1
  606. package/docs/ru/intlayer_with_next-i18next.md +1 -1
  607. package/docs/ru/intlayer_with_next-intl.md +1 -1
  608. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  609. package/docs/ru/intlayer_with_nextjs_15.md +1 -1
  610. package/docs/ru/intlayer_with_nextjs_16.md +2 -2
  611. package/docs/ru/intlayer_with_nextjs_compiler.md +2 -2
  612. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1 -1
  613. package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
  614. package/docs/ru/intlayer_with_nuxt.md +1 -1
  615. package/docs/ru/intlayer_with_react_native+expo.md +1 -1
  616. package/docs/ru/intlayer_with_react_router_v7.md +2 -2
  617. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +2 -2
  618. package/docs/ru/intlayer_with_svelte_kit.md +3 -3
  619. package/docs/ru/intlayer_with_tanstack+solid.md +911 -0
  620. package/docs/ru/intlayer_with_tanstack.md +2 -2
  621. package/docs/ru/intlayer_with_vite+lit.md +9 -58
  622. package/docs/ru/intlayer_with_vite+preact.md +2 -2
  623. package/docs/ru/intlayer_with_vite+react.md +2 -2
  624. package/docs/ru/intlayer_with_vite+react_compiler.md +1 -1
  625. package/docs/ru/intlayer_with_vite+solid.md +2 -2
  626. package/docs/ru/intlayer_with_vite+svelte.md +2 -2
  627. package/docs/ru/intlayer_with_vite+vanilla.md +2 -2
  628. package/docs/ru/intlayer_with_vite+vue.md +5 -5
  629. package/docs/tr/dictionary/html.md +11 -8
  630. package/docs/tr/dictionary/markdown.md +18 -24
  631. package/docs/tr/intlayer_CMS.md +1 -1
  632. package/docs/tr/intlayer_with_adonisjs.md +1 -1
  633. package/docs/tr/intlayer_with_analog.md +9 -15
  634. package/docs/tr/intlayer_with_angular.md +1 -1
  635. package/docs/tr/intlayer_with_create_react_app.md +1 -1
  636. package/docs/tr/intlayer_with_express.md +1 -1
  637. package/docs/tr/intlayer_with_fastify.md +1 -1
  638. package/docs/tr/intlayer_with_hono.md +1 -1
  639. package/docs/tr/intlayer_with_lynx+react.md +1 -1
  640. package/docs/tr/intlayer_with_nestjs.md +1 -1
  641. package/docs/tr/intlayer_with_next-i18next.md +1 -1
  642. package/docs/tr/intlayer_with_next-intl.md +1 -1
  643. package/docs/tr/intlayer_with_nextjs_14.md +1 -1
  644. package/docs/tr/intlayer_with_nextjs_15.md +1 -1
  645. package/docs/tr/intlayer_with_nextjs_16.md +2 -2
  646. package/docs/tr/intlayer_with_nextjs_compiler.md +2 -2
  647. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1 -1
  648. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  649. package/docs/tr/intlayer_with_nuxt.md +1 -1
  650. package/docs/tr/intlayer_with_react_native+expo.md +1 -1
  651. package/docs/tr/intlayer_with_react_router_v7.md +2 -2
  652. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +2 -2
  653. package/docs/tr/intlayer_with_svelte_kit.md +3 -3
  654. package/docs/tr/intlayer_with_tanstack+solid.md +912 -0
  655. package/docs/tr/intlayer_with_tanstack.md +2 -2
  656. package/docs/tr/intlayer_with_vite+lit.md +9 -58
  657. package/docs/tr/intlayer_with_vite+preact.md +2 -2
  658. package/docs/tr/intlayer_with_vite+react.md +2 -2
  659. package/docs/tr/intlayer_with_vite+react_compiler.md +1 -1
  660. package/docs/tr/intlayer_with_vite+solid.md +2 -2
  661. package/docs/tr/intlayer_with_vite+svelte.md +2 -2
  662. package/docs/tr/intlayer_with_vite+vanilla.md +2 -2
  663. package/docs/tr/intlayer_with_vite+vue.md +5 -5
  664. package/docs/uk/dictionary/html.md +10 -3
  665. package/docs/uk/dictionary/markdown.md +17 -19
  666. package/docs/uk/intlayer_CMS.md +1 -1
  667. package/docs/uk/intlayer_with_adonisjs.md +1 -1
  668. package/docs/uk/intlayer_with_analog.md +9 -15
  669. package/docs/uk/intlayer_with_angular.md +1 -1
  670. package/docs/uk/intlayer_with_create_react_app.md +1 -1
  671. package/docs/uk/intlayer_with_express.md +1 -1
  672. package/docs/uk/intlayer_with_fastify.md +1 -1
  673. package/docs/uk/intlayer_with_hono.md +1 -1
  674. package/docs/uk/intlayer_with_lynx+react.md +1 -1
  675. package/docs/uk/intlayer_with_nestjs.md +1 -1
  676. package/docs/uk/intlayer_with_next-i18next.md +1 -1
  677. package/docs/uk/intlayer_with_next-intl.md +1 -1
  678. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  679. package/docs/uk/intlayer_with_nextjs_15.md +1 -1
  680. package/docs/uk/intlayer_with_nextjs_16.md +2 -2
  681. package/docs/uk/intlayer_with_nextjs_compiler.md +2 -2
  682. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1 -1
  683. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  684. package/docs/uk/intlayer_with_nuxt.md +1 -1
  685. package/docs/uk/intlayer_with_react_native+expo.md +1 -1
  686. package/docs/uk/intlayer_with_react_router_v7.md +2 -2
  687. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +2 -2
  688. package/docs/uk/intlayer_with_svelte_kit.md +2 -2
  689. package/docs/uk/intlayer_with_tanstack+solid.md +911 -0
  690. package/docs/uk/intlayer_with_tanstack.md +2 -2
  691. package/docs/uk/intlayer_with_vite+lit.md +9 -58
  692. package/docs/uk/intlayer_with_vite+preact.md +2 -2
  693. package/docs/uk/intlayer_with_vite+react.md +2 -2
  694. package/docs/uk/intlayer_with_vite+react_compiler.md +1 -1
  695. package/docs/uk/intlayer_with_vite+solid.md +2 -2
  696. package/docs/uk/intlayer_with_vite+svelte.md +2 -2
  697. package/docs/uk/intlayer_with_vite+vanilla.md +2 -2
  698. package/docs/uk/intlayer_with_vite+vue.md +5 -5
  699. package/docs/ur/intlayer_with_fastify.md +1 -1
  700. package/docs/ur/intlayer_with_hono.md +1 -1
  701. package/docs/ur/intlayer_with_vite+lit.md +9 -58
  702. package/docs/ur/intlayer_with_vite+vanilla.md +1 -1
  703. package/docs/vi/cli/index.md +1 -1
  704. package/docs/vi/dictionary/html.md +10 -3
  705. package/docs/vi/dictionary/markdown.md +17 -19
  706. package/docs/vi/intlayer_CMS.md +1 -1
  707. package/docs/vi/intlayer_with_adonisjs.md +1 -1
  708. package/docs/vi/intlayer_with_analog.md +9 -15
  709. package/docs/vi/intlayer_with_angular.md +1 -1
  710. package/docs/vi/intlayer_with_create_react_app.md +1 -1
  711. package/docs/vi/intlayer_with_express.md +1 -1
  712. package/docs/vi/intlayer_with_fastify.md +1 -1
  713. package/docs/vi/intlayer_with_hono.md +1 -1
  714. package/docs/vi/intlayer_with_lynx+react.md +1 -1
  715. package/docs/vi/intlayer_with_nestjs.md +1 -1
  716. package/docs/vi/intlayer_with_next-i18next.md +1 -1
  717. package/docs/vi/intlayer_with_next-intl.md +1 -1
  718. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  719. package/docs/vi/intlayer_with_nextjs_15.md +1 -1
  720. package/docs/vi/intlayer_with_nextjs_16.md +2 -2
  721. package/docs/vi/intlayer_with_nextjs_compiler.md +2 -2
  722. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1 -1
  723. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  724. package/docs/vi/intlayer_with_nuxt.md +1 -1
  725. package/docs/vi/intlayer_with_react_native+expo.md +1 -1
  726. package/docs/vi/intlayer_with_react_router_v7.md +2 -2
  727. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +2 -2
  728. package/docs/vi/intlayer_with_svelte_kit.md +3 -3
  729. package/docs/vi/intlayer_with_tanstack+solid.md +911 -0
  730. package/docs/vi/intlayer_with_tanstack.md +2 -2
  731. package/docs/vi/intlayer_with_vite+lit.md +9 -58
  732. package/docs/vi/intlayer_with_vite+preact.md +2 -2
  733. package/docs/vi/intlayer_with_vite+react.md +2 -2
  734. package/docs/vi/intlayer_with_vite+react_compiler.md +1 -1
  735. package/docs/vi/intlayer_with_vite+solid.md +2 -2
  736. package/docs/vi/intlayer_with_vite+svelte.md +2 -2
  737. package/docs/vi/intlayer_with_vite+vanilla.md +2 -2
  738. package/docs/vi/intlayer_with_vite+vue.md +5 -5
  739. package/docs/zh/compiler.md +8 -3
  740. package/docs/zh/configuration.md +4 -1
  741. package/docs/zh/dictionary/html.md +11 -8
  742. package/docs/zh/dictionary/markdown.md +18 -24
  743. package/docs/zh/intlayer_CMS.md +1 -1
  744. package/docs/zh/intlayer_with_adonisjs.md +1 -1
  745. package/docs/zh/intlayer_with_analog.md +9 -15
  746. package/docs/zh/intlayer_with_angular.md +1 -1
  747. package/docs/zh/intlayer_with_create_react_app.md +1 -1
  748. package/docs/zh/intlayer_with_express.md +1 -1
  749. package/docs/zh/intlayer_with_fastify.md +1 -1
  750. package/docs/zh/intlayer_with_hono.md +1 -1
  751. package/docs/zh/intlayer_with_lynx+react.md +1 -1
  752. package/docs/zh/intlayer_with_nestjs.md +1 -1
  753. package/docs/zh/intlayer_with_next-i18next.md +1 -1
  754. package/docs/zh/intlayer_with_next-intl.md +1 -1
  755. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  756. package/docs/zh/intlayer_with_nextjs_15.md +1 -1
  757. package/docs/zh/intlayer_with_nextjs_16.md +2 -2
  758. package/docs/zh/intlayer_with_nextjs_compiler.md +2 -2
  759. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1 -1
  760. package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
  761. package/docs/zh/intlayer_with_nuxt.md +1 -1
  762. package/docs/zh/intlayer_with_react_native+expo.md +1 -1
  763. package/docs/zh/intlayer_with_react_router_v7.md +2 -2
  764. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +2 -2
  765. package/docs/zh/intlayer_with_svelte_kit.md +3 -3
  766. package/docs/zh/intlayer_with_tanstack+solid.md +911 -0
  767. package/docs/zh/intlayer_with_tanstack.md +2 -2
  768. package/docs/zh/intlayer_with_vite+lit.md +9 -58
  769. package/docs/zh/intlayer_with_vite+preact.md +2 -2
  770. package/docs/zh/intlayer_with_vite+react.md +2 -2
  771. package/docs/zh/intlayer_with_vite+react_compiler.md +1 -1
  772. package/docs/zh/intlayer_with_vite+solid.md +2 -2
  773. package/docs/zh/intlayer_with_vite+svelte.md +2 -2
  774. package/docs/zh/intlayer_with_vite+vanilla.md +2 -2
  775. package/docs/zh/intlayer_with_vite+vue.md +5 -5
  776. package/package.json +6 -6
  777. package/src/generated/docs.entry.ts +20 -0
@@ -0,0 +1,912 @@
1
+ ---
2
+ createdAt: 2025-03-25
3
+ updatedAt: 2026-03-25
4
+ title: i18n Tanstack Start - How to translate a Tanstack Start App using Solid.js in 2026
5
+ description: Learn how to add internationalisation (i18n) to your Tanstack Start application using Intlayer and Solid.js. Follow this comprehensive guide to make your app multi-lingual with locale-aware routing.
6
+ keywords:
7
+ - Internationalisation
8
+ - Documentation
9
+ - Intlayer
10
+ - Tanstack Start
11
+ - Solid
12
+ - i18n
13
+ - TypeScript
14
+ - Locale Routing
15
+ slugs:
16
+ - doc
17
+ - environment
18
+ - tanstack-start
19
+ applicationTemplate: https://github.com/aymericzip/intlayer-tanstack-start-solid-template
20
+ youtubeVideo: https://www.youtube.com/watch?v=_XTdKVWaeqg
21
+ history:
22
+ - version: 8.5.1
23
+ date: 2026-03-25
24
+ changes: "Added for Tanstack Start Solid.js"
25
+ ---
26
+
27
+ # Translate your Tanstack Start website with Solid.js using Intlayer | Internationalisation (i18n)
28
+
29
+ ## Table of Contents
30
+
31
+ <TOC/>
32
+
33
+ This guide demonstrates how to integrate **Intlayer** for seamless internationalisation in Tanstack Start projects with Solid.js, locale-aware routing, TypeScript support, and modern development practices.
34
+
35
+ ## What is Intlayer?
36
+
37
+ **Intlayer** is an innovative, open-source internationalisation (i18n) library designed to simplify multi-lingual support in modern web applications.
38
+
39
+ With Intlayer, you can:
40
+
41
+ - **Manage translations easily** using declarative dictionaries at the component level.
42
+ - **Localise metadata, routes, and content dynamically**.
43
+ - **Ensure TypeScript support** with auto-generated types, improving autocompletion and error detection.
44
+ - **Benefit from advanced features**, such as dynamic locale detection and switching.
45
+ - **Enable locale-aware routing** with Tanstack Start's file-based routing system.
46
+
47
+ ---
48
+
49
+ ## Step-by-Step Guide to Setting Up Intlayer in a Tanstack Start Application
50
+
51
+ <Tabs defaultTab="video">
52
+ <Tab label="Video" value="video">
53
+
54
+ <iframe title="The best i18n solution for Tanstack Start? Discover Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/_XTdKVWaeqg?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
55
+
56
+ </Tab>
57
+ <Tab label="Code" value="code">
58
+
59
+ <iframe
60
+ src="https://stackblitz.com/github/aymericzip/intlayer-tanstack-start-solid-template?embed=1&ctl=1&file=intlayer.config.ts"
61
+ className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
62
+ title="Demo CodeSandbox - How to Internationalise your application using Intlayer"
63
+ sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
64
+ loading="lazy"
65
+ />
66
+
67
+ </Tab>
68
+ </Tabs>
69
+
70
+ See the [Application Template](https://github.com/aymericzip/intlayer-tanstack-start-solid-template) on GitHub.
71
+
72
+ ### Step 1: Project Creation
73
+
74
+ First, create a new TanStack Start project following the [Start New Project](https://tanstack.com/start/latest/docs/framework/solid/quick-start) guide on the TanStack Start website.
75
+
76
+ ### Step 2: Install Intlayer Packages
77
+
78
+ Install the necessary packages using your preferred package manager:
79
+
80
+ ```bash packageManager="npm"
81
+ npm install intlayer solid-intlayer
82
+ npm install vite-intlayer --save-dev
83
+ npx intlayer init
84
+ ```
85
+
86
+ ```bash packageManager="pnpm"
87
+ pnpm add intlayer solid-intlayer
88
+ pnpm add vite-intlayer --save-dev
89
+ pnpm intlayer init
90
+ ```
91
+
92
+ ```bash packageManager="yarn"
93
+ yarn add intlayer solid-intlayer
94
+ yarn add vite-intlayer --save-dev
95
+ yarn intlayer init
96
+ ```
97
+
98
+ ```bash packageManager="bun"
99
+ bun add intlayer solid-intlayer
100
+ bun add vite-intlayer --dev
101
+ bun x intlayer init
102
+ ```
103
+
104
+ - **intlayer**
105
+
106
+ The core package that provides internationalisation tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/index.md).
107
+
108
+ - **solid-intlayer**
109
+ The package that integrates Intlayer into the Solid application. It provides context providers and hooks for Solid internationalisation.
110
+
111
+ - **vite-intlayer**
112
+ Includes the Vite plugin to integrate Intlayer with the [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production), as well as middleware to detect the user's preferred locale, manage cookies, and handle URL redirection.
113
+
114
+ ### Step 3: Configuration of your project
115
+
116
+ Create a configuration file to set up the languages of your application:
117
+
118
+ ```typescript fileName="intlayer.config.ts"
119
+ import type { IntlayerConfig } from "intlayer";
120
+
121
+ import { Locales } from "intlayer";
122
+
123
+ const config: IntlayerConfig = {
124
+ internationalization: {
125
+ defaultLocale: Locales.ENGLISH,
126
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
127
+ },
128
+ };
129
+
130
+ export default config;
131
+ ```
132
+
133
+ > Through this configuration file, you can configure localised URLs, middleware redirection, cookie names, the location and extension of your content declarations, disable Intlayer logs in the console, and more. For a complete list of available parameters, refer to the [configuration documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md).
134
+
135
+ ### Step 4: Integrate Intlayer in your Vite Configuration
136
+
137
+ Add the intlayer plugin in your configuration:
138
+
139
+ ```typescript fileName="vite.config.ts"
140
+ import { intlayer } from "vite-intlayer";
141
+ import { defineConfig } from "vite";
142
+ import { devtools } from "@tanstack/devtools-vite";
143
+ import viteTsConfigPaths from "vite-tsconfig-paths";
144
+ import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
145
+ import solidPlugin from "vite-plugin-solid";
146
+
147
+ export default defineConfig({
148
+ plugins: [
149
+ devtools(),
150
+ viteTsConfigPaths({
151
+ projects: ["./tsconfig.json"],
152
+ }),
153
+ tanstackStart({
154
+ router: {
155
+ routeFileIgnorePattern:
156
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
157
+ },
158
+ }),
159
+ solidPlugin({ ssr: true }),
160
+ intlayer(),
161
+ ],
162
+ });
163
+ ```
164
+
165
+ > The `intlayer()` Vite plugin is used to integrate Intlayer with Vite. It ensures the building of content declaration files and monitors them in development mode. It defines the Intlayer environment variables within the Vite application. Additionally, it provides aliases to reduce performance overhead.
166
+
167
+ ### Step 5: Create the Root Layout
168
+
169
+ Configure your root layout to support internationalisation by using `useMatches` to detect the current locale and setting the `lang` and `dir` attributes on the `html` tag.
170
+
171
+ ```tsx fileName="src/routes/__root.tsx"
172
+ import {
173
+ HeadContent,
174
+ Outlet,
175
+ Scripts,
176
+ createRootRouteWithContext,
177
+ useMatches,
178
+ } from "@tanstack/solid-router";
179
+ import { TanStackRouterDevtools } from "@tanstack/solid-router-devtools";
180
+ import { HydrationScript } from "solid-js/web";
181
+ import { Suspense } from "solid-js";
182
+ import { IntlayerProvider } from "solid-intlayer";
183
+ import { defaultLocale, getHTMLTextDir, type Locale } from "intlayer";
184
+
185
+ export const Route = createRootRouteWithContext()({
186
+ shellComponent: RootComponent,
187
+ });
188
+
189
+ type Params = {
190
+ locale: Locale;
191
+ };
192
+
193
+ function RootComponent() {
194
+ const matches = useMatches();
195
+
196
+ // Try to find the locale in the parameters of any active match
197
+ // This assumes you use the dynamic segment "/{-$locale}" in your route tree
198
+ const locale =
199
+ (
200
+ matches().find((match) => match.routeId === "/{-$locale}/")
201
+ ?.params as Params
202
+ )?.locale ?? defaultLocale;
203
+
204
+ return (
205
+ <html dir={getHTMLTextDir(locale)} lang={locale}>
206
+ <head>
207
+ <HydrationScript />
208
+ </head>
209
+ <body>
210
+ <HeadContent />
211
+ <IntlayerProvider locale={locale}>
212
+ <Suspense>
213
+ <Outlet />
214
+ <TanStackRouterDevtools />
215
+ </Suspense>
216
+ </IntlayerProvider>
217
+ <Scripts />
218
+ </body>
219
+ </html>
220
+ );
221
+ }
222
+ ```
223
+
224
+ > [!NOTE]
225
+ > in Solid files, `useMatches` returns a **signal** (reactive accessor). Use `matches()` (with parentheses) to reactively access the current value.
226
+
227
+ ### Step 6: Create the Locale Layout (Optional)
228
+
229
+ Create a layout that handles the locale prefix and performs validation. This layout will ensure only valid locales are processed.
230
+
231
+ > This step is optional if you don't need to validate the locale prefix at the route level.
232
+
233
+ ```tsx fileName="src/routes/{-$locale}/route.tsx"
234
+ import { createFileRoute, Outlet, redirect } from "@tanstack/solid-router";
235
+ import { validatePrefix } from "intlayer";
236
+
237
+ export const Route = createFileRoute("/{-$locale}")({
238
+ beforeLoad: ({ params }) => {
239
+ const localeParam = params.locale;
240
+
241
+ // Validate the locale prefix
242
+ const { isValid, localePrefix } = validatePrefix(localeParam);
243
+
244
+ if (!isValid) {
245
+ throw redirect({
246
+ to: "/{-$locale}/404",
247
+ params: { locale: localePrefix },
248
+ replace: true,
249
+ });
250
+ }
251
+ },
252
+ component: Outlet,
253
+ });
254
+ ```
255
+
256
+ > Here, `{-$locale}` is a dynamic route parameter that is replaced by the current locale. This notation makes the slot optional, allowing it to work with routing modes like `'prefix-no-default'` etc.
257
+
258
+ > Be aware that this slot may cause issues if you use multiple dynamic segments in the same route (ex: `/{-$locale}/other-path/$anotherDynamicPath/...`).
259
+ > For `'prefix-all'` mode, you might prefer switching the slot to `$locale`.
260
+ > For `'no-prefix'` or `'search-params'` mode, you can remove the slot entirely.
261
+
262
+ ### Step 7: Declare Your Content
263
+
264
+ Create and manage your content declarations to store translations:
265
+
266
+ ```tsx fileName="src/contents/page.content.ts"
267
+ import type { Dictionary } from "intlayer";
268
+
269
+ import { t } from "intlayer";
270
+
271
+ const appContent = {
272
+ content: {
273
+ links: {
274
+ about: t({
275
+ en: "About",
276
+ es: "Acerca de",
277
+ fr: "À propos",
278
+ }),
279
+ home: t({
280
+ en: "Home",
281
+ es: "Inicio",
282
+ fr: "Accueil",
283
+ }),
284
+ },
285
+ meta: {
286
+ title: t({
287
+ en: "Welcome to Intlayer + TanStack Router",
288
+ es: "Bienvenido a Intlayer + TanStack Router",
289
+ fr: "Bienvenue à Intlayer + TanStack Router",
290
+ }),
291
+ description: t({
292
+ en: "This is an example of using Intlayer with TanStack Router",
293
+ es: "Este es un ejemplo de uso de Intlayer con TanStack Router",
294
+ fr: "Ceci est un exemple d'utilisation d'Intlayer avec TanStack Router",
295
+ }),
296
+ },
297
+ },
298
+ key: "app",
299
+ } satisfies Dictionary;
300
+
301
+ export default appContent;
302
+ ```
303
+
304
+ > Your content declarations can be defined anywhere in your application, as long as they are included in the `contentDir` directory (by default, `./app`). And match the content declaration file extension (by default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
305
+
306
+ > For more details, refer to the [content declaration documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/content_file.md).
307
+
308
+ ### Step 8: Utilise Locale-Aware Components and Hooks
309
+
310
+ Create a `LocalizedLink` component for locale-aware navigation:
311
+
312
+ ```tsx fileName="src/components/LocalizedLink.tsx"
313
+ import { Link, type LinkProps } from "@tanstack/solid-router";
314
+ import { getPrefix } from "intlayer";
315
+ import { useLocale } from "solid-intlayer";
316
+ import type { JSX } from "solid-js";
317
+
318
+ export const LOCALE_ROUTE = "{-$locale}" as const;
319
+
320
+ export type RemoveLocaleParam<TVal> = TVal extends string
321
+ ? RemoveLocaleFromString<TVal>
322
+ : TVal;
323
+
324
+ export type To = RemoveLocaleParam<LinkProps["to"]>;
325
+
326
+ type CollapseDoubleSlashes<TString extends string> =
327
+ TString extends `${infer THead}//${infer TTail}`
328
+ ? CollapseDoubleSlashes<`${THead}/${TTail}`>
329
+ : TString;
330
+
331
+ export type LocalizedLinkProps = Omit<LinkProps, "to"> & {
332
+ to?: To;
333
+ } & JSX.AnchorHTMLAttributes<HTMLAnchorElement>;
334
+
335
+ type RemoveAll<
336
+ TString extends string,
337
+ TSub extends string,
338
+ McPherson,
339
+ > = TString extends `${infer THead}${TSub}${infer TTail}`
340
+ ? RemoveAll<`${THead}${TTail}`, TSub>
341
+ : TString;
342
+
343
+ type RemoveLocaleFromString<TString extends string> = CollapseDoubleSlashes<
344
+ RemoveAll<TString, typeof LOCALE_ROUTE>
345
+ >;
346
+
347
+ export const LocalizedLink = (props: LocalizedLinkProps) => {
348
+ const { locale } = useLocale();
349
+
350
+ return (
351
+ <Link
352
+ {...props}
353
+ params={{
354
+ locale: getPrefix(locale()).localePrefix,
355
+ ...(typeof props.params === "object" ? props.params : {}),
356
+ }}
357
+ to={`/${LOCALE_ROUTE}${props.to ?? ""}` as LinkProps["to"]}
358
+ />
359
+ );
360
+ };
361
+ ```
362
+
363
+ This component serves two purposes:
364
+
365
+ - Removing the unnecessary `{-$locale}` prefix from the URL.
366
+ - Injecting the locale parameter into the URL to ensure the user is directly redirected to the localised route.
367
+
368
+ Then, we can create a `useLocalizedNavigate` hook for programmatic navigation:
369
+
370
+ ```tsx fileName="src/hooks/useLocalizedNavigate.tsx"
371
+ import { useNavigate } from "@tanstack/solid-router";
372
+ import { getLocalizedUrl } from "intlayer";
373
+ import { useLocale } from "solid-intlayer";
374
+
375
+ export const useLocalizedNavigate = () => {
376
+ const navigate = useNavigate();
377
+ const { locale } = useLocale();
378
+
379
+ const localizedNavigate = (to: string) => {
380
+ const localizedTo = getLocalizedUrl(to, locale());
381
+ return navigate({ to: localizedTo });
382
+ };
383
+
384
+ return localizedNavigate;
385
+ };
386
+ ```
387
+
388
+ ### Step 9: Use Intlayer in Your Pages
389
+
390
+ Access your content dictionaries throughout your application:
391
+
392
+ #### Localised Home Page
393
+
394
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
395
+ import { createFileRoute } from "@tanstack/solid-router";
396
+ import { useIntlayer } from "solid-intlayer";
397
+ import { LocalizedLink } from "@/components/LocalizedLink";
398
+
399
+ export const Route = createFileRoute("/{-$locale}/")({
400
+ component: RouteComponent,
401
+ });
402
+
403
+ function RouteComponent() {
404
+ const content = useIntlayer("index-page");
405
+
406
+ return (
407
+ <main>
408
+ <h1>{content().heroTitle}</h1>
409
+ <p>{content().heroDesc}</p>
410
+ <div>
411
+ <LocalizedLink to="/">{content().navHome}</LocalizedLink>
412
+ <LocalizedLink to="/about">{content().navAbout}</LocalizedLink>
413
+ </div>
414
+ </main>
415
+ );
416
+ }
417
+ ```
418
+
419
+ > [!NOTE]
420
+ > in Solid, `useIntlayer` returns an **accessor** function (ex: `content()`). You must call this function to access the reactive content.
421
+ >
422
+ > To learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/solid-intlayer/useIntlayer.md).
423
+
424
+ ### Step 10: Create a Locale Switcher Component
425
+
426
+ Create a component to allow users to change languages:
427
+
428
+ ```tsx fileName="src/components/LocaleSwitcher.tsx"
429
+ import { useLocation } from "@tanstack/solid-router";
430
+ import { getLocaleName, getPathWithoutLocale, getPrefix } from "intlayer";
431
+ import { For } from "solid-js";
432
+ import { useIntlayer, useLocale } from "solid-intlayer";
433
+ import { LocalizedLink, type To } from "./LocalizedLink";
434
+
435
+ export const LocaleSwitcher = () => {
436
+ const content = useIntlayer("locale-switcher");
437
+ const location = useLocation();
438
+
439
+ const { availableLocales, locale, setLocale } = useLocale();
440
+
441
+ const pathWithoutLocale = () => getPathWithoutLocale(location().pathname);
442
+
443
+ return (
444
+ <div class="flex flex-row gap-2">
445
+ <For each={availableLocales}>
446
+ {(localeEl) => (
447
+ <LocalizedLink
448
+ aria-current={localeEl === locale() ? "page" : undefined}
449
+ onClick={() => setLocale(localeEl)}
450
+ params={{ locale: getPrefix(localeEl).localePrefix }}
451
+ to={pathWithoutLocale() as To}
452
+ >
453
+ {getLocaleName(localeEl)}
454
+ </LocalizedLink>
455
+ )}
456
+ </For>
457
+ </div>
458
+ );
459
+ };
460
+
461
+ export default LocaleSwitcher;
462
+ ```
463
+
464
+ > [!NOTE]
465
+ > in Solid files, `locale` from `useLocale` is a **signal accessor**. Use `locale()` (with parentheses) to reactively read its current value.
466
+ >
467
+ > To learn more about the `useLocale` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/solid-intlayer/useLocale.md).
468
+
469
+ ### Step 11: Management of HTML Attributes
470
+
471
+ As seen in Step 5, you can manage the `lang` and `dir` attributes of the `html` tag by using `useMatches` in your root component. This ensures that the correct attributes are set on both the server and client.
472
+
473
+ ```tsx fileName="src/routes/__root.tsx"
474
+ const RootComponent: ParentComponent = (props) => {
475
+ const matches = useMatches();
476
+
477
+ // Try to find the locale in the parameters of any active match
478
+ const locale =
479
+ (
480
+ matches().find((match) => match.routeId === "/{-$locale}/")
481
+ ?.params as Params
482
+ )?.locale ?? defaultLocale;
483
+
484
+ return (
485
+ <html dir={getHTMLTextDir(locale)} lang={locale}>
486
+ {/* ... */}
487
+ </html>
488
+ );
489
+ };
490
+ ```
491
+
492
+ ---
493
+
494
+ ### Step 12: Add Middleware (Optional)
495
+
496
+ You can also use the `intlayerProxy` to add server-side routing to your application. This plugin will automatically detect the current locale based on the URL and set the appropriate locale cookie. If no locale is specified, the plugin will determine the most appropriate locale based on the user's browser language preferences. If no locale is detected, it will redirect to the default locale.
497
+
498
+ > Note that to use the `intlayerProxy` in production, you need to switch the `vite-intlayer` package from `devDependencies` to `dependencies`.
499
+
500
+ ```typescript {7,14-17} fileName="vite.config.ts"
501
+ import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
502
+ import solid from "vite-plugin-solid";
503
+ import { nitro } from "nitro/vite";
504
+ import { defineConfig } from "vite";
505
+ import { intlayer, intlayerProxy } from "vite-intlayer";
506
+ import viteTsConfigPaths from "vite-tsconfig-paths";
507
+
508
+ export default defineConfig({
509
+ plugins: [
510
+ intlayerProxy(), // The Proxy should be placed before the server if you use Nitro
511
+ nitro(),
512
+ viteTsConfigPaths({
513
+ projects: ["./tsconfig.json"],
514
+ }),
515
+ intlayer(),
516
+ tanstackStart({
517
+ router: {
518
+ routeFileIgnorePattern:
519
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
520
+ },
521
+ }),
522
+ solid(),
523
+ ],
524
+ });
525
+ ```
526
+
527
+ ---
528
+
529
+ ### Step 13: Internationalise Your Metadata (Optional)
530
+
531
+ You can also use the `getIntlayer` function to access your content dictionaries within the `head` loader for locale-aware metadata:
532
+
533
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
534
+ import { createFileRoute } from "@tanstack/solid-router";
535
+ import { getIntlayer } from "intlayer";
536
+
537
+ export const Route = createFileRoute("/{-$locale}/")({
538
+ component: RouteComponent,
539
+ head: ({ params }) => {
540
+ const { locale } = params;
541
+ const metaContent = getIntlayer("page-metadata", locale);
542
+
543
+ return {
544
+ meta: [
545
+ { title: metaContent.title },
546
+ { content: metaContent.description, name: "description" },
547
+ ],
548
+ };
549
+ },
550
+ });
551
+ ```
552
+
553
+ ---
554
+
555
+ ### Step 14: Retrieve the locale in your server actions (Optional)
556
+
557
+ You may want to access the current locale from within your server actions or API endpoints.
558
+ You can do this using the `getLocale` helper from `intlayer`.
559
+
560
+ Here's an example using TanStack Start's server functions:
561
+
562
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
563
+ import { createServerFn } from "@tanstack/solid-start";
564
+ import {
565
+ getRequestHeader,
566
+ getRequestHeaders,
567
+ } from "@tanstack/solid-start/server";
568
+ import { getCookie, getIntlayer, getLocale } from "intlayer";
569
+
570
+ export const getLocaleServer = createServerFn().handler(async () => {
571
+ const locale = await getLocale({
572
+ // Get the cookie from the request (default: 'INTLAYER_LOCALE')
573
+ getCookie: (name) => {
574
+ const cookieString = getRequestHeader("cookie");
575
+
576
+ return getCookie(name, cookieString);
577
+ },
578
+ // Get the header from the request (default: 'x-intlayer-locale')
579
+ // Fallback using Accept-Language negotiation
580
+ getHeader: (name) => getRequestHeader(name),
581
+ });
582
+
583
+ // Retrieve some content using getIntlayer()
584
+ const content = getIntlayer("app", locale);
585
+
586
+ return { locale, content };
587
+ });
588
+ ```
589
+
590
+ ---
591
+
592
+ ### Step 15: Manage not found pages (Optional)
593
+
594
+ When a user visits a non-existent page, you can display a custom not found page and the locale prefix can impact the way the not found page is triggered.
595
+
596
+ #### Understanding TanStack Router's 404 handling with locale prefixes
597
+
598
+ In TanStack Router, handling 404 pages with localised routes requires a multi-layered approach:
599
+
600
+ 1. **Dedicated 404 route**: A specific route to display the 404 UI
601
+ 2. **Route-level validation**: Validates locale prefixes and redirects invalid ones to the 404
602
+ 3. **Catch-all route**: Captures any non-matching paths within the locale segment
603
+
604
+ ```tsx fileName="src/routes/{-$locale}/404.tsx"
605
+ import { createFileRoute } from "@tanstack/solid-router";
606
+
607
+ // This creates a dedicated /[locale]/404 route
608
+ // It's used both as a direct route and imported as a component in other files
609
+ export const Route = createFileRoute("/{-$locale}/404")({
610
+ component: NotFoundComponent,
611
+ });
612
+
613
+ // Exported separately so it can be reused in notFoundComponent and catch-all routes
614
+ export function NotFoundComponent() {
615
+ return (
616
+ <div>
617
+ <h1>404</h1>
618
+ </div>
619
+ );
620
+ }
621
+ ```
622
+
623
+ ```tsx fileName="src/routes/{-$locale}/route.tsx"
624
+ import { createFileRoute, Outlet, redirect } from "@tanstack/solid-router";
625
+ import { validatePrefix } from "intlayer";
626
+ import { NotFoundComponent } from "./404";
627
+
628
+ export const Route = createFileRoute("/{-$locale}")({
629
+ // beforeLoad runs before the route renders (both server and client)
630
+ // It's the ideal place to validate the locale prefix
631
+ beforeLoad: ({ params }) => {
632
+ const localeParam = params.locale;
633
+
634
+ // validatePrefix checks if the locale is valid according to your intlayer config
635
+ const { isValid, localePrefix } = validatePrefix(localeParam);
636
+
637
+ if (!isValid) {
638
+ // Invalid locale prefix - redirect to the 404 page with a valid locale prefix
639
+ throw redirect({
640
+ to: "/{-$locale}/404",
641
+ params: { locale: localePrefix },
642
+ });
643
+ }
644
+ },
645
+ component: Outlet,
646
+ // notFoundComponent is called when a child route doesn't exist
647
+ // ex: /en/non-existent-page triggers this within the /en layout
648
+ notFoundComponent: NotFoundComponent,
649
+ });
650
+ ```
651
+
652
+ ```tsx fileName="src/routes/{-$locale}/$.tsx"
653
+ import { createFileRoute } from "@tanstack/solid-router";
654
+
655
+ import { NotFoundComponent } from "./404";
656
+
657
+ // The $ (splat/catch-all) route matches any path that doesn't match other routes
658
+ // ex: /en/some/deeply/nested/invalid/path
659
+ // This ensures ALL non-matching paths within a locale show the 404 page
660
+ // Without this, deep non-matching paths could show a blank page or error
661
+ export const Route = createFileRoute("/{-$locale}/$")({
662
+ component: NotFoundComponent,
663
+ });
664
+ ```
665
+
666
+ ### (Optional) Step 16: Extract the content from your components
667
+
668
+ If you have an existing codebase, transforming thousands of files can be time-consuming.
669
+
670
+ To ease this process, Intlayer proposes a [compiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/compiler.md) / [extractor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/extract.md) to transform your components and extract the content.
671
+
672
+ To set it up, you can add a `compiler` section in your `intlayer.config.ts` file:
673
+
674
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
675
+ import { type IntlayerConfig } from "intlayer";
676
+
677
+ const config: IntlayerConfig = {
678
+ // ... Rest of your config
679
+ compiler: {
680
+ /**
681
+ * Indicates whether the compiler should be enabled.
682
+ */
683
+ enabled: true,
684
+
685
+ /**
686
+ * Defines the output files path
687
+ */
688
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
689
+
690
+ /**
691
+ * Indicates whether components should be saved after being transformed.
692
+ *
693
+ * - If `true`, the compiler will rewrite the component file on the disk. Thus, the transformation will be permanent, and the compiler will skip the transformation for the next process. In this way, the compiler can transform the app and then it can be removed.
694
+ *
695
+ * - If `false`, the compiler will inject the `useIntlayer()` function call in the code only in the build output, keeping the base codebase intact. Transformation will be done only in memory.
696
+ */
697
+ saveComponents: false,
698
+
699
+ /**
700
+ * Dictionary key prefix
701
+ */
702
+ dictionaryKeyPrefix: "",
703
+ },
704
+ };
705
+
706
+ export default config;
707
+ ```
708
+
709
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
710
+ /** @type {import('intlayer').IntlayerConfig} */
711
+ const config = {
712
+ // ... Rest of your config
713
+ compiler: {
714
+ /**
715
+ * Indicates whether the compiler should be enabled.
716
+ */
717
+ enabled: true,
718
+
719
+ /**
720
+ * Defines the output files path
721
+ */
722
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
723
+
724
+ /**
725
+ * Indicates whether components should be saved after being transformed.
726
+ *
727
+ * - If `true`, the compiler will rewrite the component file on the disk. Thus, the transformation will be permanent, and the compiler will skip the transformation for the next process. In this way, the compiler can transform the app and then it can be removed.
728
+ *
729
+ * - If `false`, the compiler will inject the `useIntlayer()` function call in the code only in the build output, keeping the base codebase intact. Transformation will be done only in memory.
730
+ */
731
+ saveComponents: false,
732
+
733
+ /**
734
+ * Dictionary key prefix
735
+ */
736
+ dictionaryKeyPrefix: "",
737
+ },
738
+ };
739
+
740
+ export default config;
741
+ ```
742
+
743
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
744
+ /** @type {import('intlayer').IntlayerConfig} */
745
+ const config = {
746
+ // ... Rest of your config
747
+ compiler: {
748
+ /**
749
+ * Indicates whether the compiler should be enabled.
750
+ */
751
+ enabled: true,
752
+
753
+ /**
754
+ * Defines the output files path
755
+ */
756
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
757
+
758
+ /**
759
+ * Indicates whether components should be saved after being transformed.
760
+ *
761
+ * - If `true`, the compiler will rewrite the component file on the disk. Thus, the transformation will be permanent, and the compiler will skip the transformation for the next process. In this way, the compiler can transform the app and then it can be removed.
762
+ *
763
+ * - If `false`, the compiler will inject the `useIntlayer()` function call in the code only in the build output, keeping the base codebase intact. Transformation will be done only in memory.
764
+ */
765
+ saveComponents: false,
766
+
767
+ /**
768
+ * Dictionary key prefix
769
+ */
770
+ dictionaryKeyPrefix: "",
771
+ },
772
+ };
773
+
774
+ module.exports = config;
775
+ ```
776
+
777
+ <Tabs>
778
+ <Tab value='Extract command'>
779
+
780
+ Run the extractor to transform your components and extract the content
781
+
782
+ ```bash packageManager="npm"
783
+ npx intlayer extract
784
+ ```
785
+
786
+ ```bash packageManager="pnpm"
787
+ pnpm intlayer extract
788
+ ```
789
+
790
+ ```bash packageManager="yarn"
791
+ yarn intlayer extract
792
+ ```
793
+
794
+ ```bash packageManager="bun"
795
+ bun x intlayer extract
796
+ ```
797
+
798
+ </Tab>
799
+ <Tab value='Babel compiler'>
800
+
801
+ Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
802
+
803
+ ```ts fileName="vite.config.ts"
804
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
805
+ import { defineConfig } from "vite";
806
+ import { devtools } from "@tanstack/devtools-vite";
807
+ import viteTsConfigPaths from "vite-tsconfig-paths";
808
+ import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
809
+ import solidPlugin from "vite-plugin-solid";
810
+
811
+ export default defineConfig({
812
+ plugins: [
813
+ devtools(),
814
+ viteTsConfigPaths({
815
+ projects: ["./tsconfig.json"],
816
+ }),
817
+ tanstackStart({
818
+ router: {
819
+ routeFileIgnorePattern:
820
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
821
+ },
822
+ }),
823
+ solidPlugin({ ssr: true }),
824
+ intlayer(),
825
+ intlayerCompiler(),
826
+ ],
827
+ });
828
+ ```
829
+
830
+ ```bash packageManager="npm"
831
+ npm run build # Or rpm run dev
832
+ ```
833
+
834
+ ```bash packageManager="pnpm"
835
+ pnpm run build # Or pnpm run dev
836
+ ```
837
+
838
+ ```bash packageManager="yarn"
839
+ yarn build # Or yarn dev
840
+ ```
841
+
842
+ ```bash packageManager="bun"
843
+ bun run build # Or bun run dev
844
+ ```
845
+
846
+ </Tab>
847
+ </Tabs>
848
+
849
+ ---
850
+
851
+ ### Step 17: Configure TypeScript (Optional)
852
+
853
+ Intlayer uses module augmentation to get the benefits of TypeScript and make your codebase stronger.
854
+
855
+ Ensure your TypeScript configuration includes the auto-generated types:
856
+
857
+ ```json5 fileName="tsconfig.json"
858
+ {
859
+ // ... your existing settings
860
+ include: [
861
+ // ... your existing includes
862
+ ".intlayer/**/*.ts", // Include the auto-generated types
863
+ ],
864
+ }
865
+ ```
866
+
867
+ ---
868
+
869
+ ### Git Configuration
870
+
871
+ It is recommended to ignore the files generated by Intlayer. This allows you to avoid committing them to your Git repository.
872
+
873
+ To do this, you can add the following instructions to your `.gitignore` file:
874
+
875
+ ```plaintext fileName=".gitignore"
876
+ # Ignore the files generated by Intlayer
877
+ .intlayer
878
+ ```
879
+
880
+ ---
881
+
882
+ ## VS Code Extension
883
+
884
+ To improve your development experience with Intlayer, you can install the official **Intlayer VS Code Extension**.
885
+
886
+ [Install from VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
887
+
888
+ This extension offers:
889
+
890
+ - **Autocompletion** for translation keys.
891
+ - **Real-time error detection** for missing translations.
892
+ - **Inline previews** of translated content.
893
+ - **Quick actions** to create and update translations easily.
894
+
895
+ For more details on how to use the extension, refer to the [Intlayer VS Code Extension documentation](https://intlayer.org/doc/vs-code-extension).
896
+
897
+ ---
898
+
899
+ ## Going Further
900
+
901
+ To go further, you can implement the [visual editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md) or externalise your content using the [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_CMS.md).
902
+
903
+ ---
904
+
905
+ ## Documentation References
906
+
907
+ - [Intlayer Documentation](https://intlayer.org)
908
+ - [Tanstack Start Documentation](https://tanstack.com/start/latest)
909
+ - [useIntlayer hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/solid-intlayer/useIntlayer.md)
910
+ - [useLocale hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/solid-intlayer/useLocale.md)
911
+ - [Content Declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/content_file.md)
912
+ - [Configuration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md)