@intlayer/docs 6.0.2 → 6.1.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 (379) hide show
  1. package/README.md +276 -0
  2. package/dist/cjs/generated/blog.entry.cjs +1 -1
  3. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  4. package/dist/cjs/generated/docs.entry.cjs +1 -420
  5. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  6. package/dist/cjs/generated/frequentQuestions.entry.cjs +1 -1
  7. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  8. package/dist/cjs/generated/legal.entry.cjs +1 -1
  9. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  10. package/dist/esm/generated/blog.entry.mjs +1 -1
  11. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  12. package/dist/esm/generated/docs.entry.mjs +1 -420
  13. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  14. package/dist/esm/generated/frequentQuestions.entry.mjs +1 -1
  15. package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
  16. package/dist/esm/generated/legal.entry.mjs +1 -1
  17. package/dist/esm/generated/legal.entry.mjs.map +1 -1
  18. package/dist/types/generated/docs.entry.d.ts +0 -26
  19. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  20. package/docs/en/autoFill.md +34 -0
  21. package/docs/en/configuration.md +1 -1
  22. package/docs/en/index.md +7 -0
  23. package/docs/en/intlayer_cli.md +57 -13
  24. package/docs/en/intlayer_visual_editor.md +12 -1
  25. package/docs/en/intlayer_with_express.md +0 -4
  26. package/docs/en/intlayer_with_nestjs.md +1 -5
  27. package/docs/en/intlayer_with_nextjs_15.md +20 -1
  28. package/docs/en/introduction.md +7 -0
  29. package/docs/en/releases/v6.md +34 -4
  30. package/docs/en/vs_code_extension.md +28 -0
  31. package/docs/en-GB/index.md +15 -8
  32. package/docs/en-GB/introduction.md +15 -8
  33. package/docs/fr/releases/v6.md +3 -3
  34. package/docs/ko/packages/next-intlayer/t.md +2 -2
  35. package/docs/ko/packages/next-intlayer/useDictionary.md +2 -2
  36. package/docs/ko/packages/next-intlayer/useIntlayer.md +2 -2
  37. package/docs/ko/packages/next-intlayer/useLocale.md +2 -2
  38. package/docs/pt/packages/next-intlayer/t.md +2 -2
  39. package/docs/pt/packages/next-intlayer/useDictionary.md +2 -2
  40. package/docs/pt/packages/next-intlayer/useIntlayer.md +2 -2
  41. package/docs/pt/packages/next-intlayer/useLocale.md +2 -2
  42. package/package.json +14 -13
  43. package/src/generated/blog.entry.ts +1 -1
  44. package/src/generated/docs.entry.ts +1 -420
  45. package/src/generated/frequentQuestions.entry.ts +1 -1
  46. package/src/generated/legal.entry.ts +1 -1
  47. package/docs/ar/packages/@intlayer/api/index.md +0 -56
  48. package/docs/ar/packages/@intlayer/chokidar/index.md +0 -55
  49. package/docs/ar/packages/@intlayer/cli/index.md +0 -45
  50. package/docs/ar/packages/@intlayer/config/index.md +0 -140
  51. package/docs/ar/packages/@intlayer/core/index.md +0 -49
  52. package/docs/ar/packages/@intlayer/design-system/index.md +0 -45
  53. package/docs/ar/packages/@intlayer/dictionary-entry/index.md +0 -45
  54. package/docs/ar/packages/@intlayer/editor/index.md +0 -45
  55. package/docs/ar/packages/@intlayer/editor-react/index.md +0 -45
  56. package/docs/ar/packages/@intlayer/webpack/index.md +0 -59
  57. package/docs/ar/packages/angular-intlayer/index.md +0 -53
  58. package/docs/ar/packages/express-intlayer/index.md +0 -252
  59. package/docs/ar/packages/intlayer/index.md +0 -499
  60. package/docs/ar/packages/intlayer-cli/index.md +0 -65
  61. package/docs/ar/packages/intlayer-editor/index.md +0 -137
  62. package/docs/ar/packages/lynx-intlayer/index.md +0 -83
  63. package/docs/ar/packages/next-intlayer/index.md +0 -286
  64. package/docs/ar/packages/nuxt-intlayer/index.md +0 -53
  65. package/docs/ar/packages/preact-intlayer/index.md +0 -53
  66. package/docs/ar/packages/react-intlayer/index.md +0 -279
  67. package/docs/ar/packages/react-native-intlayer/index.md +0 -83
  68. package/docs/ar/packages/react-scripts-intlayer/index.md +0 -80
  69. package/docs/ar/packages/solid-intlayer/index.md +0 -54
  70. package/docs/ar/packages/svelte-intlayer/index.md +0 -53
  71. package/docs/ar/packages/vite-intlayer/index.md +0 -76
  72. package/docs/ar/packages/vue-intlayer/index.md +0 -53
  73. package/docs/en/packages/@intlayer/api/index.md +0 -58
  74. package/docs/en/packages/@intlayer/chokidar/index.md +0 -57
  75. package/docs/en/packages/@intlayer/cli/index.md +0 -47
  76. package/docs/en/packages/@intlayer/config/index.md +0 -142
  77. package/docs/en/packages/@intlayer/core/index.md +0 -51
  78. package/docs/en/packages/@intlayer/design-system/index.md +0 -47
  79. package/docs/en/packages/@intlayer/dictionary-entry/index.md +0 -47
  80. package/docs/en/packages/@intlayer/editor/index.md +0 -47
  81. package/docs/en/packages/@intlayer/editor-react/index.md +0 -47
  82. package/docs/en/packages/@intlayer/webpack/index.md +0 -61
  83. package/docs/en/packages/angular-intlayer/index.md +0 -55
  84. package/docs/en/packages/express-intlayer/index.md +0 -254
  85. package/docs/en/packages/intlayer/index.md +0 -501
  86. package/docs/en/packages/intlayer-cli/index.md +0 -67
  87. package/docs/en/packages/intlayer-editor/index.md +0 -139
  88. package/docs/en/packages/lynx-intlayer/index.md +0 -85
  89. package/docs/en/packages/next-intlayer/index.md +0 -287
  90. package/docs/en/packages/nuxt-intlayer/index.md +0 -55
  91. package/docs/en/packages/preact-intlayer/index.md +0 -55
  92. package/docs/en/packages/react-intlayer/index.md +0 -281
  93. package/docs/en/packages/react-native-intlayer/index.md +0 -85
  94. package/docs/en/packages/react-scripts-intlayer/index.md +0 -82
  95. package/docs/en/packages/solid-intlayer/index.md +0 -56
  96. package/docs/en/packages/svelte-intlayer/index.md +0 -55
  97. package/docs/en/packages/vite-intlayer/index.md +0 -78
  98. package/docs/en/packages/vue-intlayer/index.md +0 -55
  99. package/docs/en-GB/packages/@intlayer/api/index.md +0 -56
  100. package/docs/en-GB/packages/@intlayer/chokidar/index.md +0 -55
  101. package/docs/en-GB/packages/@intlayer/cli/index.md +0 -45
  102. package/docs/en-GB/packages/@intlayer/config/index.md +0 -140
  103. package/docs/en-GB/packages/@intlayer/core/index.md +0 -49
  104. package/docs/en-GB/packages/@intlayer/design-system/index.md +0 -45
  105. package/docs/en-GB/packages/@intlayer/dictionary-entry/index.md +0 -45
  106. package/docs/en-GB/packages/@intlayer/editor/index.md +0 -45
  107. package/docs/en-GB/packages/@intlayer/editor-react/index.md +0 -45
  108. package/docs/en-GB/packages/@intlayer/webpack/index.md +0 -60
  109. package/docs/en-GB/packages/angular-intlayer/index.md +0 -53
  110. package/docs/en-GB/packages/express-intlayer/index.md +0 -264
  111. package/docs/en-GB/packages/intlayer/index.md +0 -533
  112. package/docs/en-GB/packages/intlayer-cli/index.md +0 -65
  113. package/docs/en-GB/packages/intlayer-editor/index.md +0 -137
  114. package/docs/en-GB/packages/lynx-intlayer/index.md +0 -89
  115. package/docs/en-GB/packages/next-intlayer/index.md +0 -314
  116. package/docs/en-GB/packages/nuxt-intlayer/index.md +0 -53
  117. package/docs/en-GB/packages/preact-intlayer/index.md +0 -53
  118. package/docs/en-GB/packages/react-intlayer/index.md +0 -279
  119. package/docs/en-GB/packages/react-native-intlayer/index.md +0 -83
  120. package/docs/en-GB/packages/react-scripts-intlayer/index.md +0 -80
  121. package/docs/en-GB/packages/solid-intlayer/index.md +0 -54
  122. package/docs/en-GB/packages/svelte-intlayer/index.md +0 -53
  123. package/docs/en-GB/packages/vite-intlayer/index.md +0 -76
  124. package/docs/en-GB/packages/vue-intlayer/index.md +0 -53
  125. package/docs/es/packages/@intlayer/api/index.md +0 -56
  126. package/docs/es/packages/@intlayer/chokidar/index.md +0 -56
  127. package/docs/es/packages/@intlayer/cli/index.md +0 -45
  128. package/docs/es/packages/@intlayer/config/index.md +0 -140
  129. package/docs/es/packages/@intlayer/core/index.md +0 -49
  130. package/docs/es/packages/@intlayer/design-system/index.md +0 -45
  131. package/docs/es/packages/@intlayer/dictionary-entry/index.md +0 -45
  132. package/docs/es/packages/@intlayer/editor/index.md +0 -45
  133. package/docs/es/packages/@intlayer/editor-react/index.md +0 -45
  134. package/docs/es/packages/@intlayer/webpack/index.md +0 -59
  135. package/docs/es/packages/express-intlayer/index.md +0 -252
  136. package/docs/es/packages/intlayer/index.md +0 -507
  137. package/docs/es/packages/intlayer-cli/index.md +0 -65
  138. package/docs/es/packages/intlayer-editor/index.md +0 -139
  139. package/docs/es/packages/lynx-intlayer/index.md +0 -83
  140. package/docs/es/packages/nuxt-intlayer/index.md +0 -53
  141. package/docs/es/packages/preact-intlayer/index.md +0 -53
  142. package/docs/es/packages/react-native-intlayer/index.md +0 -83
  143. package/docs/es/packages/react-scripts-intlayer/index.md +0 -80
  144. package/docs/es/packages/solid-intlayer/index.md +0 -54
  145. package/docs/es/packages/svelte-intlayer/index.md +0 -53
  146. package/docs/es/packages/vite-intlayer/index.md +0 -76
  147. package/docs/es/packages/vue-intlayer/index.md +0 -53
  148. package/docs/fr/packages/@intlayer/api/index.md +0 -56
  149. package/docs/fr/packages/@intlayer/chokidar/index.md +0 -56
  150. package/docs/fr/packages/@intlayer/cli/index.md +0 -45
  151. package/docs/fr/packages/@intlayer/config/index.md +0 -140
  152. package/docs/fr/packages/@intlayer/core/index.md +0 -49
  153. package/docs/fr/packages/@intlayer/design-system/index.md +0 -45
  154. package/docs/fr/packages/@intlayer/dictionary-entry/index.md +0 -45
  155. package/docs/fr/packages/@intlayer/editor/index.md +0 -45
  156. package/docs/fr/packages/@intlayer/editor-react/index.md +0 -45
  157. package/docs/fr/packages/@intlayer/webpack/index.md +0 -59
  158. package/docs/fr/packages/angular-intlayer/index.md +0 -53
  159. package/docs/fr/packages/express-intlayer/index.md +0 -284
  160. package/docs/fr/packages/intlayer/index.md +0 -500
  161. package/docs/fr/packages/intlayer-cli/index.md +0 -65
  162. package/docs/fr/packages/intlayer-editor/index.md +0 -139
  163. package/docs/fr/packages/lynx-intlayer/index.md +0 -83
  164. package/docs/fr/packages/next-intlayer/index.md +0 -285
  165. package/docs/fr/packages/nuxt-intlayer/index.md +0 -53
  166. package/docs/fr/packages/preact-intlayer/index.md +0 -53
  167. package/docs/fr/packages/react-native-intlayer/index.md +0 -83
  168. package/docs/fr/packages/react-scripts-intlayer/index.md +0 -80
  169. package/docs/fr/packages/solid-intlayer/index.md +0 -54
  170. package/docs/fr/packages/svelte-intlayer/index.md +0 -53
  171. package/docs/fr/packages/vite-intlayer/index.md +0 -76
  172. package/docs/fr/packages/vue-intlayer/index.md +0 -53
  173. package/docs/hi/packages/@intlayer/api/index.md +0 -56
  174. package/docs/hi/packages/@intlayer/chokidar/index.md +0 -55
  175. package/docs/hi/packages/@intlayer/cli/index.md +0 -45
  176. package/docs/hi/packages/@intlayer/config/index.md +0 -140
  177. package/docs/hi/packages/@intlayer/core/index.md +0 -49
  178. package/docs/hi/packages/@intlayer/design-system/index.md +0 -45
  179. package/docs/hi/packages/@intlayer/dictionary-entry/index.md +0 -45
  180. package/docs/hi/packages/@intlayer/editor/index.md +0 -45
  181. package/docs/hi/packages/@intlayer/editor-react/index.md +0 -45
  182. package/docs/hi/packages/@intlayer/webpack/index.md +0 -59
  183. package/docs/hi/packages/angular-intlayer/index.md +0 -53
  184. package/docs/hi/packages/express-intlayer/index.md +0 -252
  185. package/docs/hi/packages/intlayer-cli/index.md +0 -65
  186. package/docs/hi/packages/intlayer-editor/index.md +0 -137
  187. package/docs/hi/packages/lynx-intlayer/index.md +0 -83
  188. package/docs/hi/packages/next-intlayer/index.md +0 -286
  189. package/docs/hi/packages/nuxt-intlayer/index.md +0 -53
  190. package/docs/hi/packages/preact-intlayer/index.md +0 -53
  191. package/docs/hi/packages/react-intlayer/index.md +0 -279
  192. package/docs/hi/packages/react-native-intlayer/index.md +0 -83
  193. package/docs/hi/packages/react-scripts-intlayer/index.md +0 -80
  194. package/docs/hi/packages/solid-intlayer/index.md +0 -54
  195. package/docs/hi/packages/svelte-intlayer/index.md +0 -53
  196. package/docs/hi/packages/vite-intlayer/index.md +0 -76
  197. package/docs/hi/packages/vue-intlayer/index.md +0 -53
  198. package/docs/it/packages/@intlayer/api/index.md +0 -56
  199. package/docs/it/packages/@intlayer/chokidar/index.md +0 -55
  200. package/docs/it/packages/@intlayer/cli/index.md +0 -45
  201. package/docs/it/packages/@intlayer/config/index.md +0 -140
  202. package/docs/it/packages/@intlayer/core/index.md +0 -49
  203. package/docs/it/packages/@intlayer/design-system/index.md +0 -45
  204. package/docs/it/packages/@intlayer/dictionary-entry/index.md +0 -45
  205. package/docs/it/packages/@intlayer/editor/index.md +0 -45
  206. package/docs/it/packages/@intlayer/editor-react/index.md +0 -45
  207. package/docs/it/packages/@intlayer/webpack/index.md +0 -59
  208. package/docs/it/packages/angular-intlayer/index.md +0 -53
  209. package/docs/it/packages/express-intlayer/index.md +0 -228
  210. package/docs/it/packages/intlayer/index.md +0 -500
  211. package/docs/it/packages/intlayer-cli/index.md +0 -65
  212. package/docs/it/packages/intlayer-editor/index.md +0 -139
  213. package/docs/it/packages/lynx-intlayer/index.md +0 -83
  214. package/docs/it/packages/next-intlayer/index.md +0 -285
  215. package/docs/it/packages/nuxt-intlayer/index.md +0 -53
  216. package/docs/it/packages/preact-intlayer/index.md +0 -53
  217. package/docs/it/packages/react-intlayer/index.md +0 -280
  218. package/docs/it/packages/react-native-intlayer/index.md +0 -83
  219. package/docs/it/packages/react-scripts-intlayer/index.md +0 -80
  220. package/docs/it/packages/solid-intlayer/index.md +0 -54
  221. package/docs/it/packages/svelte-intlayer/index.md +0 -53
  222. package/docs/it/packages/vite-intlayer/index.md +0 -76
  223. package/docs/it/packages/vue-intlayer/index.md +0 -53
  224. package/docs/ja/packages/@intlayer/api/index.md +0 -56
  225. package/docs/ja/packages/@intlayer/chokidar/index.md +0 -55
  226. package/docs/ja/packages/@intlayer/cli/index.md +0 -45
  227. package/docs/ja/packages/@intlayer/config/index.md +0 -140
  228. package/docs/ja/packages/@intlayer/core/index.md +0 -49
  229. package/docs/ja/packages/@intlayer/design-system/index.md +0 -45
  230. package/docs/ja/packages/@intlayer/dictionary-entry/index.md +0 -45
  231. package/docs/ja/packages/@intlayer/editor/index.md +0 -45
  232. package/docs/ja/packages/@intlayer/editor-react/index.md +0 -45
  233. package/docs/ja/packages/@intlayer/webpack/index.md +0 -60
  234. package/docs/ja/packages/angular-intlayer/index.md +0 -53
  235. package/docs/ja/packages/express-intlayer/index.md +0 -284
  236. package/docs/ja/packages/intlayer/index.md +0 -503
  237. package/docs/ja/packages/intlayer-cli/index.md +0 -65
  238. package/docs/ja/packages/intlayer-editor/index.md +0 -137
  239. package/docs/ja/packages/lynx-intlayer/index.md +0 -83
  240. package/docs/ja/packages/next-intlayer/index.md +0 -285
  241. package/docs/ja/packages/nuxt-intlayer/index.md +0 -53
  242. package/docs/ja/packages/preact-intlayer/index.md +0 -53
  243. package/docs/ja/packages/react-intlayer/index.md +0 -286
  244. package/docs/ja/packages/react-native-intlayer/index.md +0 -83
  245. package/docs/ja/packages/react-scripts-intlayer/index.md +0 -80
  246. package/docs/ja/packages/solid-intlayer/index.md +0 -54
  247. package/docs/ja/packages/svelte-intlayer/index.md +0 -53
  248. package/docs/ja/packages/vite-intlayer/index.md +0 -76
  249. package/docs/ja/packages/vue-intlayer/index.md +0 -53
  250. package/docs/ko/packages/@intlayer/api/index.md +0 -56
  251. package/docs/ko/packages/@intlayer/chokidar/index.md +0 -55
  252. package/docs/ko/packages/@intlayer/cli/index.md +0 -45
  253. package/docs/ko/packages/@intlayer/config/index.md +0 -140
  254. package/docs/ko/packages/@intlayer/core/index.md +0 -49
  255. package/docs/ko/packages/@intlayer/design-system/index.md +0 -45
  256. package/docs/ko/packages/@intlayer/dictionary-entry/index.md +0 -45
  257. package/docs/ko/packages/@intlayer/editor/index.md +0 -45
  258. package/docs/ko/packages/@intlayer/editor-react/index.md +0 -45
  259. package/docs/ko/packages/@intlayer/webpack/index.md +0 -59
  260. package/docs/ko/packages/angular-intlayer/index.md +0 -53
  261. package/docs/ko/packages/express-intlayer/index.md +0 -285
  262. package/docs/ko/packages/intlayer/index.md +0 -499
  263. package/docs/ko/packages/intlayer-cli/index.md +0 -65
  264. package/docs/ko/packages/intlayer-editor/index.md +0 -137
  265. package/docs/ko/packages/lynx-intlayer/index.md +0 -83
  266. package/docs/ko/packages/next-intlayer/index.md +0 -286
  267. package/docs/ko/packages/nuxt-intlayer/index.md +0 -53
  268. package/docs/ko/packages/preact-intlayer/index.md +0 -53
  269. package/docs/ko/packages/react-intlayer/index.md +0 -286
  270. package/docs/ko/packages/react-native-intlayer/index.md +0 -83
  271. package/docs/ko/packages/react-scripts-intlayer/index.md +0 -80
  272. package/docs/ko/packages/solid-intlayer/index.md +0 -54
  273. package/docs/ko/packages/svelte-intlayer/index.md +0 -53
  274. package/docs/ko/packages/vite-intlayer/index.md +0 -76
  275. package/docs/ko/packages/vue-intlayer/index.md +0 -53
  276. package/docs/pt/packages/@intlayer/api/index.md +0 -56
  277. package/docs/pt/packages/@intlayer/chokidar/index.md +0 -56
  278. package/docs/pt/packages/@intlayer/cli/index.md +0 -45
  279. package/docs/pt/packages/@intlayer/config/index.md +0 -140
  280. package/docs/pt/packages/@intlayer/core/index.md +0 -49
  281. package/docs/pt/packages/@intlayer/design-system/index.md +0 -45
  282. package/docs/pt/packages/@intlayer/dictionary-entry/index.md +0 -45
  283. package/docs/pt/packages/@intlayer/editor/index.md +0 -45
  284. package/docs/pt/packages/@intlayer/editor-react/index.md +0 -45
  285. package/docs/pt/packages/@intlayer/webpack/index.md +0 -60
  286. package/docs/pt/packages/angular-intlayer/index.md +0 -53
  287. package/docs/pt/packages/express-intlayer/index.md +0 -255
  288. package/docs/pt/packages/intlayer/index.md +0 -500
  289. package/docs/pt/packages/intlayer-cli/index.md +0 -65
  290. package/docs/pt/packages/intlayer-editor/index.md +0 -139
  291. package/docs/pt/packages/lynx-intlayer/index.md +0 -83
  292. package/docs/pt/packages/next-intlayer/index.md +0 -285
  293. package/docs/pt/packages/nuxt-intlayer/index.md +0 -53
  294. package/docs/pt/packages/preact-intlayer/index.md +0 -53
  295. package/docs/pt/packages/react-intlayer/index.md +0 -279
  296. package/docs/pt/packages/react-native-intlayer/index.md +0 -83
  297. package/docs/pt/packages/react-scripts-intlayer/index.md +0 -80
  298. package/docs/pt/packages/solid-intlayer/index.md +0 -54
  299. package/docs/pt/packages/svelte-intlayer/index.md +0 -53
  300. package/docs/pt/packages/vite-intlayer/index.md +0 -76
  301. package/docs/pt/packages/vue-intlayer/index.md +0 -53
  302. package/docs/ru/packages/@intlayer/api/index.md +0 -56
  303. package/docs/ru/packages/@intlayer/chokidar/index.md +0 -55
  304. package/docs/ru/packages/@intlayer/cli/index.md +0 -45
  305. package/docs/ru/packages/@intlayer/config/index.md +0 -140
  306. package/docs/ru/packages/@intlayer/core/index.md +0 -49
  307. package/docs/ru/packages/@intlayer/design-system/index.md +0 -45
  308. package/docs/ru/packages/@intlayer/dictionary-entry/index.md +0 -45
  309. package/docs/ru/packages/@intlayer/editor/index.md +0 -45
  310. package/docs/ru/packages/@intlayer/editor-react/index.md +0 -45
  311. package/docs/ru/packages/@intlayer/webpack/index.md +0 -59
  312. package/docs/ru/packages/angular-intlayer/index.md +0 -53
  313. package/docs/ru/packages/express-intlayer/index.md +0 -253
  314. package/docs/ru/packages/intlayer/index.md +0 -499
  315. package/docs/ru/packages/intlayer-cli/index.md +0 -65
  316. package/docs/ru/packages/intlayer-editor/index.md +0 -139
  317. package/docs/ru/packages/lynx-intlayer/index.md +0 -83
  318. package/docs/ru/packages/next-intlayer/index.md +0 -285
  319. package/docs/ru/packages/nuxt-intlayer/index.md +0 -53
  320. package/docs/ru/packages/preact-intlayer/index.md +0 -53
  321. package/docs/ru/packages/react-intlayer/index.md +0 -280
  322. package/docs/ru/packages/react-native-intlayer/index.md +0 -83
  323. package/docs/ru/packages/react-scripts-intlayer/index.md +0 -80
  324. package/docs/ru/packages/solid-intlayer/index.md +0 -54
  325. package/docs/ru/packages/svelte-intlayer/index.md +0 -53
  326. package/docs/ru/packages/vite-intlayer/index.md +0 -76
  327. package/docs/ru/packages/vue-intlayer/index.md +0 -53
  328. package/docs/tr/packages/@intlayer/api/index.md +0 -58
  329. package/docs/tr/packages/@intlayer/chokidar/index.md +0 -57
  330. package/docs/tr/packages/@intlayer/cli/index.md +0 -47
  331. package/docs/tr/packages/@intlayer/config/index.md +0 -142
  332. package/docs/tr/packages/@intlayer/core/index.md +0 -51
  333. package/docs/tr/packages/@intlayer/design-system/index.md +0 -47
  334. package/docs/tr/packages/@intlayer/dictionary-entry/index.md +0 -53
  335. package/docs/tr/packages/@intlayer/editor/index.md +0 -47
  336. package/docs/tr/packages/@intlayer/editor-react/index.md +0 -47
  337. package/docs/tr/packages/@intlayer/webpack/index.md +0 -61
  338. package/docs/tr/packages/angular-intlayer/index.md +0 -59
  339. package/docs/tr/packages/express-intlayer/index.md +0 -258
  340. package/docs/tr/packages/intlayer/index.md +0 -505
  341. package/docs/tr/packages/intlayer-cli/index.md +0 -71
  342. package/docs/tr/packages/intlayer-editor/index.md +0 -139
  343. package/docs/tr/packages/lynx-intlayer/index.md +0 -85
  344. package/docs/tr/packages/next-intlayer/index.md +0 -154
  345. package/docs/tr/packages/nuxt-intlayer/index.md +0 -59
  346. package/docs/tr/packages/preact-intlayer/index.md +0 -55
  347. package/docs/tr/packages/react-intlayer/index.md +0 -148
  348. package/docs/tr/packages/react-native-intlayer/index.md +0 -85
  349. package/docs/tr/packages/react-scripts-intlayer/index.md +0 -82
  350. package/docs/tr/packages/solid-intlayer/index.md +0 -56
  351. package/docs/tr/packages/svelte-intlayer/index.md +0 -55
  352. package/docs/tr/packages/vite-intlayer/index.md +0 -82
  353. package/docs/tr/packages/vue-intlayer/index.md +0 -59
  354. package/docs/zh/packages/@intlayer/api/index.md +0 -56
  355. package/docs/zh/packages/@intlayer/chokidar/index.md +0 -55
  356. package/docs/zh/packages/@intlayer/cli/index.md +0 -45
  357. package/docs/zh/packages/@intlayer/config/index.md +0 -140
  358. package/docs/zh/packages/@intlayer/core/index.md +0 -49
  359. package/docs/zh/packages/@intlayer/design-system/index.md +0 -45
  360. package/docs/zh/packages/@intlayer/dictionary-entry/index.md +0 -45
  361. package/docs/zh/packages/@intlayer/editor/index.md +0 -45
  362. package/docs/zh/packages/@intlayer/editor-react/index.md +0 -45
  363. package/docs/zh/packages/@intlayer/webpack/index.md +0 -59
  364. package/docs/zh/packages/angular-intlayer/index.md +0 -53
  365. package/docs/zh/packages/express-intlayer/index.md +0 -284
  366. package/docs/zh/packages/intlayer/index.md +0 -499
  367. package/docs/zh/packages/intlayer-cli/index.md +0 -65
  368. package/docs/zh/packages/intlayer-editor/index.md +0 -137
  369. package/docs/zh/packages/lynx-intlayer/index.md +0 -83
  370. package/docs/zh/packages/next-intlayer/index.md +0 -285
  371. package/docs/zh/packages/nuxt-intlayer/index.md +0 -53
  372. package/docs/zh/packages/preact-intlayer/index.md +0 -53
  373. package/docs/zh/packages/react-intlayer/index.md +0 -286
  374. package/docs/zh/packages/react-native-intlayer/index.md +0 -83
  375. package/docs/zh/packages/react-scripts-intlayer/index.md +0 -80
  376. package/docs/zh/packages/solid-intlayer/index.md +0 -54
  377. package/docs/zh/packages/svelte-intlayer/index.md +0 -53
  378. package/docs/zh/packages/vite-intlayer/index.md +0 -76
  379. package/docs/zh/packages/vue-intlayer/index.md +0 -53
@@ -1,279 +0,0 @@
1
- ---
2
- createdAt: 2024-08-11
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | react-intlayer
5
- description: See how to use the react-intlayer package
6
- keywords:
7
- - Intlayer
8
- - react-intlayer
9
- - Internationalisation
10
- - Documentation
11
- - Next.js
12
- - JavaScript
13
- - React
14
- slugs:
15
- - doc
16
- - packages
17
- - react-intlayer
18
- ---
19
-
20
- # react-intlayer: NPM Package to internationalise (i18n) a React application
21
-
22
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, React, and Express.js.
23
-
24
- **The `react-intlayer` package** allows you to internationalise your React application. It provides context providers and hooks for React internationalisation.
25
-
26
- ## Why Internationalise Your React Application?
27
-
28
- Internationalising your React application is essential for serving a global audience effectively. It allows your application to deliver content and messages in the preferred language of each user. This capability enhances user experience and broadens your application's reach by making it more accessible and relevant to people from different linguistic backgrounds.
29
-
30
- ## Why integrate Intlayer?
31
-
32
- - **JavaScript-Powered Content Management**: Harness the flexibility of JavaScript to define and manage your content efficiently.
33
- - **Type-Safe Environment**: Utilise TypeScript to ensure all your content definitions are precise and free from errors.
34
- - **Integrated Content Files**: Keep your translations close to their respective components, improving maintainability and clarity.
35
-
36
- ## Installation
37
-
38
- Install the necessary package using your preferred package manager:
39
-
40
- ```bash packageManager="npm"
41
- npm install react-intlayer
42
- ```
43
-
44
- ```bash packageManager="yarn"
45
- yarn add react-intlayer
46
- ```
47
-
48
- ```bash packageManager="pnpm"
49
- pnpm add react-intlayer
50
- ```
51
-
52
- ## Example of usage
53
-
54
- With Intlayer, you can declare your content in a structured manner anywhere in your codebase.
55
-
56
- By default, Intlayer scans for files with the extension `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`.
57
-
58
- > You can modify the default extension by setting the `contentDir` property in the [configuration file](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md).
59
-
60
- ```bash codeFormat="typescript"
61
- .
62
- ├── intlayer.config.ts
63
- └── src
64
- └── components
65
- ├── Component1
66
- │   ├── index.content.ts
67
- │   └── index.tsx
68
- └── Component2
69
- ├── index.content.ts
70
- └── index.tsx
71
- ```
72
-
73
- ```bash codeFormat="esm"
74
- .
75
- ├── intlayer.config.mjs
76
- └── src
77
- └── components
78
- ├── Component1
79
- │ ├── index.content.mjs
80
- │ └── index.mjx
81
- └── Component2
82
- ├── index.content.mjs
83
- └── index.mjx
84
- ```
85
-
86
- ```bash codeFormat="commonjs"
87
- .
88
- ├── intlayer.config.cjs
89
- └── src
90
- └── components
91
- ├── Component1
92
- │   ├── index.content.cjs
93
- │   └── index.cjx
94
- └── Component2
95
- ├── index.content.cjs
96
- └── index.cjx
97
- ```
98
-
99
- ### Declare your content
100
-
101
- `react-intlayer` is designed to work with the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/intlayer/index.md). `intlayer` is a package that allows you to declare your content anywhere within your code. It converts multilingual content declarations into structured dictionaries that integrate seamlessly into your application.
102
-
103
- Here is an example of content declaration:
104
-
105
- ```tsx fileName="src/Component1/index.content.ts" codeFormat="typescript"
106
- import { t, type Dictionary } from "intlayer";
107
-
108
- const component1Content = {
109
- key: "component-1",
110
- content: {
111
- myTranslatedContent: t({
112
- en: "Hello World",
113
- es: "Hola Mundo",
114
- fr: "Bonjour le monde",
115
- }),
116
- numberOfCar: enu({
117
- "<-1": "Less than minus one car",
118
- "-1": "Minus one car",
119
- "0": "No cars",
120
- "1": "One car",
121
- ">5": "Some cars",
122
- ">19": "Many cars",
123
- }),
124
- },
125
- } satisfies Dictionary;
126
-
127
- export default component1Content;
128
- ```
129
-
130
- ```jsx fileName="src/Component1/index.content.mjs" contentDeclarationFormat="esm"
131
- import { t } from "intlayer";
132
-
133
- /** @type {import('intlayer').Dictionary} */
134
- const component1Content = {
135
- key: "component-1",
136
- content: {
137
- myTranslatedContent: t({
138
- en: "Hello World",
139
- es: "Hola Mundo",
140
- fr: "Bonjour le monde",
141
- }),
142
- numberOfCar: enu({
143
- "<-1": "Less than minus one car",
144
- "-1": "Minus one car",
145
- "0": "No cars",
146
- "1": "One car",
147
- ">5": "Some cars",
148
- ">19": "Many cars",
149
- }),
150
- },
151
- };
152
-
153
- export default component1Content;
154
- ```
155
-
156
- ```jsx fileName="src/Component1/index.content.cjs" contentDeclarationFormat="commonjs"
157
- const { t } = require("intlayer");
158
-
159
- /** @type {import('intlayer').Dictionary} */
160
- const component1Content = {
161
- key: "component-1",
162
- content: {
163
- myTranslatedContent: t({
164
- en: "Hello World",
165
- es: "Hola Mundo",
166
- fr: "Bonjour le monde",
167
- }),
168
- numberOfCar: enu({
169
- "<-1": "Less than minus one car",
170
- "-1": "Minus one car",
171
- "0": "No cars",
172
- "1": "One car",
173
- ">5": "Some cars",
174
- ">19": "Many cars",
175
- }),
176
- },
177
- };
178
-
179
- module.exports = component1Content;
180
- ```
181
-
182
- ```json fileName="src/Component1/index.content.json" codeFormat="json"
183
- {
184
- "key": "component-1",
185
- "content": {
186
- "myTranslatedContent": {
187
- "nodeType": "translation",
188
- "translation": {
189
- "en-GB": "Hello World",
190
- "fr": "Bonjour le monde",
191
- "es": "Hola Mundo"
192
- }
193
- },
194
- "numberOfCar": {
195
- "nodeType": "enumeration",
196
- "enumeration": {
197
- "<-1": "Less than minus one car",
198
- "-1": "Minus one car",
199
- "0": "No cars",
200
- "1": "One car",
201
- ">5": "Some cars",
202
- ">19": "Many cars"
203
- }
204
- }
205
- }
206
- }
207
- ```
208
-
209
- ### Utilise Content in Your Code
210
-
211
- Once you have declared your content, you can use it in your code. Here's an example of how to use the content in a React component:
212
-
213
- ```tsx {4,7} fileName="src/components/Component1Example.tsx" codeFormat="typescript"
214
- "use client";
215
-
216
- import type { FC } from "react";
217
- import { useIntlayer } from "react-intlayer";
218
-
219
- export const Component1Example: FC = () => {
220
- const { myTranslatedContent } = useIntlayer("component-1"); // Create related content declaration
221
-
222
- return (
223
- <div>
224
- <p>{myTranslatedContent}</p>
225
- </div>
226
- );
227
- };
228
- ```
229
-
230
- ```jsx {3,6} fileName="src/components/Component1Example.mjx" codeFormat="esm"
231
- "use client";
232
-
233
- import { useIntlayer } from "react-intlayer";
234
-
235
- const Component1Example = () => {
236
- const { myTranslatedContent } = useIntlayer("component-1"); // Create related content declaration
237
-
238
- return (
239
- <div>
240
- <p>{myTranslatedContent}</p>
241
- </div>
242
- );
243
- };
244
- ```
245
-
246
- ```jsx {3,6} fileName="src/components/Component1Example.csx" codeFormat="commonjs"
247
- "use client";
248
-
249
- const { useIntlayer } = require("react-intlayer");
250
-
251
- const Component1Example = () => {
252
- const { myTranslatedContent } = useIntlayer("component-1"); // Create related content declaration
253
-
254
- return (
255
- <div>
256
- <p>{myTranslatedContent}</p>
257
- </div>
258
- );
259
- };
260
- ```
261
-
262
- ## Mastering the internationalisation of your React application
263
-
264
- Intlayer provides a lot of features to help you internationalise your React application.
265
-
266
- **To learn more about these features, refer to the [React Internationalisation (i18n) with Intlayer and Vite and React](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_with_vite+react.md) guide for Vite and React Application, or the [React Internationalisation (i18n) with Intlayer and React (CRA)](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_with_create_react_app.md) guide for React Create App.**
267
-
268
- ## Functions provided by `react-intlayer` package
269
-
270
- The `react-intlayer` package also provides some functions to help you to internationalise your application.
271
-
272
- - [`t()`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/t.md)
273
- - [`useIntlayer()`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/useIntlayer.md)
274
- - [`useDictionary()`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/useDictionary.md)
275
- - [`useLocale()`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/useLocale.md)
276
-
277
- ## Doc History
278
-
279
- - 5.5.10 - 2025-06-29: Initial history
@@ -1,83 +0,0 @@
1
- ---
2
- createdAt: 2025-03-13
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | react-native-intlayer
5
- description: See how to use the react-native-intlayer package
6
- keywords:
7
- - Intlayer
8
- - React Native
9
- - react-native-intlayer
10
- - Internationalisation
11
- - Documentation
12
- - Next.js
13
- - JavaScript
14
- - React
15
- slugs:
16
- - doc
17
- - packages
18
- - react-native-intlayer
19
- ---
20
-
21
- # react-native-intlayer: Internationalise (i18n) a React Native application
22
-
23
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, React, and Express.js.
24
-
25
- **The `react-native-intlayer` package** allows you to internationalise your Vite application. It includes the Metro plugin to set the configuration through environment variables into the [Metro bundler](https://docs.expo.dev/guides/customizing-metro/).
26
-
27
- ## Why Internationalise Your React Native Application?
28
-
29
- Internationalising your React Native application is essential for serving a global audience effectively. It allows your application to deliver content and messages in the preferred language of each user. This capability enhances user experience and broadens your application's reach by making it more accessible and relevant to people from different linguistic backgrounds.
30
-
31
- ## Configuration
32
-
33
- The `react-native-intlayer` package works seamlessly with the [`react-intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/index.md), and the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/intlayer/index.md). Have a look at the relevant documentation for more information.
34
-
35
- ## Installation
36
-
37
- Install the necessary package using your preferred package manager:
38
-
39
- ```bash packageManager="npm"
40
- npm install react-native-intlayer
41
- ```
42
-
43
- ```bash packageManager="yarn"
44
- yarn add react-native-intlayer
45
- ```
46
-
47
- ```bash packageManager="pnpm"
48
- pnpm add react-native-intlayer
49
- ```
50
-
51
- ## Example of usage
52
-
53
- See an example of how to include the plugins into your vite configuration.
54
-
55
- ```js
56
- // metro.config.js
57
- const { getDefaultConfig } = require("expo/metro-config");
58
- const { configMetroIntlayer } = require("react-native-intlayer/metro");
59
-
60
- module.exports = (async () => {
61
- const defaultConfig = getDefaultConfig(__dirname);
62
-
63
- return await configMetroIntlayer(defaultConfig);
64
- })();
65
- ```
66
-
67
- ## Mastering the internationalisation of your Vite application
68
-
69
- Intlayer provides a lot of features to help you internationalise your Vite application.
70
-
71
- **To learn more about these features, refer to the [React Internationalisation (i18n) with Intlayer and React Native](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_with_react_native+expo.md) guide for React Native Application.**
72
-
73
- ## Read about Intlayer
74
-
75
- - [Intlayer Website](https://intlayer.org)
76
- - [Intlayer Documentation](https://intlayer.org/doc)
77
- - [Intlayer GitHub](https://github.com/aymericzip/intlayer)
78
-
79
- - [Ask your questions to our smart documentation](https://intlayer.org/docchat)
80
-
81
- ## Doc History
82
-
83
- - 5.5.10 - 2025-06-29: Initial history
@@ -1,80 +0,0 @@
1
- ---
2
- createdAt: 2024-08-11
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | react-scripts-intlayer
5
- description: See how to use the react-scripts-intlayer package
6
- keywords:
7
- - Intlayer
8
- - react-scripts-intlayer
9
- - Internationalisation
10
- - Documentation
11
- - Next.js
12
- - JavaScript
13
- - React
14
- slugs:
15
- - doc
16
- - packages
17
- - react-scripts-intlayer
18
- ---
19
-
20
- # react-scripts-intlayer: NPM Package to use Intlayer in a React Create App application
21
-
22
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks such as React, React, and Express.js.
23
-
24
- **The `react-scripts-intlayer` package** includes the `react-scripts-intlayer` commands and plugins for integrating Intlayer with the Create React App based application. These plugins are based on [craco](https://craco.js.org/) and include additional configuration for the [Webpack](https://webpack.js.org/) bundler.
25
-
26
- ## Configuration
27
-
28
- The `react-scripts-intlayer` package works seamlessly with the [`react-intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/index.md), and the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/intlayer/index.md). Have a look at the relevant documentation for more information.
29
-
30
- ## Installation
31
-
32
- Install the necessary package using your preferred package manager:
33
-
34
- ```bash packageManager="npm"
35
- npm install react-scripts-intlayer
36
- ```
37
-
38
- ```bash packageManager="yarn"
39
- yarn add react-scripts-intlayer
40
- ```
41
-
42
- ```bash packageManager="pnpm"
43
- pnpm add react-scripts-intlayer
44
- ```
45
-
46
- ## Usage
47
-
48
- ### CLI Commands
49
-
50
- The `react-scripts-intlayer` package provides the following CLI commands:
51
-
52
- - `npx react-scripts-intlayer build`: Builds the React application with the Intlayer configuration.
53
- - `npx react-scripts-intlayer start`: Starts the development server with the Intlayer configuration.
54
-
55
- ### Replace package.json scripts
56
-
57
- To use the `react-scripts-intlayer` package, you need to replace the `package.json` scripts with the following commands:
58
-
59
- ```json fileName="package.json"
60
- {
61
- "scripts": {
62
- "start": "react-scripts-intlayer start",
63
- "build": "react-scripts-intlayer build"
64
- }
65
- }
66
- ```
67
-
68
- ## Use custom Webpack configuration
69
-
70
- `react-scripts-intlayer` is based on [craco](https://craco.js.org/), which allows you to customise the Webpack configuration.
71
- If you need to customise the Webpack configuration, you can also implement your own setup based on the intlayer craco plugin. [See example here](https://github.com/aymericzip/intlayer/blob/main/examples/react-app/craco.config.js).
72
-
73
- ## Read the full Intlayer guide for React Create App
74
-
75
- Intlayer provides many features to help you internationalise your React application.
76
- [See how to use intlayer with React Create App](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_with_create_react_app.md).
77
-
78
- ## Doc History
79
-
80
- - 5.5.10 - 2025-06-29: Init history
@@ -1,54 +0,0 @@
1
- ---
2
- createdAt: 2024-08-11
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | solid-intlayer
5
- description: See how to use the solid-intlayer package
6
- keywords:
7
- - Intlayer
8
- - solid-intlayer
9
- - Internationalisation
10
- - Documentation
11
- - Next.js
12
- - JavaScript
13
- - React
14
- slugs:
15
- - doc
16
- - packages
17
- - solid-intlayer
18
- ---
19
-
20
- # solid-intlayer: NPM Package to internationalise (i18n) a Solid application
21
-
22
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like Solid, Solid, and Express.js.
23
-
24
- **The `solid-intlayer` package** allows you to internationalise your Solid application. It provides context providers and hooks for Solid internationalisation.
25
-
26
- ## Why Internationalise Your Solid Application?
27
-
28
- Internationalising your Solid application is essential for serving a global audience effectively. It allows your application to deliver content and messages in the preferred language of each user. This capability enhances user experience and broadens your application's reach by making it more accessible and relevant to people from different linguistic backgrounds.
29
-
30
- ## Why integrate Intlayer?
31
-
32
- - **JavaScript-Powered Content Management**: Harness the flexibility of JavaScript to define and manage your content efficiently.
33
- - **Type-Safe Environment**: Utilise TypeScript to ensure all your content definitions are precise and free from errors.
34
- - **Integrated Content Files**: Keep your translations close to their respective components, improving maintainability and clarity.
35
-
36
- ## Installation
37
-
38
- Install the necessary package using your preferred package manager:
39
-
40
- ```bash packageManager="npm"
41
- npm install solid-intlayer
42
- ```
43
-
44
- ```bash packageManager="yarn"
45
- yarn add solid-intlayer
46
- ```
47
-
48
- ```bash packageManager="pnpm"
49
- pnpm add solid-intlayer
50
- ```
51
-
52
- ## Doc History
53
-
54
- - 5.5.10 - 2025-06-29: Init history
@@ -1,53 +0,0 @@
1
- ---
2
- createdAt: 2025-04-18
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | svelte-intlayer
5
- description: See how to use the svelte-intlayer package
6
- keywords:
7
- - Intlayer
8
- - svelte-intlayer
9
- - Internationalisation
10
- - Documentation
11
- - JavaScript
12
- - Svelte
13
- slugs:
14
- - doc
15
- - packages
16
- - svelte-intlayer
17
- ---
18
-
19
- # svelte-intlayer: NPM Package to internationalise (i18n) a Solid application
20
-
21
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like Solid, Solid, and Express.js.
22
-
23
- **The `svelte-intlayer` package** allows you to internationalise your Solid application. It provides context providers and hooks for Solid internationalisation.
24
-
25
- ## Why Internationalise Your Solid Application?
26
-
27
- Internationalising your Solid application is essential for serving a global audience effectively. It allows your application to deliver content and messages in the preferred language of each user. This capability enhances user experience and broadens your application's reach by making it more accessible and relevant to people from different linguistic backgrounds.
28
-
29
- ## Why integrate Intlayer?
30
-
31
- - **JavaScript-Powered Content Management**: Harness the flexibility of JavaScript to define and manage your content efficiently.
32
- - **Type-Safe Environment**: Utilise TypeScript to ensure all your content definitions are accurate and free from errors.
33
- - **Integrated Content Files**: Keep your translations close to their respective components, improving maintainability and clarity.
34
-
35
- ## Installation
36
-
37
- Install the required package using your preferred package manager:
38
-
39
- ```bash packageManager="npm"
40
- npm install svelte-intlayer
41
- ```
42
-
43
- ```bash packageManager="yarn"
44
- yarn add svelte-intlayer
45
- ```
46
-
47
- ```bash packageManager="pnpm"
48
- pnpm add svelte-intlayer
49
- ```
50
-
51
- ## Doc History
52
-
53
- - 5.5.10 - 2025-06-29: Initial history
@@ -1,76 +0,0 @@
1
- ---
2
- createdAt: 2024-08-11
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | vite-intlayer
5
- description: See how to use the vite-intlayer package
6
- keywords:
7
- - Intlayer
8
- - vite-intlayer
9
- - Internationalisation
10
- - Documentation
11
- - Next.js
12
- - JavaScript
13
- - React
14
- slugs:
15
- - doc
16
- - packages
17
- - vite-intlayer
18
- ---
19
-
20
- # vite-intlayer: NPM Package to internationalise (i18n) a Vite application
21
-
22
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, React, and Express.js.
23
-
24
- **The `vite-intlayer` package** allows you to internationalise your Vite application. It includes the Vite plugin to set the configuration through environment variables into the [Vite bundler](https://vitejs.dev/guide/why.html#why-bundle-for-production). It also provides middleware to detect the user's preferred locale, and redirect the user to the appropriate URL as specified in the [configuration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md).
25
-
26
- ## Why Internationalise Your Vite Application?
27
-
28
- Internationalising your Vite application is essential for serving a global audience effectively. It allows your application to deliver content and messages in the preferred language of each user. This capability enhances user experience and broadens your application's reach by making it more accessible and relevant to people from different linguistic backgrounds.
29
-
30
- ## Configuration
31
-
32
- The `vite-intlayer` package works seamlessly with the [`react-intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/index.md), and the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/intlayer/index.md). Have a look at the relevant documentation for more information.
33
-
34
- ## Installation
35
-
36
- Install the necessary package using your preferred package manager:
37
-
38
- ```bash packageManager="npm"
39
- npm install vite-intlayer
40
- ```
41
-
42
- ```bash packageManager="yarn"
43
- yarn add vite-intlayer
44
- ```
45
-
46
- ```bash packageManager="pnpm"
47
- pnpm add vite-intlayer
48
- ```
49
-
50
- ## Example of usage
51
-
52
- See an example of how to include the plugins into your Vite configuration.
53
-
54
- ```typescript fileName="vite.config.ts"
55
- import { defineConfig } from "vite";
56
- import { intlayer, intlayerMiddlewarePlugin } from "vite-intlayer";
57
-
58
- // https://vitejs.dev/config/
59
- export default defineConfig({
60
- plugins: [intlayer(), intlayerMiddlewarePlugin()],
61
- });
62
- ```
63
-
64
- > The `intlayer()` Vite plugin is used to integrate Intlayer with Vite. It ensures the building of content declaration files and monitors them in development mode. It defines Intlayer environment variables within the Vite application. Additionally, it provides aliases to optimise performance.
65
-
66
- > The `intlayerMiddlewarePlugin()` adds server-side routing to your application. This plugin will automatically detect the current locale based on the URL and set the appropriate locale cookie. If no locale is specified, the plugin will determine the most appropriate locale based on the user's browser language preferences. If no locale is detected, it will redirect to the default locale.
67
-
68
- ## Mastering the internationalisation of your Vite application
69
-
70
- Intlayer provides a lot of features to help you internationalise your Vite application.
71
-
72
- **To learn more about these features, refer to the [React Internationalisation (i18n) with Intlayer and Vite and React](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_vite+react.md) guide for Vite and React Application.**
73
-
74
- ## Doc History
75
-
76
- - 5.5.10 - 2025-06-29: Init history
@@ -1,53 +0,0 @@
1
- ---
2
- createdAt: 2025-04-18
3
- updatedAt: 2025-06-29
4
- title: Package Documentation | vue-intlayer
5
- description: See how to use the vue-intlayer package
6
- keywords:
7
- - Intlayer
8
- - vue-intlayer
9
- - Internationalisation
10
- - Documentation
11
- - JavaScript
12
- - Vue
13
- slugs:
14
- - doc
15
- - packages
16
- - vue-intlayer
17
- ---
18
-
19
- # vue-intlayer: NPM Package to internationalise (i18n) a Vue application
20
-
21
- **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like Vue, Vue, and Express.js.
22
-
23
- **The `vue-intlayer` package** allows you to internationalise your Vue application. It provides context providers and hooks for Vue internationalisation.
24
-
25
- ## Why Internationalise Your Vue Application?
26
-
27
- Internationalising your Vue application is essential for serving a global audience effectively. It allows your application to deliver content and messages in the preferred language of each user. This capability enhances user experience and broadens your application's reach by making it more accessible and relevant to people from different linguistic backgrounds.
28
-
29
- ## Why integrate Intlayer?
30
-
31
- - **JavaScript-Powered Content Management**: Harness the flexibility of JavaScript to define and manage your content efficiently.
32
- - **Type-Safe Environment**: Utilise TypeScript to ensure all your content definitions are accurate and free from errors.
33
- - **Integrated Content Files**: Keep your translations close to their respective components, improving maintainability and clarity.
34
-
35
- ## Installation
36
-
37
- Install the required package using your preferred package manager:
38
-
39
- ```bash packageManager="npm"
40
- npm install vue-intlayer
41
- ```
42
-
43
- ```bash packageManager="yarn"
44
- yarn add vue-intlayer
45
- ```
46
-
47
- ```bash packageManager="pnpm"
48
- pnpm add vue-intlayer
49
- ```
50
-
51
- ## Doc History
52
-
53
- - 5.5.10 - 2025-06-29: Initial history