@intlayer/docs 8.12.1 → 8.12.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 (735) hide show
  1. package/dist/cjs/common.cjs.map +1 -1
  2. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  3. package/dist/cjs/generated/docs.entry.cjs +120 -0
  4. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  5. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  6. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  7. package/dist/esm/common.mjs.map +1 -1
  8. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  9. package/dist/esm/generated/docs.entry.mjs +120 -0
  10. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  11. package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
  12. package/dist/esm/generated/legal.entry.mjs.map +1 -1
  13. package/dist/types/generated/docs.entry.d.ts +6 -0
  14. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  15. package/docs/ar/configuration.md +10 -9
  16. package/docs/ar/intlayer_with_adonisjs.md +1 -1
  17. package/docs/ar/intlayer_with_analog.md +1 -1
  18. package/docs/ar/intlayer_with_angular_19.md +1 -1
  19. package/docs/ar/intlayer_with_angular_21.md +1 -1
  20. package/docs/ar/intlayer_with_astro.md +1 -1
  21. package/docs/ar/intlayer_with_astro_lit.md +1 -1
  22. package/docs/ar/intlayer_with_astro_preact.md +1 -1
  23. package/docs/ar/intlayer_with_astro_react.md +1 -1
  24. package/docs/ar/intlayer_with_astro_solid.md +1 -1
  25. package/docs/ar/intlayer_with_astro_svelte.md +1 -1
  26. package/docs/ar/intlayer_with_astro_vanilla.md +1 -1
  27. package/docs/ar/intlayer_with_astro_vue.md +1 -1
  28. package/docs/ar/intlayer_with_create_react_app.md +1 -1
  29. package/docs/ar/intlayer_with_express.md +1 -1
  30. package/docs/ar/intlayer_with_fastify.md +1 -1
  31. package/docs/ar/intlayer_with_hono.md +1 -1
  32. package/docs/ar/intlayer_with_nestjs.md +1 -1
  33. package/docs/ar/intlayer_with_nextjs_14.md +1 -1
  34. package/docs/ar/intlayer_with_nextjs_15.md +1 -1
  35. package/docs/ar/intlayer_with_nextjs_16.md +1 -1
  36. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +1 -1
  37. package/docs/ar/intlayer_with_nuxt.md +1 -1
  38. package/docs/ar/intlayer_with_react_router_v7.md +1 -1
  39. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +1 -1
  40. package/docs/ar/intlayer_with_tanstack+solid.md +1 -1
  41. package/docs/ar/intlayer_with_tanstack.md +1 -1
  42. package/docs/ar/intlayer_with_vanilla.md +1 -1
  43. package/docs/ar/intlayer_with_vite+lit.md +1 -1
  44. package/docs/ar/intlayer_with_vite+preact.md +1 -1
  45. package/docs/ar/intlayer_with_vite+react.md +1 -1
  46. package/docs/ar/intlayer_with_vite+solid.md +1 -1
  47. package/docs/ar/intlayer_with_vite+svelte.md +1 -1
  48. package/docs/ar/intlayer_with_vite+vanilla.md +1 -1
  49. package/docs/ar/intlayer_with_vite+vue.md +1 -1
  50. package/docs/bn/configuration.md +10 -9
  51. package/docs/bn/intlayer_with_angular_21.md +1 -1
  52. package/docs/bn/intlayer_with_fastify.md +1 -1
  53. package/docs/bn/intlayer_with_hono.md +1 -1
  54. package/docs/bn/intlayer_with_vanilla.md +1 -1
  55. package/docs/bn/intlayer_with_vite+lit.md +1 -1
  56. package/docs/bn/intlayer_with_vite+vanilla.md +1 -1
  57. package/docs/cs/configuration.md +10 -9
  58. package/docs/cs/intlayer_with_angular_21.md +1 -1
  59. package/docs/cs/intlayer_with_fastify.md +1 -1
  60. package/docs/cs/intlayer_with_hono.md +1 -1
  61. package/docs/cs/intlayer_with_vanilla.md +1 -1
  62. package/docs/cs/intlayer_with_vite+lit.md +1 -1
  63. package/docs/cs/intlayer_with_vite+vanilla.md +1 -1
  64. package/docs/de/configuration.md +10 -9
  65. package/docs/de/intlayer_with_adonisjs.md +1 -1
  66. package/docs/de/intlayer_with_analog.md +1 -1
  67. package/docs/de/intlayer_with_angular_19.md +1 -1
  68. package/docs/de/intlayer_with_angular_21.md +1 -1
  69. package/docs/de/intlayer_with_astro.md +1 -1
  70. package/docs/de/intlayer_with_astro_lit.md +1 -1
  71. package/docs/de/intlayer_with_astro_preact.md +1 -1
  72. package/docs/de/intlayer_with_astro_react.md +1 -1
  73. package/docs/de/intlayer_with_astro_solid.md +1 -1
  74. package/docs/de/intlayer_with_astro_svelte.md +1 -1
  75. package/docs/de/intlayer_with_astro_vanilla.md +1 -1
  76. package/docs/de/intlayer_with_astro_vue.md +1 -1
  77. package/docs/de/intlayer_with_create_react_app.md +1 -1
  78. package/docs/de/intlayer_with_express.md +1 -1
  79. package/docs/de/intlayer_with_fastify.md +1 -1
  80. package/docs/de/intlayer_with_hono.md +1 -1
  81. package/docs/de/intlayer_with_nestjs.md +1 -1
  82. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  83. package/docs/de/intlayer_with_nextjs_15.md +1 -1
  84. package/docs/de/intlayer_with_nextjs_16.md +1 -1
  85. package/docs/de/intlayer_with_nextjs_no_locale_path.md +1 -1
  86. package/docs/de/intlayer_with_nuxt.md +1 -1
  87. package/docs/de/intlayer_with_react_router_v7.md +1 -1
  88. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -1
  89. package/docs/de/intlayer_with_tanstack+solid.md +1 -1
  90. package/docs/de/intlayer_with_tanstack.md +1 -1
  91. package/docs/de/intlayer_with_vanilla.md +1 -1
  92. package/docs/de/intlayer_with_vite+lit.md +1 -1
  93. package/docs/de/intlayer_with_vite+preact.md +1 -1
  94. package/docs/de/intlayer_with_vite+react.md +1 -1
  95. package/docs/de/intlayer_with_vite+solid.md +1 -1
  96. package/docs/de/intlayer_with_vite+svelte.md +1 -1
  97. package/docs/de/intlayer_with_vite+vanilla.md +1 -1
  98. package/docs/de/intlayer_with_vite+vue.md +1 -1
  99. package/docs/de/migration_from_i18next_to_intlayer.md +313 -0
  100. package/docs/de/migration_from_next-i18next_to_intlayer.md +338 -0
  101. package/docs/de/migration_from_next-intl_to_intlayer.md +347 -0
  102. package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  103. package/docs/de/migration_from_react-i18next_to_intlayer.md +367 -0
  104. package/docs/de/migration_from_vue-i18n_to_intlayer.md +342 -0
  105. package/docs/en/configuration.md +1 -0
  106. package/docs/en/intlayer_with_adonisjs.md +1 -1
  107. package/docs/en/intlayer_with_analog.md +1 -1
  108. package/docs/en/intlayer_with_angular_19.md +1 -1
  109. package/docs/en/intlayer_with_angular_21.md +1 -1
  110. package/docs/en/intlayer_with_astro.md +1 -1
  111. package/docs/en/intlayer_with_astro_lit.md +1 -1
  112. package/docs/en/intlayer_with_astro_preact.md +1 -1
  113. package/docs/en/intlayer_with_astro_react.md +1 -1
  114. package/docs/en/intlayer_with_astro_solid.md +1 -1
  115. package/docs/en/intlayer_with_astro_svelte.md +1 -1
  116. package/docs/en/intlayer_with_astro_vanilla.md +1 -1
  117. package/docs/en/intlayer_with_astro_vue.md +1 -1
  118. package/docs/en/intlayer_with_create_react_app.md +1 -1
  119. package/docs/en/intlayer_with_express.md +1 -1
  120. package/docs/en/intlayer_with_fastify.md +1 -1
  121. package/docs/en/intlayer_with_hono.md +1 -1
  122. package/docs/en/intlayer_with_nestjs.md +1 -1
  123. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  124. package/docs/en/intlayer_with_nextjs_15.md +1 -1
  125. package/docs/en/intlayer_with_nextjs_16.md +1 -1
  126. package/docs/en/intlayer_with_nextjs_no_locale_path.md +1 -1
  127. package/docs/en/intlayer_with_nuxt.md +1 -1
  128. package/docs/en/intlayer_with_react_router_v7.md +1 -1
  129. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +1 -1
  130. package/docs/en/intlayer_with_tanstack+solid.md +1 -1
  131. package/docs/en/intlayer_with_tanstack.md +1 -1
  132. package/docs/en/intlayer_with_vanilla.md +1 -1
  133. package/docs/en/intlayer_with_vite+lit.md +1 -1
  134. package/docs/en/intlayer_with_vite+preact.md +1 -1
  135. package/docs/en/intlayer_with_vite+react.md +1 -1
  136. package/docs/en/intlayer_with_vite+solid.md +1 -1
  137. package/docs/en/intlayer_with_vite+svelte.md +1 -1
  138. package/docs/en/intlayer_with_vite+vanilla.md +1 -1
  139. package/docs/en/intlayer_with_vite+vue.md +1 -1
  140. package/docs/en/migration_from_i18next_to_intlayer.md +316 -0
  141. package/docs/en/migration_from_next-i18next_to_intlayer.md +338 -0
  142. package/docs/en/migration_from_next-intl_to_intlayer.md +347 -0
  143. package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  144. package/docs/en/migration_from_react-i18next_to_intlayer.md +367 -0
  145. package/docs/en/migration_from_vue-i18n_to_intlayer.md +342 -0
  146. package/docs/en-GB/configuration.md +10 -9
  147. package/docs/en-GB/intlayer_with_adonisjs.md +1 -1
  148. package/docs/en-GB/intlayer_with_analog.md +1 -1
  149. package/docs/en-GB/intlayer_with_angular_19.md +1 -1
  150. package/docs/en-GB/intlayer_with_angular_21.md +1 -1
  151. package/docs/en-GB/intlayer_with_astro.md +1 -1
  152. package/docs/en-GB/intlayer_with_astro_lit.md +1 -1
  153. package/docs/en-GB/intlayer_with_astro_preact.md +1 -1
  154. package/docs/en-GB/intlayer_with_astro_react.md +1 -1
  155. package/docs/en-GB/intlayer_with_astro_solid.md +1 -1
  156. package/docs/en-GB/intlayer_with_astro_svelte.md +1 -1
  157. package/docs/en-GB/intlayer_with_astro_vanilla.md +1 -1
  158. package/docs/en-GB/intlayer_with_astro_vue.md +1 -1
  159. package/docs/en-GB/intlayer_with_create_react_app.md +1 -1
  160. package/docs/en-GB/intlayer_with_express.md +1 -1
  161. package/docs/en-GB/intlayer_with_fastify.md +1 -1
  162. package/docs/en-GB/intlayer_with_hono.md +1 -1
  163. package/docs/en-GB/intlayer_with_nestjs.md +1 -1
  164. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  165. package/docs/en-GB/intlayer_with_nextjs_15.md +1 -1
  166. package/docs/en-GB/intlayer_with_nextjs_16.md +1 -1
  167. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +1 -1
  168. package/docs/en-GB/intlayer_with_nuxt.md +1 -1
  169. package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
  170. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +1 -1
  171. package/docs/en-GB/intlayer_with_tanstack+solid.md +1 -1
  172. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  173. package/docs/en-GB/intlayer_with_vanilla.md +1 -1
  174. package/docs/en-GB/intlayer_with_vite+lit.md +1 -1
  175. package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
  176. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  177. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  178. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  179. package/docs/en-GB/intlayer_with_vite+vanilla.md +1 -1
  180. package/docs/en-GB/intlayer_with_vite+vue.md +1 -1
  181. package/docs/es/configuration.md +10 -9
  182. package/docs/es/intlayer_with_adonisjs.md +1 -1
  183. package/docs/es/intlayer_with_analog.md +1 -1
  184. package/docs/es/intlayer_with_angular_19.md +1 -1
  185. package/docs/es/intlayer_with_angular_21.md +1 -1
  186. package/docs/es/intlayer_with_astro.md +1 -1
  187. package/docs/es/intlayer_with_astro_lit.md +1 -1
  188. package/docs/es/intlayer_with_astro_preact.md +1 -1
  189. package/docs/es/intlayer_with_astro_react.md +1 -1
  190. package/docs/es/intlayer_with_astro_solid.md +1 -1
  191. package/docs/es/intlayer_with_astro_svelte.md +1 -1
  192. package/docs/es/intlayer_with_astro_vanilla.md +1 -1
  193. package/docs/es/intlayer_with_astro_vue.md +1 -1
  194. package/docs/es/intlayer_with_create_react_app.md +1 -1
  195. package/docs/es/intlayer_with_express.md +1 -1
  196. package/docs/es/intlayer_with_fastify.md +1 -1
  197. package/docs/es/intlayer_with_hono.md +1 -1
  198. package/docs/es/intlayer_with_nestjs.md +1 -1
  199. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  200. package/docs/es/intlayer_with_nextjs_15.md +1 -1
  201. package/docs/es/intlayer_with_nextjs_16.md +1 -1
  202. package/docs/es/intlayer_with_nextjs_no_locale_path.md +1 -1
  203. package/docs/es/intlayer_with_nuxt.md +1 -1
  204. package/docs/es/intlayer_with_react_router_v7.md +1 -1
  205. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
  206. package/docs/es/intlayer_with_tanstack+solid.md +1 -1
  207. package/docs/es/intlayer_with_tanstack.md +1 -1
  208. package/docs/es/intlayer_with_vanilla.md +1 -1
  209. package/docs/es/intlayer_with_vite+lit.md +1 -1
  210. package/docs/es/intlayer_with_vite+preact.md +1 -1
  211. package/docs/es/intlayer_with_vite+react.md +1 -1
  212. package/docs/es/intlayer_with_vite+solid.md +1 -1
  213. package/docs/es/intlayer_with_vite+svelte.md +1 -1
  214. package/docs/es/intlayer_with_vite+vanilla.md +1 -1
  215. package/docs/es/intlayer_with_vite+vue.md +1 -1
  216. package/docs/es/migration_from_i18next_to_intlayer.md +313 -0
  217. package/docs/es/migration_from_next-i18next_to_intlayer.md +338 -0
  218. package/docs/es/migration_from_next-intl_to_intlayer.md +347 -0
  219. package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  220. package/docs/es/migration_from_react-i18next_to_intlayer.md +367 -0
  221. package/docs/es/migration_from_vue-i18n_to_intlayer.md +342 -0
  222. package/docs/es/packages/next-intlayer/index.md +1 -1
  223. package/docs/es/packages/react-intlayer/index.md +1 -1
  224. package/docs/fr/configuration.md +10 -9
  225. package/docs/fr/intlayer_with_adonisjs.md +1 -1
  226. package/docs/fr/intlayer_with_analog.md +1 -1
  227. package/docs/fr/intlayer_with_angular_19.md +1 -1
  228. package/docs/fr/intlayer_with_angular_21.md +1 -1
  229. package/docs/fr/intlayer_with_astro.md +1 -1
  230. package/docs/fr/intlayer_with_astro_lit.md +1 -1
  231. package/docs/fr/intlayer_with_astro_preact.md +1 -1
  232. package/docs/fr/intlayer_with_astro_react.md +1 -1
  233. package/docs/fr/intlayer_with_astro_solid.md +1 -1
  234. package/docs/fr/intlayer_with_astro_svelte.md +1 -1
  235. package/docs/fr/intlayer_with_astro_vanilla.md +1 -1
  236. package/docs/fr/intlayer_with_astro_vue.md +1 -1
  237. package/docs/fr/intlayer_with_create_react_app.md +1 -1
  238. package/docs/fr/intlayer_with_express.md +1 -1
  239. package/docs/fr/intlayer_with_fastify.md +1 -1
  240. package/docs/fr/intlayer_with_hono.md +1 -1
  241. package/docs/fr/intlayer_with_nestjs.md +1 -1
  242. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  243. package/docs/fr/intlayer_with_nextjs_15.md +1 -1
  244. package/docs/fr/intlayer_with_nextjs_16.md +1 -1
  245. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +1 -1
  246. package/docs/fr/intlayer_with_nuxt.md +1 -1
  247. package/docs/fr/intlayer_with_react_router_v7.md +1 -1
  248. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -1
  249. package/docs/fr/intlayer_with_tanstack+solid.md +1 -1
  250. package/docs/fr/intlayer_with_tanstack.md +1 -1
  251. package/docs/fr/intlayer_with_vanilla.md +1 -1
  252. package/docs/fr/intlayer_with_vite+lit.md +1 -1
  253. package/docs/fr/intlayer_with_vite+preact.md +1 -1
  254. package/docs/fr/intlayer_with_vite+react.md +1 -1
  255. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  256. package/docs/fr/intlayer_with_vite+svelte.md +1 -1
  257. package/docs/fr/intlayer_with_vite+vanilla.md +1 -1
  258. package/docs/fr/intlayer_with_vite+vue.md +1 -1
  259. package/docs/fr/migration_from_i18next_to_intlayer.md +313 -0
  260. package/docs/fr/migration_from_next-i18next_to_intlayer.md +338 -0
  261. package/docs/fr/migration_from_next-intl_to_intlayer.md +347 -0
  262. package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  263. package/docs/fr/migration_from_react-i18next_to_intlayer.md +367 -0
  264. package/docs/fr/migration_from_vue-i18n_to_intlayer.md +342 -0
  265. package/docs/fr/packages/react-intlayer/index.md +1 -1
  266. package/docs/hi/configuration.md +10 -9
  267. package/docs/hi/intlayer_with_adonisjs.md +1 -1
  268. package/docs/hi/intlayer_with_analog.md +1 -1
  269. package/docs/hi/intlayer_with_angular_19.md +1 -1
  270. package/docs/hi/intlayer_with_angular_21.md +1 -1
  271. package/docs/hi/intlayer_with_astro.md +1 -1
  272. package/docs/hi/intlayer_with_astro_lit.md +1 -1
  273. package/docs/hi/intlayer_with_astro_preact.md +1 -1
  274. package/docs/hi/intlayer_with_astro_react.md +1 -1
  275. package/docs/hi/intlayer_with_astro_solid.md +1 -1
  276. package/docs/hi/intlayer_with_astro_svelte.md +1 -1
  277. package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
  278. package/docs/hi/intlayer_with_astro_vue.md +1 -1
  279. package/docs/hi/intlayer_with_create_react_app.md +1 -1
  280. package/docs/hi/intlayer_with_express.md +1 -1
  281. package/docs/hi/intlayer_with_fastify.md +1 -1
  282. package/docs/hi/intlayer_with_hono.md +1 -1
  283. package/docs/hi/intlayer_with_nestjs.md +1 -1
  284. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  285. package/docs/hi/intlayer_with_nextjs_15.md +1 -1
  286. package/docs/hi/intlayer_with_nextjs_16.md +1 -1
  287. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1 -1
  288. package/docs/hi/intlayer_with_nuxt.md +1 -1
  289. package/docs/hi/intlayer_with_react_router_v7.md +1 -1
  290. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +1 -1
  291. package/docs/hi/intlayer_with_tanstack+solid.md +1 -1
  292. package/docs/hi/intlayer_with_tanstack.md +1 -1
  293. package/docs/hi/intlayer_with_vanilla.md +1 -1
  294. package/docs/hi/intlayer_with_vite+lit.md +1 -1
  295. package/docs/hi/intlayer_with_vite+preact.md +1 -1
  296. package/docs/hi/intlayer_with_vite+react.md +1 -1
  297. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  298. package/docs/hi/intlayer_with_vite+svelte.md +1 -1
  299. package/docs/hi/intlayer_with_vite+vanilla.md +1 -1
  300. package/docs/hi/intlayer_with_vite+vue.md +1 -1
  301. package/docs/hi/packages/intlayer/index.md +1 -1
  302. package/docs/id/configuration.md +10 -9
  303. package/docs/id/intlayer_with_adonisjs.md +1 -1
  304. package/docs/id/intlayer_with_analog.md +1 -1
  305. package/docs/id/intlayer_with_angular_19.md +1 -1
  306. package/docs/id/intlayer_with_angular_21.md +1 -1
  307. package/docs/id/intlayer_with_astro.md +1 -1
  308. package/docs/id/intlayer_with_astro_lit.md +1 -1
  309. package/docs/id/intlayer_with_astro_preact.md +1 -1
  310. package/docs/id/intlayer_with_astro_react.md +1 -1
  311. package/docs/id/intlayer_with_astro_solid.md +1 -1
  312. package/docs/id/intlayer_with_astro_svelte.md +1 -1
  313. package/docs/id/intlayer_with_astro_vanilla.md +1 -1
  314. package/docs/id/intlayer_with_astro_vue.md +1 -1
  315. package/docs/id/intlayer_with_create_react_app.md +1 -1
  316. package/docs/id/intlayer_with_express.md +1 -1
  317. package/docs/id/intlayer_with_fastify.md +1 -1
  318. package/docs/id/intlayer_with_hono.md +1 -1
  319. package/docs/id/intlayer_with_nestjs.md +1 -1
  320. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  321. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  322. package/docs/id/intlayer_with_nextjs_16.md +1 -1
  323. package/docs/id/intlayer_with_nextjs_no_locale_path.md +1 -1
  324. package/docs/id/intlayer_with_nuxt.md +1 -1
  325. package/docs/id/intlayer_with_react_router_v7.md +1 -1
  326. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -1
  327. package/docs/id/intlayer_with_tanstack+solid.md +1 -1
  328. package/docs/id/intlayer_with_tanstack.md +1 -1
  329. package/docs/id/intlayer_with_vanilla.md +1 -1
  330. package/docs/id/intlayer_with_vite+lit.md +1 -1
  331. package/docs/id/intlayer_with_vite+preact.md +1 -1
  332. package/docs/id/intlayer_with_vite+react.md +1 -1
  333. package/docs/id/intlayer_with_vite+solid.md +1 -1
  334. package/docs/id/intlayer_with_vite+svelte.md +1 -1
  335. package/docs/id/intlayer_with_vite+vanilla.md +1 -1
  336. package/docs/id/intlayer_with_vite+vue.md +1 -1
  337. package/docs/it/configuration.md +10 -9
  338. package/docs/it/intlayer_with_adonisjs.md +1 -1
  339. package/docs/it/intlayer_with_analog.md +1 -1
  340. package/docs/it/intlayer_with_angular_19.md +1 -1
  341. package/docs/it/intlayer_with_angular_21.md +1 -1
  342. package/docs/it/intlayer_with_astro.md +1 -1
  343. package/docs/it/intlayer_with_astro_lit.md +1 -1
  344. package/docs/it/intlayer_with_astro_preact.md +1 -1
  345. package/docs/it/intlayer_with_astro_react.md +1 -1
  346. package/docs/it/intlayer_with_astro_solid.md +1 -1
  347. package/docs/it/intlayer_with_astro_svelte.md +1 -1
  348. package/docs/it/intlayer_with_astro_vanilla.md +1 -1
  349. package/docs/it/intlayer_with_astro_vue.md +1 -1
  350. package/docs/it/intlayer_with_create_react_app.md +1 -1
  351. package/docs/it/intlayer_with_express.md +1 -1
  352. package/docs/it/intlayer_with_fastify.md +1 -1
  353. package/docs/it/intlayer_with_hono.md +1 -1
  354. package/docs/it/intlayer_with_nestjs.md +1 -1
  355. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  356. package/docs/it/intlayer_with_nextjs_15.md +1 -1
  357. package/docs/it/intlayer_with_nextjs_16.md +1 -1
  358. package/docs/it/intlayer_with_nextjs_no_locale_path.md +1 -1
  359. package/docs/it/intlayer_with_nuxt.md +1 -1
  360. package/docs/it/intlayer_with_react_router_v7.md +1 -1
  361. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -1
  362. package/docs/it/intlayer_with_tanstack+solid.md +1 -1
  363. package/docs/it/intlayer_with_tanstack.md +1 -1
  364. package/docs/it/intlayer_with_vanilla.md +1 -1
  365. package/docs/it/intlayer_with_vite+lit.md +1 -1
  366. package/docs/it/intlayer_with_vite+preact.md +1 -1
  367. package/docs/it/intlayer_with_vite+react.md +1 -1
  368. package/docs/it/intlayer_with_vite+solid.md +1 -1
  369. package/docs/it/intlayer_with_vite+svelte.md +1 -1
  370. package/docs/it/intlayer_with_vite+vanilla.md +1 -1
  371. package/docs/it/intlayer_with_vite+vue.md +1 -1
  372. package/docs/it/migration_from_i18next_to_intlayer.md +313 -0
  373. package/docs/it/migration_from_next-i18next_to_intlayer.md +338 -0
  374. package/docs/it/migration_from_next-intl_to_intlayer.md +347 -0
  375. package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  376. package/docs/it/migration_from_react-i18next_to_intlayer.md +367 -0
  377. package/docs/it/migration_from_vue-i18n_to_intlayer.md +342 -0
  378. package/docs/ja/configuration.md +10 -9
  379. package/docs/ja/intlayer_with_adonisjs.md +1 -1
  380. package/docs/ja/intlayer_with_analog.md +1 -1
  381. package/docs/ja/intlayer_with_angular_19.md +1 -1
  382. package/docs/ja/intlayer_with_angular_21.md +1 -1
  383. package/docs/ja/intlayer_with_astro.md +1 -1
  384. package/docs/ja/intlayer_with_astro_lit.md +1 -1
  385. package/docs/ja/intlayer_with_astro_preact.md +1 -1
  386. package/docs/ja/intlayer_with_astro_react.md +1 -1
  387. package/docs/ja/intlayer_with_astro_solid.md +1 -1
  388. package/docs/ja/intlayer_with_astro_svelte.md +1 -1
  389. package/docs/ja/intlayer_with_astro_vanilla.md +1 -1
  390. package/docs/ja/intlayer_with_astro_vue.md +1 -1
  391. package/docs/ja/intlayer_with_create_react_app.md +1 -1
  392. package/docs/ja/intlayer_with_express.md +1 -1
  393. package/docs/ja/intlayer_with_fastify.md +1 -1
  394. package/docs/ja/intlayer_with_hono.md +1 -1
  395. package/docs/ja/intlayer_with_nestjs.md +1 -1
  396. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  397. package/docs/ja/intlayer_with_nextjs_15.md +1 -1
  398. package/docs/ja/intlayer_with_nextjs_16.md +1 -1
  399. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1 -1
  400. package/docs/ja/intlayer_with_nuxt.md +1 -1
  401. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -1
  402. package/docs/ja/intlayer_with_tanstack+solid.md +1 -1
  403. package/docs/ja/intlayer_with_tanstack.md +1 -1
  404. package/docs/ja/intlayer_with_vanilla.md +1 -1
  405. package/docs/ja/intlayer_with_vite+lit.md +1 -1
  406. package/docs/ja/intlayer_with_vite+solid.md +1 -1
  407. package/docs/ja/intlayer_with_vite+svelte.md +1 -1
  408. package/docs/ja/intlayer_with_vite+vanilla.md +1 -1
  409. package/docs/ja/intlayer_with_vite+vue.md +1 -1
  410. package/docs/ja/migration_from_i18next_to_intlayer.md +313 -0
  411. package/docs/ja/migration_from_next-i18next_to_intlayer.md +338 -0
  412. package/docs/ja/migration_from_next-intl_to_intlayer.md +347 -0
  413. package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  414. package/docs/ja/migration_from_react-i18next_to_intlayer.md +367 -0
  415. package/docs/ja/migration_from_vue-i18n_to_intlayer.md +342 -0
  416. package/docs/ko/configuration.md +10 -9
  417. package/docs/ko/intlayer_with_adonisjs.md +1 -1
  418. package/docs/ko/intlayer_with_analog.md +1 -1
  419. package/docs/ko/intlayer_with_angular_19.md +1 -1
  420. package/docs/ko/intlayer_with_angular_21.md +1 -1
  421. package/docs/ko/intlayer_with_astro.md +1 -1
  422. package/docs/ko/intlayer_with_astro_lit.md +1 -1
  423. package/docs/ko/intlayer_with_astro_preact.md +1 -1
  424. package/docs/ko/intlayer_with_astro_react.md +1 -1
  425. package/docs/ko/intlayer_with_astro_solid.md +1 -1
  426. package/docs/ko/intlayer_with_astro_svelte.md +1 -1
  427. package/docs/ko/intlayer_with_astro_vanilla.md +1 -1
  428. package/docs/ko/intlayer_with_astro_vue.md +1 -1
  429. package/docs/ko/intlayer_with_create_react_app.md +1 -1
  430. package/docs/ko/intlayer_with_express.md +1 -1
  431. package/docs/ko/intlayer_with_fastify.md +1 -1
  432. package/docs/ko/intlayer_with_hono.md +1 -1
  433. package/docs/ko/intlayer_with_nestjs.md +1 -1
  434. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  435. package/docs/ko/intlayer_with_nextjs_15.md +2 -2
  436. package/docs/ko/intlayer_with_nextjs_16.md +1 -1
  437. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1 -1
  438. package/docs/ko/intlayer_with_nuxt.md +1 -1
  439. package/docs/ko/intlayer_with_react_router_v7.md +1 -1
  440. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +1 -1
  441. package/docs/ko/intlayer_with_tanstack+solid.md +1 -1
  442. package/docs/ko/intlayer_with_tanstack.md +1 -1
  443. package/docs/ko/intlayer_with_vanilla.md +1 -1
  444. package/docs/ko/intlayer_with_vite+lit.md +1 -1
  445. package/docs/ko/intlayer_with_vite+preact.md +1 -1
  446. package/docs/ko/intlayer_with_vite+react.md +1 -1
  447. package/docs/ko/intlayer_with_vite+solid.md +1 -1
  448. package/docs/ko/intlayer_with_vite+svelte.md +1 -1
  449. package/docs/ko/intlayer_with_vite+vanilla.md +1 -1
  450. package/docs/ko/intlayer_with_vite+vue.md +1 -1
  451. package/docs/ko/migration_from_i18next_to_intlayer.md +313 -0
  452. package/docs/ko/migration_from_next-i18next_to_intlayer.md +338 -0
  453. package/docs/ko/migration_from_next-intl_to_intlayer.md +347 -0
  454. package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  455. package/docs/ko/migration_from_react-i18next_to_intlayer.md +367 -0
  456. package/docs/ko/migration_from_vue-i18n_to_intlayer.md +342 -0
  457. package/docs/nl/configuration.md +10 -9
  458. package/docs/nl/intlayer_with_angular_21.md +1 -1
  459. package/docs/nl/intlayer_with_fastify.md +1 -1
  460. package/docs/nl/intlayer_with_hono.md +1 -1
  461. package/docs/nl/intlayer_with_vanilla.md +1 -1
  462. package/docs/nl/intlayer_with_vite+lit.md +1 -1
  463. package/docs/nl/intlayer_with_vite+vanilla.md +1 -1
  464. package/docs/pl/configuration.md +10 -9
  465. package/docs/pl/intlayer_with_adonisjs.md +1 -1
  466. package/docs/pl/intlayer_with_analog.md +1 -1
  467. package/docs/pl/intlayer_with_angular_19.md +1 -1
  468. package/docs/pl/intlayer_with_angular_21.md +1 -1
  469. package/docs/pl/intlayer_with_astro.md +1 -1
  470. package/docs/pl/intlayer_with_astro_lit.md +1 -1
  471. package/docs/pl/intlayer_with_astro_preact.md +1 -1
  472. package/docs/pl/intlayer_with_astro_react.md +1 -1
  473. package/docs/pl/intlayer_with_astro_solid.md +1 -1
  474. package/docs/pl/intlayer_with_astro_svelte.md +1 -1
  475. package/docs/pl/intlayer_with_astro_vanilla.md +1 -1
  476. package/docs/pl/intlayer_with_astro_vue.md +1 -1
  477. package/docs/pl/intlayer_with_create_react_app.md +1 -1
  478. package/docs/pl/intlayer_with_express.md +1 -1
  479. package/docs/pl/intlayer_with_fastify.md +1 -1
  480. package/docs/pl/intlayer_with_hono.md +1 -1
  481. package/docs/pl/intlayer_with_nestjs.md +1 -1
  482. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  483. package/docs/pl/intlayer_with_nextjs_15.md +1 -1
  484. package/docs/pl/intlayer_with_nextjs_16.md +1 -1
  485. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +1 -1
  486. package/docs/pl/intlayer_with_nuxt.md +1 -1
  487. package/docs/pl/intlayer_with_react_router_v7.md +1 -1
  488. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +1 -1
  489. package/docs/pl/intlayer_with_tanstack+solid.md +1 -1
  490. package/docs/pl/intlayer_with_tanstack.md +1 -1
  491. package/docs/pl/intlayer_with_vanilla.md +1 -1
  492. package/docs/pl/intlayer_with_vite+lit.md +1 -1
  493. package/docs/pl/intlayer_with_vite+preact.md +1 -1
  494. package/docs/pl/intlayer_with_vite+react.md +1 -1
  495. package/docs/pl/intlayer_with_vite+solid.md +1 -1
  496. package/docs/pl/intlayer_with_vite+svelte.md +1 -1
  497. package/docs/pl/intlayer_with_vite+vanilla.md +1 -1
  498. package/docs/pl/intlayer_with_vite+vue.md +1 -1
  499. package/docs/pt/configuration.md +10 -9
  500. package/docs/pt/intlayer_with_adonisjs.md +1 -1
  501. package/docs/pt/intlayer_with_analog.md +1 -1
  502. package/docs/pt/intlayer_with_angular_19.md +1 -1
  503. package/docs/pt/intlayer_with_angular_21.md +1 -1
  504. package/docs/pt/intlayer_with_astro.md +1 -1
  505. package/docs/pt/intlayer_with_astro_lit.md +1 -1
  506. package/docs/pt/intlayer_with_astro_preact.md +1 -1
  507. package/docs/pt/intlayer_with_astro_react.md +1 -1
  508. package/docs/pt/intlayer_with_astro_solid.md +1 -1
  509. package/docs/pt/intlayer_with_astro_svelte.md +1 -1
  510. package/docs/pt/intlayer_with_astro_vanilla.md +1 -1
  511. package/docs/pt/intlayer_with_astro_vue.md +1 -1
  512. package/docs/pt/intlayer_with_create_react_app.md +1 -1
  513. package/docs/pt/intlayer_with_express.md +1 -1
  514. package/docs/pt/intlayer_with_fastify.md +1 -1
  515. package/docs/pt/intlayer_with_hono.md +1 -1
  516. package/docs/pt/intlayer_with_nestjs.md +1 -1
  517. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  518. package/docs/pt/intlayer_with_nextjs_15.md +1 -1
  519. package/docs/pt/intlayer_with_nextjs_16.md +1 -1
  520. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +1 -1
  521. package/docs/pt/intlayer_with_nuxt.md +1 -1
  522. package/docs/pt/intlayer_with_react_router_v7.md +1 -1
  523. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +1 -1
  524. package/docs/pt/intlayer_with_tanstack+solid.md +1 -1
  525. package/docs/pt/intlayer_with_tanstack.md +1 -1
  526. package/docs/pt/intlayer_with_vanilla.md +1 -1
  527. package/docs/pt/intlayer_with_vite+lit.md +1 -1
  528. package/docs/pt/intlayer_with_vite+preact.md +1 -1
  529. package/docs/pt/intlayer_with_vite+react.md +1 -1
  530. package/docs/pt/intlayer_with_vite+solid.md +1 -1
  531. package/docs/pt/intlayer_with_vite+svelte.md +1 -1
  532. package/docs/pt/intlayer_with_vite+vanilla.md +1 -1
  533. package/docs/pt/intlayer_with_vite+vue.md +1 -1
  534. package/docs/pt/migration_from_i18next_to_intlayer.md +313 -0
  535. package/docs/pt/migration_from_next-i18next_to_intlayer.md +338 -0
  536. package/docs/pt/migration_from_next-intl_to_intlayer.md +347 -0
  537. package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  538. package/docs/pt/migration_from_react-i18next_to_intlayer.md +367 -0
  539. package/docs/pt/migration_from_vue-i18n_to_intlayer.md +342 -0
  540. package/docs/ru/configuration.md +10 -9
  541. package/docs/ru/intlayer_with_adonisjs.md +1 -1
  542. package/docs/ru/intlayer_with_analog.md +1 -1
  543. package/docs/ru/intlayer_with_angular_19.md +1 -1
  544. package/docs/ru/intlayer_with_angular_21.md +1 -1
  545. package/docs/ru/intlayer_with_astro.md +1 -1
  546. package/docs/ru/intlayer_with_astro_lit.md +1 -1
  547. package/docs/ru/intlayer_with_astro_preact.md +1 -1
  548. package/docs/ru/intlayer_with_astro_react.md +1 -1
  549. package/docs/ru/intlayer_with_astro_solid.md +1 -1
  550. package/docs/ru/intlayer_with_astro_svelte.md +1 -1
  551. package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
  552. package/docs/ru/intlayer_with_astro_vue.md +1 -1
  553. package/docs/ru/intlayer_with_create_react_app.md +1 -1
  554. package/docs/ru/intlayer_with_express.md +1 -1
  555. package/docs/ru/intlayer_with_fastify.md +1 -1
  556. package/docs/ru/intlayer_with_hono.md +1 -1
  557. package/docs/ru/intlayer_with_nestjs.md +1 -1
  558. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  559. package/docs/ru/intlayer_with_nextjs_15.md +1 -1
  560. package/docs/ru/intlayer_with_nextjs_16.md +1 -1
  561. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1 -1
  562. package/docs/ru/intlayer_with_nuxt.md +1 -1
  563. package/docs/ru/intlayer_with_react_router_v7.md +1 -1
  564. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -1
  565. package/docs/ru/intlayer_with_tanstack+solid.md +1 -1
  566. package/docs/ru/intlayer_with_tanstack.md +1 -1
  567. package/docs/ru/intlayer_with_vanilla.md +1 -1
  568. package/docs/ru/intlayer_with_vite+lit.md +1 -1
  569. package/docs/ru/intlayer_with_vite+preact.md +1 -1
  570. package/docs/ru/intlayer_with_vite+react.md +1 -1
  571. package/docs/ru/intlayer_with_vite+solid.md +1 -1
  572. package/docs/ru/intlayer_with_vite+svelte.md +1 -1
  573. package/docs/ru/intlayer_with_vite+vanilla.md +1 -1
  574. package/docs/ru/intlayer_with_vite+vue.md +1 -1
  575. package/docs/ru/migration_from_i18next_to_intlayer.md +313 -0
  576. package/docs/ru/migration_from_next-i18next_to_intlayer.md +338 -0
  577. package/docs/ru/migration_from_next-intl_to_intlayer.md +347 -0
  578. package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +311 -0
  579. package/docs/ru/migration_from_react-i18next_to_intlayer.md +367 -0
  580. package/docs/ru/migration_from_vue-i18n_to_intlayer.md +342 -0
  581. package/docs/tr/configuration.md +10 -9
  582. package/docs/tr/intlayer_with_adonisjs.md +1 -1
  583. package/docs/tr/intlayer_with_analog.md +1 -1
  584. package/docs/tr/intlayer_with_angular_19.md +1 -1
  585. package/docs/tr/intlayer_with_angular_21.md +1 -1
  586. package/docs/tr/intlayer_with_astro.md +1 -1
  587. package/docs/tr/intlayer_with_astro_lit.md +1 -1
  588. package/docs/tr/intlayer_with_astro_preact.md +1 -1
  589. package/docs/tr/intlayer_with_astro_react.md +1 -1
  590. package/docs/tr/intlayer_with_astro_solid.md +1 -1
  591. package/docs/tr/intlayer_with_astro_svelte.md +1 -1
  592. package/docs/tr/intlayer_with_astro_vanilla.md +1 -1
  593. package/docs/tr/intlayer_with_astro_vue.md +1 -1
  594. package/docs/tr/intlayer_with_create_react_app.md +1 -1
  595. package/docs/tr/intlayer_with_express.md +1 -1
  596. package/docs/tr/intlayer_with_fastify.md +1 -1
  597. package/docs/tr/intlayer_with_hono.md +1 -1
  598. package/docs/tr/intlayer_with_nestjs.md +1 -1
  599. package/docs/tr/intlayer_with_nextjs_15.md +1 -1
  600. package/docs/tr/intlayer_with_nextjs_16.md +1 -1
  601. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1 -1
  602. package/docs/tr/intlayer_with_nuxt.md +1 -1
  603. package/docs/tr/intlayer_with_react_router_v7.md +1 -1
  604. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -1
  605. package/docs/tr/intlayer_with_tanstack+solid.md +1 -1
  606. package/docs/tr/intlayer_with_tanstack.md +1 -1
  607. package/docs/tr/intlayer_with_vanilla.md +1 -1
  608. package/docs/tr/intlayer_with_vite+lit.md +1 -1
  609. package/docs/tr/intlayer_with_vite+preact.md +1 -1
  610. package/docs/tr/intlayer_with_vite+react.md +1 -1
  611. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  612. package/docs/tr/intlayer_with_vite+svelte.md +1 -1
  613. package/docs/tr/intlayer_with_vite+vanilla.md +1 -1
  614. package/docs/tr/intlayer_with_vite+vue.md +1 -1
  615. package/docs/tr/migration_from_i18next_to_intlayer.md +314 -0
  616. package/docs/tr/migration_from_next-i18next_to_intlayer.md +339 -0
  617. package/docs/tr/migration_from_next-intl_to_intlayer.md +348 -0
  618. package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +312 -0
  619. package/docs/tr/migration_from_react-i18next_to_intlayer.md +368 -0
  620. package/docs/tr/migration_from_vue-i18n_to_intlayer.md +343 -0
  621. package/docs/uk/configuration.md +10 -9
  622. package/docs/uk/intlayer_with_adonisjs.md +1 -1
  623. package/docs/uk/intlayer_with_analog.md +1 -1
  624. package/docs/uk/intlayer_with_angular_19.md +1 -1
  625. package/docs/uk/intlayer_with_angular_21.md +1 -1
  626. package/docs/uk/intlayer_with_astro.md +1 -1
  627. package/docs/uk/intlayer_with_astro_lit.md +1 -1
  628. package/docs/uk/intlayer_with_astro_preact.md +1 -1
  629. package/docs/uk/intlayer_with_astro_react.md +1 -1
  630. package/docs/uk/intlayer_with_astro_solid.md +1 -1
  631. package/docs/uk/intlayer_with_astro_svelte.md +1 -1
  632. package/docs/uk/intlayer_with_astro_vanilla.md +1 -1
  633. package/docs/uk/intlayer_with_astro_vue.md +1 -1
  634. package/docs/uk/intlayer_with_create_react_app.md +1 -1
  635. package/docs/uk/intlayer_with_express.md +1 -1
  636. package/docs/uk/intlayer_with_fastify.md +1 -1
  637. package/docs/uk/intlayer_with_hono.md +1 -1
  638. package/docs/uk/intlayer_with_nestjs.md +1 -1
  639. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  640. package/docs/uk/intlayer_with_nextjs_15.md +1 -1
  641. package/docs/uk/intlayer_with_nextjs_16.md +1 -1
  642. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1 -1
  643. package/docs/uk/intlayer_with_nuxt.md +1 -1
  644. package/docs/uk/intlayer_with_react_router_v7.md +1 -1
  645. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +1 -1
  646. package/docs/uk/intlayer_with_tanstack+solid.md +1 -1
  647. package/docs/uk/intlayer_with_tanstack.md +1 -1
  648. package/docs/uk/intlayer_with_vanilla.md +1 -1
  649. package/docs/uk/intlayer_with_vite+lit.md +1 -1
  650. package/docs/uk/intlayer_with_vite+preact.md +1 -1
  651. package/docs/uk/intlayer_with_vite+react.md +1 -1
  652. package/docs/uk/intlayer_with_vite+solid.md +1 -1
  653. package/docs/uk/intlayer_with_vite+svelte.md +1 -1
  654. package/docs/uk/intlayer_with_vite+vanilla.md +1 -1
  655. package/docs/uk/intlayer_with_vite+vue.md +1 -1
  656. package/docs/ur/configuration.md +10 -9
  657. package/docs/ur/intlayer_with_angular_21.md +1 -1
  658. package/docs/ur/intlayer_with_fastify.md +1 -1
  659. package/docs/ur/intlayer_with_hono.md +1 -1
  660. package/docs/ur/intlayer_with_vanilla.md +1 -1
  661. package/docs/ur/intlayer_with_vite+lit.md +1 -1
  662. package/docs/ur/intlayer_with_vite+vanilla.md +1 -1
  663. package/docs/vi/configuration.md +10 -9
  664. package/docs/vi/intlayer_with_adonisjs.md +1 -1
  665. package/docs/vi/intlayer_with_analog.md +1 -1
  666. package/docs/vi/intlayer_with_angular_19.md +1 -1
  667. package/docs/vi/intlayer_with_angular_21.md +1 -1
  668. package/docs/vi/intlayer_with_astro.md +1 -1
  669. package/docs/vi/intlayer_with_astro_lit.md +1 -1
  670. package/docs/vi/intlayer_with_astro_preact.md +1 -1
  671. package/docs/vi/intlayer_with_astro_react.md +1 -1
  672. package/docs/vi/intlayer_with_astro_solid.md +1 -1
  673. package/docs/vi/intlayer_with_astro_svelte.md +1 -1
  674. package/docs/vi/intlayer_with_astro_vanilla.md +1 -1
  675. package/docs/vi/intlayer_with_astro_vue.md +1 -1
  676. package/docs/vi/intlayer_with_create_react_app.md +1 -1
  677. package/docs/vi/intlayer_with_express.md +1 -1
  678. package/docs/vi/intlayer_with_fastify.md +1 -1
  679. package/docs/vi/intlayer_with_hono.md +1 -1
  680. package/docs/vi/intlayer_with_nestjs.md +1 -1
  681. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  682. package/docs/vi/intlayer_with_nextjs_15.md +1 -1
  683. package/docs/vi/intlayer_with_nextjs_16.md +1 -1
  684. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1 -1
  685. package/docs/vi/intlayer_with_nuxt.md +1 -1
  686. package/docs/vi/intlayer_with_react_router_v7.md +1 -1
  687. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -1
  688. package/docs/vi/intlayer_with_tanstack+solid.md +1 -1
  689. package/docs/vi/intlayer_with_tanstack.md +1 -1
  690. package/docs/vi/intlayer_with_vanilla.md +1 -1
  691. package/docs/vi/intlayer_with_vite+lit.md +1 -1
  692. package/docs/vi/intlayer_with_vite+preact.md +1 -1
  693. package/docs/vi/intlayer_with_vite+react.md +1 -1
  694. package/docs/vi/intlayer_with_vite+solid.md +1 -1
  695. package/docs/vi/intlayer_with_vite+svelte.md +1 -1
  696. package/docs/vi/intlayer_with_vite+vanilla.md +1 -1
  697. package/docs/vi/intlayer_with_vite+vue.md +1 -1
  698. package/docs/zh/configuration.md +10 -9
  699. package/docs/zh/intlayer_with_adonisjs.md +1 -1
  700. package/docs/zh/intlayer_with_analog.md +1 -1
  701. package/docs/zh/intlayer_with_angular_19.md +1 -1
  702. package/docs/zh/intlayer_with_angular_21.md +1 -1
  703. package/docs/zh/intlayer_with_astro.md +1 -1
  704. package/docs/zh/intlayer_with_astro_lit.md +1 -1
  705. package/docs/zh/intlayer_with_astro_preact.md +1 -1
  706. package/docs/zh/intlayer_with_astro_react.md +1 -1
  707. package/docs/zh/intlayer_with_astro_solid.md +1 -1
  708. package/docs/zh/intlayer_with_astro_svelte.md +1 -1
  709. package/docs/zh/intlayer_with_astro_vanilla.md +1 -1
  710. package/docs/zh/intlayer_with_astro_vue.md +1 -1
  711. package/docs/zh/intlayer_with_create_react_app.md +1 -1
  712. package/docs/zh/intlayer_with_express.md +1 -1
  713. package/docs/zh/intlayer_with_fastify.md +1 -1
  714. package/docs/zh/intlayer_with_hono.md +1 -1
  715. package/docs/zh/intlayer_with_nestjs.md +1 -1
  716. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  717. package/docs/zh/intlayer_with_nextjs_15.md +1 -1
  718. package/docs/zh/intlayer_with_nextjs_16.md +1 -1
  719. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1 -1
  720. package/docs/zh/intlayer_with_nuxt.md +1 -1
  721. package/docs/zh/intlayer_with_react_router_v7.md +1 -1
  722. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -1
  723. package/docs/zh/intlayer_with_tanstack+solid.md +1 -1
  724. package/docs/zh/intlayer_with_tanstack.md +1 -1
  725. package/docs/zh/intlayer_with_vanilla.md +1 -1
  726. package/docs/zh/intlayer_with_vite+lit.md +1 -1
  727. package/docs/zh/intlayer_with_vite+preact.md +1 -1
  728. package/docs/zh/intlayer_with_vite+react.md +1 -1
  729. package/docs/zh/intlayer_with_vite+solid.md +1 -1
  730. package/docs/zh/intlayer_with_vite+svelte.md +1 -1
  731. package/docs/zh/intlayer_with_vite+vanilla.md +1 -1
  732. package/docs/zh/intlayer_with_vite+vue.md +1 -1
  733. package/docs/zh-TW/intlayer_with_angular_21.md +1 -1
  734. package/package.json +7 -7
  735. package/src/generated/docs.entry.ts +120 -0
@@ -0,0 +1,347 @@
1
+ ---
2
+ createdAt: 2026-06-05
3
+ updatedAt: 2026-06-05
4
+ title: "Migrar de next-intl a Intlayer | Internacionalización (i18n)"
5
+ description: "Aprende cómo migrar tu aplicación Next.js de next-intl a Intlayer — paso a paso, sin romper tu código existente. Utiliza el adaptador de compatibilidad @intlayer/next-intl para una transición sin interrupciones."
6
+ keywords:
7
+ - next-intl
8
+ - intlayer
9
+ - migración
10
+ - internacionalización
11
+ - i18n
12
+ - Next.js
13
+ - JavaScript
14
+ - React
15
+ slugs:
16
+ - doc
17
+ - migration
18
+ - next-intl
19
+ history:
20
+ - version: 8.13.0
21
+ date: 2026-06-05
22
+ changes: "Init history"
23
+ ---
24
+
25
+ # Migrar de next-intl a Intlayer
26
+
27
+ ## ¿Por qué migrar de next-intl a Intlayer?
28
+
29
+ <AccordionGroup>
30
+
31
+ <Accordion header="Tamaño del bundle">
32
+
33
+ En lugar de cargar archivos JSON masivos en tus páginas, carga solo el contenido necesario. Intlayer ayuda a **reducir el tamaño de tu bundle y tus páginas hasta en un 50 %**.
34
+
35
+ </Accordion>
36
+
37
+ <Accordion header="Mantenibilidad">
38
+
39
+ Establecer un alcance al contenido de tu aplicación **facilita el mantenimiento** para aplicaciones a gran escala. Puedes duplicar o eliminar una carpeta de función completa sin la carga mental de revisar todo el código de tu contenido. Además, Intlayer está **completamente tipado** para asegurar la precisión de tu contenido.
40
+
41
+ Intlayer es también la solución con el **desarrollo más activo** en el ecosistema i18n — los problemas se solucionan rápidamente, nuevos adaptadores de framework se añaden regularmente y la API principal se refina continuamente basándose en retroalimentación real de producción.
42
+
43
+ </Accordion>
44
+
45
+ <Accordion header="Agente de IA">
46
+
47
+ Colocalizar el contenido **reduce el contexto necesario** para los Grandes Modelos de Lenguaje (LLM). Intlayer también incluye una suite de herramientas, como un **CLI** para probar traducciones faltantes, **[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/lsp.md)**, **[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/mcp_server.md)** y **[habilidades de agente](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/agent_skills.md)**, para que la experiencia del desarrollador (DX) sea aún más fluida para los agentes de IA.
48
+
49
+ </Accordion>
50
+
51
+ <Accordion header="Automatización">
52
+
53
+ Usa la automatización para traducir en tu flujo de CI/CD utilizando el LLM de tu elección al costo de tu proveedor de IA. Intlayer también ofrece un **compilador** para automatizar la extracción de contenido, así como una [plataforma web](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md) para ayudar a **traducir en segundo plano**.
54
+
55
+ </Accordion>
56
+
57
+ <Accordion header="Rendimiento">
58
+
59
+ Conectar archivos JSON masivos a los componentes puede llevar a problemas de rendimiento y reactividad. Intlayer optimiza la carga de tu contenido en tiempo de compilación.
60
+
61
+ </Accordion>
62
+
63
+ <Accordion header="Escalabilidad con no-desarrolladores">
64
+
65
+ Más que una simple solución de i18n, Intlayer proporciona un **[editor visual](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_visual_editor.md)** autohospedado y un **[CMS completo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md)** para ayudarte a gestionar tu contenido multilingüe en **tiempo real**, haciendo la colaboración con traductores, redactores y otros miembros del equipo fluida. El contenido se puede almacenar local y/o remotamente.
66
+
67
+ </Accordion>
68
+
69
+ </AccordionGroup>
70
+
71
+ ---
72
+
73
+ ## Estrategia de migración
74
+
75
+ El enfoque recomendado para las aplicaciones existentes es el **adaptador de compatibilidad**: instala `@intlayer/next-intl`, que expone **exactamente la misma API** que `next-intl` pero delega todo el trabajo de traducción a Intlayer.
76
+
77
+ Mantienes tus `useTranslations`, `getTranslations`, `NextIntlClientProvider` existentes y demás elementos — **el único cambio es la ruta de importación**. No se requiere refactorizar firmas de llamada, formas de props o la estructura de los componentes.
78
+
79
+ Con el tiempo puedes, opcionalmente, migrar archivos individuales al formato `.content.ts` más rico de Intlayer para desbloquear el editor visual, el CMS y el alcance de contenido por componente — pero este paso es enteramente opcional y puede realizarse de forma gradual.
80
+
81
+ ---
82
+
83
+ ## Tabla de Contenidos
84
+
85
+ <TOC/>
86
+
87
+ ---
88
+
89
+ ## Migración rápida
90
+
91
+ Los siguientes pasos son el mínimo requerido para que tu aplicación `next-intl` existente funcione sobre Intlayer con cero cambios en el código.
92
+
93
+ <Steps>
94
+
95
+ <Step number={1} title="Instalar Dependencias">
96
+
97
+ Instala los paquetes principales de Intlayer y el adaptador de compatibilidad `@intlayer/next-intl`:
98
+
99
+ ```bash packageManager="npm"
100
+ npm install intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
101
+ npx intlayer init
102
+ ```
103
+
104
+ ```bash packageManager="pnpm"
105
+ pnpm add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
106
+ pnpm intlayer init
107
+ ```
108
+
109
+ ```bash packageManager="yarn"
110
+ yarn add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
111
+ yarn intlayer init
112
+ ```
113
+
114
+ ```bash packageManager="bun"
115
+ bun add intlayer next-intlayer @intlayer/next-intl @intlayer/sync-json-plugin
116
+ bun x intlayer init
117
+ ```
118
+
119
+ > Conserva instalado `next-intl` — sigue siendo necesario para el **enrutamiento URL** (`createNavigation`, `createMiddleware`, `Link`, `redirect`, `usePathname`, `useRouter`). El adaptador de compatibilidad **no** reemplaza la capa de enrutamiento.
120
+
121
+ </Step>
122
+
123
+ <Step number={2} title="Configurar Intlayer">
124
+
125
+ El comando `intlayer init` crea un archivo inicial `intlayer.config.ts`. Actualízalo para que coincida con tus idiomas existentes y apunta el plugin `syncJSON` a tus archivos de mensajes:
126
+
127
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
128
+ import { Locales, type IntlayerConfig } from "intlayer";
129
+ import { syncJSON } from "@intlayer/sync-json-plugin";
130
+
131
+ const config: IntlayerConfig = {
132
+ internationalization: {
133
+ locales: [
134
+ Locales.ENGLISH,
135
+ Locales.FRENCH,
136
+ Locales.SPANISH,
137
+ // Agrega todos tus idiomas existentes aquí
138
+ ],
139
+ defaultLocale: Locales.ENGLISH,
140
+ },
141
+ plugins: [
142
+ syncJSON({
143
+ // 'icu' coincide con la sintaxis de marcador de posición ICU de next-intl: {name}, {count, plural, ...}
144
+ format: "icu",
145
+ source: ({ locale }) => `./messages/${locale}.json`,
146
+ location: "messages",
147
+ }),
148
+ ],
149
+ };
150
+
151
+ export default config;
152
+ ```
153
+
154
+ > **`source`** asigna un idioma a su ruta de archivo JSON. **`location`** le indica al observador de Intlayer qué carpeta monitorear en busca de cambios. La opción `format: 'icu'` asegura que los marcadores de posición ICU como `{name}` y `{count, plural, one {# item} other {# items}}` se analicen correctamente.
155
+
156
+ > Para obtener una lista completa de opciones de configuración, consulta la [documentación de configuración](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/configuration.md).
157
+
158
+ </Step>
159
+
160
+ <Step number={3} title="Añadir el Plugin de Intlayer a Next.js">
161
+
162
+ Envuelve tu configuración existente de Next.js con `createNextIntlPlugin` desde `@intlayer/next-intl/plugin`. Este envoltorio compone `withIntlayer` **e** inyecta los alias `next-intl` → `@intlayer/next-intl` por ti:
163
+
164
+ ```typescript fileName="next.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
165
+ import type { NextConfig } from "next";
166
+ import { createNextIntlPlugin } from "@intlayer/next-intl/plugin";
167
+
168
+ const withIntlayer = createNextIntlPlugin();
169
+
170
+ const nextConfig: NextConfig = {
171
+ /* tus opciones de configuración existentes */
172
+ };
173
+
174
+ export default withIntlayer(nextConfig);
175
+ ```
176
+
177
+ > `createNextIntlPlugin()` envuelve a `withIntlayer`, detecta automáticamente **Webpack** o **Turbopack**, vincula el monitoreo de contenido, compila los diccionarios y, lo más importante, **inyecta alias de módulos** para que tus llamadas existentes a `import … from 'next-intl'` sean redirigidas de forma transparente a `@intlayer/next-intl` en tiempo de compilación. La entrada de enrutamiento `next-intl/routing` sigue apuntando al paquete real. No se requieren cambios en los archivos de origen.
178
+ >
179
+ > ¿Prefieres usar el `withIntlayer` sencillo de `next-intlayer/server`? Compilará tus diccionarios, pero **no** añadirá los alias de `next-intl` — tendrías que renombrar las importaciones a `@intlayer/next-intl` manualmente (ver el Paso 4).
180
+
181
+ > **Ya no necesitas `getRequestConfig` o `loadMessages`.** Con `next-intl`, tenías que escribir un archivo `src/i18n.ts` que cargaba paquetes de mensajes JSON en cada solicitud a través de `getRequestConfig`. Intlayer compila todos los diccionarios **en tiempo de compilación**, por lo que no hay paso de carga en tiempo de ejecución. Puedes borrar ese archivo por completo (o mantener solo las partes de enrutamiento si aún utilizas `createNavigation`).
182
+
183
+ </Step>
184
+
185
+ </Steps>
186
+
187
+ Eso es todo para la migración rápida. Tu aplicación ahora funciona sobre Intlayer mientras mantiene intactas todas las importaciones y APIs de `next-intl`.
188
+
189
+ > **Claves de traducción tipadas — automáticas.** Una vez que Intlayer compila tus diccionarios, `useTranslations` y `getTranslations` quedan tipados en relación a tu contenido real. Las claves se autocompletan en tu IDE y las rutas inválidas provocan errores de TypeScript en tiempo de compilación — sin configuraciones adicionales requeridas.
190
+ >
191
+ > ```tsx
192
+ > // Componente de cliente — 'about' es una clave de diccionario registrada
193
+ > const t = useTranslations("about");
194
+ > t("counter.label"); // ✓ autocompletado
195
+ > t("does.not.exist"); // ✗ Error de TypeScript
196
+ >
197
+ > // Componente de servidor
198
+ > const t = await getTranslations("about");
199
+ > t("counter.label"); // ✓ tipado
200
+ > ```
201
+
202
+ ---
203
+
204
+ ## Migración completa
205
+
206
+ Los pasos a continuación son opcionales y pueden hacerse incrementalmente. Desbloquean todas las funcionalidades de Intlayer: editor visual, CMS, archivos de contenido tipados, automatización de traducción con IA y más.
207
+
208
+ <Steps>
209
+
210
+ <Step number={4} title="Renombrar importaciones explícitamente (opcional)" isOptional={true}>
211
+
212
+ El contenedor `createNextIntlPlugin()` ya maneja el alias de `next-intl` → `@intlayer/next-intl` a nivel del empaquetador. Si prefieres hacer la dependencia explícita en tus archivos de origen (y usar el plugin `withIntlayer` regular en su lugar), puedes renombrar las importaciones manualmente:
213
+
214
+ | Antes | Después |
215
+ | ---------------------------------------------------- | -------------------------------------------------------------- |
216
+ | `import { useTranslations } from 'next-intl'` | `import { useTranslations } from '@intlayer/next-intl'` |
217
+ | `import { useLocale } from 'next-intl'` | `import { useLocale } from '@intlayer/next-intl'` |
218
+ | `import { NextIntlClientProvider } from 'next-intl'` | `import { NextIntlClientProvider } from '@intlayer/next-intl'` |
219
+ | `import { getTranslations } from 'next-intl/server'` | `import { getTranslations } from '@intlayer/next-intl/server'` |
220
+ | `import { getLocale } from 'next-intl/server'` | `import { getLocale } from '@intlayer/next-intl/server'` |
221
+ | `import { setLocale } from 'next-intl/server'` | `import { setLocale } from '@intlayer/next-intl/server'` |
222
+ | `import { getMessages } from 'next-intl/server'` | `import { getMessages } from '@intlayer/next-intl/server'` |
223
+
224
+ > Mantén siempre las importaciones de enrutamiento del `next-intl` real — el adaptador de compatibilidad **no** reemplaza la capa de enrutamiento URL:
225
+ >
226
+ > ```ts
227
+ > // ✅ Mantén siempre estos desde el 'next-intl' real
228
+ > import { createNavigation } from "next-intl/routing";
229
+ > import { createMiddleware } from "next-intl/server";
230
+ > import { defineRouting } from "next-intl/routing";
231
+ > ```
232
+ >
233
+ > De manera alternativa, puedes usar `defineRouting` de `@intlayer/next-intl/routing` que combina la configuración de idiomas de tu `intlayer.config.ts` automáticamente.
234
+
235
+ </Step>
236
+
237
+ <Step number={5} title="Activar la Automatización de Traducción con IA" isOptional={true}>
238
+
239
+ Una vez que Intlayer esté configurado, puedes usar su CLI para llenar automáticamente las traducciones faltantes utilizando el LLM de tu elección:
240
+
241
+ ```bash packageManager="npm"
242
+ # Probar traducciones faltantes (agregar al CI)
243
+ npx intlayer test
244
+
245
+ # Llenar traducciones faltantes con IA
246
+ npx intlayer fill
247
+ ```
248
+
249
+ ```bash packageManager="pnpm"
250
+ pnpm intlayer test
251
+ pnpm intlayer fill
252
+ ```
253
+
254
+ ```bash packageManager="yarn"
255
+ yarn intlayer test
256
+ yarn intlayer fill
257
+ ```
258
+
259
+ ```bash packageManager="bun"
260
+ bun x intlayer test
261
+ bun x intlayer fill
262
+ ```
263
+
264
+ Añade una `OPENAI_API_KEY` (o la clave de tu proveedor preferido) a tu archivo `.env`, luego amplía tu `intlayer.config.ts`:
265
+
266
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
267
+ import { Locales, type IntlayerConfig } from "intlayer";
268
+ import { syncJSON } from "@intlayer/sync-json-plugin";
269
+
270
+ const config: IntlayerConfig = {
271
+ internationalization: {
272
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
273
+ defaultLocale: Locales.ENGLISH,
274
+ },
275
+ plugins: [
276
+ syncJSON({
277
+ format: "icu",
278
+ source: ({ locale }) => `./messages/${locale}.json`,
279
+ location: "messages",
280
+ }),
281
+ ],
282
+ ai: {
283
+ apiKey: process.env.OPENAI_API_KEY,
284
+ // provider: "openai", // default
285
+ // model: "gpt-4o-mini", // default
286
+ },
287
+ };
288
+
289
+ export default config;
290
+ ```
291
+
292
+ > Consulta la [documentación de CLI de Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/cli/index.md) para ver todas las opciones disponibles.
293
+
294
+ </Step>
295
+
296
+ </Steps>
297
+
298
+ ---
299
+
300
+ ## Qué puedes eliminar tras la migración
301
+
302
+ Una vez que `@intlayer/next-intl` esté en su lugar, el siguiente código repetitivo de `next-intl` se puede eliminar:
303
+
304
+ | Archivo / patrón | Por qué ya no es necesario |
305
+ | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
306
+ | Exportación `getRequestConfig` de `src/i18n.ts` | Intlayer compila los diccionarios en tiempo de compilación; no hay carga de mensajes por cada solicitud. Conserva el archivo solo si exporta además ayudantes de enrutamiento de `createNavigation`. |
307
+ | Llamadas `loadMessages()` / `getMessages()` en layout | El `NextIntlClientProvider` de `@intlayer/next-intl` lee de la salida compilada; no se requiere la prop `messages`. |
308
+ | Importaciones `locales/{locale}/*.json` en layout | Los bundles JSON solo son necesarios si aún utilizas el plugin `syncJSON`. Una vez que migres a archivos `.content.ts`, puedes borrar la carpeta JSON. |
309
+
310
+ Cuando estés listo para ir más allá, Intlayer **descubre automáticamente todos los archivos `.content.ts` y `.content.json` en cualquier lugar de tu código base** (por defecto, en cualquier lugar dentro de `./src`). Puedes colocar un archivo `about.content.ts` directamente junto a tu `about/page.tsx` e Intlayer lo tomará al momento de compilación sin configuración adicional — sin importaciones, sin registro, sin necesidad de un archivo índice centralizado. Esto hace que la co-localización de traducciones sea completamente fluida con las páginas y componentes.
311
+
312
+ ---
313
+
314
+ ## Configurar TypeScript
315
+
316
+ Intlayer usa el aumento de módulos para ofrecer autocompletado completo de TypeScript para tus claves de traducción. Asegúrate de que tu `tsconfig.json` incluya los tipos generados automáticamente:
317
+
318
+ ```json5 fileName="tsconfig.json"
319
+ {
320
+ // ... Tus configuraciones de TypeScript existentes
321
+ "include": [
322
+ // ... Tus configuraciones de TypeScript existentes
323
+ ".intlayer/**/*.ts", // Incluir los tipos generados automáticamente
324
+ ],
325
+ }
326
+ ```
327
+
328
+ ---
329
+
330
+ ## Configuración de Git
331
+
332
+ Añade el directorio generado por Intlayer a tu `.gitignore`:
333
+
334
+ ```plaintext fileName=".gitignore"
335
+ # Ignorar los archivos generados por Intlayer
336
+ .intlayer
337
+ ```
338
+
339
+ ---
340
+
341
+ ## Profundizar Más
342
+
343
+ - **Editor Visual** — Gestiona las traducciones visualmente en tu navegador: [Editor Visual de Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_visual_editor.md)
344
+ - **CMS** — Externaliza y gestiona contenido de forma remota: [Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md)
345
+ - **Extensión de VS Code** — Obtén autocompletado y detección de errores de traducción en tiempo real: [Extensión de VS Code de Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/vs_code_extension.md)
346
+ - **Referencia del CLI** — Lista completa de comandos CLI: [Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/cli/index.md)
347
+ - **Intlayer con Next.js** — Guía de configuración completa para Next.js: [intlayer_with_nextjs_16.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_with_nextjs_16.md)
@@ -0,0 +1,311 @@
1
+ ---
2
+ createdAt: 2026-06-05
3
+ updatedAt: 2026-06-05
4
+ title: "Migrar de @nuxtjs/i18n a Intlayer | Internacionalización (i18n)"
5
+ description: "Aprende cómo migrar tu aplicación Nuxt de @nuxtjs/i18n a Intlayer — paso a paso, sin romper tu código existente. Utiliza el adaptador de compatibilidad @intlayer/vue-i18n para una transición sin interrupciones."
6
+ keywords:
7
+ - "@nuxtjs/i18n"
8
+ - vue-i18n
9
+ - intlayer
10
+ - migración
11
+ - internacionalización
12
+ - i18n
13
+ - Nuxt
14
+ - Vue
15
+ - JavaScript
16
+ slugs:
17
+ - doc
18
+ - migration
19
+ - nuxtjs-i18n
20
+ history:
21
+ - version: 8.13.0
22
+ date: 2026-06-05
23
+ changes: "Init history"
24
+ ---
25
+
26
+ # Migrar de @nuxtjs/i18n a Intlayer
27
+
28
+ ## ¿Por qué migrar de @nuxtjs/i18n a Intlayer?
29
+
30
+ <AccordionGroup>
31
+
32
+ <Accordion header="Tamaño del bundle">
33
+
34
+ En lugar de cargar archivos JSON masivos en tus páginas, carga solo el contenido necesario. Intlayer ayuda a **reducir el tamaño de tu bundle y tus páginas hasta en un 50 %**.
35
+
36
+ </Accordion>
37
+
38
+ <Accordion header="Mantenibilidad">
39
+
40
+ Establecer un alcance al contenido de tu aplicación **facilita el mantenimiento** para aplicaciones a gran escala. Puedes duplicar o eliminar una carpeta de función completa sin la carga mental de revisar todo el código de tu contenido. Además, Intlayer está **completamente tipado** para asegurar la precisión de tu contenido.
41
+
42
+ Intlayer es también la solución con el **desarrollo más activo** en el ecosistema i18n — los problemas se solucionan rápidamente, nuevos adaptadores de framework se añaden regularmente y la API principal se refina continuamente basándose en retroalimentación real de producción.
43
+
44
+ </Accordion>
45
+
46
+ <Accordion header="Agente de IA">
47
+
48
+ Colocalizar el contenido **reduce el contexto necesario** para los Grandes Modelos de Lenguaje (LLM). Intlayer también incluye una suite de herramientas, como un **CLI** para probar traducciones faltantes, **[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/lsp.md)**, **[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/mcp_server.md)** y **[habilidades de agente](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/agent_skills.md)**, para que la experiencia del desarrollador (DX) sea aún más fluida para los agentes de IA.
49
+
50
+ </Accordion>
51
+
52
+ <Accordion header="Automatización">
53
+
54
+ Usa la automatización para traducir en tu flujo de CI/CD utilizando el LLM de tu elección al costo de tu proveedor de IA. Intlayer también ofrece un **compilador** para automatizar la extracción de contenido, así como una [plataforma web](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md) para ayudar a **traducir en segundo plano**.
55
+
56
+ </Accordion>
57
+
58
+ <Accordion header="Rendimiento">
59
+
60
+ Conectar archivos JSON masivos a los componentes puede llevar a problemas de rendimiento y reactividad. Intlayer optimiza la carga de tu contenido en tiempo de compilación.
61
+
62
+ </Accordion>
63
+
64
+ <Accordion header="Escalabilidad con no-desarrolladores">
65
+
66
+ Más que una simple solución de i18n, Intlayer proporciona un **[editor visual](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_visual_editor.md)** autohospedado y un **[CMS completo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md)** para ayudarte a gestionar tu contenido multilingüe en **tiempo real**, haciendo la colaboración con traductores, redactores y otros miembros del equipo fluida. El contenido se puede almacenar local y/o remotamente.
67
+
68
+ </Accordion>
69
+
70
+ </AccordionGroup>
71
+
72
+ ---
73
+
74
+ ## Estrategias de migración
75
+
76
+ Dado que `@nuxtjs/i18n` está impulsado internamente por `vue-i18n`, existen dos estrategias complementarias para migrar hacia Intlayer:
77
+
78
+ 1. **Adaptador de compatibilidad (recomendado para aplicaciones existentes)** — Instala `@intlayer/vue-i18n` y `nuxt-intlayer`. Esto expone **exactamente la misma API** que `vue-i18n` pero delega todo el trabajo de traducción a Intlayer. Mantienes tus llamadas existentes a `$t`, `useI18n()` y el enrutamiento de Nuxt sin cambios — el único cambio es la inicialización.
79
+
80
+ 2. **Migración completa** — Reemplaza gradualmente las APIs de `@nuxtjs/i18n` por hooks nativos de Intlayer (`useIntlayer`) y colocaliza el contenido en archivos `.content.ts` junto a tus componentes.
81
+
82
+ Esta guía cubre primero la **Estrategia 1** (adaptador de compatibilidad de fácil uso), y luego revisa la migración completa opcional.
83
+
84
+ ---
85
+
86
+ ## Tabla de Contenidos
87
+
88
+ <TOC/>
89
+
90
+ ---
91
+
92
+ ## Migración rápida
93
+
94
+ Los siguientes pasos son el mínimo requerido para que tu aplicación Nuxt existente funcione sobre Intlayer con cero cambios en el código de tus componentes.
95
+
96
+ <Steps>
97
+
98
+ <Step number={1} title="Instalar Dependencias">
99
+
100
+ Instala los paquetes principales de Intlayer y el adaptador de compatibilidad:
101
+
102
+ ```bash packageManager="npm"
103
+ npm install intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
104
+ npx intlayer init
105
+ ```
106
+
107
+ ```bash packageManager="pnpm"
108
+ pnpm add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
109
+ pnpm intlayer init
110
+ ```
111
+
112
+ ```bash packageManager="yarn"
113
+ yarn add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
114
+ yarn intlayer init
115
+ ```
116
+
117
+ ```bash packageManager="bun"
118
+ bun add intlayer vue-intlayer nuxt-intlayer @intlayer/vue-i18n @intlayer/sync-json-plugin
119
+ bun x intlayer init
120
+ ```
121
+
122
+ > Puedes mantener de forma segura `@nuxtjs/i18n` instalado durante la migración, aunque en breve lo eliminarás de tu configuración de Nuxt.
123
+
124
+ </Step>
125
+
126
+ <Step number={2} title="Configurar Intlayer">
127
+
128
+ El comando `intlayer init` crea un archivo inicial `intlayer.config.ts`. Actualízalo para que coincida con tus idiomas existentes y apunta el plugin `syncJSON` a tus archivos de mensajes:
129
+
130
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
131
+ import { Locales, type IntlayerConfig } from "intlayer";
132
+ import { syncJSON } from "@intlayer/sync-json-plugin";
133
+
134
+ const config: IntlayerConfig = {
135
+ internationalization: {
136
+ locales: [
137
+ Locales.ENGLISH,
138
+ Locales.FRENCH,
139
+ Locales.SPANISH,
140
+ // Agrega todos tus idiomas existentes aquí
141
+ ],
142
+ defaultLocale: Locales.ENGLISH,
143
+ },
144
+ plugins: [
145
+ syncJSON({
146
+ // coincide con la sintaxis de marcador de posición de vue-i18n: {name}
147
+ format: "icu",
148
+ source: ({ locale }) => `./locales/${locale}.json`,
149
+ location: "locales",
150
+ }),
151
+ ],
152
+ };
153
+
154
+ export default config;
155
+ ```
156
+
157
+ > **`source`** asigna un idioma a su ruta de archivo JSON. **`location`** le indica al observador de Intlayer qué carpeta monitorear en busca de cambios. La opción `format: 'icu'` asegura que los marcadores de posición se analicen correctamente para `vue-i18n`.
158
+
159
+ </Step>
160
+
161
+ <Step number={3} title="Actualizar la Configuración de Nuxt">
162
+
163
+ Reemplaza el módulo `@nuxtjs/i18n` por `nuxt-intlayer` en tu `nuxt.config.ts`. El plugin de Intlayer inyecta automáticamente los alias de módulo, lo que significa que tus llamadas a `import { useI18n } from 'vue-i18n'` se redirigen transparentemente a `@intlayer/vue-i18n`.
164
+
165
+ ```typescript fileName="nuxt.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
166
+ export default defineNuxtConfig({
167
+ // Elimina '@nuxtjs/i18n'
168
+ modules: ["nuxt-intlayer"],
169
+ });
170
+ ```
171
+
172
+ > **Ya no necesitas definir los objetos de configuración i18n de Nuxt.** Intlayer compila todos los diccionarios **en tiempo de compilación**, gestionando la detección del idioma, el enrutamiento y la carga de diccionarios de forma impecable.
173
+
174
+ </Step>
175
+
176
+ </Steps>
177
+
178
+ Eso es todo para la migración rápida. Tu aplicación Nuxt ahora funciona sobre Intlayer mientras mantiene intactas todas las llamadas a `$t` y `useI18n()`.
179
+
180
+ ---
181
+
182
+ ## Migración completa
183
+
184
+ Los pasos a continuación son opcionales y pueden hacerse incrementalmente. Desbloquean todas las funcionalidades de Intlayer: editor visual, CMS, archivos de contenido tipados, automatización de traducción con IA y más.
185
+
186
+ <Steps>
187
+
188
+ <Step number={4} title="Renombrar importaciones explícitamente (opcional)" isOptional={true}>
189
+
190
+ Los plugins de Intlayer ya manejan los alias a nivel del empaquetador. Si prefieres hacer la dependencia explícita en tus archivos de origen, puedes renombrar las importaciones manualmente:
191
+
192
+ | Antes | Después |
193
+ | ------------------------------------ | ---------------------------------------------- |
194
+ | `import { useI18n } from 'vue-i18n'` | `import { useI18n } from '@intlayer/vue-i18n'` |
195
+
196
+ Estos son **reemplazos directos** — no se requieren cambios en las firmas de llamada, argumentos o tipos de retorno.
197
+
198
+ </Step>
199
+
200
+ <Step number={5} title="Activar la Automatización de Traducción con IA" isOptional={true}>
201
+
202
+ Una vez que Intlayer esté configurado, utiliza su CLI para llenar automáticamente las traducciones faltantes:
203
+
204
+ ```bash packageManager="npm"
205
+ # Probar traducciones faltantes (agregar al CI)
206
+ npx intlayer test
207
+
208
+ # Llenar traducciones faltantes con IA
209
+ npx intlayer fill
210
+ ```
211
+
212
+ ```bash packageManager="pnpm"
213
+ pnpm intlayer test
214
+ pnpm intlayer fill
215
+ ```
216
+
217
+ ```bash packageManager="yarn"
218
+ yarn intlayer test
219
+ yarn intlayer fill
220
+ ```
221
+
222
+ ```bash packageManager="bun"
223
+ bun x intlayer test
224
+ bun x intlayer fill
225
+ ```
226
+
227
+ Añade la configuración de IA a `intlayer.config.ts`:
228
+
229
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
230
+ import { Locales, type IntlayerConfig } from "intlayer";
231
+ import { syncJSON } from "@intlayer/sync-json-plugin";
232
+
233
+ const config: IntlayerConfig = {
234
+ internationalization: {
235
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
236
+ defaultLocale: Locales.ENGLISH,
237
+ },
238
+ plugins: [
239
+ syncJSON({
240
+ format: "icu",
241
+ source: ({ locale }) => `./locales/${locale}.json`,
242
+ location: "locales",
243
+ }),
244
+ ],
245
+ ai: {
246
+ apiKey: process.env.OPENAI_API_KEY,
247
+ // provider: "openai", // default
248
+ // model: "gpt-4o-mini", // default
249
+ },
250
+ };
251
+
252
+ export default config;
253
+ ```
254
+
255
+ > Consulta la [documentación de CLI de Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/cli/index.md) para ver todas las opciones disponibles.
256
+
257
+ </Step>
258
+
259
+ </Steps>
260
+
261
+ ---
262
+
263
+ ## Qué puedes eliminar tras la migración
264
+
265
+ Una vez que el adaptador de compatibilidad esté en su lugar, el siguiente código repetitivo se puede eliminar:
266
+
267
+ | Archivo / patrón | Por qué ya no es necesario |
268
+ | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
269
+ | configuraciones de `i18n` en `nuxt.config.ts` | Intlayer gestiona el enrutamiento, la carga de diccionarios y los idiomas por defecto de manera interna. |
270
+ | `@nuxtjs/i18n` en `package.json` | Reemplazado completamente por `nuxt-intlayer`. |
271
+ | Bundles de idiomas JSON (`locales/*.json`) | Los bundles JSON solo son necesarios si aún utilizas el plugin `syncJSON`. Una vez que migres a archivos `.content.ts`, puedes borrar la carpeta JSON. |
272
+
273
+ Cuando estés listo para ir más allá, Intlayer **descubre automáticamente todos los archivos `.content.ts` y `.content.json` en cualquier lugar de tu código base** (por defecto, en cualquier lugar dentro de `./src`). Puedes colocar un archivo `my-component.content.ts` directamente junto a tu `MyComponent.vue` e Intlayer lo tomará al momento de compilación sin configuración adicional — sin importaciones, sin registro, sin necesidad de un archivo índice centralizado. Esto hace que la co-localización de traducciones con páginas y componentes sea completamente fluida.
274
+
275
+ ---
276
+
277
+ ## Configurar TypeScript
278
+
279
+ Intlayer usa el aumento de módulos para ofrecer autocompletado completo de TypeScript para tus claves de traducción. Asegúrate de que tu `tsconfig.json` incluya los tipos generados automáticamente:
280
+
281
+ ```json5 fileName="tsconfig.json"
282
+ {
283
+ // ... Tus configuraciones de TypeScript existentes
284
+ "include": [
285
+ // ... Tus configuraciones de TypeScript existentes
286
+ ".intlayer/**/*.ts", // Incluir los tipos generados automáticamente
287
+ ],
288
+ }
289
+ ```
290
+
291
+ ---
292
+
293
+ ## Configuración de Git
294
+
295
+ Añade el directorio generado por Intlayer a tu `.gitignore`:
296
+
297
+ ```plaintext fileName=".gitignore"
298
+ # Ignorar los archivos generados por Intlayer
299
+ .intlayer
300
+ ```
301
+
302
+ ---
303
+
304
+ ## Profundizar Más
305
+
306
+ - **Editor Visual** — Gestiona las traducciones visualmente en tu navegador: [Editor Visual de Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_visual_editor.md)
307
+ - **CMS** — Externaliza y gestiona contenido de forma remota: [Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md)
308
+ - **Extensión de VS Code** — Obtén autocompletado y detección de errores de traducción en tiempo real: [Extensión de VS Code de Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/vs_code_extension.md)
309
+ - **Referencia del CLI** — Lista completa de comandos CLI: [Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/cli/index.md)
310
+ - **Intlayer con Nuxt** — Guía de configuración completa para Nuxt: [intlayer_with_nuxt.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_with_nuxt.md)
311
+ - **Intlayer con Vue** — Guía de configuración completa para Vue: [intlayer_with_vite+vue.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_with_vite+vue.md)