@intlayer/docs 8.12.0 → 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
@@ -371,7 +371,7 @@ const appContent = {
371
371
  export default appContent;
372
372
  ```
373
373
 
374
- > コンテンツ宣言は、`contentDir`ディレクトリ(デフォルトでは`./app`)に含まれている限り、アプリケーションのどこでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトでは`.content.{json,ts,tsx,js,jsx,mjs,cjs}`)と一致する必要があります。
374
+ > コンテンツ宣言は、`contentDir`ディレクトリ(デフォルトでは`./app`)に含まれている限り、アプリケーションのどこでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトでは`.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)と一致する必要があります。
375
375
 
376
376
  > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
377
377
 
@@ -305,7 +305,7 @@ export default appContent;
305
305
  }
306
306
  ```
307
307
 
308
- > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれ、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致していれば、アプリケーションのどこにでも定義できます。
308
+ > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれ、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)に一致していれば、アプリケーションのどこにでも定義できます。
309
309
  >
310
310
  > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
311
311
 
@@ -288,7 +288,7 @@ export default appContent;
288
288
  }
289
289
  ```
290
290
 
291
- > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれ、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)と一致する限り、アプリケーション内のどこにでも定義できます。
291
+ > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれ、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)と一致する限り、アプリケーション内のどこにでも定義できます。
292
292
  >
293
293
  > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
294
294
 
@@ -226,7 +226,7 @@ export default appContent;
226
226
  }
227
227
  ```
228
228
 
229
- > コンテンツ宣言は、アプリケーション内のどこにでも定義できます。`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り有効です。また、コンテンツ宣言ファイルの拡張子は(デフォルトで `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致している必要があります。
229
+ > コンテンツ宣言は、アプリケーション内のどこにでも定義できます。`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り有効です。また、コンテンツ宣言ファイルの拡張子は(デフォルトで `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)に一致している必要があります。
230
230
 
231
231
  > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
232
232
 
@@ -233,7 +233,7 @@ export default appContent;
233
233
  }
234
234
  ```
235
235
 
236
- > コンテンツ宣言は、アプリケーション内のどこにでも定義できます。`contentDir`ディレクトリ(デフォルトは`./src`)に含まれていれば有効です。また、コンテンツ宣言ファイルの拡張子(デフォルトは`.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
236
+ > コンテンツ宣言は、アプリケーション内のどこにでも定義できます。`contentDir`ディレクトリ(デフォルトは`./src`)に含まれていれば有効です。また、コンテンツ宣言ファイルの拡張子(デフォルトは`.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)に一致する必要があります。
237
237
 
238
238
  > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
239
239
 
@@ -280,7 +280,7 @@ export default appContent;
280
280
  }
281
281
  ```
282
282
 
283
- > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれ、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致していれば、アプリケーション内のどこにでも定義できます。
283
+ > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれ、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)に一致していれば、アプリケーション内のどこにでも定義できます。
284
284
  >
285
285
  > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
286
286
 
@@ -316,7 +316,7 @@ export default helloWorldContent;
316
316
  }
317
317
  ```
318
318
 
319
- > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致している必要があります。
319
+ > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)に一致している必要があります。
320
320
 
321
321
  > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
322
322
 
@@ -0,0 +1,313 @@
1
+ ---
2
+ createdAt: 2026-06-05
3
+ updatedAt: 2026-06-05
4
+ title: "i18nextからIntlayerへの移行 | 国際化 (i18n)"
5
+ description: "JavaScript/TypeScriptアプリケーションをi18nextからIntlayerに移行する方法を学びます — 既存のコードを壊すことなく、ステップバイステップで解説します。シームレスな移行のために@intlayer/i18next互換性アダプターを使用してください。"
6
+ keywords:
7
+ - i18next
8
+ - intlayer
9
+ - 移行
10
+ - 国際化
11
+ - i18n
12
+ - JavaScript
13
+ - Node.js
14
+ slugs:
15
+ - doc
16
+ - migration
17
+ - i18next
18
+ history:
19
+ - version: 8.13.0
20
+ date: 2026-06-05
21
+ changes: "Init history"
22
+ ---
23
+
24
+ # i18nextからIntlayerへの移行
25
+
26
+ ## なぜi18nextからIntlayerに移行するのか?
27
+
28
+ <AccordionGroup>
29
+
30
+ <Accordion header="バンドルサイズ">
31
+
32
+ 巨大なJSONファイルをページに読み込む代わりに、必要なコンテンツのみをロードします。Intlayerは、**バンドルとページのサイズを最大50%削減**するのに役立ちます。
33
+
34
+ </Accordion>
35
+
36
+ <Accordion header="メンテナンス性">
37
+
38
+ アプリケーションのコンテンツをスコープ化することで、大規模なアプリケーションの**メンテナンスが容易**になります。機能フォルダ全体を複製または削除しても、すべてのコンテンツコードベースを確認するという精神的負担がありません。さらに、Intlayerはコンテンツの正確性を確保するために**完全に型付け**されています。
39
+
40
+ また、Intlayerはi18nエコシステムの中で**最も活発に開発されている**ソリューションでもあります。問題は迅速に修正され、新しいフレームワークアダプタが定期的に登場し、コアAPIは実際の運用フィードバックに基づいて継続的に改良されています。
41
+
42
+ </Accordion>
43
+
44
+ <Accordion header="AIエージェント">
45
+
46
+ コンテンツのコロケーション(同一場所配置)により、大規模言語モデル(LLM)に必要な**コンテキストが減少**します。Intlayerには、不足している翻訳をテストするための**CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/mcp_server.md)**、および**[エージェントスキル](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/agent_skills.md)**などのツールスイートが備わっており、AIエージェントにとってよりスムーズな開発者体験(DX)を提供します。
47
+
48
+ </Accordion>
49
+
50
+ <Accordion header="自動化">
51
+
52
+ AIプロバイダーのコストで、お好みのLLMを使用してCI/CDパイプライン内で翻訳を自動化できます。Intlayerは、コンテンツ抽出を自動化するための**コンパイラ**や、**バックグラウンドでの翻訳**を支援する[ウェブプラットフォーム](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_CMS.md)も提供しています。
53
+
54
+ </Accordion>
55
+
56
+ <Accordion header="パフォーマンス">
57
+
58
+ コンポーネントに巨大なJSONファイルを接続すると、パフォーマンスやリアクティビティの問題が発生する可能性があります。Intlayerはビルド時にコンテンツのロードを最適化します。
59
+
60
+ </Accordion>
61
+
62
+ <Accordion header="非開発者とのスケーラビリティ">
63
+
64
+ 単なるi18nソリューションにとどまらず、Intlayerはセルフホストの**[ビジュアルエディタ](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_visual_editor.md)**と**[フルCMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_CMS.md)**を提供し、多言語コンテンツを**リアルタイム**で管理できるようにします。これにより、翻訳者やコピーライター、その他のチームメンバーとのシームレスなコラボレーションが可能になります。コンテンツはローカルおよび/またはリモートに保存できます。
65
+
66
+ </Accordion>
67
+
68
+ </AccordionGroup>
69
+
70
+ ---
71
+
72
+ ## 移行戦略
73
+
74
+ `i18next`からIntlayerに移行するための、互いに補完する2つの戦略があります:
75
+
76
+ 1. **互換性アダプター(既存のアプリに推奨)** — `@intlayer/i18next`をインストールします。このパッケージは`i18next`と**全く同じAPI**を公開しますが、裏側ですべての翻訳作業をIntlayerに委譲します。`i18next.t()`、`i18next.changeLanguage()`、および`createInstance()`への既存の呼び出しはそのまま保持されます — 変更するのはインポートパスと初期化のみです。
77
+
78
+ 2. **完全移行** — 徐々に`i18next`のAPIをネイティブのIntlayerツールに置き換え、コンテンツを`.content.ts`ファイル内にコロケーションします。
79
+
80
+ このガイドでは、まず**戦略1**(ドロップイン互換性アダプター)について解説し、その後オプションである完全移行について説明します。
81
+
82
+ ---
83
+
84
+ ## 目次
85
+
86
+ <TOC/>
87
+
88
+ ---
89
+
90
+ ## クイック移行
91
+
92
+ 以下の手順は、コードを変更せずに既存の`i18next`アプリをIntlayer上で実行するために必要な最小限のステップです。
93
+
94
+ <Steps>
95
+
96
+ <Step number={1} title="依存関係のインストール">
97
+
98
+ Intlayerのコアパッケージと互換性アダプターをインストールします:
99
+
100
+ ```bash packageManager="npm"
101
+ npm install intlayer @intlayer/i18next @intlayer/sync-json-plugin
102
+ npx intlayer init
103
+ ```
104
+
105
+ ```bash packageManager="pnpm"
106
+ pnpm add intlayer @intlayer/i18next @intlayer/sync-json-plugin
107
+ pnpm intlayer init
108
+ ```
109
+
110
+ ```bash packageManager="yarn"
111
+ yarn add intlayer @intlayer/i18next @intlayer/sync-json-plugin
112
+ yarn intlayer init
113
+ ```
114
+
115
+ ```bash packageManager="bun"
116
+ bun add intlayer @intlayer/i18next @intlayer/sync-json-plugin
117
+ bun x intlayer init
118
+ ```
119
+
120
+ > `i18next`はインストールしたままにして構いません — 互換性アダプターはこれをTypeScriptの型のための`devDependency` / `peerDependency`として使用します。
121
+
122
+ </Step>
123
+
124
+ <Step number={2} title="Intlayerの設定">
125
+
126
+ `intlayer init`コマンドにより、初期の`intlayer.config.ts`ファイルが作成されます。既存のロケールに合わせて設定を更新し、`syncJSON`プラグインがメッセージファイルを指すようにします:
127
+
128
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
129
+ import { Locales, type IntlayerConfig } from "intlayer";
130
+ import { syncJSON } from "@intlayer/sync-json-plugin";
131
+
132
+ const config: IntlayerConfig = {
133
+ internationalization: {
134
+ locales: [
135
+ Locales.ENGLISH,
136
+ Locales.FRENCH,
137
+ Locales.SPANISH,
138
+ // 既存のすべてのロケールをここに追加します
139
+ ],
140
+ defaultLocale: Locales.ENGLISH,
141
+ },
142
+ plugins: [
143
+ syncJSON({
144
+ // i18nextのプレースホルダー構文 {{name}} に一致させます
145
+ format: "i18next",
146
+ source: ({ locale }) => `./src/locales/${locale}.json`,
147
+ location: "src/locales",
148
+ }),
149
+ ],
150
+ };
151
+
152
+ export default config;
153
+ ```
154
+
155
+ > **`source`**はロケールをそのJSONファイルのパスにマッピングします。**`location`**はIntlayerウォッチャーに変更を監視するフォルダを指示します。`format: 'i18next'`オプションは、`{{name}}`のようなプレースホルダーが正しく解析されることを保証します。
156
+
157
+ </Step>
158
+
159
+ <Step number={3} title="バンドラエイリアスの更新(オプション)">
160
+
161
+ バンドラ(Vite、Webpack、esbuild)を使用している場合、モジュールエイリアスを注入して、`import ... from 'i18next'`が自動的に`@intlayer/i18next`に解決されるようにすることができます。これにより、コードベース全体のインポートを手動で変更する必要がなくなります。
162
+
163
+ **Viteの場合:**
164
+
165
+ ```typescript fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
166
+ import { defineConfig } from "vite";
167
+ import i18nextVitePlugin from "@intlayer/i18next/plugin";
168
+
169
+ export default defineConfig({
170
+ plugins: [i18nextVitePlugin()],
171
+ });
172
+ ```
173
+
174
+ > `i18nextVitePlugin()`は`vite-intlayer`の`intlayer()`プラグインをラップし、`i18next` → `@intlayer/i18next`のエイリアスを自動的に追加します。通常の`vite-intlayer`の`intlayer()`プラグインを使用すると、辞書はコンパイルされますがエイリアスは追加され**ません** — その場合、インポートを`@intlayer/i18next`に手動で名前変更する必要があります(次のステップを参照)。
175
+
176
+ </Step>
177
+
178
+ </Steps>
179
+
180
+ これでクイック移行は完了です。アプリはすべての`i18next`のインポートとAPIを保持したまま、Intlayer上で動作するようになります。
181
+
182
+ ---
183
+
184
+ ## 完全移行
185
+
186
+ 以下のステップはオプションであり、段階的に行うことができます。これにより、ビジュアルエディタ、CMS、型付けされたコンテンツファイル、AIを利用した翻訳自動化など、Intlayerの全機能が解放されます。
187
+
188
+ <Steps>
189
+
190
+ <Step number={4} title="インポートの明示的な変更(オプション)" isOptional={true}>
191
+
192
+ ソースファイル内で依存関係を明示したい場合、またはインポートをエイリアス化するためのバンドラプラグインを使用しない場合は、手動でインポート名を変更できます:
193
+
194
+ | 変更前 | 変更後 |
195
+ | ------------------------------------------ | ---------------------------------------------------- |
196
+ | `import i18next from 'i18next'` | `import i18next from '@intlayer/i18next'` |
197
+ | `import { createInstance } from 'i18next'` | `import { createInstance } from '@intlayer/i18next'` |
198
+ | `import { t } from 'i18next'` | `import { t } from '@intlayer/i18next'` |
199
+
200
+ これらは**ドロップインの置き換え**であり、呼び出しシグネチャ、引数、または戻り値の型を変更する必要はありません。
201
+
202
+ </Step>
203
+
204
+ <Step number={5} title="AIを利用した翻訳自動化の有効化" isOptional={true}>
205
+
206
+ Intlayerが設定されたら、CLIを使用して不足している翻訳を自動入力することができます:
207
+
208
+ ```bash packageManager="npm"
209
+ # 不足している翻訳をテスト(CIに追加)
210
+ npx intlayer test
211
+
212
+ # 不足している翻訳をAIで埋める
213
+ npx intlayer fill
214
+ ```
215
+
216
+ ```bash packageManager="pnpm"
217
+ pnpm intlayer test
218
+ pnpm intlayer fill
219
+ ```
220
+
221
+ ```bash packageManager="yarn"
222
+ yarn intlayer test
223
+ yarn intlayer fill
224
+ ```
225
+
226
+ ```bash packageManager="bun"
227
+ bun x intlayer test
228
+ bun x intlayer fill
229
+ ```
230
+
231
+ AI設定を`intlayer.config.ts`に追加します:
232
+
233
+ ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
234
+ import { Locales, type IntlayerConfig } from "intlayer";
235
+ import { syncJSON } from "@intlayer/sync-json-plugin";
236
+
237
+ const config: IntlayerConfig = {
238
+ internationalization: {
239
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
240
+ defaultLocale: Locales.ENGLISH,
241
+ },
242
+ plugins: [
243
+ syncJSON({
244
+ format: "i18next",
245
+ source: ({ locale }) => `./src/locales/${locale}.json`,
246
+ location: "src/locales",
247
+ }),
248
+ ],
249
+ ai: {
250
+ apiKey: process.env.OPENAI_API_KEY,
251
+ // provider: "openai", // デフォルト
252
+ // model: "gpt-4o-mini", // デフォルト
253
+ },
254
+ };
255
+
256
+ export default config;
257
+ ```
258
+
259
+ > 利用可能なすべてのオプションについては、[Intlayer CLIドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/index.md)を確認してください。
260
+
261
+ </Step>
262
+
263
+ </Steps>
264
+
265
+ ---
266
+
267
+ ## 移行後に削除できるもの
268
+
269
+ 互換性アダプターが導入されると、以下の`i18next`のボイラープレートコードは削除できます:
270
+
271
+ | ファイル / パターン | 不要になる理由 |
272
+ | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
273
+ | `i18next.init()` 呼び出し | Intlayerは自動的にすべてを初期化します。実行時のロードステップはありません。 |
274
+ | `i18next.use(...)` | Intlayerはi18nextのプラグイン、バックエンド、言語検出機能を使用しません。 |
275
+ | JSON言語バンドル (`locales/*.json`) | JSONバンドルは、`syncJSON`プラグインを使用している場合にのみ必要です。`.content.ts`ファイルに移行したら、JSONフォルダを削除できます。 |
276
+
277
+ さらに進める準備ができたら、Intlayerはコードベース内の**どこにある`.content.ts`および`.content.json`ファイルでも自動的に検出します**(デフォルトでは`./src`内)。`my-component.content.ts`ファイルをロジックのすぐ隣に配置するだけで、追加の設定なしでビルド時にIntlayerがそれを取得します — インポート、登録、中央のインデックスファイルは不要です。これにより、翻訳のコロケーションが完全にシームレスになります。
278
+
279
+ ---
280
+
281
+ ## TypeScriptの設定
282
+
283
+ Intlayerはモジュール拡張を使用して、翻訳キーに対する完全なTypeScriptのIntelliSense(自動補完)を提供します。`tsconfig.json`に自動生成された型が含まれていることを確認してください:
284
+
285
+ ```json5 fileName="tsconfig.json"
286
+ {
287
+ // ... 既存のTypeScript設定
288
+ "include": [
289
+ // ... 既存のTypeScript設定
290
+ ".intlayer/**/*.ts", // 自動生成された型を含める
291
+ ],
292
+ }
293
+ ```
294
+
295
+ ---
296
+
297
+ ## Git設定
298
+
299
+ Intlayerによって生成されたディレクトリを`.gitignore`に追加します:
300
+
301
+ ```plaintext fileName=".gitignore"
302
+ # Intlayer生成ファイルを無視
303
+ .intlayer
304
+ ```
305
+
306
+ ---
307
+
308
+ ## さらに詳しく
309
+
310
+ - **ビジュアルエディタ** — ブラウザ上で翻訳を視覚的に管理:[Intlayer Visual Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_visual_editor.md)
311
+ - **CMS** — コンテンツを外部化してリモートで管理:[Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_CMS.md)
312
+ - **VS Code拡張機能** — 翻訳の自動補完とエラー検出をリアルタイムで取得:[Intlayer VS Code Extension](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/vs_code_extension.md)
313
+ - **CLIリファレンス** — コマンドの完全なリスト:[Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/index.md)