@intlayer/docs 7.2.2 → 7.3.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (478) hide show
  1. package/README.md +2 -0
  2. package/blog/ar/compiler_vs_declarative_i18n.md +138 -0
  3. package/blog/ar/intlayer_with_next-i18next.md +0 -1
  4. package/blog/ar/intlayer_with_vue-i18n.md +0 -1
  5. package/blog/de/compiler_vs_declarative_i18n.md +138 -0
  6. package/blog/de/intlayer_with_next-i18next.md +0 -1
  7. package/blog/de/intlayer_with_vue-i18n.md +0 -1
  8. package/blog/en/compiler_vs_declarative_i18n.md +138 -0
  9. package/blog/en/i18n_using_next-i18next.md +1 -1
  10. package/blog/en/i18n_using_next-intl.md +1 -1
  11. package/blog/en/intlayer_with_i18next.md +1 -1
  12. package/blog/en/intlayer_with_next-i18next.md +1 -2
  13. package/blog/en/intlayer_with_next-intl.md +1 -1
  14. package/blog/en/intlayer_with_react-i18next.md +1 -1
  15. package/blog/en/intlayer_with_react-intl.md +1 -1
  16. package/blog/en/intlayer_with_vue-i18n.md +1 -2
  17. package/blog/en-GB/compiler_vs_declarative_i18n.md +138 -0
  18. package/blog/en-GB/intlayer_with_next-i18next.md +0 -1
  19. package/blog/en-GB/intlayer_with_vue-i18n.md +0 -1
  20. package/blog/es/compiler_vs_declarative_i18n.md +138 -0
  21. package/blog/es/intlayer_with_next-i18next.md +0 -1
  22. package/blog/es/intlayer_with_vue-i18n.md +0 -1
  23. package/blog/fr/compiler_vs_declarative_i18n.md +138 -0
  24. package/blog/fr/intlayer_with_next-i18next.md +0 -1
  25. package/blog/fr/intlayer_with_vue-i18n.md +0 -1
  26. package/blog/hi/compiler_vs_declarative_i18n.md +138 -0
  27. package/blog/hi/intlayer_with_next-i18next.md +0 -1
  28. package/blog/hi/intlayer_with_vue-i18n.md +0 -1
  29. package/blog/id/compiler_vs_declarative_i18n.md +138 -0
  30. package/blog/id/intlayer_with_next-i18next.md +0 -1
  31. package/blog/id/intlayer_with_vue-i18n.md +0 -1
  32. package/blog/it/compiler_vs_declarative_i18n.md +138 -0
  33. package/blog/it/intlayer_with_next-i18next.md +0 -1
  34. package/blog/it/intlayer_with_vue-i18n.md +0 -1
  35. package/blog/ja/compiler_vs_declarative_i18n.md +138 -0
  36. package/blog/ja/intlayer_with_next-i18next.md +0 -1
  37. package/blog/ja/intlayer_with_vue-i18n.md +0 -1
  38. package/blog/ko/compiler_vs_declarative_i18n.md +138 -0
  39. package/blog/ko/intlayer_with_next-i18next.md +0 -1
  40. package/blog/ko/intlayer_with_vue-i18n.md +0 -1
  41. package/blog/pl/compiler_vs_declarative_i18n.md +138 -0
  42. package/blog/pl/intlayer_with_next-i18next.md +0 -1
  43. package/blog/pl/intlayer_with_vue-i18n.md +0 -1
  44. package/blog/pt/compiler_vs_declarative_i18n.md +138 -0
  45. package/blog/pt/intlayer_with_next-i18next.md +0 -1
  46. package/blog/pt/intlayer_with_vue-i18n.md +0 -1
  47. package/blog/ru/compiler_vs_declarative_i18n.md +138 -0
  48. package/blog/ru/intlayer_with_next-i18next.md +0 -1
  49. package/blog/ru/intlayer_with_vue-i18n.md +0 -1
  50. package/blog/tr/compiler_vs_declarative_i18n.md +138 -0
  51. package/blog/tr/intlayer_with_next-i18next.md +0 -1
  52. package/blog/tr/intlayer_with_vue-i18n.md +0 -1
  53. package/blog/vi/compiler_vs_declarative_i18n.md +138 -0
  54. package/blog/vi/intlayer_with_next-i18next.md +0 -1
  55. package/blog/vi/intlayer_with_vue-i18n.md +0 -1
  56. package/blog/zh/compiler_vs_declarative_i18n.md +138 -0
  57. package/blog/zh/intlayer_with_next-i18next.md +0 -1
  58. package/blog/zh/intlayer_with_vue-i18n.md +0 -1
  59. package/dist/cjs/generated/blog.entry.cjs +19 -0
  60. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  61. package/dist/cjs/generated/docs.entry.cjs +323 -19
  62. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  63. package/dist/esm/generated/blog.entry.mjs +19 -0
  64. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  65. package/dist/esm/generated/docs.entry.mjs +323 -19
  66. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  67. package/dist/types/generated/blog.entry.d.ts +1 -0
  68. package/dist/types/generated/blog.entry.d.ts.map +1 -1
  69. package/dist/types/generated/docs.entry.d.ts +17 -1
  70. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  71. package/docs/ar/cli/build.md +64 -0
  72. package/docs/ar/cli/configuration.md +63 -0
  73. package/docs/ar/cli/debug.md +46 -0
  74. package/docs/ar/cli/doc-review.md +43 -0
  75. package/docs/ar/cli/doc-translate.md +132 -0
  76. package/docs/ar/cli/editor.md +28 -0
  77. package/docs/ar/cli/fill.md +130 -0
  78. package/docs/ar/cli/index.md +163 -0
  79. package/docs/ar/cli/list.md +53 -0
  80. package/docs/ar/cli/live.md +41 -0
  81. package/docs/ar/cli/pull.md +78 -0
  82. package/docs/ar/cli/push.md +98 -0
  83. package/docs/ar/cli/sdk.md +67 -0
  84. package/docs/ar/cli/test.md +76 -0
  85. package/docs/ar/cli/transform.md +65 -0
  86. package/docs/ar/cli/version.md +24 -0
  87. package/docs/ar/cli/watch.md +37 -0
  88. package/docs/ar/intlayer_with_svelte_kit.md +3 -2
  89. package/docs/ar/packages/intlayer/getPrefix.md +210 -0
  90. package/docs/de/cli/build.md +64 -0
  91. package/docs/de/cli/configuration.md +63 -0
  92. package/docs/de/cli/debug.md +46 -0
  93. package/docs/de/cli/doc-review.md +43 -0
  94. package/docs/de/cli/doc-translate.md +132 -0
  95. package/docs/de/cli/editor.md +28 -0
  96. package/docs/de/cli/fill.md +130 -0
  97. package/docs/de/cli/index.md +163 -0
  98. package/docs/de/cli/list.md +53 -0
  99. package/docs/de/cli/live.md +41 -0
  100. package/docs/de/cli/pull.md +78 -0
  101. package/docs/de/cli/push.md +98 -0
  102. package/docs/de/cli/sdk.md +67 -0
  103. package/docs/de/cli/test.md +76 -0
  104. package/docs/de/cli/transform.md +65 -0
  105. package/docs/de/cli/version.md +24 -0
  106. package/docs/de/cli/watch.md +37 -0
  107. package/docs/de/intlayer_with_svelte_kit.md +3 -2
  108. package/docs/de/packages/intlayer/getPrefix.md +213 -0
  109. package/docs/en/CI_CD.md +2 -2
  110. package/docs/en/autoFill.md +24 -2
  111. package/docs/en/cli/build.md +64 -0
  112. package/docs/en/cli/configuration.md +63 -0
  113. package/docs/en/cli/debug.md +46 -0
  114. package/docs/en/cli/doc-review.md +43 -0
  115. package/docs/en/cli/doc-translate.md +132 -0
  116. package/docs/en/cli/editor.md +28 -0
  117. package/docs/en/cli/fill.md +130 -0
  118. package/docs/en/cli/index.md +163 -0
  119. package/docs/en/cli/list.md +53 -0
  120. package/docs/en/cli/live.md +41 -0
  121. package/docs/en/cli/pull.md +78 -0
  122. package/docs/en/cli/push.md +98 -0
  123. package/docs/en/cli/sdk.md +67 -0
  124. package/docs/en/cli/test.md +76 -0
  125. package/docs/en/cli/transform.md +65 -0
  126. package/docs/en/cli/version.md +24 -0
  127. package/docs/en/cli/watch.md +37 -0
  128. package/docs/en/dictionary/condition.md +1 -1
  129. package/docs/en/dictionary/enumeration.md +1 -1
  130. package/docs/en/dictionary/file.md +1 -1
  131. package/docs/en/dictionary/gender.md +1 -1
  132. package/docs/en/dictionary/insertion.md +1 -1
  133. package/docs/en/dictionary/markdown.md +1 -1
  134. package/docs/en/dictionary/nesting.md +1 -1
  135. package/docs/en/index.md +1 -1
  136. package/docs/en/intlayer_with_angular.md +1 -1
  137. package/docs/en/intlayer_with_astro.md +1 -1
  138. package/docs/en/intlayer_with_create_react_app.md +1 -1
  139. package/docs/en/intlayer_with_lynx+react.md +1 -1
  140. package/docs/en/intlayer_with_next-i18next.md +1 -1
  141. package/docs/en/intlayer_with_next-intl.md +1 -1
  142. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  143. package/docs/en/intlayer_with_nextjs_15.md +1 -1
  144. package/docs/en/intlayer_with_nextjs_16.md +1 -1
  145. package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
  146. package/docs/en/intlayer_with_nuxt.md +1 -1
  147. package/docs/en/intlayer_with_react_native+expo.md +1 -1
  148. package/docs/en/intlayer_with_react_router_v7.md +1 -1
  149. package/docs/en/intlayer_with_svelte_kit.md +3 -2
  150. package/docs/en/intlayer_with_tanstack.md +1 -1
  151. package/docs/en/intlayer_with_vite+preact.md +1 -1
  152. package/docs/en/intlayer_with_vite+react.md +1 -1
  153. package/docs/en/intlayer_with_vite+solid.md +1 -1
  154. package/docs/en/intlayer_with_vite+svelte.md +1 -1
  155. package/docs/en/intlayer_with_vite+vue.md +1 -1
  156. package/docs/en/introduction.md +1 -1
  157. package/docs/en/mcp_server.md +1 -2
  158. package/docs/en/per_locale_file.md +1 -1
  159. package/docs/en/plugins/sync-json.md +1 -1
  160. package/docs/en/releases/v6.md +2 -2
  161. package/docs/en/roadmap.md +1 -1
  162. package/docs/en-GB/cli/build.md +64 -0
  163. package/docs/en-GB/cli/configuration.md +63 -0
  164. package/docs/en-GB/cli/debug.md +46 -0
  165. package/docs/en-GB/cli/doc-review.md +43 -0
  166. package/docs/en-GB/cli/doc-translate.md +132 -0
  167. package/docs/en-GB/cli/editor.md +28 -0
  168. package/docs/en-GB/cli/fill.md +130 -0
  169. package/docs/en-GB/cli/index.md +163 -0
  170. package/docs/en-GB/cli/list.md +53 -0
  171. package/docs/en-GB/cli/live.md +41 -0
  172. package/docs/en-GB/cli/pull.md +78 -0
  173. package/docs/en-GB/cli/push.md +98 -0
  174. package/docs/en-GB/cli/sdk.md +67 -0
  175. package/docs/en-GB/cli/test.md +100 -0
  176. package/docs/en-GB/cli/transform.md +65 -0
  177. package/docs/en-GB/cli/version.md +24 -0
  178. package/docs/en-GB/cli/watch.md +37 -0
  179. package/docs/en-GB/dictionary/condition.md +1 -1
  180. package/docs/en-GB/dictionary/markdown.md +1 -1
  181. package/docs/en-GB/dictionary/nesting.md +1 -1
  182. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  183. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  184. package/docs/en-GB/intlayer_with_svelte_kit.md +3 -2
  185. package/docs/en-GB/packages/intlayer/getPrefix.md +213 -0
  186. package/docs/es/cli/build.md +64 -0
  187. package/docs/es/cli/configuration.md +63 -0
  188. package/docs/es/cli/debug.md +46 -0
  189. package/docs/es/cli/doc-review.md +43 -0
  190. package/docs/es/cli/doc-translate.md +132 -0
  191. package/docs/es/cli/editor.md +28 -0
  192. package/docs/es/cli/fill.md +130 -0
  193. package/docs/es/cli/index.md +163 -0
  194. package/docs/es/cli/list.md +53 -0
  195. package/docs/es/cli/live.md +41 -0
  196. package/docs/es/cli/pull.md +78 -0
  197. package/docs/es/cli/push.md +98 -0
  198. package/docs/es/cli/sdk.md +67 -0
  199. package/docs/es/cli/test.md +76 -0
  200. package/docs/es/cli/transform.md +65 -0
  201. package/docs/es/cli/version.md +24 -0
  202. package/docs/es/cli/watch.md +37 -0
  203. package/docs/es/intlayer_with_svelte_kit.md +3 -2
  204. package/docs/es/packages/intlayer/getPrefix.md +213 -0
  205. package/docs/fr/cli/build.md +64 -0
  206. package/docs/fr/cli/configuration.md +63 -0
  207. package/docs/fr/cli/debug.md +46 -0
  208. package/docs/fr/cli/doc-review.md +43 -0
  209. package/docs/fr/cli/doc-translate.md +132 -0
  210. package/docs/fr/cli/editor.md +28 -0
  211. package/docs/fr/cli/fill.md +130 -0
  212. package/docs/fr/cli/index.md +163 -0
  213. package/docs/fr/cli/list.md +53 -0
  214. package/docs/fr/cli/live.md +41 -0
  215. package/docs/fr/cli/pull.md +78 -0
  216. package/docs/fr/cli/push.md +98 -0
  217. package/docs/fr/cli/sdk.md +67 -0
  218. package/docs/fr/cli/test.md +76 -0
  219. package/docs/fr/cli/transform.md +65 -0
  220. package/docs/fr/cli/version.md +24 -0
  221. package/docs/fr/cli/watch.md +37 -0
  222. package/docs/fr/intlayer_with_svelte_kit.md +3 -2
  223. package/docs/fr/packages/intlayer/getPrefix.md +213 -0
  224. package/docs/hi/cli/build.md +64 -0
  225. package/docs/hi/cli/configuration.md +63 -0
  226. package/docs/hi/cli/debug.md +46 -0
  227. package/docs/hi/cli/doc-review.md +43 -0
  228. package/docs/hi/cli/doc-translate.md +132 -0
  229. package/docs/hi/cli/editor.md +28 -0
  230. package/docs/hi/cli/fill.md +130 -0
  231. package/docs/hi/cli/index.md +163 -0
  232. package/docs/hi/cli/list.md +53 -0
  233. package/docs/hi/cli/live.md +41 -0
  234. package/docs/hi/cli/pull.md +78 -0
  235. package/docs/hi/cli/push.md +98 -0
  236. package/docs/hi/cli/sdk.md +67 -0
  237. package/docs/hi/cli/test.md +76 -0
  238. package/docs/hi/cli/transform.md +65 -0
  239. package/docs/hi/cli/version.md +24 -0
  240. package/docs/hi/cli/watch.md +37 -0
  241. package/docs/hi/intlayer_with_svelte_kit.md +3 -2
  242. package/docs/hi/intlayer_with_tanstack.md +1 -1
  243. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  244. package/docs/hi/packages/intlayer/getPrefix.md +217 -0
  245. package/docs/id/cli/build.md +64 -0
  246. package/docs/id/cli/configuration.md +62 -0
  247. package/docs/id/cli/debug.md +46 -0
  248. package/docs/id/cli/doc-review.md +43 -0
  249. package/docs/id/cli/doc-translate.md +132 -0
  250. package/docs/id/cli/editor.md +28 -0
  251. package/docs/id/cli/fill.md +130 -0
  252. package/docs/id/cli/index.md +163 -0
  253. package/docs/id/cli/list.md +53 -0
  254. package/docs/id/cli/live.md +41 -0
  255. package/docs/id/cli/pull.md +78 -0
  256. package/docs/id/cli/push.md +98 -0
  257. package/docs/id/cli/sdk.md +67 -0
  258. package/docs/id/cli/test.md +76 -0
  259. package/docs/id/cli/transform.md +65 -0
  260. package/docs/id/cli/version.md +24 -0
  261. package/docs/id/cli/watch.md +37 -0
  262. package/docs/id/intlayer_with_svelte_kit.md +3 -2
  263. package/docs/id/packages/intlayer/getPrefix.md +210 -0
  264. package/docs/it/cli/build.md +64 -0
  265. package/docs/it/cli/configuration.md +63 -0
  266. package/docs/it/cli/debug.md +46 -0
  267. package/docs/it/cli/doc-review.md +43 -0
  268. package/docs/it/cli/doc-translate.md +132 -0
  269. package/docs/it/cli/editor.md +28 -0
  270. package/docs/it/cli/fill.md +130 -0
  271. package/docs/it/cli/index.md +158 -0
  272. package/docs/it/cli/list.md +53 -0
  273. package/docs/it/cli/live.md +41 -0
  274. package/docs/it/cli/pull.md +78 -0
  275. package/docs/it/cli/push.md +98 -0
  276. package/docs/it/cli/sdk.md +67 -0
  277. package/docs/it/cli/test.md +76 -0
  278. package/docs/it/cli/transform.md +65 -0
  279. package/docs/it/cli/version.md +24 -0
  280. package/docs/it/cli/watch.md +39 -0
  281. package/docs/it/intlayer_with_svelte_kit.md +3 -2
  282. package/docs/it/packages/intlayer/getPrefix.md +211 -0
  283. package/docs/ja/cli/build.md +78 -0
  284. package/docs/ja/cli/configuration.md +63 -0
  285. package/docs/ja/cli/debug.md +46 -0
  286. package/docs/ja/cli/doc-review.md +43 -0
  287. package/docs/ja/cli/doc-translate.md +132 -0
  288. package/docs/ja/cli/editor.md +28 -0
  289. package/docs/ja/cli/fill.md +130 -0
  290. package/docs/ja/cli/index.md +163 -0
  291. package/docs/ja/cli/list.md +53 -0
  292. package/docs/ja/cli/live.md +41 -0
  293. package/docs/ja/cli/pull.md +78 -0
  294. package/docs/ja/cli/push.md +113 -0
  295. package/docs/ja/cli/sdk.md +67 -0
  296. package/docs/ja/cli/test.md +76 -0
  297. package/docs/ja/cli/transform.md +65 -0
  298. package/docs/ja/cli/version.md +24 -0
  299. package/docs/ja/cli/watch.md +37 -0
  300. package/docs/ja/intlayer_with_svelte_kit.md +3 -2
  301. package/docs/ja/packages/intlayer/getPrefix.md +212 -0
  302. package/docs/ko/cli/build.md +64 -0
  303. package/docs/ko/cli/configuration.md +63 -0
  304. package/docs/ko/cli/debug.md +46 -0
  305. package/docs/ko/cli/doc-review.md +43 -0
  306. package/docs/ko/cli/doc-translate.md +132 -0
  307. package/docs/ko/cli/editor.md +28 -0
  308. package/docs/ko/cli/fill.md +130 -0
  309. package/docs/ko/cli/index.md +163 -0
  310. package/docs/ko/cli/list.md +53 -0
  311. package/docs/ko/cli/live.md +41 -0
  312. package/docs/ko/cli/pull.md +78 -0
  313. package/docs/ko/cli/push.md +113 -0
  314. package/docs/ko/cli/sdk.md +67 -0
  315. package/docs/ko/cli/test.md +76 -0
  316. package/docs/ko/cli/transform.md +65 -0
  317. package/docs/ko/cli/version.md +24 -0
  318. package/docs/ko/cli/watch.md +37 -0
  319. package/docs/ko/intlayer_with_svelte_kit.md +3 -2
  320. package/docs/ko/packages/intlayer/getPrefix.md +213 -0
  321. package/docs/pl/cli/build.md +64 -0
  322. package/docs/pl/cli/configuration.md +63 -0
  323. package/docs/pl/cli/debug.md +46 -0
  324. package/docs/pl/cli/doc-review.md +43 -0
  325. package/docs/pl/cli/doc-translate.md +132 -0
  326. package/docs/pl/cli/editor.md +28 -0
  327. package/docs/pl/cli/fill.md +130 -0
  328. package/docs/pl/cli/index.md +163 -0
  329. package/docs/pl/cli/list.md +53 -0
  330. package/docs/pl/cli/live.md +41 -0
  331. package/docs/pl/cli/pull.md +78 -0
  332. package/docs/pl/cli/push.md +98 -0
  333. package/docs/pl/cli/sdk.md +67 -0
  334. package/docs/pl/cli/test.md +76 -0
  335. package/docs/pl/cli/transform.md +65 -0
  336. package/docs/pl/cli/version.md +24 -0
  337. package/docs/pl/cli/watch.md +39 -0
  338. package/docs/pl/intlayer_with_svelte_kit.md +3 -2
  339. package/docs/pl/packages/intlayer/getPrefix.md +217 -0
  340. package/docs/pt/cli/build.md +64 -0
  341. package/docs/pt/cli/configuration.md +63 -0
  342. package/docs/pt/cli/debug.md +46 -0
  343. package/docs/pt/cli/doc-review.md +43 -0
  344. package/docs/pt/cli/doc-translate.md +132 -0
  345. package/docs/pt/cli/editor.md +28 -0
  346. package/docs/pt/cli/fill.md +130 -0
  347. package/docs/pt/cli/index.md +163 -0
  348. package/docs/pt/cli/list.md +53 -0
  349. package/docs/pt/cli/live.md +41 -0
  350. package/docs/pt/cli/pull.md +78 -0
  351. package/docs/pt/cli/push.md +98 -0
  352. package/docs/pt/cli/sdk.md +67 -0
  353. package/docs/pt/cli/test.md +76 -0
  354. package/docs/pt/cli/transform.md +65 -0
  355. package/docs/pt/cli/version.md +24 -0
  356. package/docs/pt/cli/watch.md +39 -0
  357. package/docs/pt/intlayer_with_svelte_kit.md +3 -2
  358. package/docs/pt/packages/intlayer/getPrefix.md +217 -0
  359. package/docs/ru/cli/build.md +64 -0
  360. package/docs/ru/cli/configuration.md +63 -0
  361. package/docs/ru/cli/debug.md +46 -0
  362. package/docs/ru/cli/doc-review.md +43 -0
  363. package/docs/ru/cli/doc-translate.md +132 -0
  364. package/docs/ru/cli/editor.md +28 -0
  365. package/docs/ru/cli/fill.md +130 -0
  366. package/docs/ru/cli/index.md +163 -0
  367. package/docs/ru/cli/list.md +53 -0
  368. package/docs/ru/cli/live.md +41 -0
  369. package/docs/ru/cli/pull.md +78 -0
  370. package/docs/ru/cli/push.md +98 -0
  371. package/docs/ru/cli/sdk.md +67 -0
  372. package/docs/ru/cli/test.md +76 -0
  373. package/docs/ru/cli/transform.md +65 -0
  374. package/docs/ru/cli/version.md +24 -0
  375. package/docs/ru/cli/watch.md +39 -0
  376. package/docs/ru/intlayer_with_svelte_kit.md +3 -2
  377. package/docs/ru/packages/intlayer/getPrefix.md +213 -0
  378. package/docs/tr/CI_CD.md +2 -2
  379. package/docs/tr/cli/build.md +64 -0
  380. package/docs/tr/cli/configuration.md +63 -0
  381. package/docs/tr/cli/debug.md +46 -0
  382. package/docs/tr/cli/doc-review.md +43 -0
  383. package/docs/tr/cli/doc-translate.md +132 -0
  384. package/docs/tr/cli/editor.md +28 -0
  385. package/docs/tr/cli/fill.md +130 -0
  386. package/docs/tr/cli/index.md +163 -0
  387. package/docs/tr/cli/list.md +53 -0
  388. package/docs/tr/cli/live.md +41 -0
  389. package/docs/tr/cli/pull.md +78 -0
  390. package/docs/tr/cli/push.md +98 -0
  391. package/docs/tr/cli/sdk.md +67 -0
  392. package/docs/tr/cli/test.md +76 -0
  393. package/docs/tr/cli/transform.md +65 -0
  394. package/docs/tr/cli/version.md +24 -0
  395. package/docs/tr/cli/watch.md +39 -0
  396. package/docs/tr/dictionary/condition.md +1 -1
  397. package/docs/tr/dictionary/enumeration.md +1 -1
  398. package/docs/tr/dictionary/file.md +1 -1
  399. package/docs/tr/dictionary/gender.md +1 -1
  400. package/docs/tr/dictionary/insertion.md +1 -1
  401. package/docs/tr/dictionary/markdown.md +1 -1
  402. package/docs/tr/dictionary/nesting.md +1 -1
  403. package/docs/tr/index.md +1 -1
  404. package/docs/tr/intlayer_with_angular.md +1 -1
  405. package/docs/tr/intlayer_with_create_react_app.md +1 -1
  406. package/docs/tr/intlayer_with_lynx+react.md +1 -1
  407. package/docs/tr/intlayer_with_nextjs_15.md +1 -1
  408. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  409. package/docs/tr/intlayer_with_nuxt.md +1 -1
  410. package/docs/tr/intlayer_with_react_native+expo.md +1 -1
  411. package/docs/tr/intlayer_with_svelte_kit.md +3 -2
  412. package/docs/tr/intlayer_with_vite+preact.md +1 -1
  413. package/docs/tr/intlayer_with_vite+react.md +1 -1
  414. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  415. package/docs/tr/intlayer_with_vite+vue.md +1 -1
  416. package/docs/tr/introduction.md +1 -1
  417. package/docs/tr/mcp_server.md +1 -1
  418. package/docs/tr/packages/intlayer/getPrefix.md +213 -0
  419. package/docs/tr/per_locale_file.md +1 -1
  420. package/docs/tr/roadmap.md +1 -1
  421. package/docs/vi/cli/build.md +64 -0
  422. package/docs/vi/cli/configuration.md +63 -0
  423. package/docs/vi/cli/debug.md +46 -0
  424. package/docs/vi/cli/doc-review.md +43 -0
  425. package/docs/vi/cli/doc-translate.md +132 -0
  426. package/docs/vi/cli/editor.md +28 -0
  427. package/docs/vi/cli/fill.md +130 -0
  428. package/docs/vi/cli/index.md +163 -0
  429. package/docs/vi/cli/list.md +53 -0
  430. package/docs/vi/cli/live.md +41 -0
  431. package/docs/vi/cli/pull.md +78 -0
  432. package/docs/vi/cli/push.md +98 -0
  433. package/docs/vi/cli/sdk.md +67 -0
  434. package/docs/vi/cli/test.md +76 -0
  435. package/docs/vi/cli/transform.md +65 -0
  436. package/docs/vi/cli/version.md +24 -0
  437. package/docs/vi/cli/watch.md +37 -0
  438. package/docs/vi/intlayer_with_svelte_kit.md +3 -2
  439. package/docs/vi/packages/intlayer/getPrefix.md +213 -0
  440. package/docs/zh/cli/build.md +64 -0
  441. package/docs/zh/cli/configuration.md +63 -0
  442. package/docs/zh/cli/debug.md +46 -0
  443. package/docs/zh/cli/doc-review.md +43 -0
  444. package/docs/zh/cli/doc-translate.md +132 -0
  445. package/docs/zh/cli/editor.md +28 -0
  446. package/docs/zh/cli/fill.md +130 -0
  447. package/docs/zh/cli/index.md +168 -0
  448. package/docs/zh/cli/list.md +53 -0
  449. package/docs/zh/cli/live.md +41 -0
  450. package/docs/zh/cli/pull.md +78 -0
  451. package/docs/zh/cli/push.md +113 -0
  452. package/docs/zh/cli/sdk.md +67 -0
  453. package/docs/zh/cli/test.md +76 -0
  454. package/docs/zh/cli/transform.md +65 -0
  455. package/docs/zh/cli/version.md +24 -0
  456. package/docs/zh/cli/watch.md +37 -0
  457. package/docs/zh/intlayer_with_svelte_kit.md +3 -2
  458. package/docs/zh/packages/intlayer/getPrefix.md +213 -0
  459. package/package.json +7 -7
  460. package/src/generated/blog.entry.ts +19 -0
  461. package/src/generated/docs.entry.ts +323 -19
  462. package/docs/ar/intlayer_cli.md +0 -578
  463. package/docs/de/intlayer_cli.md +0 -579
  464. package/docs/en/intlayer_cli.md +0 -857
  465. package/docs/en-GB/intlayer_cli.md +0 -579
  466. package/docs/es/intlayer_cli.md +0 -578
  467. package/docs/fr/intlayer_cli.md +0 -578
  468. package/docs/hi/intlayer_cli.md +0 -580
  469. package/docs/id/intlayer_cli.md +0 -850
  470. package/docs/it/intlayer_cli.md +0 -574
  471. package/docs/ja/intlayer_cli.md +0 -580
  472. package/docs/ko/intlayer_cli.md +0 -578
  473. package/docs/pl/intlayer_cli.md +0 -857
  474. package/docs/pt/intlayer_cli.md +0 -579
  475. package/docs/ru/intlayer_cli.md +0 -849
  476. package/docs/tr/intlayer_cli.md +0 -578
  477. package/docs/vi/intlayer_cli.md +0 -850
  478. package/docs/zh/intlayer_cli.md +0 -577
@@ -67,7 +67,7 @@ yarn add vite-intlayer --save-dev
67
67
 
68
68
  - **intlayer**
69
69
 
70
- The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md).
70
+ The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
71
71
 
72
72
  - **solid-intlayer**
73
73
  The package that integrates Intlayer with Solid application. It provides context providers and hooks for Solid internationalization.
@@ -81,7 +81,7 @@ bun add vite-intlayer --save-dev
81
81
 
82
82
  - **intlayer**
83
83
 
84
- The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md).
84
+ The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
85
85
 
86
86
  - **svelte-intlayer**
87
87
  The package that integrates Intlayer with Svelte application. It provides context providers and hooks for Svelte internationalization.
@@ -73,7 +73,7 @@ yarn add vite-intlayer --save-dev
73
73
 
74
74
  - **intlayer**
75
75
 
76
- The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md).
76
+ The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
77
77
 
78
78
  - **vue-intlayer**
79
79
  The package that integrates Intlayer with Vue application. It provides context providers and composables for Vue internationalization.
@@ -148,7 +148,7 @@ Intlayer offers a variety of features tailored to meet the needs of modern web d
148
148
  - **Internationalization Support**: Enhance your application's global reach with built-in support for internationalization.
149
149
  - **Visual Editor**: Improve your development workflow with editor plugins designed for Intlayer. Check out the [Visual Editor Guide](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md).
150
150
  - **Configuration Flexibility**: Customize your setup with extensive configuration options detailed in the [Configuration Guide](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md).
151
- - **Advanced CLI Tools**: Manage your projects efficiently using Intlayer's command line interface. Explore the capabilities in the [CLI Tools Documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md).
151
+ - **Advanced CLI Tools**: Manage your projects efficiently using Intlayer's command line interface. Explore the capabilities in the [CLI Tools Documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
152
152
 
153
153
  ## Core Concepts
154
154
 
@@ -49,7 +49,7 @@ By enabling the Intlayer MCP Server in your IDE, you unlock:
49
49
  - **Smart CLI Integration**
50
50
  Access and run Intlayer CLI commands directly from your IDE interface. Using the MCP server, you can let your AI assistant run commands like `intlayer dictionaries build` to update your dictionaries, or `intlayer dictionaries fill` to fill your missing translations.
51
51
 
52
- > View the full list of commands and options in the [Intlayer CLI documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md).
52
+ > View the full list of commands and options in the [Intlayer CLI documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
53
53
 
54
54
  ## Local server (stdio) vs Remote server (SSE)
55
55
 
@@ -163,7 +163,6 @@ Follow the [official documentation](https://platform.openai.com/docs/mcp#test-an
163
163
  4. Select `MCP Server`
164
164
  5. Click on `Add new`
165
165
  6. Fill the following fields:
166
-
167
166
  - URL: `https://mcp.intlayer.org`
168
167
  - Label: `Intlayer MCP Server`
169
168
  - Name: `intlayer-mcp-server`
@@ -316,4 +316,4 @@ console.log(JSON.stringify(intlayer, null, 2));
316
316
 
317
317
  ### Automatic Translation Generation
318
318
 
319
- Use the [intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md) to auto-fill missing translations based on your preferred services.
319
+ Use the [intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md) to auto-fill missing translations based on your preferred services.
@@ -326,7 +326,7 @@ The synchronized JSON files will be considered as other `.content` files. That m
326
326
  - `intlayer content push` to push the synchronized JSON files
327
327
  - `intlayer content pull` to pull the synchronized JSON files
328
328
 
329
- See [Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md) for more details.
329
+ See [Intlayer CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md) for more details.
330
330
 
331
331
  ## Limitations (current)
332
332
 
@@ -63,7 +63,7 @@ Total missing locales: 7
63
63
  Total missing required locales: 0
64
64
  ```
65
65
 
66
- See more options in the CLI docs: [CLI reference](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md) → "Test missing translations". As well as the [Testing](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/testing.md) guide.
66
+ See more options in the CLI docs: [CLI reference](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md) → "Test missing translations". As well as the [Testing](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/testing.md) guide.
67
67
 
68
68
  ---
69
69
 
@@ -297,7 +297,7 @@ Check the [migration notes from v6 to v7](https://github.com/aymericzip/intlayer
297
297
 
298
298
  ## Useful links
299
299
 
300
- - [CLI reference](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md)
300
+ - [CLI reference](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md)
301
301
  - [Auto‑fill](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/autoFill.md)
302
302
  - [Configuration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md)
303
303
  - [Content file reference](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md)
@@ -286,7 +286,7 @@ Intlayer supports **TypeScript** (also JavaScript) and **JSON** for declaring co
286
286
 
287
287
  > Resources:
288
288
  >
289
- > - [CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_cli.md)
289
+ > - [CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md)
290
290
 
291
291
  ---
292
292
 
@@ -0,0 +1,64 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Build Dictionaries
5
+ description: Learn how to build your Intlayer dictionaries from content declaration files.
6
+ keywords:
7
+ - Build
8
+ - Dictionaries
9
+ - CLI
10
+ - Intlayer
11
+ slugs:
12
+ - doc
13
+ - concept
14
+ - cli
15
+ - build
16
+ ---
17
+
18
+ # Build Dictionaries
19
+
20
+ To build your dictionaries, you can run the commands:
21
+
22
+ ```bash
23
+ npx intlayer build
24
+ ```
25
+
26
+ or in watch mode
27
+
28
+ ```bash
29
+ npx intlayer build --watch
30
+ ```
31
+
32
+ This command will find your declaration content files by default at `./src/**/*.content.{ts|js|mjs|cjs|json|tsx|jsx}` and build the dictionaries in the `.intlayer` directory.
33
+
34
+ ## Aliases:
35
+
36
+ - `npx intlayer dictionaries build`
37
+ - `npx intlayer dictionary build`
38
+ - `npx intlayer dic build`
39
+
40
+ ## Arguments:
41
+
42
+ - **`--base-dir`**: Specify the base directory for the project. To retrieve the intlayer configuration, the command will look for the `intlayer.config.{ts,js,json,cjs,mjs}` file in the base directory.
43
+
44
+ > Example: `npx intlayer build --base-dir ./src`
45
+
46
+ - **`--env`**: Specify the environment (e.g., `development`, `production`). Useful if you use environment variables in your intlayer configuration file.
47
+
48
+ > Example: `npx intlayer build --env production`
49
+
50
+ - **`--env-file`**: Provide a custom environment file to load variables from. Useful if you use environment variables in your intlayer configuration file.
51
+
52
+ > Example: `npx intlayer build --env-file .env.production.local`
53
+
54
+ - **`--with`**: Start a command in parallel with the build.
55
+
56
+ > Example: `npx intlayer build --with "next dev --turbopack"`
57
+
58
+ - **`--skip-prepare`**: Skip the prepare step.
59
+
60
+ > Example: `npx intlayer build --skip-prepare`
61
+
62
+ - **`--no-cache`**: Disable the cache.
63
+
64
+ > Example: `npx intlayer build --no-cache`
@@ -0,0 +1,63 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Manage Configuration
5
+ description: Learn how to get and push your Intlayer configuration to the CMS.
6
+ keywords:
7
+ - Configuration
8
+ - Config
9
+ - CLI
10
+ - Intlayer
11
+ - CMS
12
+ slugs:
13
+ - doc
14
+ - concept
15
+ - cli
16
+ - configuration
17
+ ---
18
+
19
+ # Manage Configuration
20
+
21
+ ## Get Configuration
22
+
23
+ The `configuration get` command retrieves the current configuration for Intlayer, particularly the locale settings. This is useful for verifying your setup.
24
+
25
+ ```bash
26
+ npx intlayer configuration get
27
+ ```
28
+
29
+ ## Aliases:
30
+
31
+ - `npx intlayer config get`
32
+ - `npx intlayer conf get`
33
+
34
+ ## Arguments:
35
+
36
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
37
+ - **`--env-file`**: Provide a custom environment file to load variables from.
38
+ - **`--base-dir`**: Specify the base directory for the project.
39
+ - **`--verbose`**: Enable verbose logging for debugging. (default to true using CLI)
40
+ - **`--no-cache`**: Disable the cache.
41
+
42
+ ## Push Configuration
43
+
44
+ The `configuration push` command uploads your configuration to the Intlayer CMS and editor. This step is necessary to enable the use of remote dictionaries in the Intlayer Visual Editor.
45
+
46
+ ```bash
47
+ npx intlayer configuration push
48
+ ```
49
+
50
+ ## Aliases:
51
+
52
+ - `npx intlayer config push`
53
+ - `npx intlayer conf push`
54
+
55
+ ## Arguments:
56
+
57
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
58
+ - **`--env-file`**: Provide a custom environment file to load variables from.
59
+ - **`--base-dir`**: Specify the base directory for the project.
60
+ - **`--verbose`**: Enable verbose logging for debugging. (default to true using CLI)
61
+ - **`--no-cache`**: Disable the cache.
62
+
63
+ By pushing the configuration, your project is fully integrated with the Intlayer CMS, enabling seamless dictionary management across teams.
@@ -0,0 +1,46 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Debug Intlayer Command
5
+ description: Learn how to debug and troubleshoot Intlayer CLI issues.
6
+ keywords:
7
+ - Debug
8
+ - Troubleshoot
9
+ - CLI
10
+ - Intlayer
11
+ slugs:
12
+ - doc
13
+ - concept
14
+ - cli
15
+ - debug
16
+ ---
17
+
18
+ # Debug intlayer command
19
+
20
+ ## 1. **Ensure you're using the latest version**
21
+
22
+ Run:
23
+
24
+ ```bash
25
+ npx intlayer --version # current locale intlayer version
26
+ npx intlayer@latest --version # current latest intlayer version
27
+ ```
28
+
29
+ ## 2. **Check if the command is registered**
30
+
31
+ You can check with:
32
+
33
+ ```bash
34
+ npx intlayer --help # Shows the list of available commands and usage information
35
+ npx intlayer dictionary build --help # Shows the list of available options for a command
36
+ ```
37
+
38
+ ## 3. **Restart your terminal**
39
+
40
+ Sometimes a terminal restart is required to recognise new commands.
41
+
42
+ ## 4. **Clear npx cache (if you're stuck with an older version)**
43
+
44
+ ```bash
45
+ npx clear-npx-cache
46
+ ```
@@ -0,0 +1,43 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Review Document
5
+ description: Learn how to review documentation files for quality, consistency, and completeness across different locales.
6
+ keywords:
7
+ - Review
8
+ - Document
9
+ - Documentation
10
+ - AI
11
+ - CLI
12
+ - Intlayer
13
+ slugs:
14
+ - doc
15
+ - concept
16
+ - cli
17
+ - doc-review
18
+ ---
19
+
20
+ # Review Document
21
+
22
+ The `doc review` command analyses documentation files for quality, consistency, and completeness across different locales.
23
+
24
+ ```bash
25
+ npx intlayer doc review
26
+ ```
27
+
28
+ It can be used to review files that are already translated, and to check if the translation is correct.
29
+
30
+ For most use cases,
31
+
32
+ - prefer using the `doc translate` when the translated version of this file is not available.
33
+ - prefer using the `doc review` when the translated version of this file already exists.
34
+
35
+ > Note that the review process consumes more entry tokens than the translate process to review the same file entirely. However, the review process will optimise the chunks to review, and will skip the parts that are not changed.
36
+
37
+ ## Arguments:
38
+
39
+ The `doc review` command accepts the same arguments as `doc translate`, allowing you to review specific documentation files and apply quality checks.
40
+
41
+ If you have activated one of the git options, the command will only review the parts of the files that are being changed. The script will process by chunking the file and reviewing each chunk. If there are no changes in the chunk, the script will skip it to speed up the review process and limit the AI Provider API cost.
42
+
43
+ For a complete list of arguments, see the [Translate Document](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/doc-translate.md) command documentation.
@@ -0,0 +1,132 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Translate Document
5
+ description: Learn how to automatically translate documentation files using AI translation services.
6
+ keywords:
7
+ - Translate
8
+ - Document
9
+ - Documentation
10
+ - AI
11
+ - CLI
12
+ - Intlayer
13
+ slugs:
14
+ - doc
15
+ - concept
16
+ - cli
17
+ - doc-translate
18
+ ---
19
+
20
+ # Translate Document
21
+
22
+ The `doc translate` command automatically translates documentation files from a base locale to target locales using AI translation services.
23
+
24
+ ```bash
25
+ npx intlayer doc translate
26
+ ```
27
+
28
+ ## Arguments:
29
+
30
+ **File list options:**
31
+
32
+ - **`--doc-pattern [docPattern...]`**: Glob patterns to match documentation files to translate.
33
+
34
+ > Example: `npx intlayer doc translate --doc-pattern "docs/**/*.md" "src/**/*.mdx"`
35
+
36
+ - **`--excluded-glob-pattern [excludedGlobPattern...]`**: Glob patterns to exclude from translation.
37
+
38
+ > Example: `npx intlayer doc translate --excluded-glob-pattern "docs/internal/**"`
39
+
40
+ - **`--skip-if-modified-before [skipIfModifiedBefore]`**: Skip the file if it has been modified before the specified time.
41
+ - Can be an absolute time such as "2025-12-05" (string or Date)
42
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
43
+ - This option checks the update time of the file using the `fs.stat` method. Therefore, it could be affected by Git or other tools that modify the file.
44
+
45
+ > Example: `npx intlayer doc translate --skip-if-modified-before "2025-12-05"`
46
+
47
+ - **`--skip-if-modified-after [skipIfModifiedAfter]`**: Skip the file if it has been modified within the specified time.
48
+ - Can be an absolute time such as "2025-12-05" (string or Date)
49
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
50
+ - This option checks the update time of the file using the `fs.stat` method. Therefore, it could be affected by Git or other tools that modify the file.
51
+
52
+ > Example: `npx intlayer doc translate --skip-if-modified-after "2025-12-05"`
53
+
54
+ - **`--skip-if-exists`**: Skip the file if it already exists.
55
+
56
+ > Example: `npx intlayer doc translate --skip-if-exists`
57
+
58
+ **Entry output options:**
59
+
60
+ - **`--locales [locales...]`**: Target locales to translate the documentation into.
61
+
62
+ > Example: `npx intlayer doc translate --locales fr es de`
63
+
64
+ - **`--base-locale [baseLocale]`**: Source locale to translate from.
65
+
66
+ > Example: `npx intlayer doc translate --base-locale en`
67
+
68
+ **File processing options:**
69
+
70
+ - **`--nb-simultaneous-file-processed [nbSimultaneousFileProcessed]`**: Number of files to process simultaneously for translation.
71
+
72
+ > Example: `npx intlayer doc translate --nb-simultaneous-file-processed 5`
73
+
74
+ **AI options:**
75
+
76
+ - **`--model [model]`**: The AI model to use for translation (e.g., `gpt-3.5-turbo`).
77
+ - **`--provider [provider]`**: The AI provider to use for translation.
78
+ - **`--temperature [temperature]`**: Temperature setting for the AI model.
79
+ - **`--api-key [apiKey]`**: Provide your own API key for the AI service.
80
+ - **`--application-context [applicationContext]`**: Provide additional context for the AI translation.
81
+ - **`--custom-prompt [prompt]`**: Customise the base prompt used for translation. (Note: For most use cases, the `--custom-instructions` option is recommended instead as it provides better control over translation behaviour.)
82
+
83
+ > Example: `npx intlayer doc translate --model deepseek-chat --provider deepseek --temperature 0.5 --api-key sk-1234567890 --application-context "My application is a cat store"`
84
+
85
+ **Environment variables options:**
86
+
87
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
88
+ - **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
89
+ - **`--base-dir`**: Specify the base directory for the project.
90
+ - **`--no-cache`**: Disable the cache.
91
+
92
+ > Example: `npx intlayer doc translate --base-dir ./docs --env-file .env.production.local`
93
+
94
+ **Log options:**
95
+
96
+ - **`--verbose`**: Enable verbose logging for debugging. (defaults to true when using CLI)
97
+
98
+ > Example: `npx intlayer doc translate --verbose`
99
+
100
+ **Custom instructions options:**
101
+
102
+ - **`--custom-instructions [customInstructions]`**: Custom instructions added to the prompt. Useful for applying specific rules regarding formatting, URL translation, etc.
103
+ - Can be an absolute time such as "2025-12-05" (string or Date)
104
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
105
+ - This option checks the update time of the file using the `fs.stat` method. Therefore, it could be affected by Git or other tools that modify the file.
106
+
107
+ > Example: `npx intlayer doc translate --custom-instructions "Avoid translating URLs, and keep the markdown format"`
108
+
109
+ > Example: `npx intlayer doc translate --custom-instructions "$(cat ./instructions.md)"`
110
+
111
+ **Git options:**
112
+
113
+ - **`--git-diff`**: Only run on dictionaries that include changes from the base (default `origin/main`) to the current branch (default: `HEAD`).
114
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
115
+ - **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
116
+ - **`--uncommitted`**: Include uncommitted changes.
117
+ - **`--unpushed`**: Include unpushed changes.
118
+ - **`--untracked`**: Include untracked files.
119
+
120
+ > Example: `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
121
+
122
+ > Example: `npx intlayer doc translate --uncommitted --unpushed --untracked`
123
+
124
+ > Note that the output file path will be determined by replacing the following patterns
125
+ >
126
+ > - `/{{baseLocale}}/` with `/{{locale}}/` (Unix)
127
+ > - `\{{baseLocale}}\` with `\{{locale}}\` (Windows)
128
+ > - `_{{baseLocale}}.` with `_{{locale}}.`
129
+ > - `{{baseLocale}}_` with `{{locale}}_`
130
+ > - `.{{baseLocaleName}}.` with `.{{localeName}}.`
131
+ >
132
+ > If the pattern is not found, the output file will add `.{{locale}}` to the file extension. For example, `./my/file.md` will be translated to `./my/file.fr.md` for the French locale.
@@ -0,0 +1,28 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Editor Commands
5
+ description: Learn how to use the Intlayer editor commands.
6
+ keywords:
7
+ - Editor
8
+ - Visual Editor
9
+ - CLI
10
+ - Intlayer
11
+ slugs:
12
+ - doc
13
+ - concept
14
+ - cli
15
+ - editor
16
+ ---
17
+
18
+ # Editor commands
19
+
20
+ The `editor` command wraps the `intlayer-editor` commands.
21
+
22
+ > To be able to use the `editor` command, the `intlayer-editor` package must be installed. (See [Intlayer Visual Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md))
23
+
24
+ ```json fileName="package.json"
25
+ "scripts": {
26
+ "intlayer:editor:start": "npx intlayer editor start --with 'next dev --turbopack'"
27
+ }
28
+ ```
@@ -0,0 +1,130 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Fill Dictionaries
5
+ description: Learn how to fill, audit, and translate your dictionaries using AI.
6
+ keywords:
7
+ - Fill
8
+ - Audit
9
+ - Translate
10
+ - Dictionaries
11
+ - CLI
12
+ - Intlayer
13
+ - AI
14
+ slugs:
15
+ - doc
16
+ - concept
17
+ - cli
18
+ - fill
19
+ ---
20
+
21
+ # Fill / audit / translate dictionaries
22
+
23
+ ```bash
24
+ npx intlayer fill
25
+ ```
26
+
27
+ This command analyses your content declaration files for potential issues such as missing translations, structural inconsistencies, or type mismatches. If it finds any problems, **intlayer fill** will propose or apply updates to keep your dictionaries consistent and complete.
28
+
29
+ ## Aliases:
30
+
31
+ - `npx intlayer dictionaries fill`
32
+ - `npx intlayer dictionary fill`
33
+ - `npx intlayer dic fill`
34
+
35
+ ## Arguments:
36
+
37
+ **Files list options:**
38
+
39
+ - **`-f, --file [files...]`**: A list of specific content declaration files to audit. If not provided, all discovered `*.content.{ts,js,mjs,cjs,tsx,jsx,json}` based on your configuration file setup will be audited.
40
+
41
+ > Example: `npx intlayer dictionary fill -f src/home/app.content.ts`
42
+
43
+ - **`-k, --keys [keys...]`**: Filter dictionaries based on keys. If not provided, all dictionaries will be audited.
44
+
45
+ > Example: `npx intlayer dictionary fill -k key1 key2`
46
+
47
+ - **`--key [keys...]`**: Filter dictionaries based on keys (alias for --keys).
48
+
49
+ > Example: `npx intlayer dictionary fill --key key1 key2`
50
+
51
+ - **`--excluded-keys [excludedKeys...]`**: Filter out dictionaries based on keys. If not provided, all dictionaries will be audited.
52
+
53
+ > Example: `npx intlayer dictionary fill --excluded-keys key1 key2`
54
+
55
+ - **`--excluded-key [excludedKeys...]`**: Filter out dictionaries based on keys (alias for --excluded-keys).
56
+
57
+ > Example: `npx intlayer dictionary fill --excluded-key key1 key2`
58
+
59
+ - **`--path-filter [pathFilters...]`**: Filter dictionaries based on glob pattern for file paths.
60
+
61
+ > Example: `npx intlayer dictionary fill --path-filter "src/home/**"`
62
+
63
+ **Entry output options:**
64
+
65
+ - **`--source-locale [sourceLocale]`**: The source locale to translate from. If not specified, the default locale from your configuration will be used.
66
+
67
+ - **`--output-locales [outputLocales...]`**: Target locales to translate to. If not specified, all locales from your configuration will be used except the source locale.
68
+
69
+ - **`--mode [mode]`**: Translation mode: `complete`, `review`. Default is `complete`. `complete` will fill all missing content, `review` will fill missing content and review existing keys.
70
+
71
+ **Git options:**
72
+
73
+ - **`--git-diff`**: Only run on dictionaries that include changes from base (default `origin/main`) to current branch (default: `HEAD`).
74
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
75
+ - **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
76
+ - **`--uncommitted`**: Include uncommitted changes.
77
+ - **`--unpushed`**: Include unpushed changes.
78
+ - **`--untracked`**: Include untracked files.
79
+
80
+ > Example: `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
81
+
82
+ > Example: `npx intlayer doc translate --uncommitted --unpushed --untracked`
83
+
84
+ **AI options:**
85
+
86
+ - **`--model [model]`**: The AI model to use for the translation (e.g., `gpt-3.5-turbo`).
87
+ - **`--provider [provider]`**: The AI provider to use for the translation.
88
+ - **`--temperature [temperature]`**: Temperature setting for the AI model.
89
+ - **`--api-key [apiKey]`**: Provide your own API key for the AI service.
90
+ - **`--custom-prompt [prompt]`**: Provide a custom prompt for your translation instructions.
91
+ - **`--application-context [applicationContext]`**: Provide additional context for the AI translation.
92
+
93
+ > Example: `npx intlayer fill --model gpt-3.5-turbo --provider openai --temperature 0.5 --api-key sk-1234567890 --application-context "My application is a cat store"`
94
+
95
+ **Environment variables options:**
96
+
97
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
98
+ - **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
99
+
100
+ > Example: `npx intlayer fill --env-file .env.production.local`
101
+
102
+ > Example: `npx intlayer fill --env production`
103
+
104
+ **Configuration options:**
105
+
106
+ - **`--base-dir`**: Specify the base directory for the project.
107
+
108
+ > Example: `npx intlayer fill --base-dir ./src`
109
+
110
+ - **`--no-cache`**: Disable the cache.
111
+
112
+ > Example: `npx intlayer build --no-cache`
113
+
114
+ **Preparation options:**
115
+
116
+ - **`--build`**: Build the dictionaries before pushing to ensure the content is up to date. True will force the build, false will skip the build, undefined will allow using the cache of the build.
117
+
118
+ - **`--skip-metadata`**: Skip filling in missing metadata (description, title, tags) for dictionaries.
119
+
120
+ **Log options:**
121
+
122
+ - **`--verbose`**: Enable verbose logging for debugging. (defaults to true when using CLI)
123
+
124
+ ## Example:
125
+
126
+ ```bash
127
+ npx intlayer fill --file src/home/*.content.ts --source-locale en --output-locales fr es --model gpt-3.5-turbo
128
+ ```
129
+
130
+ This command will translate content from English to French and Spanish for all content declaration files in the `src/home/` directory using the GPT-3.5 Turbo model.