@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:
@@ -36,15 +36,15 @@ yarn add intlayer-cli -g
36
36
  pnpm add intlayer-cli -g
37
37
  ```
38
38
 
39
- > If the `intlayer` package is already installed, the CLI is installed automatically. You can skip this step.
39
+ > If the `intlayer` package is already installed, the CLI is automatically installed. You can skip this step.
40
40
 
41
41
  ## intlayer-cli package
42
42
 
43
- The `intlayer-cli` package is intended to transpile your [intlayer declarations](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/get_started.md) into dictionaries.
43
+ The `intlayer-cli` package is intended to transpile your [intlayer declarations](https://github.com/aymericzip/intlayer/blob/main/docs/docs/{{locale}}/dictionary/get_started.md) into dictionaries.
44
44
 
45
45
  This package will transpile all intlayer files, such as `src/**/*.content.{ts|js|mjs|cjs|json}`. [See how to declare your Intlayer declaration files](https://github.com/aymericzip/intlayer/blob/main/packages/intlayer/README.md).
46
46
 
47
- To interpret intlayer dictionaries, you can use interpreters such as [react-intlayer](https://www.npmjs.com/package/react-intlayer), or [next-intlayer](https://www.npmjs.com/package/next-intlayer).
47
+ To interpret intlayer dictionaries you can use interpreters, such as [react-intlayer](https://www.npmjs.com/package/react-intlayer), or [next-intlayer](https://www.npmjs.com/package/next-intlayer).
48
48
 
49
49
  ## Configuration File Support
50
50
 
@@ -57,49 +57,7 @@ Intlayer accepts multiple configuration file formats:
57
57
  - `intlayer.config.mjs`
58
58
  - `.intlayerrc`
59
59
 
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-GB/configuration.md).
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
- ```
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/{{locale}}/configuration.md).
103
61
 
104
62
  ## Run intlayer commands
105
63
 
@@ -128,10 +86,11 @@ This command will find your declaration content files by default as `./src/**/*.
128
86
  ### Push dictionaries
129
87
 
130
88
  ```bash
89
+ bash
131
90
  npx intlayer dictionary push
132
91
  ```
133
92
 
134
- If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md) is installed, you can also push dictionaries to the editor. This command will allow you to make the dictionaries available to [the editor](https://intlayer.org/dashboard). In this way, you can share your dictionaries with your team and edit your content without modifying the code of your application.
93
+ If the [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/{{locale}}/intlayer_visual_editor.md) is installed, you can also push dictionaries to the editor. This command will make the dictionaries available to [the editor](https://intlayer.org/dashboard). In this way, you can share your dictionaries with your team and edit your content without modifying the code of your application.
135
94
 
136
95
  ##### Aliases:
137
96
 
@@ -141,22 +100,57 @@ If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/
141
100
 
142
101
  ##### Arguments:
143
102
 
144
- - `-d`, `--dictionaries`: IDs of the dictionaries to push. If not specified, all dictionaries will be pushed.
103
+ **Dictionary options:**
104
+
105
+ - **`-d`, `--dictionaries`**: IDs of the dictionaries to push. If not specified, all dictionaries will be pushed.
106
+
145
107
  > Example: `npx intlayer dictionary push -d my-dictionary-id my-other-dictionary-id`
146
- - `-r`, `--deleteLocaleDictionary`: Skip the prompt 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.
108
+
109
+ **Configuration options:**
110
+
111
+ - **`--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.
112
+
113
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
114
+
115
+ **Environment variables options:**
116
+
117
+ - **`--env`**: Specify the environment (e.g., `development`, `production`). Useful if you use environment variables in your intlayer configuration file.
118
+ - **`--env-file`**: Provide a custom environment file to load variables from. Useful if you use environment variables in your intlayer configuration file.
119
+
120
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
121
+
122
+ > Example: `npx intlayer dictionary push --env production`
123
+
124
+ **Output options:**
125
+
126
+ - **`-r`, `--delete-locale-dictionary`**: Skip the question asking whether to delete the locales directories once the dictionaries are pushed, and remove them. By default, if the dictionary is defined locally, it will overwrite remote dictionaries' content.
127
+
147
128
  > Example: `npx intlayer dictionary push -r`
148
- - `-k`, `--keepLocaleDictionary`: Skip the prompt asking to delete the locales directories once the dictionaries are pushed, and keep them. By default, if the dictionary is defined locally, it will overwrite distant dictionaries content.
129
+
130
+ > Example: `npx intlayer dictionary push --delete-locale-dictionary`
131
+
132
+ - **`-k`, `--keep-locale-dictionary`**: Skip the question asking whether to delete the locales directories once the dictionaries are pushed, and keep them. By default, if the dictionary is defined locally, it will overwrite remote dictionaries' content.
133
+
149
134
  > 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 include 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.
135
+
136
+ > Example: `npx intlayer dictionary push --keep-locale-dictionary`
137
+
138
+ **Log options:**
139
+
140
+ - **`--verbose`**: Enable verbose logging for debugging.
141
+
142
+ **Git options:**
143
+
144
+ - **`--git-diff`**: Only run on dictionaries that include changes from the base (default `origin/main`) to the current branch (default: `HEAD`).
145
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
146
+ - **`--git-diff-current`**: Specify the current reference for git diff (default `HEAD`).
147
+ - **`--uncommitted`**: Include uncommitted changes.
148
+ - **`--unpushed`**: Include unpushed changes.
149
+ - **`--untracked`**: Include untracked files.
150
+
151
+ > Example: `npx intlayer dictionary push --git-diff --git-diff-base origin/main --git-diff-current HEAD`
152
+
153
+ > Example: `npx intlayer dictionary push --uncommitted --unpushed --untracked`
160
154
 
161
155
  ### Pull remote dictionaries
162
156
 
@@ -164,7 +158,7 @@ If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/
164
158
  npx intlayer pull
165
159
  ```
166
160
 
167
- If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md) is installed, you can also pull dictionaries from the editor. In this way, you can overwrite the content of your dictionaries to suit the needs of your application.
161
+ If the [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md) is installed, you can also pull dictionaries from the editor. This way, you can overwrite the content of your dictionaries to suit the needs of your application.
168
162
 
169
163
  ##### Aliases:
170
164
 
@@ -174,13 +168,35 @@ If [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/
174
168
 
175
169
  ##### Arguments:
176
170
 
177
- - `-d, --dictionaries`: IDs of the dictionaries to pull. If not specified, all dictionaries will be pulled.
171
+ **Dictionary options:**
172
+
173
+ - **`-d, --dictionaries`**: IDs of the dictionaries to pull. If not specified, all dictionaries will be pulled.
174
+
178
175
  > 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 new dictionaries will be saved in the `./intlayer-dictionaries` directory of the project. If a `filePath` field 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.
176
+
177
+ **Configuration options:**
178
+
179
+ - **`--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.
180
+
181
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
182
+
183
+ **Environment variables options:**
184
+
185
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
186
+ - **`--env-file`**: Provide a custom environment file to load variables from.
187
+ - **`--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.
188
+
189
+ > Example: `npx intlayer dictionary push --env-file .env.production.local`
190
+
191
+ > Example: `npx intlayer dictionary push --env production`
192
+
193
+ **Output options:**
194
+
195
+ - **`--new-dictionaries-path`**: Path to the directory where the new dictionaries will be saved. If not specified, the new dictionaries will be saved in the `./intlayer-dictionaries` directory of the project. If a `filePath` field is specified in your dictionary content, the dictionaries will not consider this argument and will be saved in the specified `filePath` directory.
196
+
197
+ **Log options:**
198
+
199
+ - **`--verbose`**: Enable verbose logging for debugging.
184
200
 
185
201
  ##### Example:
186
202
 
@@ -204,77 +220,74 @@ This command analyses your content declaration files for potential issues such a
204
220
 
205
221
  ##### Arguments:
206
222
 
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.
223
+ **Files list options:**
224
+
225
+ - **`-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.
226
+
227
+ > Example: `npx intlayer dictionary fill -f src/home/app.content.ts`
209
228
 
210
- - `--exclude [excludedGlobs...]`
211
- Globs pattern to exclude from the audit (e.g. `--exclude "src/test/**"`).
229
+ - **`-k, --keys [keys...]`**: Filter dictionaries based on keys. If not provided, all dictionaries will be audited.
212
230
 
213
- - `--source-locale [sourceLocale]`
214
- The source locale to translate from. If not specified, the default locale from your configuration will be used.
231
+ > Example: `npx intlayer dictionary fill -k key1 key2`
215
232
 
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.
233
+ - **`--excluded-keys [excludedKeys...]`**: Filter out dictionaries based on keys. If not provided, all dictionaries will be audited.
218
234
 
219
- - `--mode [mode]`
220
- Translation mode: 'complete', 'review', or 'missing-only'. Default is 'missing-only'.
235
+ > Example: `npx intlayer dictionary fill --excluded-keys key1 key2`
221
236
 
222
- - `--git-diff`
223
- Filters dictionaries that include changes from base (default `origin/main`) to current branch (default: `HEAD`).
237
+ - **`--path-filter [pathFilters...]`**: Filter dictionaries based on glob pattern for file paths.
224
238
 
225
- - `--git-diff-base`
226
- Specify the base reference for git diff (default `origin/main`).
239
+ > Example: `npx intlayer dictionary fill --path-filter "src/home/**"`
227
240
 
228
- - `--git-diff-current`
229
- Specify the current reference for git diff (default: `HEAD`).
241
+ **Entry output options:**
230
242
 
231
- - `--uncommitted`
232
- Filters dictionaries that include uncommitted changes.
243
+ - **`--source-locale [sourceLocale]`**: The source locale to translate from. If not specified, the default locale from your configuration will be used.
233
244
 
234
- - `--unpushed`
235
- - `--unpushed`
236
- Filters dictionaries that include unpushed changes.
245
+ - **`--output-locales [outputLocales...]`**: Target locales to translate to. If not specified, all locales from your configuration will be used except the source locale.
237
246
 
238
- - `--untracked`
239
- Filters dictionaries that include untracked files.
247
+ - **`--mode [mode]`**: Translation mode: 'complete', 'review', or 'missing-only'. Default is 'missing-only'.
240
248
 
241
- - `--keys [keys...]`
242
- Filter dictionaries based on specified keys.
249
+ **Git options:**
243
250
 
244
- - `--excluded-keys [excludedKeys...]`
245
- Filter out dictionaries based on specified keys.
251
+ - **`--git-diff`**: Only run on dictionaries that include changes from base (default `origin/main`) to current branch (default: `HEAD`).
252
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
253
+ - **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
254
+ - **`--uncommitted`**: Include uncommitted changes.
255
+ - **`--unpushed`**: Include unpushed changes.
256
+ - **`--untracked`**: Include untracked files.
246
257
 
247
- - `--path-filter [pathFilters...]`
248
- Filter dictionaries based on glob pattern for file paths.
258
+ > Example: `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
249
259
 
250
- - `--model [model]`
251
- The AI model to use for the translation (e.g., `gpt-3.5-turbo`).
260
+ > Example: `npx intlayer doc translate --uncommitted --unpushed --untracked`
252
261
 
253
- - `--provider [provider]`
254
- The AI provider to use for the translation.
262
+ **AI options:**
255
263
 
256
- - `--temperature [temperature]`
257
- Temperature setting for the AI model.
264
+ - **`--model [model]`**: The AI model to use for the translation (e.g., `gpt-3.5-turbo`).
265
+ - **`--provider [provider]`**: The AI provider to use for the translation.
266
+ - **`--temperature [temperature]`**: Temperature setting for the AI model.
267
+ - **`--api-key [apiKey]`**: Provide your own API key for the AI service.
268
+ - **`--custom-prompt [prompt]`**: Provide a custom prompt for your translation instructions.
269
+ - **`--application-context [applicationContext]`**: Provide additional context for the AI translation.
258
270
 
259
- - `--api-key [apiKey]`
260
- Provide your own API key for the AI service.
271
+ > 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"`
261
272
 
262
- - `--custom-prompt [prompt]`
263
- Provide a custom prompt for your translation instructions.
264
- - `--application-context [applicationContext]`
265
- Provide additional context for the AI translation.
273
+ **Environment variables options:**
274
+
275
+ - **`--env`**: Specify the environment (e.g., `development`, `production`).
276
+ - **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
266
277
 
267
- - `--env`
268
- Specify the environment (e.g., `development`, `production`).
278
+ > Example: `npx intlayer fill --env-file .env.production.local`
269
279
 
270
- - `--env-file [envFile]`
271
- Provide a custom environment file to load variables from.
280
+ > Example: `npx intlayer fill --env production`
272
281
 
273
- - `--base-dir`
274
- Specify the base directory for the project.
282
+ **Configuration options:**
275
283
 
276
- - `--verbose`
277
- Enable verbose logging for debugging.
284
+ - **`--base-dir`**: Specify the base directory for the project.
285
+
286
+ > Example: `npx intlayer fill --base-dir ./src`
287
+
288
+ **Log options:**
289
+
290
+ - **`--verbose`**: Enable verbose logging for debugging.
278
291
 
279
292
  ##### Example:
280
293
 
@@ -342,37 +355,97 @@ npx intlayer doc translate
342
355
 
343
356
  ##### Arguments:
344
357
 
358
+ **File list options:**
359
+
345
360
  - **`--doc-pattern [docPattern...]`**: Glob patterns to match documentation files to translate.
361
+
346
362
  > Example: `npx intlayer doc translate --doc-pattern "docs/**/*.md" "src/**/*.mdx"`
363
+
347
364
  - **`--excluded-glob-pattern [excludedGlobPattern...]`**: Glob patterns to exclude from translation.
365
+
348
366
  > 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`
367
+
368
+ - **`--skip-if-modified-before [skipIfModifiedBefore]`**: Skip the file if it has been modified before the specified time.
369
+
370
+ - Can be an absolute time such as "2025-12-05" (string or Date)
371
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
372
+ - 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.
373
+
374
+ > Example: `npx intlayer doc translate --skip-if-modified-before "2025-12-05"`
375
+
376
+ - **`--skip-if-modified-after [skipIfModifiedAfter]`**: Skip the file if it has been modified within the specified time.
377
+
378
+ - Can be an absolute time such as "2025-12-05" (string or Date)
379
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
380
+ - 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.
381
+
382
+ > Example: `npx intlayer doc translate --skip-if-modified-after "2025-12-05"`
383
+
384
+ **Entry output options:**
385
+
351
386
  - **`--locales [locales...]`**: Target locales to translate documentation into.
387
+
352
388
  > Example: `npx intlayer doc translate --locales fr es de`
389
+
353
390
  - **`--base-locale [baseLocale]`**: Source locale to translate from.
391
+
354
392
  > Example: `npx intlayer doc translate --base-locale en`
393
+
394
+ **File processing options:**
395
+
396
+ - **`--nb-simultaneous-file-processed [nbSimultaneousFileProcessed]`**: Number of files to process simultaneously for translation.
397
+
398
+ > Example: `npx intlayer doc translate --nb-simultaneous-file-processed 5`
399
+
400
+ **AI options:**
401
+
355
402
  - **`--model [model]`**: The AI model to use for translation (e.g., `gpt-3.5-turbo`).
356
403
  - **`--provider [provider]`**: The AI provider to use for translation.
357
404
  - **`--temperature [temperature]`**: Temperature setting for the AI model.
358
405
  - **`--api-key [apiKey]`**: Provide your own API key for the AI service.
359
- - **`--custom-prompt [prompt]`**: Provide a custom prompt for translation instructions.
360
406
  - **`--application-context [applicationContext]`**: Provide additional context for the AI translation.
407
+ - **`--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.)
408
+
409
+ > 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"`
410
+
411
+ **Environment variables options:**
412
+
361
413
  - **`--env`**: Specify the environment (e.g., `development`, `production`).
362
414
  - **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
363
415
  - **`--base-dir`**: Specify the base directory for the project.
416
+
417
+ > Example: `npx intlayer doc translate --base-dir ./docs --env-file .env.production.local`
418
+
419
+ **Log options:**
420
+
364
421
  - **`--verbose`**: Enable verbose logging for debugging.
422
+
423
+ > Example: `npx intlayer doc translate --verbose`
424
+
425
+ **Custom instructions options:**
426
+
365
427
  - **`--custom-instructions [customInstructions]`**: Custom instructions added to the prompt. Useful to apply specific rules regarding formatting, URLs translation, etc.
366
428
 
367
- ##### Example:
429
+ - Can be an absolute time such as "2025-12-05" (string or Date)
430
+ - Can be a relative time in ms `1 * 60 * 60 * 1000` (1 hour)
431
+ - This option checks the update time of the file using the `fs.stat` method. So it could be impacted by Git or other tools that modify the file.
368
432
 
369
- ```bash
370
- npx intlayer doc translate
371
- --doc-pattern "docs/en-GB/**/*.md"
372
- --base-locale en --locales fr es
373
- --model chatgpt-4o-latest
374
- --custom-instructions "$(cat ./instructions.md)"
375
- ```
433
+ > Example: `npx intlayer doc translate --custom-instructions "Avoid translating URLs, and keep the markdown format"`
434
+
435
+ > Example: `npx intlayer doc translate --custom-instructions "$(cat ./instructions.md)"`
436
+
437
+ **Git options:**
438
+
439
+ - **`--git-diff`**: Only run on dictionaries that include changes from base (default `origin/main`) to current branch (default: `HEAD`).
440
+ - **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
441
+ - **`--git-diff-current`**: Specify the current reference for git diff (default `HEAD`).
442
+ - **`--uncommitted`**: Include uncommitted changes.
443
+ - **`--unpushed`**: Include unpushed changes.
444
+ - **`--untracked`**: Include untracked files.
445
+
446
+ > Example: `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
447
+
448
+ > Example: `npx intlayer doc translate --uncommitted --unpushed --untracked`
376
449
 
377
450
  > Note that the output file path will be determined by replacing the following patterns
378
451
  >
@@ -392,19 +465,20 @@ The `doc review` command analyses documentation files for quality, consistency,
392
465
  npx intlayer doc review
393
466
  ```
394
467
 
468
+ It can be used to review files that are already translated, and to check if the translation is correct.
469
+
470
+ For most use cases,
471
+
472
+ - prefer using the `doc translate` when the translated version of this file is not available.
473
+ - prefer using the `doc review` when the translated version of this file already exists.
474
+
475
+ > 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.
476
+
395
477
  ##### Arguments:
396
478
 
397
479
  The `doc review` command accepts the same arguments as `doc translate`, allowing you to review specific documentation files and apply quality checks.
398
480
 
399
- ##### Example:
400
-
401
- ```bash
402
- npx intlayer doc review
403
- --doc-pattern "docs/en-GB/**/*.md"
404
- --locales fr es de
405
- --model chatgpt-4o-latest
406
- --custom-instructions "$(cat ./instructions.md)"
407
- ```
481
+ 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.
408
482
 
409
483
  ## Use intlayer commands in your `package.json`
410
484
 
@@ -420,6 +494,48 @@ npx intlayer doc review
420
494
  }
421
495
  ```
422
496
 
497
+ ## CLI SDK
498
+
499
+ The CLI SDK is a library that allows you to use the Intlayer CLI in your own code.
500
+
501
+ ```bash packageManager="npm"
502
+ npm install @intlayer/cli --save-dev
503
+ ```
504
+
505
+ ```bash packageManager="yarn"
506
+ yarn add @intlayer/cli --save-dev
507
+ ```
508
+
509
+ ```bash packageManager="pnpm"
510
+ pnpm add @intlayer/cli --save-dev
511
+ ```
512
+
513
+ Example of usage:
514
+
515
+ ```ts
516
+ import {
517
+ push,
518
+ pull,
519
+ fill,
520
+ build,
521
+ docTranslate,
522
+ docReview,
523
+ } from "@intlayer/cli";
524
+
525
+ push();
526
+ // ...
527
+ pull();
528
+ // ...
529
+ fill();
530
+ // ...
531
+ build();
532
+ // ...
533
+ docTranslate();
534
+ // ...
535
+ docReview();
536
+ // ...
537
+ ```
538
+
423
539
  ## Debug intlayer command
424
540
 
425
541
  ### 1. **Ensure you're using the latest version**
@@ -452,4 +568,7 @@ npx clear-npx-cache
452
568
 
453
569
  ## Doc History
454
570
 
455
- - 5.5.10 - 2025-06-29: Init history
571
+ | Version | Date | Changes |
572
+ | ------- | ---------- | ------------------------------------------- |
573
+ | 5.5.11 | 2025-07-11 | Update CLI command parameters documentation |
574
+ | 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
@@ -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 Internationalisation (i18n) in Angular using Intlayer
@@ -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
@@ -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 Internationalising (i18n) with Intlayer and Lynx and React
@@ -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
@@ -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 internationalising (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
 
@@ -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 Internationalising (i18n) with Intlayer and Nuxt
@@ -14,6 +14,7 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - react-native-and-expo
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-react-native-template
17
18
  ---
18
19
 
19
20
  # Getting Started Internationalising (i18n) with Intlayer and React Native
@@ -14,6 +14,7 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - vite-and-preact
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-vite-preact-template
17
18
  ---
18
19
 
19
20
  # Getting Started Internationalising (i18n) with Intlayer and Vite and Preact
@@ -43,17 +44,17 @@ Install the necessary packages using npm:
43
44
 
44
45
  ```bash packageManager="npm"
45
46
  npm install intlayer preact-intlayer
46
- npm install --save-dev vite-intlayer
47
+ npm install vite-intlayer --save-dev
47
48
  ```
48
49
 
49
50
  ```bash packageManager="pnpm"
50
51
  pnpm add intlayer preact-intlayer
51
- pnpm add --save-dev vite-intlayer
52
+ pnpm add vite-intlayer --save-dev
52
53
  ```
53
54
 
54
55
  ```bash packageManager="yarn"
55
56
  yarn add intlayer preact-intlayer
56
- yarn add --save-dev vite-intlayer
57
+ yarn add vite-intlayer --save-dev
57
58
  ```
58
59
 
59
60
  - **intlayer**