@intlayer/docs 7.4.0 → 7.5.0-canary.1

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 (298) hide show
  1. package/blog/ar/intlayer_with_i18next.md +2 -0
  2. package/blog/ar/intlayer_with_next-i18next.md +2 -0
  3. package/blog/ar/intlayer_with_next-intl.md +2 -0
  4. package/blog/ar/intlayer_with_react-i18next.md +2 -0
  5. package/blog/ar/intlayer_with_react-intl.md +2 -0
  6. package/blog/ar/intlayer_with_vue-i18n.md +2 -0
  7. package/blog/de/intlayer_with_i18next.md +2 -0
  8. package/blog/de/intlayer_with_next-i18next.md +1 -0
  9. package/blog/de/intlayer_with_next-intl.md +2 -0
  10. package/blog/de/intlayer_with_react-i18next.md +2 -0
  11. package/blog/de/intlayer_with_react-intl.md +2 -0
  12. package/blog/de/intlayer_with_vue-i18n.md +2 -0
  13. package/blog/en/intlayer_with_i18next.md +6 -0
  14. package/blog/en/intlayer_with_next-i18next.md +3 -0
  15. package/blog/en/intlayer_with_next-intl.md +3 -0
  16. package/blog/en/intlayer_with_react-i18next.md +3 -0
  17. package/blog/en/intlayer_with_react-intl.md +3 -0
  18. package/blog/en/intlayer_with_vue-i18n.md +3 -0
  19. package/blog/en-GB/intlayer_with_i18next.md +2 -0
  20. package/blog/en-GB/intlayer_with_next-i18next.md +2 -0
  21. package/blog/en-GB/intlayer_with_next-intl.md +2 -0
  22. package/blog/en-GB/intlayer_with_react-i18next.md +2 -0
  23. package/blog/en-GB/intlayer_with_react-intl.md +2 -0
  24. package/blog/en-GB/intlayer_with_vue-i18n.md +2 -0
  25. package/blog/es/intlayer_with_i18next.md +2 -0
  26. package/blog/es/intlayer_with_next-i18next.md +2 -0
  27. package/blog/es/intlayer_with_next-intl.md +2 -0
  28. package/blog/es/intlayer_with_react-i18next.md +2 -0
  29. package/blog/es/intlayer_with_react-intl.md +2 -0
  30. package/blog/es/intlayer_with_vue-i18n.md +2 -0
  31. package/blog/fr/intlayer_with_i18next.md +2 -0
  32. package/blog/fr/intlayer_with_next-i18next.md +2 -0
  33. package/blog/fr/intlayer_with_next-intl.md +2 -0
  34. package/blog/fr/intlayer_with_react-i18next.md +2 -0
  35. package/blog/fr/intlayer_with_react-intl.md +2 -0
  36. package/blog/fr/intlayer_with_vue-i18n.md +2 -0
  37. package/blog/hi/intlayer_with_i18next.md +2 -0
  38. package/blog/hi/intlayer_with_next-i18next.md +2 -0
  39. package/blog/hi/intlayer_with_next-intl.md +2 -0
  40. package/blog/hi/intlayer_with_react-i18next.md +2 -0
  41. package/blog/hi/intlayer_with_react-intl.md +2 -0
  42. package/blog/hi/intlayer_with_vue-i18n.md +2 -0
  43. package/blog/id/intlayer_with_i18next.md +2 -0
  44. package/blog/id/intlayer_with_next-i18next.md +2 -0
  45. package/blog/id/intlayer_with_next-intl.md +2 -0
  46. package/blog/id/intlayer_with_react-i18next.md +2 -0
  47. package/blog/id/intlayer_with_react-intl.md +2 -0
  48. package/blog/id/intlayer_with_vue-i18n.md +2 -0
  49. package/blog/it/intlayer_with_i18next.md +2 -0
  50. package/blog/it/intlayer_with_next-i18next.md +2 -0
  51. package/blog/it/intlayer_with_next-intl.md +2 -0
  52. package/blog/it/intlayer_with_react-i18next.md +2 -0
  53. package/blog/it/intlayer_with_react-intl.md +2 -0
  54. package/blog/it/intlayer_with_vue-i18n.md +2 -0
  55. package/blog/ja/intlayer_with_i18next.md +2 -0
  56. package/blog/ja/intlayer_with_next-i18next.md +1 -0
  57. package/blog/ja/intlayer_with_next-intl.md +2 -0
  58. package/blog/ja/intlayer_with_react-i18next.md +2 -0
  59. package/blog/ja/intlayer_with_react-intl.md +2 -0
  60. package/blog/ja/intlayer_with_vue-i18n.md +2 -0
  61. package/blog/ko/intlayer_with_i18next.md +2 -0
  62. package/blog/ko/intlayer_with_next-i18next.md +2 -0
  63. package/blog/ko/intlayer_with_next-intl.md +2 -0
  64. package/blog/ko/intlayer_with_react-i18next.md +2 -0
  65. package/blog/ko/intlayer_with_react-intl.md +2 -0
  66. package/blog/ko/intlayer_with_vue-i18n.md +2 -0
  67. package/blog/pl/intlayer_with_i18next.md +2 -0
  68. package/blog/pl/intlayer_with_next-i18next.md +2 -0
  69. package/blog/pl/intlayer_with_next-intl.md +2 -0
  70. package/blog/pl/intlayer_with_react-i18next.md +2 -0
  71. package/blog/pl/intlayer_with_react-intl.md +2 -0
  72. package/blog/pl/intlayer_with_vue-i18n.md +2 -0
  73. package/blog/pt/intlayer_with_i18next.md +2 -0
  74. package/blog/pt/intlayer_with_next-i18next.md +2 -0
  75. package/blog/pt/intlayer_with_next-intl.md +2 -0
  76. package/blog/pt/intlayer_with_react-i18next.md +2 -0
  77. package/blog/pt/intlayer_with_react-intl.md +2 -0
  78. package/blog/pt/intlayer_with_vue-i18n.md +2 -0
  79. package/blog/ru/intlayer_with_i18next.md +2 -0
  80. package/blog/ru/intlayer_with_next-i18next.md +2 -0
  81. package/blog/ru/intlayer_with_next-intl.md +2 -0
  82. package/blog/ru/intlayer_with_react-i18next.md +2 -0
  83. package/blog/ru/intlayer_with_react-intl.md +2 -0
  84. package/blog/ru/intlayer_with_vue-i18n.md +2 -0
  85. package/blog/tr/intlayer_with_i18next.md +2 -0
  86. package/blog/tr/intlayer_with_next-i18next.md +2 -0
  87. package/blog/tr/intlayer_with_next-intl.md +2 -0
  88. package/blog/tr/intlayer_with_react-i18next.md +2 -0
  89. package/blog/tr/intlayer_with_react-intl.md +2 -0
  90. package/blog/tr/intlayer_with_vue-i18n.md +2 -0
  91. package/blog/vi/intlayer_with_i18next.md +2 -0
  92. package/blog/vi/intlayer_with_next-i18next.md +2 -0
  93. package/blog/vi/intlayer_with_next-intl.md +2 -0
  94. package/blog/vi/intlayer_with_react-i18next.md +2 -0
  95. package/blog/vi/intlayer_with_react-intl.md +2 -0
  96. package/blog/vi/intlayer_with_vue-i18n.md +2 -0
  97. package/blog/zh/intlayer_with_i18next.md +2 -0
  98. package/blog/zh/intlayer_with_next-i18next.md +2 -0
  99. package/blog/zh/intlayer_with_next-intl.md +2 -0
  100. package/blog/zh/intlayer_with_react-i18next.md +2 -0
  101. package/blog/zh/intlayer_with_react-intl.md +2 -0
  102. package/blog/zh/intlayer_with_vue-i18n.md +2 -0
  103. package/dist/cjs/generated/docs.entry.cjs +19 -0
  104. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  105. package/dist/esm/generated/docs.entry.mjs +19 -0
  106. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  107. package/dist/types/generated/docs.entry.d.ts +1 -0
  108. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  109. package/docs/ar/cli/index.md +5 -0
  110. package/docs/ar/cli/login.md +157 -0
  111. package/docs/ar/configuration.md +12 -0
  112. package/docs/ar/dictionary/content_file.md +24 -1
  113. package/docs/ar/intlayer_with_astro.md +1 -1
  114. package/docs/ar/intlayer_with_express.md +1 -1
  115. package/docs/ar/intlayer_with_nestjs.md +1 -1
  116. package/docs/ar/intlayer_with_next-i18next.md +1 -0
  117. package/docs/ar/intlayer_with_next-intl.md +1 -0
  118. package/docs/ar/intlayer_with_tanstack.md +1 -12
  119. package/docs/ar/plugins/sync-json.md +27 -2
  120. package/docs/de/cli/index.md +5 -0
  121. package/docs/de/cli/login.md +160 -0
  122. package/docs/de/configuration.md +12 -0
  123. package/docs/de/dictionary/content_file.md +24 -1
  124. package/docs/de/intlayer_with_astro.md +1 -1
  125. package/docs/de/intlayer_with_express.md +1 -1
  126. package/docs/de/intlayer_with_nestjs.md +1 -1
  127. package/docs/de/intlayer_with_next-i18next.md +1 -0
  128. package/docs/de/intlayer_with_next-intl.md +1 -0
  129. package/docs/de/intlayer_with_tanstack.md +1 -12
  130. package/docs/de/plugins/sync-json.md +27 -2
  131. package/docs/en/cli/index.md +5 -0
  132. package/docs/en/cli/login.md +157 -0
  133. package/docs/en/configuration.md +13 -0
  134. package/docs/en/dictionary/content_file.md +24 -1
  135. package/docs/en/index.md +1 -0
  136. package/docs/en/intlayer_with_astro.md +1 -1
  137. package/docs/en/intlayer_with_express.md +1 -1
  138. package/docs/en/intlayer_with_nestjs.md +1 -2
  139. package/docs/en/intlayer_with_next-i18next.md +1 -0
  140. package/docs/en/intlayer_with_next-intl.md +1 -0
  141. package/docs/en/intlayer_with_tanstack.md +7 -17
  142. package/docs/en/plugins/sync-json.md +53 -2
  143. package/docs/en-GB/cli/index.md +5 -0
  144. package/docs/en-GB/cli/login.md +181 -0
  145. package/docs/en-GB/configuration.md +12 -0
  146. package/docs/en-GB/dictionary/content_file.md +24 -1
  147. package/docs/en-GB/intlayer_with_astro.md +1 -1
  148. package/docs/en-GB/intlayer_with_express.md +1 -1
  149. package/docs/en-GB/intlayer_with_nestjs.md +1 -1
  150. package/docs/en-GB/intlayer_with_next-i18next.md +1 -0
  151. package/docs/en-GB/intlayer_with_next-intl.md +1 -0
  152. package/docs/en-GB/intlayer_with_tanstack.md +1 -12
  153. package/docs/en-GB/plugins/sync-json.md +26 -1
  154. package/docs/es/cli/index.md +5 -0
  155. package/docs/es/cli/login.md +182 -0
  156. package/docs/es/configuration.md +12 -0
  157. package/docs/es/dictionary/content_file.md +24 -1
  158. package/docs/es/intlayer_with_astro.md +1 -1
  159. package/docs/es/intlayer_with_express.md +1 -1
  160. package/docs/es/intlayer_with_nestjs.md +1 -1
  161. package/docs/es/intlayer_with_next-i18next.md +1 -0
  162. package/docs/es/intlayer_with_next-intl.md +1 -0
  163. package/docs/es/intlayer_with_tanstack.md +1 -12
  164. package/docs/es/plugins/sync-json.md +27 -2
  165. package/docs/fr/cli/index.md +5 -0
  166. package/docs/fr/cli/login.md +185 -0
  167. package/docs/fr/configuration.md +12 -0
  168. package/docs/fr/dictionary/content_file.md +24 -1
  169. package/docs/fr/intlayer_with_astro.md +1 -1
  170. package/docs/fr/intlayer_with_express.md +1 -1
  171. package/docs/fr/intlayer_with_nestjs.md +1 -1
  172. package/docs/fr/intlayer_with_next-i18next.md +1 -0
  173. package/docs/fr/intlayer_with_next-intl.md +1 -0
  174. package/docs/fr/intlayer_with_tanstack.md +1 -12
  175. package/docs/fr/plugins/sync-json.md +27 -2
  176. package/docs/hi/cli/index.md +5 -0
  177. package/docs/hi/cli/login.md +181 -0
  178. package/docs/hi/configuration.md +12 -0
  179. package/docs/hi/dictionary/content_file.md +24 -1
  180. package/docs/hi/intlayer_with_astro.md +1 -1
  181. package/docs/hi/intlayer_with_express.md +1 -1
  182. package/docs/hi/intlayer_with_nestjs.md +1 -1
  183. package/docs/hi/intlayer_with_next-i18next.md +1 -0
  184. package/docs/hi/intlayer_with_next-intl.md +1 -0
  185. package/docs/hi/intlayer_with_tanstack.md +1 -12
  186. package/docs/hi/plugins/sync-json.md +27 -2
  187. package/docs/id/cli/index.md +5 -0
  188. package/docs/id/cli/login.md +157 -0
  189. package/docs/id/configuration.md +12 -0
  190. package/docs/id/dictionary/content_file.md +24 -1
  191. package/docs/id/intlayer_with_astro.md +1 -1
  192. package/docs/id/intlayer_with_express.md +1 -1
  193. package/docs/id/intlayer_with_nestjs.md +1 -1
  194. package/docs/id/intlayer_with_next-i18next.md +1 -0
  195. package/docs/id/intlayer_with_next-intl.md +1 -0
  196. package/docs/id/intlayer_with_tanstack.md +1 -12
  197. package/docs/id/plugins/sync-json.md +27 -2
  198. package/docs/it/cli/index.md +5 -0
  199. package/docs/it/cli/login.md +157 -0
  200. package/docs/it/configuration.md +12 -0
  201. package/docs/it/dictionary/content_file.md +24 -1
  202. package/docs/it/intlayer_with_astro.md +1 -1
  203. package/docs/it/intlayer_with_express.md +1 -1
  204. package/docs/it/intlayer_with_nestjs.md +1 -1
  205. package/docs/it/intlayer_with_next-i18next.md +1 -0
  206. package/docs/it/intlayer_with_next-intl.md +1 -0
  207. package/docs/it/intlayer_with_tanstack.md +1 -12
  208. package/docs/it/plugins/sync-json.md +27 -2
  209. package/docs/ja/cli/index.md +5 -0
  210. package/docs/ja/cli/login.md +159 -0
  211. package/docs/ja/configuration.md +12 -0
  212. package/docs/ja/dictionary/content_file.md +24 -1
  213. package/docs/ja/intlayer_with_astro.md +1 -1
  214. package/docs/ja/intlayer_with_express.md +1 -1
  215. package/docs/ja/intlayer_with_nestjs.md +1 -1
  216. package/docs/ja/intlayer_with_next-i18next.md +1 -0
  217. package/docs/ja/intlayer_with_next-intl.md +1 -0
  218. package/docs/ja/intlayer_with_tanstack.md +1 -12
  219. package/docs/ja/plugins/sync-json.md +27 -2
  220. package/docs/ko/cli/index.md +5 -0
  221. package/docs/ko/cli/login.md +188 -0
  222. package/docs/ko/configuration.md +12 -0
  223. package/docs/ko/dictionary/content_file.md +44 -1
  224. package/docs/ko/intlayer_with_astro.md +1 -1
  225. package/docs/ko/intlayer_with_express.md +1 -1
  226. package/docs/ko/intlayer_with_nestjs.md +1 -1
  227. package/docs/ko/intlayer_with_next-i18next.md +1 -0
  228. package/docs/ko/intlayer_with_next-intl.md +1 -0
  229. package/docs/ko/intlayer_with_tanstack.md +1 -12
  230. package/docs/ko/plugins/sync-json.md +27 -2
  231. package/docs/pl/cli/index.md +5 -0
  232. package/docs/pl/cli/login.md +187 -0
  233. package/docs/pl/configuration.md +12 -0
  234. package/docs/pl/dictionary/content_file.md +24 -1
  235. package/docs/pl/intlayer_with_astro.md +2 -2
  236. package/docs/pl/intlayer_with_express.md +1 -1
  237. package/docs/pl/intlayer_with_nestjs.md +1 -1
  238. package/docs/pl/intlayer_with_next-i18next.md +1 -0
  239. package/docs/pl/intlayer_with_next-intl.md +1 -0
  240. package/docs/pl/intlayer_with_tanstack.md +1 -12
  241. package/docs/pl/plugins/sync-json.md +24 -2
  242. package/docs/pt/cli/index.md +5 -0
  243. package/docs/pt/cli/login.md +186 -0
  244. package/docs/pt/configuration.md +12 -0
  245. package/docs/pt/dictionary/content_file.md +24 -1
  246. package/docs/pt/intlayer_with_astro.md +1 -1
  247. package/docs/pt/intlayer_with_express.md +1 -1
  248. package/docs/pt/intlayer_with_nestjs.md +1 -1
  249. package/docs/pt/intlayer_with_next-i18next.md +1 -0
  250. package/docs/pt/intlayer_with_next-intl.md +1 -0
  251. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +570 -0
  252. package/docs/pt/intlayer_with_tanstack.md +1 -12
  253. package/docs/pt/plugins/sync-json.md +27 -2
  254. package/docs/ru/cli/index.md +5 -0
  255. package/docs/ru/cli/login.md +181 -0
  256. package/docs/ru/configuration.md +12 -0
  257. package/docs/ru/dictionary/content_file.md +44 -1
  258. package/docs/ru/intlayer_with_astro.md +1 -1
  259. package/docs/ru/intlayer_with_express.md +1 -1
  260. package/docs/ru/intlayer_with_nestjs.md +1 -1
  261. package/docs/ru/intlayer_with_next-i18next.md +1 -0
  262. package/docs/ru/intlayer_with_next-intl.md +1 -0
  263. package/docs/ru/intlayer_with_tanstack.md +1 -12
  264. package/docs/ru/plugins/sync-json.md +27 -2
  265. package/docs/tr/cli/index.md +5 -0
  266. package/docs/tr/cli/login.md +171 -0
  267. package/docs/tr/configuration.md +12 -0
  268. package/docs/tr/dictionary/content_file.md +44 -1
  269. package/docs/tr/intlayer_with_astro.md +1 -1
  270. package/docs/tr/intlayer_with_express.md +1 -1
  271. package/docs/tr/intlayer_with_next-i18next.md +1 -0
  272. package/docs/tr/intlayer_with_next-intl.md +1 -0
  273. package/docs/tr/intlayer_with_tanstack.md +1 -12
  274. package/docs/tr/plugins/sync-json.md +27 -2
  275. package/docs/vi/cli/index.md +5 -0
  276. package/docs/vi/cli/login.md +186 -0
  277. package/docs/vi/configuration.md +12 -0
  278. package/docs/vi/dictionary/content_file.md +24 -1
  279. package/docs/vi/intlayer_with_astro.md +1 -1
  280. package/docs/vi/intlayer_with_express.md +1 -1
  281. package/docs/vi/intlayer_with_nestjs.md +1 -1
  282. package/docs/vi/intlayer_with_next-i18next.md +1 -0
  283. package/docs/vi/intlayer_with_next-intl.md +1 -0
  284. package/docs/vi/intlayer_with_tanstack.md +1 -12
  285. package/docs/vi/plugins/sync-json.md +27 -2
  286. package/docs/zh/cli/index.md +5 -0
  287. package/docs/zh/cli/login.md +182 -0
  288. package/docs/zh/configuration.md +12 -0
  289. package/docs/zh/dictionary/content_file.md +44 -1
  290. package/docs/zh/intlayer_with_astro.md +1 -1
  291. package/docs/zh/intlayer_with_express.md +1 -1
  292. package/docs/zh/intlayer_with_nestjs.md +1 -1
  293. package/docs/zh/intlayer_with_next-i18next.md +1 -0
  294. package/docs/zh/intlayer_with_next-intl.md +1 -0
  295. package/docs/zh/intlayer_with_tanstack.md +1 -12
  296. package/docs/zh/plugins/sync-json.md +27 -2
  297. package/package.json +9 -9
  298. package/src/generated/docs.entry.ts +19 -0
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "vue-i18n",
101
102
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * Carregará e escreverá a saída e as traduções de volta nos arquivos JSON no diretório de locais
150
151
  */
151
152
  syncJSON({
153
+ format: "vue-i18n",
152
154
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -100,6 +100,7 @@ const config: IntlayerConfig = {
100
100
  },
101
101
  plugins: [
102
102
  syncJSON({
103
+ format: "i18next",
103
104
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
104
105
  }),
105
106
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * Загрузит и запишет результат и переводы обратно в JSON файлы в директории locales
150
151
  */
151
152
  syncJSON({
153
+ format: "i18next",
152
154
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -108,6 +108,7 @@ const config: IntlayerConfig = {
108
108
  },
109
109
  plugins: [
110
110
  syncJSON({
111
+ format: "i18next",
111
112
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
112
113
  }),
113
114
  ],
@@ -159,6 +160,7 @@ const config: IntlayerConfig = {
159
160
  * Загрузит, а также запишет результаты и переводы обратно в JSON-файлы в директории локалей
160
161
  */
161
162
  syncJSON({
163
+ format: "i18next",
162
164
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
163
165
  priority: 0,
164
166
  }),
@@ -94,6 +94,7 @@ const config: IntlayerConfig = {
94
94
  },
95
95
  plugins: [
96
96
  syncJSON({
97
+ format: "icu",
97
98
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
98
99
  }),
99
100
  ],
@@ -144,6 +145,7 @@ const config: IntlayerConfig = {
144
145
  * Загрузит и запишет результаты и переводы обратно в JSON-файлы в директории locales
145
146
  */
146
147
  syncJSON({
148
+ format: "icu",
147
149
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
148
150
  priority: 0,
149
151
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "i18next",
101
102
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -147,6 +148,7 @@ const config: IntlayerConfig = {
147
148
  * Загрузит и запишет результат и переводы обратно в JSON-файлы в директории locales
148
149
  */
149
150
  syncJSON({
151
+ format: "i18next",
150
152
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
151
153
  priority: 0,
152
154
  }),
@@ -96,6 +96,7 @@ const config: IntlayerConfig = {
96
96
  },
97
97
  plugins: [
98
98
  syncJSON({
99
+ format: "icu",
99
100
  source: ({ key, locale }) => `./intl/messages/${locale}/${key}.json`,
100
101
  }),
101
102
  ],
@@ -145,6 +146,7 @@ const config: IntlayerConfig = {
145
146
  * Загрузит и запишет результат и переводы обратно в JSON-файлы в директории locales
146
147
  */
147
148
  syncJSON({
149
+ format: "icu",
148
150
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
149
151
  priority: 0,
150
152
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "vue-i18n",
101
102
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * Загрузит, а также запишет результат и переводы обратно в JSON-файлы в директории locales
150
151
  */
151
152
  syncJSON({
153
+ format: "vue-i18n",
152
154
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -100,6 +100,7 @@ const config: IntlayerConfig = {
100
100
  },
101
101
  plugins: [
102
102
  syncJSON({
103
+ format: "i18next",
103
104
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
104
105
  }),
105
106
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * locales dizinindeki JSON dosyalarını yükler ve çıktı ile çevirileri geri yazar
150
151
  */
151
152
  syncJSON({
153
+ format: "i18next",
152
154
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -119,6 +119,7 @@ const config: IntlayerConfig = {
119
119
  },
120
120
  plugins: [
121
121
  syncJSON({
122
+ format: 'i18next',
122
123
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
123
124
  }),
124
125
  ],
@@ -170,6 +171,7 @@ const config: IntlayerConfig = {
170
171
  * Yerel dizindeki JSON dosyalarına çıktıyı ve çevirileri geri yazacak ve yükleyecek
171
172
  */
172
173
  syncJSON({
174
+ format: "i18next",
173
175
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
174
176
  priority: 0,
175
177
  }),
@@ -95,6 +95,7 @@ const config: IntlayerConfig = {
95
95
  },
96
96
  plugins: [
97
97
  syncJSON({
98
+ format: "icu",
98
99
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
99
100
  }),
100
101
  ],
@@ -144,6 +145,7 @@ const config: IntlayerConfig = {
144
145
  * locales dizinindeki JSON dosyalarını yükler ve çıktı ile çevirileri bu dosyalara geri yazar
145
146
  */
146
147
  syncJSON({
148
+ format: "icu",
147
149
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
148
150
  priority: 0,
149
151
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "i18next",
101
102
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -147,6 +148,7 @@ const config: IntlayerConfig = {
147
148
  * locales dizinindeki JSON dosyalarını yükler ve çıktı ile çevirileri geri yazar
148
149
  */
149
150
  syncJSON({
151
+ format: "i18next",
150
152
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
151
153
  priority: 0,
152
154
  }),
@@ -93,6 +93,7 @@ const config: IntlayerConfig = {
93
93
  },
94
94
  plugins: [
95
95
  syncJSON({
96
+ format: "icu",
96
97
  source: ({ key, locale }) => `./intl/messages/${locale}/${key}.json`,
97
98
  }),
98
99
  ],
@@ -142,6 +143,7 @@ const config: IntlayerConfig = {
142
143
  * locales dizinindeki JSON dosyalarını yükler ve çıktı ile çevirileri geri yazar
143
144
  */
144
145
  syncJSON({
146
+ format: "icu",
145
147
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
146
148
  priority: 0,
147
149
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "vue-i18n",
101
102
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * locales dizinindeki JSON dosyalarını yükler ve çıktı ile çevirileri geri yazar
150
151
  */
151
152
  syncJSON({
153
+ format: "vue-i18n",
152
154
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -100,6 +100,7 @@ const config: IntlayerConfig = {
100
100
  },
101
101
  plugins: [
102
102
  syncJSON({
103
+ format: "i18next",
103
104
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
104
105
  }),
105
106
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * Sẽ tải, và ghi đầu ra cùng các bản dịch trở lại các tệp JSON trong thư mục locales
150
151
  */
151
152
  syncJSON({
153
+ format: "i18next",
152
154
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -108,6 +108,7 @@ const config: IntlayerConfig = {
108
108
  },
109
109
  plugins: [
110
110
  syncJSON({
111
+ format: "i18next",
111
112
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
112
113
  }),
113
114
  ],
@@ -159,6 +160,7 @@ const config: IntlayerConfig = {
159
160
  * Sẽ tải và ghi lại đầu ra cùng các bản dịch trở lại các file JSON trong thư mục locales
160
161
  */
161
162
  syncJSON({
163
+ format: "i18next",
162
164
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
163
165
  priority: 0,
164
166
  }),
@@ -95,6 +95,7 @@ const config: IntlayerConfig = {
95
95
  },
96
96
  plugins: [
97
97
  syncJSON({
98
+ format: "icu",
98
99
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
99
100
  }),
100
101
  ],
@@ -144,6 +145,7 @@ const config: IntlayerConfig = {
144
145
  * Sẽ tải và ghi đầu ra cùng các bản dịch trở lại các tệp JSON trong thư mục locales
145
146
  */
146
147
  syncJSON({
148
+ format: "icu",
147
149
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
148
150
  priority: 0,
149
151
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "i18next",
101
102
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -147,6 +148,7 @@ const config: IntlayerConfig = {
147
148
  * Sẽ tải và ghi đầu ra cùng các bản dịch trở lại các tệp JSON trong thư mục locales
148
149
  */
149
150
  syncJSON({
151
+ format: "i18next",
150
152
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
151
153
  priority: 0,
152
154
  }),
@@ -96,6 +96,7 @@ const config: IntlayerConfig = {
96
96
  },
97
97
  plugins: [
98
98
  syncJSON({
99
+ format: "icu",
99
100
  source: ({ key, locale }) => `./intl/messages/${locale}/${key}.json`,
100
101
  }),
101
102
  ],
@@ -145,6 +146,7 @@ const config: IntlayerConfig = {
145
146
  * Sẽ tải và ghi đầu ra cùng các bản dịch trở lại các tệp JSON trong thư mục locales
146
147
  */
147
148
  syncJSON({
149
+ format: "icu",
148
150
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
149
151
  priority: 0,
150
152
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "vue-i18n",
101
102
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * Sẽ tải và ghi đầu ra cùng các bản dịch trở lại các tệp JSON trong thư mục locales
150
151
  */
151
152
  syncJSON({
153
+ format: "vue-i18n",
152
154
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -100,6 +100,7 @@ const config: IntlayerConfig = {
100
100
  },
101
101
  plugins: [
102
102
  syncJSON({
103
+ format: "i18next",
103
104
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
104
105
  }),
105
106
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * 将加载并将输出和翻译写回到 locales 目录中的 JSON 文件
150
151
  */
151
152
  syncJSON({
153
+ format: "i18next",
152
154
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -108,6 +108,7 @@ const config: IntlayerConfig = {
108
108
  },
109
109
  plugins: [
110
110
  syncJSON({
111
+ format: "i18next",
111
112
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
112
113
  }),
113
114
  ],
@@ -159,6 +160,7 @@ const config: IntlayerConfig = {
159
160
  * 将输出和翻译写回到 locales 目录中的 JSON 文件
160
161
  */
161
162
  syncJSON({
163
+ format: "i18next",
162
164
  source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
163
165
  priority: 0,
164
166
  }),
@@ -94,6 +94,7 @@ const config: IntlayerConfig = {
94
94
  },
95
95
  plugins: [
96
96
  syncJSON({
97
+ format: "icu",
97
98
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
98
99
  }),
99
100
  ],
@@ -144,6 +145,7 @@ const config: IntlayerConfig = {
144
145
  * 将加载并将输出和翻译写回到 locales 目录中的 JSON 文件
145
146
  */
146
147
  syncJSON({
148
+ format: "icu",
147
149
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
148
150
  priority: 0,
149
151
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "i18next",
101
102
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -147,6 +148,7 @@ const config: IntlayerConfig = {
147
148
  * 将加载并将输出和翻译写回到 locales 目录中的 JSON 文件
148
149
  */
149
150
  syncJSON({
151
+ format: "i18next",
150
152
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
151
153
  priority: 0,
152
154
  }),
@@ -96,6 +96,7 @@ const config: IntlayerConfig = {
96
96
  },
97
97
  plugins: [
98
98
  syncJSON({
99
+ format: "icu",
99
100
  source: ({ key, locale }) => `./intl/messages/${locale}/${key}.json`,
100
101
  }),
101
102
  ],
@@ -145,6 +146,7 @@ const config: IntlayerConfig = {
145
146
  * 将加载并将输出和翻译写回 locales 目录中的 JSON 文件
146
147
  */
147
148
  syncJSON({
149
+ format: "icu",
148
150
  source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
149
151
  priority: 0,
150
152
  }),
@@ -98,6 +98,7 @@ const config: IntlayerConfig = {
98
98
  },
99
99
  plugins: [
100
100
  syncJSON({
101
+ format: "vue-i18n",
101
102
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
102
103
  }),
103
104
  ],
@@ -149,6 +150,7 @@ const config: IntlayerConfig = {
149
150
  * 将加载并将输出和翻译写回到 locales 目录中的 JSON 文件
150
151
  */
151
152
  syncJSON({
153
+ format: "vue-i18n",
152
154
  source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
153
155
  priority: 0,
154
156
  }),
@@ -271,6 +271,25 @@ const docsEntry = {
271
271
  id: readLocale("cli/live.md", "id"),
272
272
  vi: readLocale("cli/live.md", "vi")
273
273
  },
274
+ "./docs/en/cli/login.md": {
275
+ en: readLocale("cli/login.md", "en"),
276
+ ru: readLocale("cli/login.md", "ru"),
277
+ ja: readLocale("cli/login.md", "ja"),
278
+ fr: readLocale("cli/login.md", "fr"),
279
+ ko: readLocale("cli/login.md", "ko"),
280
+ zh: readLocale("cli/login.md", "zh"),
281
+ es: readLocale("cli/login.md", "es"),
282
+ de: readLocale("cli/login.md", "de"),
283
+ ar: readLocale("cli/login.md", "ar"),
284
+ it: readLocale("cli/login.md", "it"),
285
+ "en-GB": readLocale("cli/login.md", "en-GB"),
286
+ pt: readLocale("cli/login.md", "pt"),
287
+ hi: readLocale("cli/login.md", "hi"),
288
+ tr: readLocale("cli/login.md", "tr"),
289
+ pl: readLocale("cli/login.md", "pl"),
290
+ id: readLocale("cli/login.md", "id"),
291
+ vi: readLocale("cli/login.md", "vi")
292
+ },
274
293
  "./docs/en/cli/pull.md": {
275
294
  en: readLocale("cli/pull.md", "en"),
276
295
  ru: readLocale("cli/pull.md", "ru"),