@intlayer/docs 5.5.11 → 5.6.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 (494) hide show
  1. package/blog/ar/intlayer_with_next-intl.md +0 -1
  2. package/blog/ar/list_i18n_technologies/CMS/wordpress.md +1 -1
  3. package/blog/ar/list_i18n_technologies/frameworks/angular.md +1 -1
  4. package/blog/ar/list_i18n_technologies/frameworks/flutter.md +1 -1
  5. package/blog/ar/list_i18n_technologies/frameworks/react-native.md +1 -1
  6. package/blog/ar/list_i18n_technologies/frameworks/react.md +1 -1
  7. package/blog/ar/list_i18n_technologies/frameworks/svelte.md +1 -1
  8. package/blog/ar/list_i18n_technologies/frameworks/vue.md +1 -1
  9. package/blog/ar/what_is_internationalization.md +2 -2
  10. package/blog/de/intlayer_with_next-intl.md +0 -1
  11. package/blog/de/list_i18n_technologies/CMS/wordpress.md +1 -1
  12. package/blog/de/list_i18n_technologies/frameworks/angular.md +1 -1
  13. package/blog/de/list_i18n_technologies/frameworks/flutter.md +1 -1
  14. package/blog/de/list_i18n_technologies/frameworks/react-native.md +1 -1
  15. package/blog/de/list_i18n_technologies/frameworks/react.md +1 -1
  16. package/blog/de/list_i18n_technologies/frameworks/svelte.md +1 -1
  17. package/blog/de/list_i18n_technologies/frameworks/vue.md +1 -1
  18. package/blog/de/what_is_internationalization.md +2 -2
  19. package/blog/en/intlayer_with_next-intl.md +0 -1
  20. package/blog/en/list_i18n_technologies/CMS/wordpress.md +1 -1
  21. package/blog/en/list_i18n_technologies/frameworks/angular.md +1 -1
  22. package/blog/en/list_i18n_technologies/frameworks/flutter.md +1 -1
  23. package/blog/en/list_i18n_technologies/frameworks/react-native.md +1 -1
  24. package/blog/en/list_i18n_technologies/frameworks/react.md +1 -1
  25. package/blog/en/list_i18n_technologies/frameworks/svelte.md +1 -1
  26. package/blog/en/list_i18n_technologies/frameworks/vue.md +1 -1
  27. package/blog/en/what_is_internationalization.md +2 -2
  28. package/blog/en-GB/intlayer_with_next-intl.md +0 -1
  29. package/blog/en-GB/list_i18n_technologies/CMS/wordpress.md +1 -1
  30. package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +1 -1
  31. package/blog/en-GB/list_i18n_technologies/frameworks/flutter.md +1 -1
  32. package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +1 -1
  33. package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +1 -1
  34. package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +1 -1
  35. package/blog/en-GB/what_is_internationalization.md +2 -2
  36. package/blog/es/intlayer_with_next-intl.md +0 -1
  37. package/blog/es/list_i18n_technologies/CMS/wordpress.md +1 -1
  38. package/blog/es/list_i18n_technologies/frameworks/angular.md +1 -1
  39. package/blog/es/list_i18n_technologies/frameworks/flutter.md +1 -1
  40. package/blog/es/list_i18n_technologies/frameworks/react-native.md +1 -1
  41. package/blog/es/list_i18n_technologies/frameworks/react.md +1 -1
  42. package/blog/es/list_i18n_technologies/frameworks/svelte.md +1 -1
  43. package/blog/es/list_i18n_technologies/frameworks/vue.md +1 -1
  44. package/blog/es/what_is_internationalization.md +2 -2
  45. package/blog/fr/intlayer_with_next-intl.md +0 -1
  46. package/blog/fr/list_i18n_technologies/CMS/wordpress.md +1 -1
  47. package/blog/fr/list_i18n_technologies/frameworks/angular.md +1 -1
  48. package/blog/fr/list_i18n_technologies/frameworks/flutter.md +1 -1
  49. package/blog/fr/list_i18n_technologies/frameworks/react-native.md +1 -1
  50. package/blog/fr/list_i18n_technologies/frameworks/react.md +1 -1
  51. package/blog/fr/list_i18n_technologies/frameworks/svelte.md +1 -1
  52. package/blog/fr/list_i18n_technologies/frameworks/vue.md +1 -1
  53. package/blog/fr/what_is_internationalization.md +2 -2
  54. package/blog/hi/list_i18n_technologies/CMS/wordpress.md +1 -1
  55. package/blog/hi/list_i18n_technologies/frameworks/angular.md +1 -1
  56. package/blog/hi/list_i18n_technologies/frameworks/flutter.md +1 -1
  57. package/blog/hi/list_i18n_technologies/frameworks/react-native.md +1 -1
  58. package/blog/hi/list_i18n_technologies/frameworks/react.md +1 -1
  59. package/blog/hi/list_i18n_technologies/frameworks/svelte.md +1 -1
  60. package/blog/hi/list_i18n_technologies/frameworks/vue.md +1 -1
  61. package/blog/hi/what_is_internationalization.md +2 -2
  62. package/blog/it/intlayer_with_next-intl.md +0 -1
  63. package/blog/it/list_i18n_technologies/CMS/wordpress.md +1 -1
  64. package/blog/it/list_i18n_technologies/frameworks/angular.md +1 -1
  65. package/blog/it/list_i18n_technologies/frameworks/react-native.md +1 -1
  66. package/blog/it/list_i18n_technologies/frameworks/react.md +1 -1
  67. package/blog/it/list_i18n_technologies/frameworks/svelte.md +1 -1
  68. package/blog/it/list_i18n_technologies/frameworks/vue.md +1 -1
  69. package/blog/it/what_is_internationalization.md +2 -2
  70. package/blog/ja/intlayer_with_next-intl.md +0 -1
  71. package/blog/ja/list_i18n_technologies/CMS/wordpress.md +1 -1
  72. package/blog/ja/list_i18n_technologies/frameworks/angular.md +1 -1
  73. package/blog/ja/list_i18n_technologies/frameworks/flutter.md +1 -1
  74. package/blog/ja/list_i18n_technologies/frameworks/react-native.md +1 -1
  75. package/blog/ja/list_i18n_technologies/frameworks/react.md +1 -1
  76. package/blog/ja/list_i18n_technologies/frameworks/svelte.md +1 -1
  77. package/blog/ja/list_i18n_technologies/frameworks/vue.md +1 -1
  78. package/blog/ja/what_is_internationalization.md +2 -2
  79. package/blog/ko/intlayer_with_next-intl.md +0 -1
  80. package/blog/ko/list_i18n_technologies/CMS/wordpress.md +1 -1
  81. package/blog/ko/list_i18n_technologies/frameworks/angular.md +1 -1
  82. package/blog/ko/list_i18n_technologies/frameworks/react-native.md +1 -1
  83. package/blog/ko/list_i18n_technologies/frameworks/react.md +1 -1
  84. package/blog/ko/list_i18n_technologies/frameworks/vue.md +1 -1
  85. package/blog/pt/intlayer_with_next-intl.md +0 -1
  86. package/blog/pt/list_i18n_technologies/CMS/wordpress.md +1 -1
  87. package/blog/pt/list_i18n_technologies/frameworks/angular.md +1 -1
  88. package/blog/pt/list_i18n_technologies/frameworks/flutter.md +1 -1
  89. package/blog/pt/list_i18n_technologies/frameworks/react-native.md +1 -1
  90. package/blog/pt/list_i18n_technologies/frameworks/react.md +1 -1
  91. package/blog/pt/list_i18n_technologies/frameworks/svelte.md +1 -1
  92. package/blog/pt/list_i18n_technologies/frameworks/vue.md +1 -1
  93. package/blog/pt/what_is_internationalization.md +2 -2
  94. package/blog/ru/intlayer_with_next-intl.md +0 -1
  95. package/blog/ru/list_i18n_technologies/CMS/wordpress.md +1 -1
  96. package/blog/ru/list_i18n_technologies/frameworks/angular.md +1 -1
  97. package/blog/ru/list_i18n_technologies/frameworks/flutter.md +1 -1
  98. package/blog/ru/list_i18n_technologies/frameworks/react-native.md +1 -1
  99. package/blog/ru/list_i18n_technologies/frameworks/react.md +1 -1
  100. package/blog/ru/list_i18n_technologies/frameworks/svelte.md +1 -1
  101. package/blog/ru/list_i18n_technologies/frameworks/vue.md +1 -1
  102. package/blog/ru/what_is_internationalization.md +2 -2
  103. package/blog/zh/intlayer_with_next-intl.md +0 -1
  104. package/blog/zh/list_i18n_technologies/CMS/wordpress.md +1 -1
  105. package/blog/zh/list_i18n_technologies/frameworks/angular.md +1 -1
  106. package/blog/zh/list_i18n_technologies/frameworks/flutter.md +1 -1
  107. package/blog/zh/list_i18n_technologies/frameworks/react-native.md +1 -1
  108. package/blog/zh/list_i18n_technologies/frameworks/react.md +1 -1
  109. package/blog/zh/list_i18n_technologies/frameworks/svelte.md +1 -1
  110. package/blog/zh/list_i18n_technologies/frameworks/vue.md +1 -1
  111. package/blog/zh/what_is_internationalization.md +2 -2
  112. package/dist/cjs/blog.cjs +2 -2
  113. package/dist/cjs/blog.cjs.map +1 -1
  114. package/dist/cjs/common.cjs +17 -6
  115. package/dist/cjs/common.cjs.map +1 -1
  116. package/dist/cjs/doc.cjs +2 -2
  117. package/dist/cjs/doc.cjs.map +1 -1
  118. package/dist/cjs/frequentQuestions.cjs +2 -2
  119. package/dist/cjs/frequentQuestions.cjs.map +1 -1
  120. package/dist/cjs/generated/blog.entry.cjs +1152 -252
  121. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  122. package/dist/cjs/generated/docs.entry.cjs +3778 -1124
  123. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  124. package/dist/cjs/generated/frequentQuestions.entry.cjs +794 -161
  125. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  126. package/dist/cjs/generated/legal.entry.cjs +32 -31
  127. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  128. package/dist/cjs/legal.cjs +2 -2
  129. package/dist/cjs/legal.cjs.map +1 -1
  130. package/dist/esm/blog.mjs +2 -2
  131. package/dist/esm/blog.mjs.map +1 -1
  132. package/dist/esm/common.mjs +17 -6
  133. package/dist/esm/common.mjs.map +1 -1
  134. package/dist/esm/doc.mjs +2 -2
  135. package/dist/esm/doc.mjs.map +1 -1
  136. package/dist/esm/frequentQuestions.mjs +2 -2
  137. package/dist/esm/frequentQuestions.mjs.map +1 -1
  138. package/dist/esm/generated/blog.entry.mjs +1151 -252
  139. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  140. package/dist/esm/generated/docs.entry.mjs +3777 -1124
  141. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  142. package/dist/esm/generated/frequentQuestions.entry.mjs +793 -161
  143. package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
  144. package/dist/esm/generated/legal.entry.mjs +31 -31
  145. package/dist/esm/generated/legal.entry.mjs.map +1 -1
  146. package/dist/esm/legal.mjs +2 -2
  147. package/dist/esm/legal.mjs.map +1 -1
  148. package/dist/types/blog.d.ts +2 -2
  149. package/dist/types/blog.d.ts.map +1 -1
  150. package/dist/types/common.d.ts +5 -2
  151. package/dist/types/common.d.ts.map +1 -1
  152. package/dist/types/doc.d.ts +2 -2
  153. package/dist/types/doc.d.ts.map +1 -1
  154. package/dist/types/frequentQuestions.d.ts +2 -2
  155. package/dist/types/frequentQuestions.d.ts.map +1 -1
  156. package/dist/types/generated/blog.entry.d.ts.map +1 -1
  157. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  158. package/dist/types/generated/frequentQuestions.entry.d.ts +1 -0
  159. package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
  160. package/dist/types/generated/legal.entry.d.ts.map +1 -1
  161. package/dist/types/legal.d.ts +2 -2
  162. package/dist/types/legal.d.ts.map +1 -1
  163. package/docs/ar/intlayer_CMS.md +1 -0
  164. package/docs/ar/intlayer_cli.md +292 -177
  165. package/docs/ar/intlayer_visual_editor.md +1 -0
  166. package/docs/ar/intlayer_with_angular.md +1 -0
  167. package/docs/ar/intlayer_with_create_react_app.md +1 -0
  168. package/docs/ar/intlayer_with_lynx+react.md +1 -0
  169. package/docs/ar/intlayer_with_nextjs_14.md +1 -0
  170. package/docs/ar/intlayer_with_nextjs_15.md +3 -1
  171. package/docs/ar/intlayer_with_nuxt.md +1 -0
  172. package/docs/ar/intlayer_with_react_native+expo.md +1 -0
  173. package/docs/ar/intlayer_with_vite+preact.md +4 -3
  174. package/docs/ar/intlayer_with_vite+react.md +108 -112
  175. package/docs/ar/intlayer_with_vite+solid.md +4 -3
  176. package/docs/ar/intlayer_with_vite+svelte.md +4 -3
  177. package/docs/ar/intlayer_with_vite+vue.md +5 -4
  178. package/docs/ar/mcp_server.md +126 -92
  179. package/docs/de/intlayer_CMS.md +1 -0
  180. package/docs/de/intlayer_cli.md +291 -171
  181. package/docs/de/intlayer_visual_editor.md +1 -0
  182. package/docs/de/intlayer_with_angular.md +1 -0
  183. package/docs/de/intlayer_with_create_react_app.md +1 -0
  184. package/docs/de/intlayer_with_lynx+react.md +1 -0
  185. package/docs/de/intlayer_with_nextjs_14.md +1 -0
  186. package/docs/de/intlayer_with_nextjs_15.md +3 -1
  187. package/docs/de/intlayer_with_nuxt.md +1 -0
  188. package/docs/de/intlayer_with_react_native+expo.md +1 -0
  189. package/docs/de/intlayer_with_vite+preact.md +4 -3
  190. package/docs/de/intlayer_with_vite+react.md +128 -146
  191. package/docs/de/intlayer_with_vite+solid.md +4 -3
  192. package/docs/de/intlayer_with_vite+svelte.md +4 -3
  193. package/docs/de/intlayer_with_vite+vue.md +5 -4
  194. package/docs/de/mcp_server.md +116 -112
  195. package/docs/en/CI_CD.md +3 -1
  196. package/docs/en/autoFill.md +3 -1
  197. package/docs/en/configuration.md +7 -3
  198. package/docs/en/dictionary/condition.md +3 -1
  199. package/docs/en/dictionary/content_extention_customization.md +3 -1
  200. package/docs/en/dictionary/enumeration.md +3 -1
  201. package/docs/en/dictionary/file.md +3 -1
  202. package/docs/en/dictionary/function_fetching.md +3 -1
  203. package/docs/en/dictionary/get_started.md +3 -1
  204. package/docs/en/dictionary/insertion.md +3 -1
  205. package/docs/en/dictionary/markdown.md +3 -1
  206. package/docs/en/dictionary/nesting.md +3 -1
  207. package/docs/en/dictionary/translation.md +3 -1
  208. package/docs/en/how_works_intlayer.md +3 -1
  209. package/docs/en/index.md +3 -1
  210. package/docs/en/interest_of_intlayer.md +3 -1
  211. package/docs/en/intlayer_CMS.md +4 -1
  212. package/docs/en/intlayer_cli.md +246 -136
  213. package/docs/en/intlayer_visual_editor.md +4 -1
  214. package/docs/en/intlayer_with_angular.md +4 -1
  215. package/docs/en/intlayer_with_create_react_app.md +4 -1
  216. package/docs/en/intlayer_with_express.md +3 -1
  217. package/docs/en/intlayer_with_lynx+react.md +4 -1
  218. package/docs/en/intlayer_with_nextjs_14.md +7 -1
  219. package/docs/en/intlayer_with_nextjs_15.md +8 -2
  220. package/docs/en/intlayer_with_nextjs_page_router.md +5 -1
  221. package/docs/en/intlayer_with_nuxt.md +4 -1
  222. package/docs/en/intlayer_with_react_native+expo.md +4 -1
  223. package/docs/en/intlayer_with_vite+preact.md +9 -4
  224. package/docs/en/intlayer_with_vite+react.md +18 -10
  225. package/docs/en/intlayer_with_vite+solid.md +7 -4
  226. package/docs/en/intlayer_with_vite+svelte.md +7 -4
  227. package/docs/en/intlayer_with_vite+vue.md +10 -5
  228. package/docs/en/introduction.md +3 -1
  229. package/docs/en/mcp_server.md +114 -80
  230. package/docs/en/packages/@intlayer/api/index.md +3 -1
  231. package/docs/en/packages/@intlayer/chokidar/index.md +3 -1
  232. package/docs/en/packages/@intlayer/cli/index.md +3 -1
  233. package/docs/en/packages/@intlayer/config/index.md +3 -1
  234. package/docs/en/packages/@intlayer/core/index.md +3 -1
  235. package/docs/en/packages/@intlayer/design-system/index.md +3 -1
  236. package/docs/en/packages/@intlayer/dictionary-entry/index.md +3 -1
  237. package/docs/en/packages/@intlayer/editor/index.md +3 -1
  238. package/docs/en/packages/@intlayer/editor-react/index.md +3 -1
  239. package/docs/en/packages/@intlayer/webpack/index.md +3 -1
  240. package/docs/en/packages/angular-intlayer/index.md +3 -1
  241. package/docs/en/packages/express-intlayer/index.md +3 -1
  242. package/docs/en/packages/express-intlayer/t.md +3 -1
  243. package/docs/en/packages/intlayer/getConfiguration.md +3 -1
  244. package/docs/en/packages/intlayer/getEnumeration.md +3 -1
  245. package/docs/en/packages/intlayer/getHTMLTextDir.md +3 -1
  246. package/docs/en/packages/intlayer/getLocaleLang.md +3 -1
  247. package/docs/en/packages/intlayer/getLocaleName.md +3 -1
  248. package/docs/en/packages/intlayer/getLocalizedUrl.md +3 -1
  249. package/docs/en/packages/intlayer/getMultilingualUrls.md +3 -1
  250. package/docs/en/packages/intlayer/getPathWithoutLocale.md +3 -1
  251. package/docs/en/packages/intlayer/getTranslation.md +3 -1
  252. package/docs/en/packages/intlayer/getTranslationContent.md +3 -1
  253. package/docs/en/packages/intlayer/index.md +3 -1
  254. package/docs/en/packages/intlayer-cli/index.md +3 -1
  255. package/docs/en/packages/intlayer-editor/index.md +3 -1
  256. package/docs/en/packages/lynx-intlayer/index.md +3 -1
  257. package/docs/en/packages/next-intlayer/index.md +3 -1
  258. package/docs/en/packages/next-intlayer/t.md +3 -1
  259. package/docs/en/packages/next-intlayer/useDictionary.md +3 -1
  260. package/docs/en/packages/next-intlayer/useIntlayer.md +3 -1
  261. package/docs/en/packages/next-intlayer/useIntlayerAsync.md +3 -1
  262. package/docs/en/packages/next-intlayer/useLocale.md +3 -1
  263. package/docs/en/packages/nuxt-intlayer/index.md +3 -1
  264. package/docs/en/packages/preact-intlayer/index.md +3 -1
  265. package/docs/en/packages/react-intlayer/index.md +3 -1
  266. package/docs/en/packages/react-intlayer/t.md +3 -1
  267. package/docs/en/packages/react-intlayer/useDictionary.md +3 -1
  268. package/docs/en/packages/react-intlayer/useIntlayer.md +3 -1
  269. package/docs/en/packages/react-intlayer/useIntlayerAsync.md +3 -1
  270. package/docs/en/packages/react-intlayer/useLocale.md +3 -1
  271. package/docs/en/packages/react-native-intlayer/index.md +3 -1
  272. package/docs/en/packages/react-scripts-intlayer/index.md +3 -1
  273. package/docs/en/packages/solid-intlayer/index.md +3 -1
  274. package/docs/en/packages/svelte-intlayer/index.md +3 -1
  275. package/docs/en/packages/vite-intlayer/index.md +3 -1
  276. package/docs/en/packages/vue-intlayer/index.md +3 -1
  277. package/docs/en/per_locale_file.md +3 -1
  278. package/docs/en/roadmap.md +5 -2
  279. package/docs/en/vs_code_extension.md +3 -1
  280. package/docs/en-GB/intlayer_CMS.md +1 -0
  281. package/docs/en-GB/intlayer_cli.md +257 -138
  282. package/docs/en-GB/intlayer_visual_editor.md +1 -0
  283. package/docs/en-GB/intlayer_with_angular.md +1 -0
  284. package/docs/en-GB/intlayer_with_create_react_app.md +1 -0
  285. package/docs/en-GB/intlayer_with_lynx+react.md +1 -0
  286. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -0
  287. package/docs/en-GB/intlayer_with_nextjs_15.md +3 -1
  288. package/docs/en-GB/intlayer_with_nuxt.md +1 -0
  289. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -0
  290. package/docs/en-GB/intlayer_with_vite+preact.md +4 -3
  291. package/docs/en-GB/intlayer_with_vite+react.md +71 -87
  292. package/docs/en-GB/intlayer_with_vite+solid.md +4 -3
  293. package/docs/en-GB/intlayer_with_vite+svelte.md +4 -3
  294. package/docs/en-GB/intlayer_with_vite+vue.md +5 -4
  295. package/docs/en-GB/mcp_server.md +116 -82
  296. package/docs/es/intlayer_CMS.md +1 -0
  297. package/docs/es/intlayer_cli.md +283 -164
  298. package/docs/es/intlayer_visual_editor.md +1 -0
  299. package/docs/es/intlayer_with_angular.md +1 -0
  300. package/docs/es/intlayer_with_create_react_app.md +1 -0
  301. package/docs/es/intlayer_with_lynx+react.md +1 -0
  302. package/docs/es/intlayer_with_nextjs_14.md +1 -0
  303. package/docs/es/intlayer_with_nextjs_15.md +3 -1
  304. package/docs/es/intlayer_with_nuxt.md +1 -0
  305. package/docs/es/intlayer_with_react_native+expo.md +1 -0
  306. package/docs/es/intlayer_with_vite+preact.md +4 -3
  307. package/docs/es/intlayer_with_vite+react.md +98 -98
  308. package/docs/es/intlayer_with_vite+solid.md +4 -3
  309. package/docs/es/intlayer_with_vite+svelte.md +4 -3
  310. package/docs/es/intlayer_with_vite+vue.md +5 -4
  311. package/docs/es/mcp_server.md +120 -86
  312. package/docs/es/vs_code_extension.md +1 -0
  313. package/docs/fr/intlayer_CMS.md +1 -0
  314. package/docs/fr/intlayer_cli.md +280 -184
  315. package/docs/fr/intlayer_visual_editor.md +1 -0
  316. package/docs/fr/intlayer_with_angular.md +1 -0
  317. package/docs/fr/intlayer_with_create_react_app.md +1 -0
  318. package/docs/fr/intlayer_with_lynx+react.md +1 -0
  319. package/docs/fr/intlayer_with_nextjs_14.md +1 -0
  320. package/docs/fr/intlayer_with_nextjs_15.md +3 -1
  321. package/docs/fr/intlayer_with_nuxt.md +1 -0
  322. package/docs/fr/intlayer_with_react_native+expo.md +1 -0
  323. package/docs/fr/intlayer_with_vite+preact.md +5 -4
  324. package/docs/fr/intlayer_with_vite+react.md +80 -69
  325. package/docs/fr/intlayer_with_vite+solid.md +4 -3
  326. package/docs/fr/intlayer_with_vite+svelte.md +4 -3
  327. package/docs/fr/intlayer_with_vite+vue.md +5 -4
  328. package/docs/fr/mcp_server.md +121 -87
  329. package/docs/hi/intlayer_CMS.md +1 -0
  330. package/docs/hi/intlayer_cli.md +295 -174
  331. package/docs/hi/intlayer_visual_editor.md +1 -0
  332. package/docs/hi/intlayer_with_angular.md +1 -0
  333. package/docs/hi/intlayer_with_create_react_app.md +1 -0
  334. package/docs/hi/intlayer_with_lynx+react.md +1 -0
  335. package/docs/hi/intlayer_with_nextjs_14.md +1 -0
  336. package/docs/hi/intlayer_with_nextjs_15.md +3 -1
  337. package/docs/hi/intlayer_with_nuxt.md +1 -0
  338. package/docs/hi/intlayer_with_react_native+expo.md +1 -0
  339. package/docs/hi/intlayer_with_vite+preact.md +4 -3
  340. package/docs/hi/intlayer_with_vite+react.md +114 -111
  341. package/docs/hi/intlayer_with_vite+solid.md +4 -3
  342. package/docs/hi/intlayer_with_vite+svelte.md +4 -3
  343. package/docs/hi/intlayer_with_vite+vue.md +5 -4
  344. package/docs/hi/mcp_server.md +118 -84
  345. package/docs/it/intlayer_CMS.md +1 -0
  346. package/docs/it/intlayer_cli.md +282 -167
  347. package/docs/it/intlayer_visual_editor.md +1 -0
  348. package/docs/it/intlayer_with_angular.md +1 -0
  349. package/docs/it/intlayer_with_create_react_app.md +1 -0
  350. package/docs/it/intlayer_with_lynx+react.md +1 -0
  351. package/docs/it/intlayer_with_nextjs_14.md +1 -0
  352. package/docs/it/intlayer_with_nextjs_15.md +3 -1
  353. package/docs/it/intlayer_with_nuxt.md +1 -0
  354. package/docs/it/intlayer_with_react_native+expo.md +1 -0
  355. package/docs/it/intlayer_with_vite+preact.md +4 -3
  356. package/docs/it/intlayer_with_vite+react.md +163 -116
  357. package/docs/it/intlayer_with_vite+solid.md +4 -3
  358. package/docs/it/intlayer_with_vite+svelte.md +4 -3
  359. package/docs/it/intlayer_with_vite+vue.md +4 -4
  360. package/docs/it/mcp_server.md +120 -86
  361. package/docs/ja/intlayer_CMS.md +1 -0
  362. package/docs/ja/intlayer_cli.md +285 -168
  363. package/docs/ja/intlayer_visual_editor.md +1 -0
  364. package/docs/ja/intlayer_with_angular.md +1 -0
  365. package/docs/ja/intlayer_with_create_react_app.md +1 -0
  366. package/docs/ja/intlayer_with_lynx+react.md +1 -0
  367. package/docs/ja/intlayer_with_nextjs_14.md +1 -0
  368. package/docs/ja/intlayer_with_nextjs_15.md +3 -1
  369. package/docs/ja/intlayer_with_nuxt.md +1 -0
  370. package/docs/ja/intlayer_with_react_native+expo.md +1 -0
  371. package/docs/ja/intlayer_with_vite+preact.md +4 -3
  372. package/docs/ja/intlayer_with_vite+react.md +160 -222
  373. package/docs/ja/intlayer_with_vite+solid.md +4 -3
  374. package/docs/ja/intlayer_with_vite+svelte.md +4 -3
  375. package/docs/ja/intlayer_with_vite+vue.md +5 -4
  376. package/docs/ja/mcp_server.md +121 -85
  377. package/docs/ko/intlayer_CMS.md +1 -0
  378. package/docs/ko/intlayer_cli.md +291 -175
  379. package/docs/ko/intlayer_visual_editor.md +1 -0
  380. package/docs/ko/intlayer_with_angular.md +1 -0
  381. package/docs/ko/intlayer_with_create_react_app.md +1 -0
  382. package/docs/ko/intlayer_with_lynx+react.md +1 -0
  383. package/docs/ko/intlayer_with_nextjs_14.md +1 -0
  384. package/docs/ko/intlayer_with_nextjs_15.md +3 -1
  385. package/docs/ko/intlayer_with_nuxt.md +1 -0
  386. package/docs/ko/intlayer_with_react_native+expo.md +1 -0
  387. package/docs/ko/intlayer_with_vite+preact.md +4 -3
  388. package/docs/ko/intlayer_with_vite+react.md +123 -152
  389. package/docs/ko/intlayer_with_vite+solid.md +4 -3
  390. package/docs/ko/intlayer_with_vite+svelte.md +4 -3
  391. package/docs/ko/intlayer_with_vite+vue.md +5 -4
  392. package/docs/ko/mcp_server.md +117 -83
  393. package/docs/ko/packages/intlayer/getLocalizedUrl.md +1 -23
  394. package/docs/pt/intlayer_CMS.md +1 -0
  395. package/docs/pt/intlayer_cli.md +274 -154
  396. package/docs/pt/intlayer_visual_editor.md +1 -0
  397. package/docs/pt/intlayer_with_angular.md +1 -0
  398. package/docs/pt/intlayer_with_create_react_app.md +1 -0
  399. package/docs/pt/intlayer_with_lynx+react.md +1 -0
  400. package/docs/pt/intlayer_with_nextjs_14.md +1 -0
  401. package/docs/pt/intlayer_with_nextjs_15.md +3 -1
  402. package/docs/pt/intlayer_with_nuxt.md +1 -0
  403. package/docs/pt/intlayer_with_react_native+expo.md +1 -0
  404. package/docs/pt/intlayer_with_vite+preact.md +4 -3
  405. package/docs/pt/intlayer_with_vite+react.md +117 -136
  406. package/docs/pt/intlayer_with_vite+solid.md +4 -3
  407. package/docs/pt/intlayer_with_vite+svelte.md +4 -3
  408. package/docs/pt/intlayer_with_vite+vue.md +4 -4
  409. package/docs/pt/mcp_server.md +121 -87
  410. package/docs/ru/intlayer_CMS.md +1 -0
  411. package/docs/ru/intlayer_cli.md +287 -170
  412. package/docs/ru/intlayer_visual_editor.md +1 -0
  413. package/docs/ru/intlayer_with_angular.md +1 -0
  414. package/docs/ru/intlayer_with_create_react_app.md +1 -0
  415. package/docs/ru/intlayer_with_lynx+react.md +1 -0
  416. package/docs/ru/intlayer_with_nextjs_14.md +1 -0
  417. package/docs/ru/intlayer_with_nextjs_15.md +3 -1
  418. package/docs/ru/intlayer_with_nuxt.md +1 -0
  419. package/docs/ru/intlayer_with_react_native+expo.md +1 -0
  420. package/docs/ru/intlayer_with_vite+preact.md +4 -3
  421. package/docs/ru/intlayer_with_vite+react.md +105 -87
  422. package/docs/ru/intlayer_with_vite+solid.md +4 -3
  423. package/docs/ru/intlayer_with_vite+svelte.md +4 -3
  424. package/docs/ru/intlayer_with_vite+vue.md +5 -4
  425. package/docs/ru/mcp_server.md +119 -85
  426. package/docs/zh/intlayer_CMS.md +1 -0
  427. package/docs/zh/intlayer_cli.md +275 -155
  428. package/docs/zh/intlayer_visual_editor.md +1 -0
  429. package/docs/zh/intlayer_with_angular.md +1 -0
  430. package/docs/zh/intlayer_with_create_react_app.md +1 -0
  431. package/docs/zh/intlayer_with_lynx+react.md +1 -0
  432. package/docs/zh/intlayer_with_nextjs_14.md +1 -0
  433. package/docs/zh/intlayer_with_nextjs_15.md +3 -1
  434. package/docs/zh/intlayer_with_nuxt.md +1 -0
  435. package/docs/zh/intlayer_with_react_native+expo.md +1 -0
  436. package/docs/zh/intlayer_with_vite+preact.md +4 -3
  437. package/docs/zh/intlayer_with_vite+react.md +154 -188
  438. package/docs/zh/intlayer_with_vite+solid.md +4 -3
  439. package/docs/zh/intlayer_with_vite+svelte.md +4 -3
  440. package/docs/zh/intlayer_with_vite+vue.md +5 -4
  441. package/docs/zh/mcp_server.md +119 -86
  442. package/docs/zh/packages/intlayer/getLocalizedUrl.md +1 -23
  443. package/frequent_questions/ar/build_error_CI_CD.md +75 -0
  444. package/frequent_questions/de/build_error_CI_CD.md +75 -0
  445. package/frequent_questions/en/build_error_CI_CD.md +75 -0
  446. package/frequent_questions/en-GB/build_error_CI_CD.md +75 -0
  447. package/frequent_questions/es/build_error_CI_CD.md +75 -0
  448. package/frequent_questions/fr/build_error_CI_CD.md +75 -0
  449. package/frequent_questions/hi/build_error_CI_CD.md +75 -0
  450. package/frequent_questions/it/build_error_CI_CD.md +75 -0
  451. package/frequent_questions/ja/build_error_CI_CD.md +75 -0
  452. package/frequent_questions/ja/intlayer_command_undefined.md +3 -3
  453. package/frequent_questions/ko/build_error_CI_CD.md +75 -0
  454. package/frequent_questions/ko/intlayer_command_undefined.md +3 -3
  455. package/frequent_questions/pt/build_error_CI_CD.md +75 -0
  456. package/frequent_questions/ru/build_error_CI_CD.md +75 -0
  457. package/frequent_questions/zh/build_error_CI_CD.md +75 -0
  458. package/frequent_questions/zh/intlayer_command_undefined.md +3 -3
  459. package/legal/ar/privacy_notice.md +83 -0
  460. package/legal/ar/terms_of_service.md +55 -0
  461. package/legal/de/privacy_notice.md +83 -0
  462. package/legal/de/terms_of_service.md +55 -0
  463. package/legal/en/privacy_notice.md +83 -0
  464. package/legal/en/terms_of_service.md +55 -0
  465. package/legal/en-GB/privacy_notice.md +83 -0
  466. package/legal/en-GB/terms_of_service.md +55 -0
  467. package/legal/es/privacy_notice.md +83 -0
  468. package/legal/es/terms_of_service.md +55 -0
  469. package/legal/fr/privacy_notice.md +83 -0
  470. package/legal/fr/terms_of_service.md +55 -0
  471. package/legal/hi/privacy_notice.md +83 -0
  472. package/legal/hi/terms_of_service.md +55 -0
  473. package/legal/it/privacy_notice.md +83 -0
  474. package/legal/it/terms_of_service.md +55 -0
  475. package/legal/ja/privacy_notice.md +83 -0
  476. package/legal/ja/terms_of_service.md +55 -0
  477. package/legal/ko/privacy_notice.md +83 -0
  478. package/legal/ko/terms_of_service.md +55 -0
  479. package/legal/pt/privacy_notice.md +83 -0
  480. package/legal/pt/terms_of_service.md +55 -0
  481. package/legal/ru/privacy_notice.md +83 -0
  482. package/legal/ru/terms_of_service.md +55 -0
  483. package/legal/zh/privacy_notice.md +83 -0
  484. package/legal/zh/terms_of_service.md +55 -0
  485. package/package.json +12 -11
  486. package/src/blog.ts +6 -4
  487. package/src/common.ts +25 -7
  488. package/src/doc.ts +6 -4
  489. package/src/frequentQuestions.ts +6 -4
  490. package/src/generated/blog.entry.ts +1177 -280
  491. package/src/generated/docs.entry.ts +3868 -1217
  492. package/src/generated/frequentQuestions.entry.ts +808 -178
  493. package/src/generated/legal.entry.ts +34 -36
  494. package/src/legal.ts +6 -4
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2024-08-11
3
- updatedAt: 2025-06-29
3
+ updatedAt: 2025-07-11
4
4
  title: CLI
5
5
  description: Discover how to use the Intlayer CLI to manage your multilingual website. Follow the steps in this online documentation to set up your project in a few minutes.
6
6
  keywords:
@@ -59,48 +59,6 @@ Intlayer accepts multiple configuration file formats:
59
59
 
60
60
  To see how to configure available locales, or other parameters, refer to the [configuration documentation here](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md).
61
61
 
62
- ## CLI SDK
63
-
64
- The CLI SDK is a library that allows you to use the Intlayer CLI in your own code.
65
-
66
- ```bash packageManager="npm"
67
- npm install @intlayer/cli -D
68
- ```
69
-
70
- ```bash packageManager="yarn"
71
- yarn add @intlayer/cli -D
72
- ```
73
-
74
- ```bash packageManager="pnpm"
75
- pnpm add @intlayer/cli -D
76
- ```
77
-
78
- Example of usage:
79
-
80
- ```ts
81
- import {
82
- push,
83
- pull,
84
- fill,
85
- build,
86
- docTranslate,
87
- docReview,
88
- } from "@intlayer/cli";
89
-
90
- push();
91
- // ...
92
- pull();
93
- // ...
94
- fill();
95
- // ...
96
- build();
97
- // ...
98
- docTranslate();
99
- // ...
100
- docReview();
101
- // ...
102
- ```
103
-
104
62
  ## Run intlayer commands
105
63
 
106
64
  ### Build dictionaries
@@ -141,22 +99,57 @@ If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/
141
99
 
142
100
  ##### Arguments:
143
101
 
144
- - `-d`, `--dictionaries`: ids of the dictionaries to pull. If not specified, all dictionaries will be pushed.
102
+ **Dictionary options:**
103
+
104
+ - **`-d`, `--dictionaries`**: ids of the dictionaries to pull. If not specified, all dictionaries will be pushed.
105
+
145
106
  > Example: `npx intlayer dictionary push -d my-dictionary-id my-other-dictionary-id`
146
- - `-r`, `--deleteLocaleDictionary`: Skip the question that asking to delete the locales directories once the dictionaries are pushed, and remove them. By default, is the dictionary is defined locally, it will overwrite distant dictionaries content.
107
+
108
+ **Configuration options:**
109
+
110
+ - **`--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.
111
+
112
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
113
+
114
+ **Environment variables options:**
115
+
116
+ - **`--env`**: Specify the environment (e.g., `development`, `production`). Useful in the case you use environment variables in your intlayer configuration file.
117
+ - **`--env-file`**: Provide a custom environment file to load variables from. Useful in the case you use environment variables in your intlayer configuration file.
118
+
119
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
120
+
121
+ > Example: `npx intlayer dictionary push --env production`
122
+
123
+ **Output options:**
124
+
125
+ - **`-r`, `--delete-locale-dictionary`**: Skip the question that asking to delete the locales directories once the dictionaries are pushed, and remove them. By default, if the dictionary is defined locally, it will overwrite distant dictionaries content.
126
+
147
127
  > Example: `npx intlayer dictionary push -r`
148
- - `-k`, `--keepLocaleDictionary`: Skip the question that asking to delete the locales directories once the dictionaries are pushed, and keep them. By default, is the dictionary is defined locally, it will overwrite distant dictionaries content.
128
+
129
+ > Example: `npx intlayer dictionary push --delete-locale-dictionary`
130
+
131
+ - **`-k`, `--keep-locale-dictionary`**: Skip the question that asking to delete the locales directories once the dictionaries are pushed, and keep them. By default, is the dictionary is defined locally, it will overwrite distant dictionaries content.
132
+
149
133
  > Example: `npx intlayer dictionary push -k`
150
- - `--env`: Specify the environment (e.g., `development`, `production`).
151
- - `--env-file`: Provide a custom environment file to load variables from.
152
- - `--base-dir`: Specify the base directory for the project.
153
- - `--verbose`: Enable verbose logging for debugging.
154
- - `--git-diff`: Only run on dictionaries that includes changes from base (default `origin/main`) to current branch (default: `HEAD`).
155
- - `--git-diff-base`: Specify the base reference for git diff (default `origin/main`).
156
- - `--git-diff-current`: Specify the current reference for git diff (default: `HEAD`).
157
- - `--uncommitted`: Include uncommitted changes.
158
- - `--unpushed`: Include unpushed changes.
159
- - `--untracked`: Include untracked files.
134
+
135
+ > Example: `npx intlayer dictionary push --keep-locale-dictionary`
136
+
137
+ **Log options:**
138
+
139
+ - **`--verbose`**: Enable verbose logging for debugging.
140
+
141
+ **Git options:**
142
+
143
+ - **`--git-diff`**: Only run on dictionaries that includes changes from base (default `origin/main`) to current branch (default: `HEAD`).
144
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
145
+ - **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
146
+ - **`--uncommitted`**: Include uncommitted changes.
147
+ - **`--unpushed`**: Include unpushed changes.
148
+ - **`--untracked`**: Include untracked files.
149
+
150
+ > Example: `npx intlayer dictionary push --git-diff --git-diff-base origin/main --git-diff-current HEAD`
151
+
152
+ > Example: `npx intlayer dictionary push --uncommitted --unpushed --untracked`
160
153
 
161
154
  ### Pull distant dictionaries
162
155
 
@@ -174,13 +167,35 @@ If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/
174
167
 
175
168
  ##### Arguments:
176
169
 
177
- - `-d, --dictionaries`: Ids of the dictionaries to pull. If not specified, all dictionaries will be pulled.
170
+ **Dictionary options:**
171
+
172
+ - **`-d, --dictionaries`**: Ids of the dictionaries to pull. If not specified, all dictionaries will be pulled.
173
+
178
174
  > Example: `npx intlayer dictionary pull -d my-dictionary-id my-other-dictionary-id`
179
- - `--newDictionariesPath` : Path to the directory where the new dictionaries will be saved. If not specified, the news dictionaries will be saved in the `./intlayer-dictionaries` directory of the project. If a `filePath` fields is specified in your dictionary content, the dictionaries will not consider this argument and will be saved in the specified `filePath` directory.
180
- - `--env`: Specify the environment (e.g., `development`, `production`).
181
- - `--env-file`: Provide a custom environment file to load variables from.
182
- - `--base-dir`: Specify the base directory for the project.
183
- - `--verbose`: Enable verbose logging for debugging.
175
+
176
+ **Configuration options:**
177
+
178
+ - **`--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.
179
+
180
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
181
+
182
+ **Environment variables options:**
183
+
184
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
185
+ - **`--env-file`**: Provide a custom environment file to load variables from.
186
+ - **`--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.
187
+
188
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
189
+
190
+ > Example: `npx intlayer dictionary push --env production`
191
+
192
+ **Output options:**
193
+
194
+ - \*\*`--new-dictionaries-path` : Path to the directory where the new dictionaries will be saved. If not specified, the news dictionaries will be saved in the `./intlayer-dictionaries` directory of the project. If a `filePath` fields is specified in your dictionary content, the dictionaries will not consider this argument and will be saved in the specified `filePath` directory.
195
+
196
+ **Log options:**
197
+
198
+ - **`--verbose`**: Enable verbose logging for debugging.
184
199
 
185
200
  ##### Example:
186
201
 
@@ -204,77 +219,74 @@ This command analyzes your content declaration files for potential issues such a
204
219
 
205
220
  ##### Arguments:
206
221
 
207
- - `-f, --file [files...]`
208
- A list of specific content declaration files to audit. If not provided, all discovered `*.content.{ts,js,mjs,cjs,tsx,jsx,json}` files will be audited.
222
+ **Files list options:**
223
+
224
+ - **`-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.
209
225
 
210
- - `--exclude [excludedGlobs...]`
211
- Globs pattern to exclude from the audit (e.g. `--exclude "src/test/**"`).
226
+ > Example: `npx intlayer dictionary fill -f src/home/app.content.ts`
212
227
 
213
- - `--source-locale [sourceLocale]`
214
- The source locale to translate from. If not specified, the default locale from your configuration will be used.
228
+ - **`-k, --keys [keys...]`**: Filter dictionaries based on keys. If not provided, all dictionaries will be audited.
215
229
 
216
- - `--output-locales [outputLocales...]`
217
- Target locales to translate to. If not specified, all locales from your configuration will be used except the source locale.
230
+ > Example: `npx intlayer dictionary fill -k key1 key2`
218
231
 
219
- - `--mode [mode]`
220
- Translation mode: 'complete', 'review', or 'missing-only'. Default is 'missing-only'.
232
+ - **`--excluded-keys [excludedKeys...]`**: Filter out dictionaries based on keys. If not provided, all dictionaries will be audited.
221
233
 
222
- - `--git-diff`
223
- Filters dictionaries that includes changes from base (default `origin/main`) to current branch (default: `HEAD`).
234
+ > Example: `npx intlayer dictionary fill --excluded-keys key1 key2`
224
235
 
225
- - `--git-diff-base`
226
- Specify the base reference for git diff (default `origin/main`).
236
+ - **`--path-filter [pathFilters...]`**: Filter dictionaries based on glob pattern for file paths.
227
237
 
228
- - `--git-diff-current`
229
- Specify the current reference for git diff (default: `HEAD`).
238
+ > Example: `npx intlayer dictionary fill --path-filter "src/home/**"`
230
239
 
231
- - `--uncommitted`
232
- Filters dictionaries that includes uncommitted changes.
240
+ **Entry output options:**
233
241
 
234
- - `--unpushed`
235
- Filters dictionaries that includes unpushed changes.
242
+ - **`--source-locale [sourceLocale]`**: The source locale to translate from. If not specified, the default locale from your configuration will be used.
236
243
 
237
- - `--untracked`
238
- Filters dictionaries that includes untracked files.
244
+ - **`--output-locales [outputLocales...]`**: Target locales to translate to. If not specified, all locales from your configuration will be used except the source locale.
239
245
 
240
- - `--keys [keys...]`
241
- Filter dictionaries based on specified keys.
246
+ - **`--mode [mode]`**: Translation mode: 'complete', 'review', or 'missing-only'. Default is 'missing-only'.
242
247
 
243
- - `--excluded-keys [excludedKeys...]`
244
- Filter out dictionaries based on specified keys.
248
+ **Git options:**
245
249
 
246
- - `--path-filter [pathFilters...]`
247
- Filter dictionaries based on glob pattern for file paths.
250
+ - **`--git-diff`**: Only run on dictionaries that includes changes from base (default `origin/main`) to current branch (default: `HEAD`).
251
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
252
+ - **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
253
+ - **`--uncommitted`**: Include uncommitted changes.
254
+ - **`--unpushed`**: Include unpushed changes.
255
+ - **`--untracked`**: Include untracked files.
256
+
257
+ > Example: `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
258
+
259
+ > Example: `npx intlayer doc translate --uncommitted --unpushed --untracked`
260
+
261
+ **AI options:**
262
+
263
+ - **`--model [model]`**: The AI model to use for the translation (e.g., `gpt-3.5-turbo`).
264
+ - **`--provider [provider]`**: The AI provider to use for the translation.
265
+ - **`--temperature [temperature]`**: Temperature setting for the AI model.
266
+ - **`--api-key [apiKey]`**: Provide your own API key for the AI service.
267
+ - **`--custom-prompt [prompt]`**: Provide a custom prompt for your translation instructions.
268
+ - **`--application-context [applicationContext]`**: Provide additional context for the AI translation.
248
269
 
249
- - `--model [model]`
250
- The AI model to use for the translation (e.g., `gpt-3.5-turbo`).
270
+ > 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"`
251
271
 
252
- - `--provider [provider]`
253
- The AI provider to use for the translation.
272
+ **Environment variables options:**
254
273
 
255
- - `--temperature [temperature]`
256
- Temperature setting for the AI model.
274
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
275
+ - **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
257
276
 
258
- - `--api-key [apiKey]`
259
- Provide your own API key for the AI service.
277
+ > Example: `npx intlayer fill --env-file .env.production.local`
260
278
 
261
- - `--custom-prompt [prompt]`
262
- Provide a custom prompt for your translation instructions.
279
+ > Example: `npx intlayer fill --env production`
263
280
 
264
- - `--application-context [applicationContext]`
265
- Provide additional context for the AI translation.
281
+ **Configuration options:**
266
282
 
267
- - `--env`
268
- Specify the environment (e.g., `development`, `production`).
283
+ - **`--base-dir`**: Specify the base directory for the project.
269
284
 
270
- - `--env-file [envFile]`
271
- Provide a custom environment file to load variables from.
285
+ > Example: `npx intlayer fill --base-dir ./src`
272
286
 
273
- - `--base-dir`
274
- Specify the base directory for the project.
287
+ **Log options:**
275
288
 
276
- - `--verbose`
277
- Enable verbose logging for debugging.
289
+ - **`--verbose`**: Enable verbose logging for debugging.
278
290
 
279
291
  ##### Example:
280
292
 
@@ -342,45 +354,97 @@ npx intlayer doc translate
342
354
 
343
355
  ##### Arguments:
344
356
 
357
+ **File list options:**
358
+
345
359
  - **`--doc-pattern [docPattern...]`**: Glob patterns to match documentation files to translate.
360
+
346
361
  > Example: `npx intlayer doc translate --doc-pattern "docs/**/*.md" "src/**/*.mdx"`
362
+
347
363
  - **`--excluded-glob-pattern [excludedGlobPattern...]`**: Glob patterns to exclude from translation.
364
+
348
365
  > Example: `npx intlayer doc translate --excluded-glob-pattern "docs/internal/**"`
349
- - **`--nb-simultaneous-file-processed [nbSimultaneousFileProcessed]`**: Number of files to process simultaneously for translation.
350
- > Example: `npx intlayer doc translate --nb-simultaneous-file-processed 5`
366
+
367
+ - **`--skip-if-modified-before [skipIfModifiedBefore]`**: Skip the file if it has been modified before the given time.
368
+
369
+ - Can be an absolute time as "2025-12-05" (string or Date)
370
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
371
+ - This option check update time of the file using the `fs.stat` method. So it could be impacted by Git or other tools that modify the file.
372
+
373
+ > Example: `npx intlayer doc translate --skip-if-modified-before "2025-12-05"`
374
+
375
+ - **`--skip-if-modified-after [skipIfModifiedAfter]`**: Skip the file if it has been modified within the given time.
376
+
377
+ - Can be an absolute time as "2025-12-05" (string or Date)
378
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
379
+ - This option check update time of the file using the `fs.stat` method. So it could be impacted by Git or other tools that modify the file.
380
+
381
+ > Example: `npx intlayer doc translate --skip-if-modified-after "2025-12-05"`
382
+
383
+ **Entry output options:**
384
+
351
385
  - **`--locales [locales...]`**: Target locales to translate documentation to.
386
+
352
387
  > Example: `npx intlayer doc translate --locales fr es de`
388
+
353
389
  - **`--base-locale [baseLocale]`**: Source locale to translate from.
390
+
354
391
  > Example: `npx intlayer doc translate --base-locale en`
392
+
393
+ **File processing options:**
394
+
395
+ - **`--nb-simultaneous-file-processed [nbSimultaneousFileProcessed]`**: Number of files to process simultaneously for translation.
396
+
397
+ > Example: `npx intlayer doc translate --nb-simultaneous-file-processed 5`
398
+
399
+ **AI options:**
400
+
355
401
  - **`--model [model]`**: The AI model to use for translation (e.g., `gpt-3.5-turbo`).
356
402
  - **`--provider [provider]`**: The AI provider to use for translation.
357
403
  - **`--temperature [temperature]`**: Temperature setting for the AI model.
358
404
  - **`--api-key [apiKey]`**: Provide your own API key for the AI service.
359
- - **`--custom-prompt [prompt]`**: Provide a custom prompt for translation instructions.
360
405
  - **`--application-context [applicationContext]`**: Provide additional context for the AI translation.
406
+ - **`--custom-prompt [prompt]`**: Customize 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 behavior.)
407
+
408
+ > 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"`
409
+
410
+ **Environment variables options:**
411
+
361
412
  - **`--env`**: Specify the environment (e.g., `development`, `production`).
362
413
  - **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
363
414
  - **`--base-dir`**: Specify the base directory for the project.
415
+
416
+ > Example: `npx intlayer doc translate --base-dir ./docs --env-file .env.production.local`
417
+
418
+ **Log options:**
419
+
364
420
  - **`--verbose`**: Enable verbose logging for debugging.
421
+
422
+ > Example: `npx intlayer doc translate --verbose`
423
+
424
+ **Custom instructions options:**
425
+
365
426
  - **`--custom-instructions [customInstructions]`**: Custom instructions added to the prompt. Usefull to apply specific rules regarding formatting, urls translation, etc.
366
- - **`--skip-if-modified-before [skipIfModifiedBefore]`**: Skip the file if it has been modified before the given time.
367
- - Can be an absolute time as "2025-12-05" (string or Date)
368
- - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
369
- - This option check update time of the file using the `fs.stat` method. So it could be impacted by Git or other tools that modify the file.
370
- - **`--skip-if-modified-after [skipIfModifiedAfter]`**: Skip the file if it has been modified within the given time.
427
+
371
428
  - Can be an absolute time as "2025-12-05" (string or Date)
372
429
  - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
373
430
  - This option check update time of the file using the `fs.stat` method. So it could be impacted by Git or other tools that modify the file.
374
431
 
375
- ##### Example:
432
+ > Example: `npx intlayer doc translate --custom-instructions "Avoid translating urls, and keep the markdown format"`
376
433
 
377
- ```bash
378
- npx intlayer doc translate
379
- --doc-pattern "docs/en/**/*.md"
380
- --base-locale en --locales fr es
381
- --model chatgpt-4o-latest
382
- --custom-instructions "$(cat ./instructions.md)"
383
- ```
434
+ > Example: `npx intlayer doc translate --custom-instructions "$(cat ./instructions.md)"`
435
+
436
+ **Git options:**
437
+
438
+ - **`--git-diff`**: Only run on dictionaries that includes changes from base (default `origin/main`) to current branch (default: `HEAD`).
439
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
440
+ - **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
441
+ - **`--uncommitted`**: Include uncommitted changes.
442
+ - **`--unpushed`**: Include unpushed changes.
443
+ - **`--untracked`**: Include untracked files.
444
+
445
+ > Example: `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
446
+
447
+ > Example: `npx intlayer doc translate --uncommitted --unpushed --untracked`
384
448
 
385
449
  > Note that the output file path will be determined by replacing the following patterns
386
450
  >
@@ -400,19 +464,20 @@ The `doc review` command analyzes documentation files for quality, consistency,
400
464
  npx intlayer doc review
401
465
  ```
402
466
 
467
+ It can be used to review files that are already translated, and to check if the translation is correct.
468
+
469
+ For most use cases,
470
+
471
+ - prefer using the `doc translate` when the translated version of this file is not available.
472
+ - prefer using the `doc review` when the translated version of this file already exists.
473
+
474
+ > Note that the review process consumes more entry tokens than the translate process to review the same file entirely. However, the review process will optimize the chunks to review, and will skip the parts that are not changed.
475
+
403
476
  ##### Arguments:
404
477
 
405
478
  The `doc review` command accepts the same arguments as `doc translate`, allowing you to review specific documentation files and apply quality checks.
406
479
 
407
- ##### Example:
408
-
409
- ```bash
410
- npx intlayer doc review
411
- --doc-pattern "docs/en/**/*.md"
412
- --locales fr es de
413
- --model chatgpt-4o-latest
414
- --custom-instructions "$(cat ./instructions.md)"
415
- ```
480
+ If you activated one of the git options, the command will only review the part of the files that getting changed. The script will process by chunking the file and review each chunk. If there is no changes in the chunk, the script will skip it to speed up the review process and limit the AI Provider API cost.
416
481
 
417
482
  ## Use intlayer commands in your `package.json`
418
483
 
@@ -428,6 +493,48 @@ npx intlayer doc review
428
493
  }
429
494
  ```
430
495
 
496
+ ## CLI SDK
497
+
498
+ The CLI SDK is a library that allows you to use the Intlayer CLI in your own code.
499
+
500
+ ```bash packageManager="npm"
501
+ npm install @intlayer/cli --save-dev
502
+ ```
503
+
504
+ ```bash packageManager="yarn"
505
+ yarn add @intlayer/cli --save-dev
506
+ ```
507
+
508
+ ```bash packageManager="pnpm"
509
+ pnpm add @intlayer/cli --save-dev
510
+ ```
511
+
512
+ Example of usage:
513
+
514
+ ```ts
515
+ import {
516
+ push,
517
+ pull,
518
+ fill,
519
+ build,
520
+ docTranslate,
521
+ docReview,
522
+ } from "@intlayer/cli";
523
+
524
+ push();
525
+ // ...
526
+ pull();
527
+ // ...
528
+ fill();
529
+ // ...
530
+ build();
531
+ // ...
532
+ docTranslate();
533
+ // ...
534
+ docReview();
535
+ // ...
536
+ ```
537
+
431
538
  ## Debug intlayer command
432
539
 
433
540
  ### 1. **Ensure you're using the latest version**
@@ -460,4 +567,7 @@ npx clear-npx-cache
460
567
 
461
568
  ## Doc History
462
569
 
463
- - 5.5.10 - 2025-06-29: Init history
570
+ | Version | Date | Changes |
571
+ | ------- | ---------- | ------------------------------------------- |
572
+ | 5.5.11 | 2025-07-11 | Update CLI command parameters documentation |
573
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -15,6 +15,7 @@ slugs:
15
15
  - doc
16
16
  - concept
17
17
  - editor
18
+ youtubeVideo: https://www.youtube.com/watch?v=UDDTnirwi_4
18
19
  ---
19
20
 
20
21
  # Intlayer Visual Editor Documentation
@@ -264,4 +265,6 @@ If you encounter any issues with the visual editor, check the following:
264
265
 
265
266
  ## Doc History
266
267
 
267
- - 5.5.10 - 2025-06-29: Init history
268
+ | Version | Date | Changes |
269
+ | ------- | ---------- | ------------ |
270
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -13,6 +13,7 @@ slugs:
13
13
  - doc
14
14
  - environment
15
15
  - angular
16
+ # applicationTemplate: https://github.com/aymericzip/intlayer-angular-template
16
17
  ---
17
18
 
18
19
  # Getting Started with Internationalization (i18n) in Angular using Intlayer
@@ -688,4 +689,6 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
688
689
 
689
690
  ## Doc History
690
691
 
691
- - 5.5.10 - 2025-06-29: Init history
692
+ | Version | Date | Changes |
693
+ | ------- | ---------- | ------------ |
694
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -15,6 +15,7 @@ slugs:
15
15
  - doc
16
16
  - environment
17
17
  - create-react-app
18
+ applicationTemplate: https://github.com/aymericzip/intlayer-react-cra-template
18
19
  ---
19
20
 
20
21
  # Getting Started Internationalizing (i18n) with Intlayer and React Create App
@@ -1216,4 +1217,6 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
1216
1217
 
1217
1218
  ## Doc History
1218
1219
 
1219
- - 5.5.10 - 2025-06-29: Init history
1220
+ | Version | Date | Changes |
1221
+ | ------- | ---------- | ------------ |
1222
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -410,4 +410,6 @@ To do this, you can add the following instructions to your `.gitignore` file:
410
410
 
411
411
  ## Doc History
412
412
 
413
- - 5.5.10 - 2025-06-29: Init history
413
+ | Version | Date | Changes |
414
+ | ------- | ---------- | ------------ |
415
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -15,6 +15,7 @@ slugs:
15
15
  - doc
16
16
  - environment
17
17
  - lynx-and-react
18
+ applicationTemplate: https://github.com/aymericzip/intlayer-lynx-template
18
19
  ---
19
20
 
20
21
  # Getting Started Internationalizing (i18n) with Intlayer and Lynx and React
@@ -505,4 +506,6 @@ For more details on how to use the extension, refer to the [Intlayer VS Code Ext
505
506
 
506
507
  ## Doc History
507
508
 
508
- - 5.5.10 - 2025-06-29: Init history
509
+ | Version | Date | Changes |
510
+ | ------- | ---------- | ------------ |
511
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -15,6 +15,7 @@ slugs:
15
15
  - environment
16
16
  - nextjs
17
17
  - 14
18
+ applicationTemplate: https://github.com/aymericzip/intlayer-next-14-template
18
19
  ---
19
20
 
20
21
  # Getting Started internationalizing (i18n) with Intlayer and Next.js 14 with App Router
@@ -140,6 +141,8 @@ export default withIntlayer(nextConfig);
140
141
 
141
142
  > The `withIntlayer()` Next.js plugin is used to integrate Intlayer with Next.js. It ensures the building of content declaration files and monitors them in development mode. It defines Intlayer environment variables within the [Webpack](https://webpack.js.org/) or [Turbopack](https://nextjs.org/docs/app/api-reference/turbopack) environments. Additionally, it provides aliases to optimize performance and ensures compatibility with server components.
142
143
 
144
+ > The `withIntlayer()` Next.js plugin is a promise based function.
145
+
143
146
  ### Step 4: Configure Middleware for Locale Detection
144
147
 
145
148
  Set up middleware to detect the user's preferred locale:
@@ -1454,4 +1457,7 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
1454
1457
 
1455
1458
  ## Doc History
1456
1459
 
1457
- - 5.5.10 - 2025-06-29: Init history
1460
+ | Version | Date | Changes |
1461
+ | ------- | ---------- | --------------------------------------------------------------- |
1462
+ | 5.6.0 | 2025-07-06 | Transform `withIntlayer()` function to a promise based function |
1463
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -14,6 +14,8 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - nextjs
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-next-15-template
18
+ youtubeVideo: https://www.youtube.com/watch?v=e_PPG7PTqGU
17
19
  ---
18
20
 
19
21
  # Getting Started internationalizing (i18n) with Intlayer and Next.js 15 App Router
@@ -130,7 +132,7 @@ module.exports = config;
130
132
 
131
133
  Configure your Next.js setup to use Intlayer:
132
134
 
133
- ```typescript filename="next.config.ts" codeFormat="typescript"
135
+ ```typescript fileName="next.config.ts" codeFormat="typescript"
134
136
  import type { NextConfig } from "next";
135
137
  import { withIntlayer } from "next-intlayer/server";
136
138
 
@@ -164,6 +166,7 @@ module.exports = withIntlayer(nextConfig);
164
166
  ```
165
167
 
166
168
  > The `withIntlayer()` Next.js plugin is used to integrate Intlayer with Next.js. It ensures the building of content declaration files and monitors them in development mode. It defines Intlayer environment variables within the [Webpack](https://webpack.js.org/) or [Turbopack](https://nextjs.org/docs/app/api-reference/turbopack) environments. Additionally, it provides aliases to optimize performance and ensures compatibility with server components.
169
+ > The `withIntlayer()` function is a promise based function.
167
170
 
168
171
  ### Step 4: Define Dynamic Locale Routes
169
172
 
@@ -1499,4 +1502,7 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
1499
1502
 
1500
1503
  ## Doc History
1501
1504
 
1502
- - 5.5.10 - 2025-06-29: Init history
1505
+ | Version | Date | Changes |
1506
+ | ------- | ---------- | --------------------------------------------------------------- |
1507
+ | 5.6.0 | 2025-07-06 | Transform `withIntlayer()` function to a promise based function |
1508
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -139,6 +139,7 @@ export default withIntlayer(nextConfig);
139
139
  ```
140
140
 
141
141
  > The `withIntlayer()` Next.js plugin is used to integrate Intlayer with Next.js. It ensures the building of content declaration files and monitors them in development mode. It defines Intlayer environment variables within the [Webpack](https://webpack.js.org/) or [Turbopack](https://nextjs.org/docs/app/api-reference/turbopack) environments. Additionally, it provides aliases to optimize performance and ensures compatibility with server components.
142
+ > The `withIntlayer()` Next.js plugin is a promise based function.
142
143
 
143
144
  ### Step 4: Configure Middleware for Locale Detection
144
145
 
@@ -1482,4 +1483,7 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
1482
1483
 
1483
1484
  ## Doc History
1484
1485
 
1485
- - 5.5.10 - 2025-06-29: Init history
1486
+ | Version | Date | Changes |
1487
+ | ------- | ---------- | --------------------------------------------------------------- |
1488
+ | 5.6.0 | 2025-07-06 | Transform `withIntlayer()` function to a promise based function |
1489
+ | 5.5.10 | 2025-06-29 | Init history |
@@ -14,6 +14,7 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - nuxt-and-vue
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-nuxt-template
17
18
  ---
18
19
 
19
20
  # Getting Started Internationalizing (i18n) with Intlayer and Nuxt
@@ -767,4 +768,6 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
767
768
 
768
769
  ## Doc History
769
770
 
770
- - 5.5.10 - 2025-06-29: Init history
771
+ | Version | Date | Changes |
772
+ | ------- | ---------- | ------------ |
773
+ | 5.5.10 | 2025-06-29 | Init history |