@intlayer/docs 8.11.3 → 8.12.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (924) hide show
  1. package/blog/ar/i18n_using_next-i18next.md +60 -20
  2. package/blog/ar/i18n_using_next-intl.md +51 -17
  3. package/blog/de/i18n_using_next-i18next.md +61 -20
  4. package/blog/de/i18n_using_next-intl.md +51 -17
  5. package/blog/en/i18n_using_next-i18next.md +61 -20
  6. package/blog/en/i18n_using_next-intl.md +51 -17
  7. package/blog/en-GB/i18n_using_next-i18next.md +61 -20
  8. package/blog/en-GB/i18n_using_next-intl.md +51 -17
  9. package/blog/es/i18n_using_next-i18next.md +61 -20
  10. package/blog/es/i18n_using_next-intl.md +52 -17
  11. package/blog/fr/i18n_using_next-i18next.md +61 -20
  12. package/blog/fr/i18n_using_next-intl.md +52 -17
  13. package/blog/hi/i18n_using_next-i18next.md +61 -20
  14. package/blog/hi/i18n_using_next-intl.md +51 -17
  15. package/blog/id/i18n_using_next-i18next.md +61 -20
  16. package/blog/id/i18n_using_next-intl.md +51 -17
  17. package/blog/it/i18n_using_next-i18next.md +61 -20
  18. package/blog/it/i18n_using_next-intl.md +51 -17
  19. package/blog/ja/i18n_using_next-i18next.md +61 -20
  20. package/blog/ja/i18n_using_next-intl.md +52 -17
  21. package/blog/ko/i18n_using_next-i18next.md +61 -20
  22. package/blog/ko/i18n_using_next-intl.md +52 -17
  23. package/blog/pl/i18n_using_next-i18next.md +61 -20
  24. package/blog/pl/i18n_using_next-intl.md +51 -17
  25. package/blog/pt/i18n_using_next-i18next.md +61 -20
  26. package/blog/pt/i18n_using_next-intl.md +51 -17
  27. package/blog/ru/i18n_using_next-i18next.md +61 -20
  28. package/blog/ru/i18n_using_next-intl.md +52 -17
  29. package/blog/tr/i18n_using_next-i18next.md +61 -20
  30. package/blog/tr/i18n_using_next-intl.md +51 -17
  31. package/blog/uk/i18n_using_next-i18next.md +61 -20
  32. package/blog/uk/i18n_using_next-intl.md +51 -17
  33. package/blog/vi/i18n_using_next-i18next.md +61 -20
  34. package/blog/vi/i18n_using_next-intl.md +51 -17
  35. package/blog/zh/i18n_using_next-i18next.md +61 -20
  36. package/blog/zh/i18n_using_next-intl.md +52 -17
  37. package/dist/cjs/common.cjs +1 -1
  38. package/dist/cjs/common.cjs.map +1 -1
  39. package/dist/esm/common.mjs +1 -1
  40. package/dist/esm/common.mjs.map +1 -1
  41. package/docs/ar/cli/build.md +1 -1
  42. package/docs/ar/cli/index.md +1 -1
  43. package/docs/ar/intlayer_with_adonisjs.md +2 -2
  44. package/docs/ar/intlayer_with_analog.md +6 -6
  45. package/docs/ar/intlayer_with_angular_19.md +6 -6
  46. package/docs/ar/intlayer_with_angular_21.md +6 -6
  47. package/docs/ar/intlayer_with_astro.md +55 -56
  48. package/docs/ar/intlayer_with_astro_lit.md +58 -58
  49. package/docs/ar/intlayer_with_astro_preact.md +52 -52
  50. package/docs/ar/intlayer_with_astro_react.md +54 -54
  51. package/docs/ar/intlayer_with_astro_solid.md +54 -54
  52. package/docs/ar/intlayer_with_astro_svelte.md +54 -54
  53. package/docs/ar/intlayer_with_astro_vanilla.md +54 -54
  54. package/docs/ar/intlayer_with_astro_vue.md +54 -54
  55. package/docs/ar/intlayer_with_create_react_app.md +5 -6
  56. package/docs/ar/intlayer_with_express.md +2 -2
  57. package/docs/ar/intlayer_with_fastify.md +2 -2
  58. package/docs/ar/intlayer_with_hono.md +2 -2
  59. package/docs/ar/intlayer_with_lynx+react.md +2 -2
  60. package/docs/ar/intlayer_with_nestjs.md +2 -13
  61. package/docs/ar/intlayer_with_next-i18next.md +2 -2
  62. package/docs/ar/intlayer_with_next-intl.md +2 -2
  63. package/docs/ar/intlayer_with_nextjs_14.md +5 -6
  64. package/docs/ar/intlayer_with_nextjs_15.md +5 -6
  65. package/docs/ar/intlayer_with_nextjs_16.md +2 -2
  66. package/docs/ar/intlayer_with_nextjs_compiler.md +37 -39
  67. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +5 -6
  68. package/docs/ar/intlayer_with_nextjs_page_router.md +5 -6
  69. package/docs/ar/intlayer_with_nuxt.md +33 -33
  70. package/docs/ar/intlayer_with_react_native+expo.md +2 -2
  71. package/docs/ar/intlayer_with_react_router_v7.md +2 -2
  72. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +2 -2
  73. package/docs/ar/intlayer_with_storybook.md +2 -2
  74. package/docs/ar/intlayer_with_svelte_kit.md +15 -15
  75. package/docs/ar/intlayer_with_tanstack+solid.md +6 -6
  76. package/docs/ar/intlayer_with_tanstack.md +13 -13
  77. package/docs/ar/intlayer_with_vanilla.md +5 -6
  78. package/docs/ar/intlayer_with_vite+lit.md +6 -6
  79. package/docs/ar/intlayer_with_vite+preact.md +44 -45
  80. package/docs/ar/intlayer_with_vite+react.md +36 -38
  81. package/docs/ar/intlayer_with_vite+react_compiler.md +5 -6
  82. package/docs/ar/intlayer_with_vite+solid.md +29 -30
  83. package/docs/ar/intlayer_with_vite+svelte.md +16 -17
  84. package/docs/ar/intlayer_with_vite+vanilla.md +5 -6
  85. package/docs/ar/intlayer_with_vite+vue.md +58 -59
  86. package/docs/ar/introduction.md +43 -28
  87. package/docs/bn/cli/index.md +1 -1
  88. package/docs/bn/intlayer_with_angular_21.md +2 -2
  89. package/docs/bn/intlayer_with_fastify.md +2 -2
  90. package/docs/bn/intlayer_with_hono.md +2 -2
  91. package/docs/bn/intlayer_with_storybook.md +2 -2
  92. package/docs/bn/intlayer_with_vanilla.md +2 -2
  93. package/docs/bn/intlayer_with_vite+lit.md +2 -2
  94. package/docs/bn/intlayer_with_vite+vanilla.md +2 -2
  95. package/docs/bn/introduction.md +43 -28
  96. package/docs/cs/cli/index.md +1 -1
  97. package/docs/cs/interest_of_intlayer.md +8 -0
  98. package/docs/cs/intlayer_with_angular_21.md +6 -6
  99. package/docs/cs/intlayer_with_fastify.md +2 -2
  100. package/docs/cs/intlayer_with_hono.md +2 -2
  101. package/docs/cs/intlayer_with_storybook.md +2 -2
  102. package/docs/cs/intlayer_with_vanilla.md +5 -6
  103. package/docs/cs/intlayer_with_vite+lit.md +6 -6
  104. package/docs/cs/intlayer_with_vite+vanilla.md +5 -6
  105. package/docs/cs/introduction.md +43 -28
  106. package/docs/de/cli/build.md +1 -1
  107. package/docs/de/cli/index.md +1 -1
  108. package/docs/de/interest_of_intlayer.md +8 -0
  109. package/docs/de/intlayer_with_adonisjs.md +2 -2
  110. package/docs/de/intlayer_with_analog.md +13 -6
  111. package/docs/de/intlayer_with_angular_19.md +13 -6
  112. package/docs/de/intlayer_with_angular_21.md +13 -6
  113. package/docs/de/intlayer_with_astro.md +62 -56
  114. package/docs/de/intlayer_with_astro_lit.md +65 -58
  115. package/docs/de/intlayer_with_astro_preact.md +59 -52
  116. package/docs/de/intlayer_with_astro_react.md +61 -54
  117. package/docs/de/intlayer_with_astro_solid.md +61 -54
  118. package/docs/de/intlayer_with_astro_svelte.md +61 -54
  119. package/docs/de/intlayer_with_astro_vanilla.md +61 -54
  120. package/docs/de/intlayer_with_astro_vue.md +61 -54
  121. package/docs/de/intlayer_with_create_react_app.md +5 -6
  122. package/docs/de/intlayer_with_express.md +2 -2
  123. package/docs/de/intlayer_with_fastify.md +2 -2
  124. package/docs/de/intlayer_with_hono.md +2 -2
  125. package/docs/de/intlayer_with_lynx+react.md +9 -2
  126. package/docs/de/intlayer_with_nestjs.md +2 -13
  127. package/docs/de/intlayer_with_next-i18next.md +2 -2
  128. package/docs/de/intlayer_with_next-intl.md +2 -2
  129. package/docs/de/intlayer_with_nextjs_14.md +12 -6
  130. package/docs/de/intlayer_with_nextjs_15.md +12 -6
  131. package/docs/de/intlayer_with_nextjs_16.md +77 -72
  132. package/docs/de/intlayer_with_nextjs_compiler.md +5 -6
  133. package/docs/de/intlayer_with_nextjs_no_locale_path.md +12 -6
  134. package/docs/de/intlayer_with_nextjs_page_router.md +12 -6
  135. package/docs/de/intlayer_with_nuxt.md +40 -33
  136. package/docs/de/intlayer_with_react_native+expo.md +9 -2
  137. package/docs/de/intlayer_with_react_router_v7.md +9 -2
  138. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +9 -2
  139. package/docs/de/intlayer_with_storybook.md +9 -2
  140. package/docs/de/intlayer_with_svelte_kit.md +23 -17
  141. package/docs/de/intlayer_with_tanstack+solid.md +13 -6
  142. package/docs/de/intlayer_with_tanstack.md +13 -6
  143. package/docs/de/intlayer_with_vanilla.md +12 -6
  144. package/docs/de/intlayer_with_vite+lit.md +13 -6
  145. package/docs/de/intlayer_with_vite+preact.md +68 -62
  146. package/docs/de/intlayer_with_vite+react.md +60 -55
  147. package/docs/de/intlayer_with_vite+react_compiler.md +5 -6
  148. package/docs/de/intlayer_with_vite+solid.md +53 -47
  149. package/docs/de/intlayer_with_vite+svelte.md +40 -34
  150. package/docs/de/intlayer_with_vite+vanilla.md +12 -6
  151. package/docs/de/intlayer_with_vite+vue.md +60 -54
  152. package/docs/de/introduction.md +43 -28
  153. package/docs/en/cli/build.md +1 -1
  154. package/docs/en/cli/index.md +1 -1
  155. package/docs/en/interest_of_intlayer.md +8 -0
  156. package/docs/en/intlayer_with_adonisjs.md +2 -2
  157. package/docs/en/intlayer_with_analog.md +13 -6
  158. package/docs/en/intlayer_with_angular_19.md +13 -6
  159. package/docs/en/intlayer_with_angular_21.md +13 -6
  160. package/docs/en/intlayer_with_astro.md +62 -56
  161. package/docs/en/intlayer_with_astro_lit.md +65 -58
  162. package/docs/en/intlayer_with_astro_preact.md +65 -58
  163. package/docs/en/intlayer_with_astro_react.md +61 -54
  164. package/docs/en/intlayer_with_astro_solid.md +61 -54
  165. package/docs/en/intlayer_with_astro_svelte.md +61 -54
  166. package/docs/en/intlayer_with_astro_vanilla.md +61 -54
  167. package/docs/en/intlayer_with_astro_vue.md +61 -54
  168. package/docs/en/intlayer_with_create_react_app.md +12 -6
  169. package/docs/en/intlayer_with_express.md +2 -2
  170. package/docs/en/intlayer_with_fastify.md +2 -2
  171. package/docs/en/intlayer_with_hono.md +2 -2
  172. package/docs/en/intlayer_with_lynx+react.md +9 -2
  173. package/docs/en/intlayer_with_nestjs.md +2 -13
  174. package/docs/en/intlayer_with_next-i18next.md +2 -2
  175. package/docs/en/intlayer_with_next-intl.md +2 -2
  176. package/docs/en/intlayer_with_nextjs_14.md +12 -6
  177. package/docs/en/intlayer_with_nextjs_15.md +12 -6
  178. package/docs/en/intlayer_with_nextjs_16.md +12 -6
  179. package/docs/en/intlayer_with_nextjs_compiler.md +5 -6
  180. package/docs/en/intlayer_with_nextjs_no_locale_path.md +12 -6
  181. package/docs/en/intlayer_with_nextjs_page_router.md +12 -6
  182. package/docs/en/intlayer_with_nuxt.md +40 -33
  183. package/docs/en/intlayer_with_react_native+expo.md +9 -2
  184. package/docs/en/intlayer_with_react_router_v7.md +9 -2
  185. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +9 -2
  186. package/docs/en/intlayer_with_storybook.md +9 -2
  187. package/docs/en/intlayer_with_svelte_kit.md +12 -6
  188. package/docs/en/intlayer_with_tanstack+solid.md +13 -6
  189. package/docs/en/intlayer_with_tanstack.md +13 -6
  190. package/docs/en/intlayer_with_vanilla.md +12 -6
  191. package/docs/en/intlayer_with_vite+lit.md +13 -6
  192. package/docs/en/intlayer_with_vite+preact.md +12 -6
  193. package/docs/en/intlayer_with_vite+react.md +12 -6
  194. package/docs/en/intlayer_with_vite+react_compiler.md +5 -6
  195. package/docs/en/intlayer_with_vite+solid.md +12 -6
  196. package/docs/en/intlayer_with_vite+svelte.md +12 -6
  197. package/docs/en/intlayer_with_vite+vanilla.md +12 -6
  198. package/docs/en/intlayer_with_vite+vue.md +12 -6
  199. package/docs/en/introduction.md +43 -28
  200. package/docs/en-GB/cli/build.md +1 -1
  201. package/docs/en-GB/cli/index.md +1 -1
  202. package/docs/en-GB/interest_of_intlayer.md +8 -0
  203. package/docs/en-GB/intlayer_with_adonisjs.md +2 -2
  204. package/docs/en-GB/intlayer_with_analog.md +13 -6
  205. package/docs/en-GB/intlayer_with_angular_19.md +13 -6
  206. package/docs/en-GB/intlayer_with_angular_21.md +13 -6
  207. package/docs/en-GB/intlayer_with_astro.md +62 -56
  208. package/docs/en-GB/intlayer_with_astro_lit.md +65 -58
  209. package/docs/en-GB/intlayer_with_astro_preact.md +59 -52
  210. package/docs/en-GB/intlayer_with_astro_react.md +61 -54
  211. package/docs/en-GB/intlayer_with_astro_solid.md +61 -54
  212. package/docs/en-GB/intlayer_with_astro_svelte.md +61 -54
  213. package/docs/en-GB/intlayer_with_astro_vanilla.md +61 -54
  214. package/docs/en-GB/intlayer_with_astro_vue.md +61 -54
  215. package/docs/en-GB/intlayer_with_create_react_app.md +5 -6
  216. package/docs/en-GB/intlayer_with_express.md +2 -2
  217. package/docs/en-GB/intlayer_with_fastify.md +2 -2
  218. package/docs/en-GB/intlayer_with_hono.md +2 -2
  219. package/docs/en-GB/intlayer_with_lynx+react.md +9 -2
  220. package/docs/en-GB/intlayer_with_nestjs.md +2 -13
  221. package/docs/en-GB/intlayer_with_next-i18next.md +2 -2
  222. package/docs/en-GB/intlayer_with_next-intl.md +2 -2
  223. package/docs/en-GB/intlayer_with_nextjs_14.md +12 -6
  224. package/docs/en-GB/intlayer_with_nextjs_15.md +12 -6
  225. package/docs/en-GB/intlayer_with_nextjs_16.md +12 -6
  226. package/docs/en-GB/intlayer_with_nextjs_compiler.md +5 -6
  227. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +12 -6
  228. package/docs/en-GB/intlayer_with_nextjs_page_router.md +12 -6
  229. package/docs/en-GB/intlayer_with_nuxt.md +40 -33
  230. package/docs/en-GB/intlayer_with_react_native+expo.md +9 -2
  231. package/docs/en-GB/intlayer_with_react_router_v7.md +9 -2
  232. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +9 -2
  233. package/docs/en-GB/intlayer_with_storybook.md +9 -2
  234. package/docs/en-GB/intlayer_with_svelte_kit.md +13 -6
  235. package/docs/en-GB/intlayer_with_tanstack+solid.md +13 -6
  236. package/docs/en-GB/intlayer_with_tanstack.md +13 -6
  237. package/docs/en-GB/intlayer_with_vanilla.md +12 -6
  238. package/docs/en-GB/intlayer_with_vite+lit.md +13 -6
  239. package/docs/en-GB/intlayer_with_vite+preact.md +13 -6
  240. package/docs/en-GB/intlayer_with_vite+react.md +12 -6
  241. package/docs/en-GB/intlayer_with_vite+react_compiler.md +5 -6
  242. package/docs/en-GB/intlayer_with_vite+solid.md +13 -6
  243. package/docs/en-GB/intlayer_with_vite+svelte.md +88 -82
  244. package/docs/en-GB/intlayer_with_vite+vanilla.md +12 -6
  245. package/docs/en-GB/intlayer_with_vite+vue.md +13 -6
  246. package/docs/en-GB/introduction.md +43 -46
  247. package/docs/es/cli/build.md +1 -1
  248. package/docs/es/cli/index.md +1 -1
  249. package/docs/es/interest_of_intlayer.md +8 -0
  250. package/docs/es/intlayer_with_adonisjs.md +2 -2
  251. package/docs/es/intlayer_with_analog.md +13 -6
  252. package/docs/es/intlayer_with_angular_19.md +13 -6
  253. package/docs/es/intlayer_with_angular_21.md +13 -6
  254. package/docs/es/intlayer_with_astro.md +62 -56
  255. package/docs/es/intlayer_with_astro_lit.md +65 -58
  256. package/docs/es/intlayer_with_astro_preact.md +59 -52
  257. package/docs/es/intlayer_with_astro_react.md +61 -54
  258. package/docs/es/intlayer_with_astro_solid.md +61 -54
  259. package/docs/es/intlayer_with_astro_svelte.md +61 -54
  260. package/docs/es/intlayer_with_astro_vanilla.md +61 -54
  261. package/docs/es/intlayer_with_astro_vue.md +61 -54
  262. package/docs/es/intlayer_with_create_react_app.md +5 -6
  263. package/docs/es/intlayer_with_express.md +2 -2
  264. package/docs/es/intlayer_with_fastify.md +2 -2
  265. package/docs/es/intlayer_with_hono.md +2 -2
  266. package/docs/es/intlayer_with_lynx+react.md +9 -2
  267. package/docs/es/intlayer_with_nestjs.md +2 -13
  268. package/docs/es/intlayer_with_next-i18next.md +2 -2
  269. package/docs/es/intlayer_with_next-intl.md +2 -2
  270. package/docs/es/intlayer_with_nextjs_14.md +12 -6
  271. package/docs/es/intlayer_with_nextjs_15.md +12 -6
  272. package/docs/es/intlayer_with_nextjs_16.md +31 -26
  273. package/docs/es/intlayer_with_nextjs_compiler.md +5 -6
  274. package/docs/es/intlayer_with_nextjs_no_locale_path.md +12 -6
  275. package/docs/es/intlayer_with_nextjs_page_router.md +12 -6
  276. package/docs/es/intlayer_with_nuxt.md +40 -33
  277. package/docs/es/intlayer_with_react_native+expo.md +9 -2
  278. package/docs/es/intlayer_with_react_router_v7.md +9 -2
  279. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +9 -2
  280. package/docs/es/intlayer_with_storybook.md +9 -2
  281. package/docs/es/intlayer_with_svelte_kit.md +12 -6
  282. package/docs/es/intlayer_with_tanstack+solid.md +13 -6
  283. package/docs/es/intlayer_with_tanstack.md +13 -6
  284. package/docs/es/intlayer_with_vanilla.md +12 -6
  285. package/docs/es/intlayer_with_vite+lit.md +13 -6
  286. package/docs/es/intlayer_with_vite+preact.md +12 -6
  287. package/docs/es/intlayer_with_vite+react.md +12 -6
  288. package/docs/es/intlayer_with_vite+react_compiler.md +5 -6
  289. package/docs/es/intlayer_with_vite+solid.md +12 -6
  290. package/docs/es/intlayer_with_vite+svelte.md +12 -6
  291. package/docs/es/intlayer_with_vite+vanilla.md +12 -6
  292. package/docs/es/intlayer_with_vite+vue.md +12 -6
  293. package/docs/es/introduction.md +43 -28
  294. package/docs/fr/cli/build.md +1 -1
  295. package/docs/fr/cli/index.md +1 -1
  296. package/docs/fr/interest_of_intlayer.md +8 -0
  297. package/docs/fr/intlayer_with_adonisjs.md +2 -2
  298. package/docs/fr/intlayer_with_analog.md +13 -6
  299. package/docs/fr/intlayer_with_angular_19.md +13 -6
  300. package/docs/fr/intlayer_with_angular_21.md +13 -6
  301. package/docs/fr/intlayer_with_astro.md +63 -57
  302. package/docs/fr/intlayer_with_astro_lit.md +66 -59
  303. package/docs/fr/intlayer_with_astro_preact.md +66 -59
  304. package/docs/fr/intlayer_with_astro_react.md +62 -55
  305. package/docs/fr/intlayer_with_astro_solid.md +62 -55
  306. package/docs/fr/intlayer_with_astro_svelte.md +62 -55
  307. package/docs/fr/intlayer_with_astro_vanilla.md +62 -55
  308. package/docs/fr/intlayer_with_astro_vue.md +62 -55
  309. package/docs/fr/intlayer_with_create_react_app.md +5 -6
  310. package/docs/fr/intlayer_with_express.md +2 -2
  311. package/docs/fr/intlayer_with_fastify.md +2 -2
  312. package/docs/fr/intlayer_with_hono.md +2 -2
  313. package/docs/fr/intlayer_with_lynx+react.md +9 -2
  314. package/docs/fr/intlayer_with_nestjs.md +2 -13
  315. package/docs/fr/intlayer_with_next-i18next.md +2 -2
  316. package/docs/fr/intlayer_with_next-intl.md +2 -2
  317. package/docs/fr/intlayer_with_nextjs_14.md +12 -6
  318. package/docs/fr/intlayer_with_nextjs_15.md +12 -6
  319. package/docs/fr/intlayer_with_nextjs_16.md +12 -6
  320. package/docs/fr/intlayer_with_nextjs_compiler.md +5 -6
  321. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +12 -6
  322. package/docs/fr/intlayer_with_nextjs_page_router.md +12 -6
  323. package/docs/fr/intlayer_with_nuxt.md +40 -33
  324. package/docs/fr/intlayer_with_react_native+expo.md +9 -2
  325. package/docs/fr/intlayer_with_react_router_v7.md +9 -2
  326. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +9 -2
  327. package/docs/fr/intlayer_with_storybook.md +9 -2
  328. package/docs/fr/intlayer_with_svelte_kit.md +12 -6
  329. package/docs/fr/intlayer_with_tanstack+solid.md +13 -6
  330. package/docs/fr/intlayer_with_tanstack.md +14 -7
  331. package/docs/fr/intlayer_with_vanilla.md +12 -6
  332. package/docs/fr/intlayer_with_vite+lit.md +13 -6
  333. package/docs/fr/intlayer_with_vite+preact.md +12 -6
  334. package/docs/fr/intlayer_with_vite+react.md +12 -6
  335. package/docs/fr/intlayer_with_vite+react_compiler.md +5 -6
  336. package/docs/fr/intlayer_with_vite+solid.md +12 -6
  337. package/docs/fr/intlayer_with_vite+svelte.md +12 -6
  338. package/docs/fr/intlayer_with_vite+vanilla.md +12 -6
  339. package/docs/fr/intlayer_with_vite+vue.md +12 -6
  340. package/docs/fr/introduction.md +43 -28
  341. package/docs/hi/cli/build.md +1 -1
  342. package/docs/hi/cli/index.md +1 -1
  343. package/docs/hi/intlayer_with_adonisjs.md +2 -2
  344. package/docs/hi/intlayer_with_analog.md +6 -6
  345. package/docs/hi/intlayer_with_angular_19.md +6 -6
  346. package/docs/hi/intlayer_with_angular_21.md +6 -6
  347. package/docs/hi/intlayer_with_astro.md +55 -56
  348. package/docs/hi/intlayer_with_astro_lit.md +58 -58
  349. package/docs/hi/intlayer_with_astro_preact.md +52 -52
  350. package/docs/hi/intlayer_with_astro_react.md +54 -54
  351. package/docs/hi/intlayer_with_astro_solid.md +54 -54
  352. package/docs/hi/intlayer_with_astro_svelte.md +54 -54
  353. package/docs/hi/intlayer_with_astro_vanilla.md +54 -54
  354. package/docs/hi/intlayer_with_astro_vue.md +54 -54
  355. package/docs/hi/intlayer_with_create_react_app.md +5 -6
  356. package/docs/hi/intlayer_with_express.md +2 -2
  357. package/docs/hi/intlayer_with_fastify.md +2 -2
  358. package/docs/hi/intlayer_with_hono.md +2 -2
  359. package/docs/hi/intlayer_with_lynx+react.md +2 -2
  360. package/docs/hi/intlayer_with_nestjs.md +2 -13
  361. package/docs/hi/intlayer_with_next-i18next.md +2 -2
  362. package/docs/hi/intlayer_with_next-intl.md +2 -2
  363. package/docs/hi/intlayer_with_nextjs_14.md +5 -6
  364. package/docs/hi/intlayer_with_nextjs_15.md +5 -6
  365. package/docs/hi/intlayer_with_nextjs_16.md +2 -2
  366. package/docs/hi/intlayer_with_nextjs_compiler.md +52 -54
  367. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +5 -6
  368. package/docs/hi/intlayer_with_nextjs_page_router.md +5 -6
  369. package/docs/hi/intlayer_with_nuxt.md +33 -33
  370. package/docs/hi/intlayer_with_react_native+expo.md +2 -2
  371. package/docs/hi/intlayer_with_react_router_v7.md +2 -2
  372. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +2 -2
  373. package/docs/hi/intlayer_with_storybook.md +2 -2
  374. package/docs/hi/intlayer_with_svelte_kit.md +16 -17
  375. package/docs/hi/intlayer_with_tanstack+solid.md +6 -6
  376. package/docs/hi/intlayer_with_tanstack.md +6 -6
  377. package/docs/hi/intlayer_with_vanilla.md +5 -6
  378. package/docs/hi/intlayer_with_vite+lit.md +6 -6
  379. package/docs/hi/intlayer_with_vite+preact.md +61 -62
  380. package/docs/hi/intlayer_with_vite+react.md +53 -55
  381. package/docs/hi/intlayer_with_vite+react_compiler.md +5 -6
  382. package/docs/hi/intlayer_with_vite+solid.md +46 -47
  383. package/docs/hi/intlayer_with_vite+svelte.md +33 -34
  384. package/docs/hi/intlayer_with_vite+vanilla.md +5 -6
  385. package/docs/hi/intlayer_with_vite+vue.md +53 -54
  386. package/docs/hi/introduction.md +43 -28
  387. package/docs/id/cli/build.md +1 -1
  388. package/docs/id/cli/index.md +1 -1
  389. package/docs/id/interest_of_intlayer.md +8 -0
  390. package/docs/id/intlayer_with_adonisjs.md +2 -2
  391. package/docs/id/intlayer_with_analog.md +13 -6
  392. package/docs/id/intlayer_with_angular_19.md +13 -6
  393. package/docs/id/intlayer_with_angular_21.md +13 -6
  394. package/docs/id/intlayer_with_astro.md +62 -56
  395. package/docs/id/intlayer_with_astro_lit.md +65 -58
  396. package/docs/id/intlayer_with_astro_preact.md +59 -52
  397. package/docs/id/intlayer_with_astro_react.md +61 -54
  398. package/docs/id/intlayer_with_astro_solid.md +61 -54
  399. package/docs/id/intlayer_with_astro_svelte.md +61 -54
  400. package/docs/id/intlayer_with_astro_vanilla.md +61 -54
  401. package/docs/id/intlayer_with_astro_vue.md +61 -54
  402. package/docs/id/intlayer_with_create_react_app.md +5 -6
  403. package/docs/id/intlayer_with_express.md +2 -2
  404. package/docs/id/intlayer_with_fastify.md +2 -2
  405. package/docs/id/intlayer_with_hono.md +2 -2
  406. package/docs/id/intlayer_with_lynx+react.md +9 -2
  407. package/docs/id/intlayer_with_nestjs.md +2 -12
  408. package/docs/id/intlayer_with_next-i18next.md +2 -2
  409. package/docs/id/intlayer_with_next-intl.md +2 -2
  410. package/docs/id/intlayer_with_nextjs_14.md +12 -6
  411. package/docs/id/intlayer_with_nextjs_15.md +12 -6
  412. package/docs/id/intlayer_with_nextjs_16.md +9 -2
  413. package/docs/id/intlayer_with_nextjs_compiler.md +74 -77
  414. package/docs/id/intlayer_with_nextjs_no_locale_path.md +12 -6
  415. package/docs/id/intlayer_with_nextjs_page_router.md +12 -6
  416. package/docs/id/intlayer_with_nuxt.md +40 -33
  417. package/docs/id/intlayer_with_react_native+expo.md +9 -2
  418. package/docs/id/intlayer_with_react_router_v7.md +9 -2
  419. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +9 -2
  420. package/docs/id/intlayer_with_storybook.md +9 -2
  421. package/docs/id/intlayer_with_svelte_kit.md +23 -17
  422. package/docs/id/intlayer_with_tanstack+solid.md +13 -6
  423. package/docs/id/intlayer_with_tanstack.md +13 -6
  424. package/docs/id/intlayer_with_vanilla.md +12 -6
  425. package/docs/id/intlayer_with_vite+lit.md +13 -6
  426. package/docs/id/intlayer_with_vite+preact.md +68 -62
  427. package/docs/id/intlayer_with_vite+react.md +60 -55
  428. package/docs/id/intlayer_with_vite+react_compiler.md +5 -6
  429. package/docs/id/intlayer_with_vite+solid.md +53 -47
  430. package/docs/id/intlayer_with_vite+svelte.md +40 -34
  431. package/docs/id/intlayer_with_vite+vanilla.md +12 -6
  432. package/docs/id/intlayer_with_vite+vue.md +60 -54
  433. package/docs/id/introduction.md +43 -28
  434. package/docs/it/cli/build.md +1 -1
  435. package/docs/it/cli/index.md +1 -1
  436. package/docs/it/interest_of_intlayer.md +8 -0
  437. package/docs/it/intlayer_with_adonisjs.md +2 -2
  438. package/docs/it/intlayer_with_analog.md +13 -6
  439. package/docs/it/intlayer_with_angular_19.md +13 -6
  440. package/docs/it/intlayer_with_angular_21.md +13 -6
  441. package/docs/it/intlayer_with_astro.md +62 -56
  442. package/docs/it/intlayer_with_astro_lit.md +65 -58
  443. package/docs/it/intlayer_with_astro_preact.md +59 -52
  444. package/docs/it/intlayer_with_astro_react.md +61 -54
  445. package/docs/it/intlayer_with_astro_solid.md +61 -54
  446. package/docs/it/intlayer_with_astro_svelte.md +61 -54
  447. package/docs/it/intlayer_with_astro_vanilla.md +61 -54
  448. package/docs/it/intlayer_with_astro_vue.md +61 -54
  449. package/docs/it/intlayer_with_create_react_app.md +5 -6
  450. package/docs/it/intlayer_with_express.md +2 -2
  451. package/docs/it/intlayer_with_fastify.md +2 -2
  452. package/docs/it/intlayer_with_hono.md +2 -2
  453. package/docs/it/intlayer_with_lynx+react.md +9 -2
  454. package/docs/it/intlayer_with_nestjs.md +2 -13
  455. package/docs/it/intlayer_with_next-i18next.md +2 -2
  456. package/docs/it/intlayer_with_next-intl.md +2 -2
  457. package/docs/it/intlayer_with_nextjs_14.md +32 -27
  458. package/docs/it/intlayer_with_nextjs_15.md +12 -6
  459. package/docs/it/intlayer_with_nextjs_16.md +9 -2
  460. package/docs/it/intlayer_with_nextjs_compiler.md +52 -54
  461. package/docs/it/intlayer_with_nextjs_no_locale_path.md +12 -6
  462. package/docs/it/intlayer_with_nextjs_page_router.md +12 -6
  463. package/docs/it/intlayer_with_nuxt.md +40 -33
  464. package/docs/it/intlayer_with_react_native+expo.md +9 -2
  465. package/docs/it/intlayer_with_react_router_v7.md +9 -2
  466. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +9 -2
  467. package/docs/it/intlayer_with_storybook.md +9 -2
  468. package/docs/it/intlayer_with_svelte_kit.md +55 -49
  469. package/docs/it/intlayer_with_tanstack+solid.md +13 -6
  470. package/docs/it/intlayer_with_tanstack.md +13 -6
  471. package/docs/it/intlayer_with_vanilla.md +12 -6
  472. package/docs/it/intlayer_with_vite+lit.md +13 -6
  473. package/docs/it/intlayer_with_vite+preact.md +68 -62
  474. package/docs/it/intlayer_with_vite+react.md +60 -55
  475. package/docs/it/intlayer_with_vite+react_compiler.md +5 -6
  476. package/docs/it/intlayer_with_vite+solid.md +53 -47
  477. package/docs/it/intlayer_with_vite+svelte.md +40 -34
  478. package/docs/it/intlayer_with_vite+vanilla.md +12 -6
  479. package/docs/it/intlayer_with_vite+vue.md +82 -76
  480. package/docs/it/introduction.md +43 -28
  481. package/docs/ja/cli/build.md +1 -1
  482. package/docs/ja/cli/index.md +1 -1
  483. package/docs/ja/intlayer_with_adonisjs.md +2 -2
  484. package/docs/ja/intlayer_with_analog.md +6 -6
  485. package/docs/ja/intlayer_with_angular_19.md +6 -6
  486. package/docs/ja/intlayer_with_angular_21.md +6 -6
  487. package/docs/ja/intlayer_with_astro.md +55 -56
  488. package/docs/ja/intlayer_with_astro_lit.md +58 -58
  489. package/docs/ja/intlayer_with_astro_preact.md +58 -58
  490. package/docs/ja/intlayer_with_astro_react.md +54 -54
  491. package/docs/ja/intlayer_with_astro_solid.md +54 -54
  492. package/docs/ja/intlayer_with_astro_svelte.md +54 -54
  493. package/docs/ja/intlayer_with_astro_vanilla.md +54 -54
  494. package/docs/ja/intlayer_with_astro_vue.md +54 -54
  495. package/docs/ja/intlayer_with_create_react_app.md +5 -6
  496. package/docs/ja/intlayer_with_express.md +2 -2
  497. package/docs/ja/intlayer_with_fastify.md +2 -2
  498. package/docs/ja/intlayer_with_hono.md +2 -2
  499. package/docs/ja/intlayer_with_lynx+react.md +2 -2
  500. package/docs/ja/intlayer_with_nestjs.md +2 -13
  501. package/docs/ja/intlayer_with_next-i18next.md +2 -2
  502. package/docs/ja/intlayer_with_next-intl.md +2 -2
  503. package/docs/ja/intlayer_with_nextjs_14.md +5 -6
  504. package/docs/ja/intlayer_with_nextjs_15.md +5 -6
  505. package/docs/ja/intlayer_with_nextjs_16.md +2 -2
  506. package/docs/ja/intlayer_with_nextjs_compiler.md +74 -77
  507. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +5 -6
  508. package/docs/ja/intlayer_with_nextjs_page_router.md +5 -6
  509. package/docs/ja/intlayer_with_nuxt.md +33 -33
  510. package/docs/ja/intlayer_with_react_native+expo.md +2 -2
  511. package/docs/ja/intlayer_with_react_router_v7.md +2 -2
  512. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +2 -2
  513. package/docs/ja/intlayer_with_storybook.md +2 -2
  514. package/docs/ja/intlayer_with_svelte_kit.md +5 -6
  515. package/docs/ja/intlayer_with_tanstack+solid.md +6 -6
  516. package/docs/ja/intlayer_with_tanstack.md +6 -6
  517. package/docs/ja/intlayer_with_vanilla.md +5 -6
  518. package/docs/ja/intlayer_with_vite+lit.md +6 -6
  519. package/docs/ja/intlayer_with_vite+preact.md +5 -6
  520. package/docs/ja/intlayer_with_vite+react.md +2 -2
  521. package/docs/ja/intlayer_with_vite+react_compiler.md +5 -6
  522. package/docs/ja/intlayer_with_vite+solid.md +46 -47
  523. package/docs/ja/intlayer_with_vite+svelte.md +33 -34
  524. package/docs/ja/intlayer_with_vite+vanilla.md +5 -6
  525. package/docs/ja/intlayer_with_vite+vue.md +53 -54
  526. package/docs/ja/introduction.md +43 -28
  527. package/docs/ko/cli/build.md +1 -1
  528. package/docs/ko/cli/index.md +1 -1
  529. package/docs/ko/interest_of_intlayer.md +8 -0
  530. package/docs/ko/intlayer_with_adonisjs.md +2 -2
  531. package/docs/ko/intlayer_with_analog.md +9 -2
  532. package/docs/ko/intlayer_with_angular_19.md +9 -2
  533. package/docs/ko/intlayer_with_angular_21.md +9 -2
  534. package/docs/ko/intlayer_with_astro.md +9 -2
  535. package/docs/ko/intlayer_with_astro_lit.md +9 -2
  536. package/docs/ko/intlayer_with_astro_preact.md +9 -2
  537. package/docs/ko/intlayer_with_astro_react.md +9 -2
  538. package/docs/ko/intlayer_with_astro_solid.md +9 -2
  539. package/docs/ko/intlayer_with_astro_svelte.md +9 -2
  540. package/docs/ko/intlayer_with_astro_vanilla.md +9 -2
  541. package/docs/ko/intlayer_with_astro_vue.md +9 -2
  542. package/docs/ko/intlayer_with_create_react_app.md +5 -6
  543. package/docs/ko/intlayer_with_express.md +2 -2
  544. package/docs/ko/intlayer_with_fastify.md +2 -2
  545. package/docs/ko/intlayer_with_hono.md +2 -2
  546. package/docs/ko/intlayer_with_lynx+react.md +9 -2
  547. package/docs/ko/intlayer_with_nestjs.md +2 -13
  548. package/docs/ko/intlayer_with_next-i18next.md +2 -2
  549. package/docs/ko/intlayer_with_next-intl.md +2 -2
  550. package/docs/ko/intlayer_with_nextjs_14.md +9 -2
  551. package/docs/ko/intlayer_with_nextjs_15.md +9 -2
  552. package/docs/ko/intlayer_with_nextjs_16.md +12 -6
  553. package/docs/ko/intlayer_with_nextjs_compiler.md +5 -6
  554. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +12 -6
  555. package/docs/ko/intlayer_with_nextjs_page_router.md +9 -2
  556. package/docs/ko/intlayer_with_nuxt.md +9 -2
  557. package/docs/ko/intlayer_with_react_native+expo.md +9 -2
  558. package/docs/ko/intlayer_with_react_router_v7.md +113 -106
  559. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +113 -106
  560. package/docs/ko/intlayer_with_storybook.md +9 -2
  561. package/docs/ko/intlayer_with_svelte_kit.md +12 -6
  562. package/docs/ko/intlayer_with_tanstack+solid.md +9 -2
  563. package/docs/ko/intlayer_with_tanstack.md +9 -2
  564. package/docs/ko/intlayer_with_vanilla.md +9 -2
  565. package/docs/ko/intlayer_with_vite+lit.md +9 -2
  566. package/docs/ko/intlayer_with_vite+preact.md +12 -6
  567. package/docs/ko/intlayer_with_vite+react.md +12 -6
  568. package/docs/ko/intlayer_with_vite+react_compiler.md +2 -2
  569. package/docs/ko/intlayer_with_vite+solid.md +12 -6
  570. package/docs/ko/intlayer_with_vite+svelte.md +109 -104
  571. package/docs/ko/intlayer_with_vite+vanilla.md +9 -2
  572. package/docs/ko/intlayer_with_vite+vue.md +12 -6
  573. package/docs/ko/introduction.md +43 -28
  574. package/docs/nl/cli/index.md +1 -1
  575. package/docs/nl/interest_of_intlayer.md +8 -0
  576. package/docs/nl/intlayer_with_angular_21.md +6 -6
  577. package/docs/nl/intlayer_with_fastify.md +2 -2
  578. package/docs/nl/intlayer_with_hono.md +2 -2
  579. package/docs/nl/intlayer_with_storybook.md +2 -2
  580. package/docs/nl/intlayer_with_vanilla.md +5 -6
  581. package/docs/nl/intlayer_with_vite+lit.md +6 -6
  582. package/docs/nl/intlayer_with_vite+vanilla.md +5 -6
  583. package/docs/nl/introduction.md +43 -28
  584. package/docs/pl/cli/build.md +1 -1
  585. package/docs/pl/cli/index.md +1 -1
  586. package/docs/pl/interest_of_intlayer.md +8 -0
  587. package/docs/pl/intlayer_with_adonisjs.md +2 -2
  588. package/docs/pl/intlayer_with_analog.md +6 -6
  589. package/docs/pl/intlayer_with_angular_19.md +6 -6
  590. package/docs/pl/intlayer_with_angular_21.md +6 -6
  591. package/docs/pl/intlayer_with_astro.md +55 -56
  592. package/docs/pl/intlayer_with_astro_lit.md +58 -58
  593. package/docs/pl/intlayer_with_astro_preact.md +52 -52
  594. package/docs/pl/intlayer_with_astro_react.md +54 -54
  595. package/docs/pl/intlayer_with_astro_solid.md +54 -54
  596. package/docs/pl/intlayer_with_astro_svelte.md +54 -54
  597. package/docs/pl/intlayer_with_astro_vanilla.md +54 -54
  598. package/docs/pl/intlayer_with_astro_vue.md +54 -54
  599. package/docs/pl/intlayer_with_create_react_app.md +5 -6
  600. package/docs/pl/intlayer_with_express.md +2 -2
  601. package/docs/pl/intlayer_with_fastify.md +2 -2
  602. package/docs/pl/intlayer_with_hono.md +2 -2
  603. package/docs/pl/intlayer_with_lynx+react.md +2 -2
  604. package/docs/pl/intlayer_with_nestjs.md +2 -12
  605. package/docs/pl/intlayer_with_next-i18next.md +2 -2
  606. package/docs/pl/intlayer_with_next-intl.md +2 -2
  607. package/docs/pl/intlayer_with_nextjs_14.md +5 -6
  608. package/docs/pl/intlayer_with_nextjs_15.md +5 -6
  609. package/docs/pl/intlayer_with_nextjs_16.md +70 -72
  610. package/docs/pl/intlayer_with_nextjs_compiler.md +52 -54
  611. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +5 -6
  612. package/docs/pl/intlayer_with_nextjs_page_router.md +5 -6
  613. package/docs/pl/intlayer_with_nuxt.md +33 -33
  614. package/docs/pl/intlayer_with_react_native+expo.md +2 -2
  615. package/docs/pl/intlayer_with_react_router_v7.md +2 -2
  616. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +2 -2
  617. package/docs/pl/intlayer_with_storybook.md +2 -2
  618. package/docs/pl/intlayer_with_svelte_kit.md +16 -17
  619. package/docs/pl/intlayer_with_tanstack+solid.md +6 -6
  620. package/docs/pl/intlayer_with_tanstack.md +6 -6
  621. package/docs/pl/intlayer_with_vanilla.md +5 -6
  622. package/docs/pl/intlayer_with_vite+lit.md +6 -6
  623. package/docs/pl/intlayer_with_vite+preact.md +61 -62
  624. package/docs/pl/intlayer_with_vite+react.md +53 -55
  625. package/docs/pl/intlayer_with_vite+react_compiler.md +5 -6
  626. package/docs/pl/intlayer_with_vite+solid.md +46 -47
  627. package/docs/pl/intlayer_with_vite+svelte.md +33 -34
  628. package/docs/pl/intlayer_with_vite+vanilla.md +5 -6
  629. package/docs/pl/intlayer_with_vite+vue.md +75 -76
  630. package/docs/pl/introduction.md +43 -28
  631. package/docs/pt/cli/build.md +1 -1
  632. package/docs/pt/cli/index.md +1 -1
  633. package/docs/pt/interest_of_intlayer.md +8 -0
  634. package/docs/pt/intlayer_with_adonisjs.md +2 -2
  635. package/docs/pt/intlayer_with_analog.md +13 -6
  636. package/docs/pt/intlayer_with_angular_19.md +13 -6
  637. package/docs/pt/intlayer_with_angular_21.md +13 -6
  638. package/docs/pt/intlayer_with_astro.md +62 -56
  639. package/docs/pt/intlayer_with_astro_lit.md +65 -58
  640. package/docs/pt/intlayer_with_astro_preact.md +59 -52
  641. package/docs/pt/intlayer_with_astro_react.md +61 -54
  642. package/docs/pt/intlayer_with_astro_solid.md +61 -54
  643. package/docs/pt/intlayer_with_astro_svelte.md +61 -54
  644. package/docs/pt/intlayer_with_astro_vanilla.md +61 -54
  645. package/docs/pt/intlayer_with_astro_vue.md +61 -54
  646. package/docs/pt/intlayer_with_create_react_app.md +5 -6
  647. package/docs/pt/intlayer_with_express.md +2 -2
  648. package/docs/pt/intlayer_with_fastify.md +2 -2
  649. package/docs/pt/intlayer_with_hono.md +2 -2
  650. package/docs/pt/intlayer_with_lynx+react.md +9 -2
  651. package/docs/pt/intlayer_with_nestjs.md +2 -13
  652. package/docs/pt/intlayer_with_next-i18next.md +2 -2
  653. package/docs/pt/intlayer_with_next-intl.md +2 -2
  654. package/docs/pt/intlayer_with_nextjs_14.md +12 -6
  655. package/docs/pt/intlayer_with_nextjs_15.md +12 -6
  656. package/docs/pt/intlayer_with_nextjs_16.md +31 -26
  657. package/docs/pt/intlayer_with_nextjs_compiler.md +5 -6
  658. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +12 -6
  659. package/docs/pt/intlayer_with_nextjs_page_router.md +12 -6
  660. package/docs/pt/intlayer_with_nuxt.md +40 -33
  661. package/docs/pt/intlayer_with_react_native+expo.md +9 -2
  662. package/docs/pt/intlayer_with_react_router_v7.md +9 -2
  663. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +9 -2
  664. package/docs/pt/intlayer_with_storybook.md +9 -2
  665. package/docs/pt/intlayer_with_svelte_kit.md +55 -49
  666. package/docs/pt/intlayer_with_tanstack+solid.md +13 -6
  667. package/docs/pt/intlayer_with_tanstack.md +13 -6
  668. package/docs/pt/intlayer_with_vanilla.md +12 -6
  669. package/docs/pt/intlayer_with_vite+lit.md +13 -6
  670. package/docs/pt/intlayer_with_vite+preact.md +12 -6
  671. package/docs/pt/intlayer_with_vite+react.md +12 -6
  672. package/docs/pt/intlayer_with_vite+react_compiler.md +5 -6
  673. package/docs/pt/intlayer_with_vite+solid.md +12 -6
  674. package/docs/pt/intlayer_with_vite+svelte.md +40 -34
  675. package/docs/pt/intlayer_with_vite+vanilla.md +12 -6
  676. package/docs/pt/intlayer_with_vite+vue.md +12 -6
  677. package/docs/pt/introduction.md +43 -28
  678. package/docs/ru/cli/build.md +1 -1
  679. package/docs/ru/cli/index.md +1 -1
  680. package/docs/ru/interest_of_intlayer.md +8 -0
  681. package/docs/ru/intlayer_with_adonisjs.md +2 -2
  682. package/docs/ru/intlayer_with_analog.md +13 -6
  683. package/docs/ru/intlayer_with_angular_19.md +13 -6
  684. package/docs/ru/intlayer_with_angular_21.md +13 -6
  685. package/docs/ru/intlayer_with_astro.md +62 -56
  686. package/docs/ru/intlayer_with_astro_lit.md +65 -58
  687. package/docs/ru/intlayer_with_astro_preact.md +65 -58
  688. package/docs/ru/intlayer_with_astro_react.md +61 -54
  689. package/docs/ru/intlayer_with_astro_solid.md +61 -54
  690. package/docs/ru/intlayer_with_astro_svelte.md +61 -54
  691. package/docs/ru/intlayer_with_astro_vanilla.md +61 -54
  692. package/docs/ru/intlayer_with_astro_vue.md +61 -54
  693. package/docs/ru/intlayer_with_create_react_app.md +5 -6
  694. package/docs/ru/intlayer_with_express.md +2 -2
  695. package/docs/ru/intlayer_with_fastify.md +2 -2
  696. package/docs/ru/intlayer_with_hono.md +2 -2
  697. package/docs/ru/intlayer_with_lynx+react.md +9 -2
  698. package/docs/ru/intlayer_with_nestjs.md +2 -13
  699. package/docs/ru/intlayer_with_next-i18next.md +2 -2
  700. package/docs/ru/intlayer_with_next-intl.md +2 -2
  701. package/docs/ru/intlayer_with_nextjs_14.md +12 -6
  702. package/docs/ru/intlayer_with_nextjs_15.md +12 -6
  703. package/docs/ru/intlayer_with_nextjs_16.md +77 -72
  704. package/docs/ru/intlayer_with_nextjs_compiler.md +52 -54
  705. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +12 -6
  706. package/docs/ru/intlayer_with_nextjs_page_router.md +12 -6
  707. package/docs/ru/intlayer_with_nuxt.md +40 -33
  708. package/docs/ru/intlayer_with_react_native+expo.md +9 -2
  709. package/docs/ru/intlayer_with_react_router_v7.md +9 -2
  710. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +9 -2
  711. package/docs/ru/intlayer_with_storybook.md +9 -2
  712. package/docs/ru/intlayer_with_svelte_kit.md +23 -17
  713. package/docs/ru/intlayer_with_tanstack+solid.md +13 -6
  714. package/docs/ru/intlayer_with_tanstack.md +13 -6
  715. package/docs/ru/intlayer_with_vanilla.md +12 -6
  716. package/docs/ru/intlayer_with_vite+lit.md +13 -6
  717. package/docs/ru/intlayer_with_vite+preact.md +68 -62
  718. package/docs/ru/intlayer_with_vite+react.md +59 -54
  719. package/docs/ru/intlayer_with_vite+react_compiler.md +5 -6
  720. package/docs/ru/intlayer_with_vite+solid.md +53 -47
  721. package/docs/ru/intlayer_with_vite+svelte.md +40 -34
  722. package/docs/ru/intlayer_with_vite+vanilla.md +12 -6
  723. package/docs/ru/intlayer_with_vite+vue.md +60 -54
  724. package/docs/ru/introduction.md +43 -28
  725. package/docs/tr/cli/build.md +1 -1
  726. package/docs/tr/cli/index.md +1 -1
  727. package/docs/tr/interest_of_intlayer.md +8 -0
  728. package/docs/tr/intlayer_with_adonisjs.md +2 -2
  729. package/docs/tr/intlayer_with_analog.md +13 -6
  730. package/docs/tr/intlayer_with_angular_19.md +13 -6
  731. package/docs/tr/intlayer_with_angular_21.md +13 -6
  732. package/docs/tr/intlayer_with_astro.md +62 -56
  733. package/docs/tr/intlayer_with_astro_lit.md +73 -66
  734. package/docs/tr/intlayer_with_astro_preact.md +67 -60
  735. package/docs/tr/intlayer_with_astro_react.md +69 -62
  736. package/docs/tr/intlayer_with_astro_solid.md +69 -62
  737. package/docs/tr/intlayer_with_astro_svelte.md +69 -62
  738. package/docs/tr/intlayer_with_astro_vanilla.md +69 -62
  739. package/docs/tr/intlayer_with_astro_vue.md +61 -54
  740. package/docs/tr/intlayer_with_create_react_app.md +5 -6
  741. package/docs/tr/intlayer_with_express.md +2 -2
  742. package/docs/tr/intlayer_with_fastify.md +2 -2
  743. package/docs/tr/intlayer_with_hono.md +2 -2
  744. package/docs/tr/intlayer_with_lynx+react.md +9 -2
  745. package/docs/tr/intlayer_with_nestjs.md +2 -13
  746. package/docs/tr/intlayer_with_next-i18next.md +2 -2
  747. package/docs/tr/intlayer_with_next-intl.md +2 -2
  748. package/docs/tr/intlayer_with_nextjs_14.md +5 -6
  749. package/docs/tr/intlayer_with_nextjs_15.md +12 -6
  750. package/docs/tr/intlayer_with_nextjs_16.md +77 -72
  751. package/docs/tr/intlayer_with_nextjs_compiler.md +74 -77
  752. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +12 -6
  753. package/docs/tr/intlayer_with_nextjs_page_router.md +12 -6
  754. package/docs/tr/intlayer_with_nuxt.md +40 -33
  755. package/docs/tr/intlayer_with_react_native+expo.md +9 -2
  756. package/docs/tr/intlayer_with_react_router_v7.md +9 -2
  757. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +9 -2
  758. package/docs/tr/intlayer_with_storybook.md +9 -2
  759. package/docs/tr/intlayer_with_svelte_kit.md +23 -17
  760. package/docs/tr/intlayer_with_tanstack+solid.md +13 -6
  761. package/docs/tr/intlayer_with_tanstack.md +13 -6
  762. package/docs/tr/intlayer_with_vanilla.md +12 -6
  763. package/docs/tr/intlayer_with_vite+lit.md +13 -6
  764. package/docs/tr/intlayer_with_vite+preact.md +68 -62
  765. package/docs/tr/intlayer_with_vite+react.md +60 -55
  766. package/docs/tr/intlayer_with_vite+react_compiler.md +5 -6
  767. package/docs/tr/intlayer_with_vite+solid.md +53 -47
  768. package/docs/tr/intlayer_with_vite+svelte.md +40 -34
  769. package/docs/tr/intlayer_with_vite+vanilla.md +12 -6
  770. package/docs/tr/intlayer_with_vite+vue.md +60 -54
  771. package/docs/tr/introduction.md +43 -28
  772. package/docs/uk/cli/build.md +1 -1
  773. package/docs/uk/cli/index.md +1 -1
  774. package/docs/uk/interest_of_intlayer.md +8 -0
  775. package/docs/uk/intlayer_with_adonisjs.md +2 -2
  776. package/docs/uk/intlayer_with_analog.md +13 -6
  777. package/docs/uk/intlayer_with_angular_19.md +13 -6
  778. package/docs/uk/intlayer_with_angular_21.md +13 -6
  779. package/docs/uk/intlayer_with_astro.md +62 -56
  780. package/docs/uk/intlayer_with_astro_lit.md +65 -58
  781. package/docs/uk/intlayer_with_astro_preact.md +59 -52
  782. package/docs/uk/intlayer_with_astro_react.md +61 -54
  783. package/docs/uk/intlayer_with_astro_solid.md +61 -54
  784. package/docs/uk/intlayer_with_astro_svelte.md +61 -54
  785. package/docs/uk/intlayer_with_astro_vanilla.md +61 -54
  786. package/docs/uk/intlayer_with_astro_vue.md +61 -54
  787. package/docs/uk/intlayer_with_create_react_app.md +5 -6
  788. package/docs/uk/intlayer_with_express.md +2 -2
  789. package/docs/uk/intlayer_with_fastify.md +2 -2
  790. package/docs/uk/intlayer_with_hono.md +2 -2
  791. package/docs/uk/intlayer_with_lynx+react.md +9 -2
  792. package/docs/uk/intlayer_with_nestjs.md +2 -12
  793. package/docs/uk/intlayer_with_next-i18next.md +2 -2
  794. package/docs/uk/intlayer_with_next-intl.md +2 -2
  795. package/docs/uk/intlayer_with_nextjs_14.md +12 -6
  796. package/docs/uk/intlayer_with_nextjs_15.md +12 -6
  797. package/docs/uk/intlayer_with_nextjs_16.md +77 -72
  798. package/docs/uk/intlayer_with_nextjs_compiler.md +74 -77
  799. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +12 -6
  800. package/docs/uk/intlayer_with_nextjs_page_router.md +12 -6
  801. package/docs/uk/intlayer_with_nuxt.md +40 -33
  802. package/docs/uk/intlayer_with_react_native+expo.md +9 -2
  803. package/docs/uk/intlayer_with_react_router_v7.md +9 -2
  804. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +9 -2
  805. package/docs/uk/intlayer_with_storybook.md +9 -2
  806. package/docs/uk/intlayer_with_svelte_kit.md +23 -17
  807. package/docs/uk/intlayer_with_tanstack+solid.md +13 -6
  808. package/docs/uk/intlayer_with_tanstack.md +13 -6
  809. package/docs/uk/intlayer_with_vanilla.md +12 -6
  810. package/docs/uk/intlayer_with_vite+lit.md +13 -6
  811. package/docs/uk/intlayer_with_vite+preact.md +68 -62
  812. package/docs/uk/intlayer_with_vite+react.md +60 -55
  813. package/docs/uk/intlayer_with_vite+react_compiler.md +5 -6
  814. package/docs/uk/intlayer_with_vite+solid.md +53 -47
  815. package/docs/uk/intlayer_with_vite+svelte.md +40 -34
  816. package/docs/uk/intlayer_with_vite+vanilla.md +12 -6
  817. package/docs/uk/intlayer_with_vite+vue.md +60 -54
  818. package/docs/uk/introduction.md +43 -28
  819. package/docs/ur/cli/index.md +1 -1
  820. package/docs/ur/intlayer_with_angular_21.md +6 -6
  821. package/docs/ur/intlayer_with_fastify.md +2 -2
  822. package/docs/ur/intlayer_with_hono.md +2 -2
  823. package/docs/ur/intlayer_with_storybook.md +2 -2
  824. package/docs/ur/intlayer_with_vanilla.md +5 -6
  825. package/docs/ur/intlayer_with_vite+lit.md +6 -6
  826. package/docs/ur/intlayer_with_vite+vanilla.md +5 -6
  827. package/docs/ur/introduction.md +43 -28
  828. package/docs/vi/cli/build.md +1 -1
  829. package/docs/vi/cli/index.md +1 -1
  830. package/docs/vi/interest_of_intlayer.md +8 -0
  831. package/docs/vi/intlayer_with_adonisjs.md +2 -2
  832. package/docs/vi/intlayer_with_analog.md +13 -6
  833. package/docs/vi/intlayer_with_angular_19.md +13 -6
  834. package/docs/vi/intlayer_with_angular_21.md +13 -6
  835. package/docs/vi/intlayer_with_astro.md +62 -56
  836. package/docs/vi/intlayer_with_astro_lit.md +65 -58
  837. package/docs/vi/intlayer_with_astro_preact.md +59 -52
  838. package/docs/vi/intlayer_with_astro_react.md +61 -54
  839. package/docs/vi/intlayer_with_astro_solid.md +61 -54
  840. package/docs/vi/intlayer_with_astro_svelte.md +61 -54
  841. package/docs/vi/intlayer_with_astro_vanilla.md +61 -54
  842. package/docs/vi/intlayer_with_astro_vue.md +61 -54
  843. package/docs/vi/intlayer_with_create_react_app.md +5 -6
  844. package/docs/vi/intlayer_with_express.md +2 -2
  845. package/docs/vi/intlayer_with_fastify.md +2 -2
  846. package/docs/vi/intlayer_with_hono.md +2 -2
  847. package/docs/vi/intlayer_with_lynx+react.md +9 -2
  848. package/docs/vi/intlayer_with_nestjs.md +2 -12
  849. package/docs/vi/intlayer_with_next-i18next.md +2 -2
  850. package/docs/vi/intlayer_with_next-intl.md +2 -2
  851. package/docs/vi/intlayer_with_nextjs_14.md +12 -6
  852. package/docs/vi/intlayer_with_nextjs_15.md +9 -2
  853. package/docs/vi/intlayer_with_nextjs_16.md +77 -72
  854. package/docs/vi/intlayer_with_nextjs_compiler.md +74 -77
  855. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +12 -6
  856. package/docs/vi/intlayer_with_nextjs_page_router.md +12 -6
  857. package/docs/vi/intlayer_with_nuxt.md +40 -33
  858. package/docs/vi/intlayer_with_react_native+expo.md +9 -2
  859. package/docs/vi/intlayer_with_react_router_v7.md +9 -2
  860. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +9 -2
  861. package/docs/vi/intlayer_with_storybook.md +9 -2
  862. package/docs/vi/intlayer_with_svelte_kit.md +23 -17
  863. package/docs/vi/intlayer_with_tanstack+solid.md +13 -6
  864. package/docs/vi/intlayer_with_tanstack.md +13 -6
  865. package/docs/vi/intlayer_with_vanilla.md +12 -6
  866. package/docs/vi/intlayer_with_vite+lit.md +13 -6
  867. package/docs/vi/intlayer_with_vite+preact.md +68 -62
  868. package/docs/vi/intlayer_with_vite+react.md +60 -55
  869. package/docs/vi/intlayer_with_vite+react_compiler.md +5 -6
  870. package/docs/vi/intlayer_with_vite+solid.md +53 -47
  871. package/docs/vi/intlayer_with_vite+svelte.md +42 -36
  872. package/docs/vi/intlayer_with_vite+vanilla.md +12 -6
  873. package/docs/vi/intlayer_with_vite+vue.md +60 -54
  874. package/docs/vi/introduction.md +43 -28
  875. package/docs/zh/cli/build.md +1 -1
  876. package/docs/zh/cli/index.md +1 -1
  877. package/docs/zh/intlayer_with_adonisjs.md +2 -2
  878. package/docs/zh/intlayer_with_analog.md +2 -2
  879. package/docs/zh/intlayer_with_angular_19.md +2 -2
  880. package/docs/zh/intlayer_with_angular_21.md +6 -6
  881. package/docs/zh/intlayer_with_astro.md +2 -2
  882. package/docs/zh/intlayer_with_astro_lit.md +2 -2
  883. package/docs/zh/intlayer_with_astro_preact.md +2 -2
  884. package/docs/zh/intlayer_with_astro_react.md +2 -2
  885. package/docs/zh/intlayer_with_astro_solid.md +2 -2
  886. package/docs/zh/intlayer_with_astro_svelte.md +2 -2
  887. package/docs/zh/intlayer_with_astro_vanilla.md +2 -2
  888. package/docs/zh/intlayer_with_astro_vue.md +2 -2
  889. package/docs/zh/intlayer_with_create_react_app.md +2 -2
  890. package/docs/zh/intlayer_with_express.md +2 -2
  891. package/docs/zh/intlayer_with_fastify.md +2 -2
  892. package/docs/zh/intlayer_with_hono.md +2 -2
  893. package/docs/zh/intlayer_with_lynx+react.md +2 -2
  894. package/docs/zh/intlayer_with_nestjs.md +2 -13
  895. package/docs/zh/intlayer_with_next-i18next.md +2 -2
  896. package/docs/zh/intlayer_with_next-intl.md +2 -2
  897. package/docs/zh/intlayer_with_nextjs_14.md +5 -6
  898. package/docs/zh/intlayer_with_nextjs_15.md +5 -6
  899. package/docs/zh/intlayer_with_nextjs_16.md +5 -6
  900. package/docs/zh/intlayer_with_nextjs_compiler.md +157 -161
  901. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +92 -94
  902. package/docs/zh/intlayer_with_nextjs_page_router.md +5 -6
  903. package/docs/zh/intlayer_with_nuxt.md +33 -33
  904. package/docs/zh/intlayer_with_react_native+expo.md +2 -2
  905. package/docs/zh/intlayer_with_react_router_v7.md +2 -2
  906. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +2 -2
  907. package/docs/zh/intlayer_with_storybook.md +2 -2
  908. package/docs/zh/intlayer_with_svelte_kit.md +228 -229
  909. package/docs/zh/intlayer_with_tanstack+solid.md +2 -2
  910. package/docs/zh/intlayer_with_tanstack.md +2 -2
  911. package/docs/zh/intlayer_with_vanilla.md +2 -2
  912. package/docs/zh/intlayer_with_vite+lit.md +2 -2
  913. package/docs/zh/intlayer_with_vite+preact.md +102 -104
  914. package/docs/zh/intlayer_with_vite+react.md +53 -55
  915. package/docs/zh/intlayer_with_vite+react_compiler.md +2 -2
  916. package/docs/zh/intlayer_with_vite+solid.md +46 -47
  917. package/docs/zh/intlayer_with_vite+svelte.md +33 -34
  918. package/docs/zh/intlayer_with_vite+vanilla.md +2 -2
  919. package/docs/zh/intlayer_with_vite+vue.md +75 -76
  920. package/docs/zh/introduction.md +43 -28
  921. package/docs/zh-TW/intlayer_with_angular_21.md +6 -6
  922. package/docs/zh-TW/introduction.md +43 -28
  923. package/package.json +7 -7
  924. package/src/common.ts +1 -1
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
3
  updatedAt: 2026-05-31
4
- title: Vite + Preact i18n - 完整翻译指南: Preact
5
- description: 最佳的包体积、SEO、性能和可维护性解决方案。让您的 Vite and Preact 应用在 2026 年实现多语言化,LLM 翻译,Agent Skills & MCP。
4
+ title: "Vite + Preact i18n - 翻译你的应用的完整指南"
5
+ description: "告别 i18next。2026 年构建多语言 (i18n) Vite + Preact 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
7
7
  - 国际化
8
8
  - 文档
@@ -545,6 +545,106 @@ export default LocaleSwitcher;
545
545
  > 文档参考:
546
546
  >
547
547
  > > - [`useLocale` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)(`preact-intlayer` 的 API 类似)> - [`getLocaleName` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getLocaleName.md)> - [`getLocalizedUrl` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getLocalizedUrl.md)> - [`getHTMLTextDir` 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getHTMLTextDir.md)> - [`hreflang` 属性](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=fr)> - [`lang` 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Global_attributes/lang)> - [`dir` 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Global_attributes/dir)> - [`aria-current` 属性](https://developer.mozilla.org/zh-CN/docs/Web/Accessibility/ARIA/Attributes/aria-current)> - [Popover API](https://developer.mozilla.org/zh-CN/docs/Web/API/Popover_API)
548
+ > > </Step>
549
+
550
+ <Step number={1} title="提取组件内容" isOptional={true}>
551
+
552
+ 如果您有现有的代码库,转换数千个文件可能会非常耗时。
553
+
554
+ 为了简化此过程,Intlayer 提出了 [编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) / [提取器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 来转换您的组件并提取内容。
555
+
556
+ 要进行设置,您可以在 `intlayer.config.ts` 文件中添加 `compiler` 部分:
557
+
558
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
559
+ import { type IntlayerConfig } from "intlayer";
560
+
561
+ const config: IntlayerConfig = {
562
+ // ... 您的其他配置
563
+ compiler: {
564
+ /**
565
+ * 指示是否应启用编译器。
566
+ */
567
+ enabled: true,
568
+
569
+ /**
570
+ * 定义输出文件路径
571
+ */
572
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
573
+
574
+ /**
575
+ * 指示在转换后是否应保存组件。这样,编译器只需运行一次即可转换应用程序,然后即可将其删除。
576
+ */
577
+ saveComponents: false,
578
+
579
+ /**
580
+ * 字典键前缀
581
+ */
582
+ dictionaryKeyPrefix: "",
583
+ },
584
+ };
585
+
586
+ export default config;
587
+ ```
588
+
589
+ <Tabs>
590
+ <Tab value='提取命令'>
591
+
592
+ 运行提取器以转换组件并提取内容
593
+
594
+ ```bash packageManager="npm"
595
+ npx intlayer extract
596
+ ```
597
+
598
+ ```bash packageManager="pnpm"
599
+ pnpm intlayer extract
600
+ ```
601
+
602
+ ```bash packageManager="yarn"
603
+ yarn intlayer extract
604
+ ```
605
+
606
+ ```bash packageManager="bun"
607
+ bun x intlayer extract
608
+ ```
609
+
610
+ </Tab>
611
+ <Tab value='Babel 编译器'>
612
+
613
+ 更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
614
+
615
+ ```ts fileName="vite.config.ts"
616
+ import { defineConfig } from "vite";
617
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
618
+
619
+ export default defineConfig({
620
+ plugins: [
621
+ intlayer(),
622
+ intlayerCompiler(), // 添加编译器插件
623
+ ],
624
+ });
625
+ ```
626
+
627
+ ```bash packageManager="npm"
628
+ npm run build # 或 npm run dev
629
+ ```
630
+
631
+ ```bash packageManager="pnpm"
632
+ pnpm run build # 或 pnpm run dev
633
+ ```
634
+
635
+ ```bash packageManager="yarn"
636
+ yarn build # 或 yarn dev
637
+ ```
638
+
639
+ ```bash packageManager="bun"
640
+ bun run build # Or bun run dev
641
+ ```
642
+
643
+ </Tab>
644
+ </Tabs>
645
+ </Step>
646
+
647
+ </Steps>
548
648
 
549
649
  ### (可选)第 9 步:切换 HTML 语言和方向属性
550
650
 
@@ -768,104 +868,6 @@ Intlayer 使用模块增强来利用 TypeScript 的优势,使您的代码库
768
868
 
769
869
  ---
770
870
 
771
- </Step>
772
-
773
- <Step number={1} title="提取组件内容" isOptional={true}>
774
-
775
- 如果您有现有的代码库,转换数千个文件可能会非常耗时。
776
-
777
- 为了简化此过程,Intlayer 提出了 [编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) / [提取器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 来转换您的组件并提取内容。
778
-
779
- 要进行设置,您可以在 `intlayer.config.ts` 文件中添加 `compiler` 部分:
780
-
781
- ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
782
- import { type IntlayerConfig } from "intlayer";
783
-
784
- const config: IntlayerConfig = {
785
- // ... 您的其他配置
786
- compiler: {
787
- /**
788
- * 指示是否应启用编译器。
789
- */
790
- enabled: true,
791
-
792
- /**
793
- * 定义输出文件路径
794
- */
795
- output: ({ fileName, extension }) => `./${fileName}${extension}`,
796
-
797
- /**
798
- * 指示在转换后是否应保存组件。这样,编译器只需运行一次即可转换应用程序,然后即可将其删除。
799
- */
800
- saveComponents: false,
801
-
802
- /**
803
- * 字典键前缀
804
- */
805
- dictionaryKeyPrefix: "",
806
- },
807
- };
808
-
809
- export default config;
810
- ```
811
-
812
- <Tabs>
813
- <Tab value='提取命令'>
814
-
815
- 运行提取器以转换组件并提取内容
816
-
817
- ```bash packageManager="npm"
818
- npx intlayer extract
819
- ```
820
-
821
- ```bash packageManager="pnpm"
822
- pnpm intlayer extract
823
- ```
824
-
825
- ```bash packageManager="yarn"
826
- yarn intlayer extract
827
- ```
828
-
829
- ```bash packageManager="bun"
830
- bun x intlayer extract
831
- ```
832
-
833
- </Tab>
834
- <Tab value='Babel 编译器'>
835
-
836
- 更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
837
-
838
- ```ts fileName="vite.config.ts"
839
- import { defineConfig } from "vite";
840
- import { intlayer, intlayerCompiler } from "vite-intlayer";
841
-
842
- export default defineConfig({
843
- plugins: [
844
- intlayer(),
845
- intlayerCompiler(), // 添加编译器插件
846
- ],
847
- });
848
- ```
849
-
850
- ```bash packageManager="npm"
851
- npm run build # 或 npm run dev
852
- ```
853
-
854
- ```bash packageManager="pnpm"
855
- pnpm run build # 或 pnpm run dev
856
- ```
857
-
858
- ```bash packageManager="yarn"
859
- yarn build # 或 yarn dev
860
- ```
861
-
862
- ```bash packageManager="bun"
863
- bun run build # Or bun run dev
864
- ```
865
-
866
- </Tab>
867
- </Tabs>
868
-
869
871
  ### (可选)站点地图与 robots.txt(构建时生成)
870
872
 
871
873
  Intlayer 提供 `generateSitemap` 与 `getMultilingualUrls`,可将面向爬虫的多语言 `sitemap.xml` 和 `robots.txt` 格式化并自动写入 `public/`。实践中在 Vite **之前**运行小型 Node 脚本(例如 npm 的 `predev` / `prebuild`)即可在构建或开发时生成这些文件。
@@ -945,7 +947,3 @@ console.log("SEO files generated successfully.");
945
947
  要进一步了解,您可以实现 [可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md) 或使用 [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 将内容外部化。
946
948
 
947
949
  ---
948
-
949
- </Step>
950
-
951
- </Steps>
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2024-03-07
3
3
  updatedAt: 2026-05-31
4
- title: Vite + React i18n - 完整翻译指南: React
5
- description: 最佳的包体积、SEO、性能和可维护性解决方案。让您的 Vite and React 应用在 2026 年实现多语言化,LLM 翻译,Agent Skills & MCP。
4
+ title: "Vite + React i18n - 翻译你的应用的完整指南"
5
+ description: "告别 i18next。2026 年构建多语言 (i18n) Vite + React 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
7
7
  - 国际化
8
8
  - 文档
@@ -710,55 +710,6 @@ Link.displayName = "Link";
710
710
  该组件返回一个带有本地化 URL 的 `<a>` 元素,确保导航与当前语言环境保持一致。
711
711
 
712
712
  通过在整个应用中集成此 `Link` 组件,您可以维护一致且具语言感知的用户体验,同时提升 SEO 和可用性。
713
-
714
- ### 配置 TypeScript
715
-
716
- Intlayer 使用模块增强(module augmentation)来利用 TypeScript 的优势,使您的代码库更健壮。
717
-
718
- ![Autocompletion](https://github.com/aymericzip/intlayer/blob/main/docs/assets/autocompletion.png?raw=true)
719
-
720
- ![Translation error](https://github.com/aymericzip/intlayer/blob/main/docs/assets/translation_error.png?raw=true)
721
-
722
- 确保您的 TypeScript 配置包含自动生成的类型。
723
-
724
- ```json5 fileName="tsconfig.json"
725
- {
726
- // ... 您现有的 TypeScript 配置
727
- "include": [
728
- // ... 您现有的 TypeScript 配置
729
- ".intlayer/**/*.ts", // 包含自动生成的类型
730
- ],
731
- }
732
- ```
733
-
734
- ### Git 配置
735
-
736
- 建议忽略 Intlayer 生成的文件,这样可以避免将它们提交到您的 Git 仓库中。
737
-
738
- 为此,您可以在 `.gitignore` 文件中添加以下指令:
739
-
740
- ```plaintext fileName=".gitignore"
741
- # 忽略 Intlayer 生成的文件
742
- .intlayer
743
- ```
744
-
745
- ### VS Code 扩展
746
-
747
- 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
748
-
749
- [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
750
-
751
- 该扩展提供:
752
-
753
- - **翻译键的自动补全**。
754
- - **实时错误检测**,用于缺失的翻译。
755
- - **内联预览**已翻译的内容。
756
- - **快速操作**,轻松创建和更新翻译。
757
-
758
- 有关如何使用该扩展的更多详细信息,请参阅[Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
759
-
760
- ---
761
-
762
713
  </Step>
763
714
 
764
715
  <Step number={1} title="提取组件内容" isOptional={true}>
@@ -856,6 +807,57 @@ bun run build # Or bun run dev
856
807
 
857
808
  </Tab>
858
809
  </Tabs>
810
+ </Step>
811
+
812
+ </Steps>
813
+
814
+ ### 配置 TypeScript
815
+
816
+ Intlayer 使用模块增强(module augmentation)来利用 TypeScript 的优势,使您的代码库更健壮。
817
+
818
+ ![Autocompletion](https://github.com/aymericzip/intlayer/blob/main/docs/assets/autocompletion.png?raw=true)
819
+
820
+ ![Translation error](https://github.com/aymericzip/intlayer/blob/main/docs/assets/translation_error.png?raw=true)
821
+
822
+ 确保您的 TypeScript 配置包含自动生成的类型。
823
+
824
+ ```json5 fileName="tsconfig.json"
825
+ {
826
+ // ... 您现有的 TypeScript 配置
827
+ "include": [
828
+ // ... 您现有的 TypeScript 配置
829
+ ".intlayer/**/*.ts", // 包含自动生成的类型
830
+ ],
831
+ }
832
+ ```
833
+
834
+ ### Git 配置
835
+
836
+ 建议忽略 Intlayer 生成的文件,这样可以避免将它们提交到您的 Git 仓库中。
837
+
838
+ 为此,您可以在 `.gitignore` 文件中添加以下指令:
839
+
840
+ ```plaintext fileName=".gitignore"
841
+ # 忽略 Intlayer 生成的文件
842
+ .intlayer
843
+ ```
844
+
845
+ ### VS Code 扩展
846
+
847
+ 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
848
+
849
+ [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
850
+
851
+ 该扩展提供:
852
+
853
+ - **翻译键的自动补全**。
854
+ - **实时错误检测**,用于缺失的翻译。
855
+ - **内联预览**已翻译的内容。
856
+ - **快速操作**,轻松创建和更新翻译。
857
+
858
+ 有关如何使用该扩展的更多详细信息,请参阅[Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
859
+
860
+ ---
859
861
 
860
862
  ### (可选)站点地图与 robots.txt(构建时生成)
861
863
 
@@ -934,7 +936,3 @@ console.log("SEO files generated successfully.");
934
936
  ### 深入了解
935
937
 
936
938
  要进一步使用,您可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用[内容管理系统(CMS)](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)将内容外部化。
937
-
938
- </Step>
939
-
940
- </Steps>
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2024-03-07
3
3
  updatedAt: 2026-05-31
4
- title: Vite + React i18n - 完整翻译指南: Complete
5
- description: 最佳的包体积、SEO、性能和可维护性解决方案。让您的 existing Vite and React 应用在 2026 年实现多语言化,LLM 翻译,Agent Skills & MCP。
4
+ title: "Vite + React i18n - 翻译你的应用的完整指南"
5
+ description: "告别 i18next。2026 年构建多语言 (i18n) Vite + React 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
7
7
  - 国际化
8
8
  - 文档
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
3
  updatedAt: 2026-05-31
4
- title: Vite + Solid i18n - 完整翻译指南: Solid
5
- description: 最佳的包体积、SEO、性能和可维护性解决方案。让您的 Vite and Solid 应用在 2026 年实现多语言化,LLM 翻译,Agent Skills & MCP。
4
+ title: "Vite + Solid i18n - 翻译你的应用的完整指南"
5
+ description: "告别 i18next。2026 年构建多语言 (i18n) Vite + Solid 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
7
7
  - 国际化
8
8
  - 文档
@@ -478,47 +478,6 @@ const MyComponent = () => {
478
478
  };
479
479
  ```
480
480
 
481
- ### 配置 TypeScript
482
-
483
- 确保您的 TypeScript 配置包含自动生成的类型。
484
-
485
- ```json5 fileName="tsconfig.json"
486
- {
487
- "compilerOptions": {
488
- // ...
489
- },
490
- "include": ["src", ".intlayer/**/*.ts"],
491
- }
492
- ```
493
-
494
- ### Git 配置
495
-
496
- 建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。
497
-
498
- 为此,您可以将以下指令添加到您的 `.gitignore` 文件中:
499
-
500
- ```bash
501
- # 忽略 Intlayer 生成的文件
502
- .intlayer
503
- ```
504
-
505
- ### VS Code 扩展
506
-
507
- 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
508
-
509
- [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
510
-
511
- 该扩展提供:
512
-
513
- - 翻译键的**自动补全**。
514
- - 缺失翻译的**实时错误检测**。
515
- - **已翻译内容的内联预览**。
516
- - **快速操作**,轻松创建和更新翻译。
517
-
518
- 有关如何使用该扩展的更多详细信息,请参阅[Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
519
-
520
- ---
521
-
522
481
  </Step>
523
482
 
524
483
  <Step number={1} title="提取组件内容" isOptional={true}>
@@ -616,6 +575,50 @@ bun run build # Or bun run dev
616
575
 
617
576
  </Tab>
618
577
  </Tabs>
578
+ </Step>
579
+
580
+ </Steps>
581
+
582
+ ### 配置 TypeScript
583
+
584
+ 确保您的 TypeScript 配置包含自动生成的类型。
585
+
586
+ ```json5 fileName="tsconfig.json"
587
+ {
588
+ "compilerOptions": {
589
+ // ...
590
+ },
591
+ "include": ["src", ".intlayer/**/*.ts"],
592
+ }
593
+ ```
594
+
595
+ ### Git 配置
596
+
597
+ 建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。
598
+
599
+ 为此,您可以将以下指令添加到您的 `.gitignore` 文件中:
600
+
601
+ ```bash
602
+ # 忽略 Intlayer 生成的文件
603
+ .intlayer
604
+ ```
605
+
606
+ ### VS Code 扩展
607
+
608
+ 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
609
+
610
+ [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
611
+
612
+ 该扩展提供:
613
+
614
+ - 翻译键的**自动补全**。
615
+ - 缺失翻译的**实时错误检测**。
616
+ - **已翻译内容的内联预览**。
617
+ - **快速操作**,轻松创建和更新翻译。
618
+
619
+ 有关如何使用该扩展的更多详细信息,请参阅[Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
620
+
621
+ ---
619
622
 
620
623
  ### (可选)站点地图与 robots.txt(构建时生成)
621
624
 
@@ -696,7 +699,3 @@ console.log("SEO files generated successfully.");
696
699
  要进一步使用,您可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用[内容管理系统(CMS)](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)将内容外部化。
697
700
 
698
701
  ---
699
-
700
- </Step>
701
-
702
- </Steps>
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
3
  updatedAt: 2026-05-31
4
- title: Vite + Svelte i18n - 完整翻译指南: Svelte
5
- description: 最佳的包体积、SEO、性能和可维护性解决方案。让您的 Vite and Svelte 应用在 2026 年实现多语言化,LLM 翻译,Agent Skills & MCP。
4
+ title: "Vite + Svelte i18n - 翻译你的应用的完整指南"
5
+ description: "告别 i18next。2026 年构建多语言 (i18n) Vite + Svelte 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
7
7
  - 国际化
8
8
  - 文档
@@ -490,34 +490,6 @@ const changeLocale = (event: Event) => {
490
490
  </div>
491
491
  ```
492
492
 
493
- ### Git 配置
494
-
495
- 建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。
496
-
497
- 为此,您可以在 `.gitignore` 文件中添加以下指令:
498
-
499
- ```bash
500
- # 忽略 Intlayer 生成的文件
501
- .intlayer
502
- ```
503
-
504
- ### VS Code 扩展
505
-
506
- 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
507
-
508
- [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
509
-
510
- 该扩展提供:
511
-
512
- - 翻译键的 **自动补全**。
513
- - 缺失翻译的 **实时错误检测**。
514
- - 翻译内容的 **内联预览**。
515
- - 轻松创建和更新翻译的 **快速操作**。
516
-
517
- 有关如何使用该扩展的更多详细信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
518
-
519
- ---
520
-
521
493
  </Step>
522
494
 
523
495
  <Step number={1} title="提取组件内容" isOptional={true}>
@@ -615,6 +587,37 @@ bun run build # Or bun run dev
615
587
 
616
588
  </Tab>
617
589
  </Tabs>
590
+ </Step>
591
+
592
+ </Steps>
593
+
594
+ ### Git 配置
595
+
596
+ 建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。
597
+
598
+ 为此,您可以在 `.gitignore` 文件中添加以下指令:
599
+
600
+ ```bash
601
+ # 忽略 Intlayer 生成的文件
602
+ .intlayer
603
+ ```
604
+
605
+ ### VS Code 扩展
606
+
607
+ 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
608
+
609
+ [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
610
+
611
+ 该扩展提供:
612
+
613
+ - 翻译键的 **自动补全**。
614
+ - 缺失翻译的 **实时错误检测**。
615
+ - 翻译内容的 **内联预览**。
616
+ - 轻松创建和更新翻译的 **快速操作**。
617
+
618
+ 有关如何使用该扩展的更多详细信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
619
+
620
+ ---
618
621
 
619
622
  ### (可选)站点地图与 robots.txt(构建时生成)
620
623
 
@@ -693,7 +696,3 @@ console.log("SEO files generated successfully.");
693
696
  ### 深入了解
694
697
 
695
698
  要进一步提升,您可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用[CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)将内容外部化。
696
-
697
- </Step>
698
-
699
- </Steps>
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2026-03-23
3
3
  updatedAt: 2026-05-31
4
- title: i18n Vite + Vanilla JS - 完整翻译指南: Vanilla JS
5
- description: 最佳的包体积、SEO、性能和可维护性解决方案。让您的 Vite and Vanilla JS 应用在 2026 年实现多语言化,LLM 翻译,Agent Skills & MCP。
4
+ title: "Vite + Vanilla JS i18n - 翻译你的应用的完整指南"
5
+ description: "告别 i18next。2026 年构建多语言 (i18n) Vite + Vanilla JS 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
7
7
  - 国际化
8
8
  - 文档