@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.
- package/blog/ar/intlayer_with_i18next.md +2 -0
- package/blog/ar/intlayer_with_next-i18next.md +2 -0
- package/blog/ar/intlayer_with_next-intl.md +2 -0
- package/blog/ar/intlayer_with_react-i18next.md +2 -0
- package/blog/ar/intlayer_with_react-intl.md +2 -0
- package/blog/ar/intlayer_with_vue-i18n.md +2 -0
- package/blog/de/intlayer_with_i18next.md +2 -0
- package/blog/de/intlayer_with_next-i18next.md +1 -0
- package/blog/de/intlayer_with_next-intl.md +2 -0
- package/blog/de/intlayer_with_react-i18next.md +2 -0
- package/blog/de/intlayer_with_react-intl.md +2 -0
- package/blog/de/intlayer_with_vue-i18n.md +2 -0
- package/blog/en/intlayer_with_i18next.md +6 -0
- package/blog/en/intlayer_with_next-i18next.md +3 -0
- package/blog/en/intlayer_with_next-intl.md +3 -0
- package/blog/en/intlayer_with_react-i18next.md +3 -0
- package/blog/en/intlayer_with_react-intl.md +3 -0
- package/blog/en/intlayer_with_vue-i18n.md +3 -0
- package/blog/en-GB/intlayer_with_i18next.md +2 -0
- package/blog/en-GB/intlayer_with_next-i18next.md +2 -0
- package/blog/en-GB/intlayer_with_next-intl.md +2 -0
- package/blog/en-GB/intlayer_with_react-i18next.md +2 -0
- package/blog/en-GB/intlayer_with_react-intl.md +2 -0
- package/blog/en-GB/intlayer_with_vue-i18n.md +2 -0
- package/blog/es/intlayer_with_i18next.md +2 -0
- package/blog/es/intlayer_with_next-i18next.md +2 -0
- package/blog/es/intlayer_with_next-intl.md +2 -0
- package/blog/es/intlayer_with_react-i18next.md +2 -0
- package/blog/es/intlayer_with_react-intl.md +2 -0
- package/blog/es/intlayer_with_vue-i18n.md +2 -0
- package/blog/fr/intlayer_with_i18next.md +2 -0
- package/blog/fr/intlayer_with_next-i18next.md +2 -0
- package/blog/fr/intlayer_with_next-intl.md +2 -0
- package/blog/fr/intlayer_with_react-i18next.md +2 -0
- package/blog/fr/intlayer_with_react-intl.md +2 -0
- package/blog/fr/intlayer_with_vue-i18n.md +2 -0
- package/blog/hi/intlayer_with_i18next.md +2 -0
- package/blog/hi/intlayer_with_next-i18next.md +2 -0
- package/blog/hi/intlayer_with_next-intl.md +2 -0
- package/blog/hi/intlayer_with_react-i18next.md +2 -0
- package/blog/hi/intlayer_with_react-intl.md +2 -0
- package/blog/hi/intlayer_with_vue-i18n.md +2 -0
- package/blog/id/intlayer_with_i18next.md +2 -0
- package/blog/id/intlayer_with_next-i18next.md +2 -0
- package/blog/id/intlayer_with_next-intl.md +2 -0
- package/blog/id/intlayer_with_react-i18next.md +2 -0
- package/blog/id/intlayer_with_react-intl.md +2 -0
- package/blog/id/intlayer_with_vue-i18n.md +2 -0
- package/blog/it/intlayer_with_i18next.md +2 -0
- package/blog/it/intlayer_with_next-i18next.md +2 -0
- package/blog/it/intlayer_with_next-intl.md +2 -0
- package/blog/it/intlayer_with_react-i18next.md +2 -0
- package/blog/it/intlayer_with_react-intl.md +2 -0
- package/blog/it/intlayer_with_vue-i18n.md +2 -0
- package/blog/ja/intlayer_with_i18next.md +2 -0
- package/blog/ja/intlayer_with_next-i18next.md +1 -0
- package/blog/ja/intlayer_with_next-intl.md +2 -0
- package/blog/ja/intlayer_with_react-i18next.md +2 -0
- package/blog/ja/intlayer_with_react-intl.md +2 -0
- package/blog/ja/intlayer_with_vue-i18n.md +2 -0
- package/blog/ko/intlayer_with_i18next.md +2 -0
- package/blog/ko/intlayer_with_next-i18next.md +2 -0
- package/blog/ko/intlayer_with_next-intl.md +2 -0
- package/blog/ko/intlayer_with_react-i18next.md +2 -0
- package/blog/ko/intlayer_with_react-intl.md +2 -0
- package/blog/ko/intlayer_with_vue-i18n.md +2 -0
- package/blog/pl/intlayer_with_i18next.md +2 -0
- package/blog/pl/intlayer_with_next-i18next.md +2 -0
- package/blog/pl/intlayer_with_next-intl.md +2 -0
- package/blog/pl/intlayer_with_react-i18next.md +2 -0
- package/blog/pl/intlayer_with_react-intl.md +2 -0
- package/blog/pl/intlayer_with_vue-i18n.md +2 -0
- package/blog/pt/intlayer_with_i18next.md +2 -0
- package/blog/pt/intlayer_with_next-i18next.md +2 -0
- package/blog/pt/intlayer_with_next-intl.md +2 -0
- package/blog/pt/intlayer_with_react-i18next.md +2 -0
- package/blog/pt/intlayer_with_react-intl.md +2 -0
- package/blog/pt/intlayer_with_vue-i18n.md +2 -0
- package/blog/ru/intlayer_with_i18next.md +2 -0
- package/blog/ru/intlayer_with_next-i18next.md +2 -0
- package/blog/ru/intlayer_with_next-intl.md +2 -0
- package/blog/ru/intlayer_with_react-i18next.md +2 -0
- package/blog/ru/intlayer_with_react-intl.md +2 -0
- package/blog/ru/intlayer_with_vue-i18n.md +2 -0
- package/blog/tr/intlayer_with_i18next.md +2 -0
- package/blog/tr/intlayer_with_next-i18next.md +2 -0
- package/blog/tr/intlayer_with_next-intl.md +2 -0
- package/blog/tr/intlayer_with_react-i18next.md +2 -0
- package/blog/tr/intlayer_with_react-intl.md +2 -0
- package/blog/tr/intlayer_with_vue-i18n.md +2 -0
- package/blog/vi/intlayer_with_i18next.md +2 -0
- package/blog/vi/intlayer_with_next-i18next.md +2 -0
- package/blog/vi/intlayer_with_next-intl.md +2 -0
- package/blog/vi/intlayer_with_react-i18next.md +2 -0
- package/blog/vi/intlayer_with_react-intl.md +2 -0
- package/blog/vi/intlayer_with_vue-i18n.md +2 -0
- package/blog/zh/intlayer_with_i18next.md +2 -0
- package/blog/zh/intlayer_with_next-i18next.md +2 -0
- package/blog/zh/intlayer_with_next-intl.md +2 -0
- package/blog/zh/intlayer_with_react-i18next.md +2 -0
- package/blog/zh/intlayer_with_react-intl.md +2 -0
- package/blog/zh/intlayer_with_vue-i18n.md +2 -0
- package/dist/cjs/generated/docs.entry.cjs +19 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +19 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +1 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/cli/index.md +5 -0
- package/docs/ar/cli/login.md +157 -0
- package/docs/ar/configuration.md +12 -0
- package/docs/ar/dictionary/content_file.md +24 -1
- package/docs/ar/intlayer_with_astro.md +1 -1
- package/docs/ar/intlayer_with_express.md +1 -1
- package/docs/ar/intlayer_with_nestjs.md +1 -1
- package/docs/ar/intlayer_with_next-i18next.md +1 -0
- package/docs/ar/intlayer_with_next-intl.md +1 -0
- package/docs/ar/intlayer_with_tanstack.md +1 -12
- package/docs/ar/plugins/sync-json.md +27 -2
- package/docs/de/cli/index.md +5 -0
- package/docs/de/cli/login.md +160 -0
- package/docs/de/configuration.md +12 -0
- package/docs/de/dictionary/content_file.md +24 -1
- package/docs/de/intlayer_with_astro.md +1 -1
- package/docs/de/intlayer_with_express.md +1 -1
- package/docs/de/intlayer_with_nestjs.md +1 -1
- package/docs/de/intlayer_with_next-i18next.md +1 -0
- package/docs/de/intlayer_with_next-intl.md +1 -0
- package/docs/de/intlayer_with_tanstack.md +1 -12
- package/docs/de/plugins/sync-json.md +27 -2
- package/docs/en/cli/index.md +5 -0
- package/docs/en/cli/login.md +157 -0
- package/docs/en/configuration.md +13 -0
- package/docs/en/dictionary/content_file.md +24 -1
- package/docs/en/index.md +1 -0
- package/docs/en/intlayer_with_astro.md +1 -1
- package/docs/en/intlayer_with_express.md +1 -1
- package/docs/en/intlayer_with_nestjs.md +1 -2
- package/docs/en/intlayer_with_next-i18next.md +1 -0
- package/docs/en/intlayer_with_next-intl.md +1 -0
- package/docs/en/intlayer_with_tanstack.md +7 -17
- package/docs/en/plugins/sync-json.md +53 -2
- package/docs/en-GB/cli/index.md +5 -0
- package/docs/en-GB/cli/login.md +181 -0
- package/docs/en-GB/configuration.md +12 -0
- package/docs/en-GB/dictionary/content_file.md +24 -1
- package/docs/en-GB/intlayer_with_astro.md +1 -1
- package/docs/en-GB/intlayer_with_express.md +1 -1
- package/docs/en-GB/intlayer_with_nestjs.md +1 -1
- package/docs/en-GB/intlayer_with_next-i18next.md +1 -0
- package/docs/en-GB/intlayer_with_next-intl.md +1 -0
- package/docs/en-GB/intlayer_with_tanstack.md +1 -12
- package/docs/en-GB/plugins/sync-json.md +26 -1
- package/docs/es/cli/index.md +5 -0
- package/docs/es/cli/login.md +182 -0
- package/docs/es/configuration.md +12 -0
- package/docs/es/dictionary/content_file.md +24 -1
- package/docs/es/intlayer_with_astro.md +1 -1
- package/docs/es/intlayer_with_express.md +1 -1
- package/docs/es/intlayer_with_nestjs.md +1 -1
- package/docs/es/intlayer_with_next-i18next.md +1 -0
- package/docs/es/intlayer_with_next-intl.md +1 -0
- package/docs/es/intlayer_with_tanstack.md +1 -12
- package/docs/es/plugins/sync-json.md +27 -2
- package/docs/fr/cli/index.md +5 -0
- package/docs/fr/cli/login.md +185 -0
- package/docs/fr/configuration.md +12 -0
- package/docs/fr/dictionary/content_file.md +24 -1
- package/docs/fr/intlayer_with_astro.md +1 -1
- package/docs/fr/intlayer_with_express.md +1 -1
- package/docs/fr/intlayer_with_nestjs.md +1 -1
- package/docs/fr/intlayer_with_next-i18next.md +1 -0
- package/docs/fr/intlayer_with_next-intl.md +1 -0
- package/docs/fr/intlayer_with_tanstack.md +1 -12
- package/docs/fr/plugins/sync-json.md +27 -2
- package/docs/hi/cli/index.md +5 -0
- package/docs/hi/cli/login.md +181 -0
- package/docs/hi/configuration.md +12 -0
- package/docs/hi/dictionary/content_file.md +24 -1
- package/docs/hi/intlayer_with_astro.md +1 -1
- package/docs/hi/intlayer_with_express.md +1 -1
- package/docs/hi/intlayer_with_nestjs.md +1 -1
- package/docs/hi/intlayer_with_next-i18next.md +1 -0
- package/docs/hi/intlayer_with_next-intl.md +1 -0
- package/docs/hi/intlayer_with_tanstack.md +1 -12
- package/docs/hi/plugins/sync-json.md +27 -2
- package/docs/id/cli/index.md +5 -0
- package/docs/id/cli/login.md +157 -0
- package/docs/id/configuration.md +12 -0
- package/docs/id/dictionary/content_file.md +24 -1
- package/docs/id/intlayer_with_astro.md +1 -1
- package/docs/id/intlayer_with_express.md +1 -1
- package/docs/id/intlayer_with_nestjs.md +1 -1
- package/docs/id/intlayer_with_next-i18next.md +1 -0
- package/docs/id/intlayer_with_next-intl.md +1 -0
- package/docs/id/intlayer_with_tanstack.md +1 -12
- package/docs/id/plugins/sync-json.md +27 -2
- package/docs/it/cli/index.md +5 -0
- package/docs/it/cli/login.md +157 -0
- package/docs/it/configuration.md +12 -0
- package/docs/it/dictionary/content_file.md +24 -1
- package/docs/it/intlayer_with_astro.md +1 -1
- package/docs/it/intlayer_with_express.md +1 -1
- package/docs/it/intlayer_with_nestjs.md +1 -1
- package/docs/it/intlayer_with_next-i18next.md +1 -0
- package/docs/it/intlayer_with_next-intl.md +1 -0
- package/docs/it/intlayer_with_tanstack.md +1 -12
- package/docs/it/plugins/sync-json.md +27 -2
- package/docs/ja/cli/index.md +5 -0
- package/docs/ja/cli/login.md +159 -0
- package/docs/ja/configuration.md +12 -0
- package/docs/ja/dictionary/content_file.md +24 -1
- package/docs/ja/intlayer_with_astro.md +1 -1
- package/docs/ja/intlayer_with_express.md +1 -1
- package/docs/ja/intlayer_with_nestjs.md +1 -1
- package/docs/ja/intlayer_with_next-i18next.md +1 -0
- package/docs/ja/intlayer_with_next-intl.md +1 -0
- package/docs/ja/intlayer_with_tanstack.md +1 -12
- package/docs/ja/plugins/sync-json.md +27 -2
- package/docs/ko/cli/index.md +5 -0
- package/docs/ko/cli/login.md +188 -0
- package/docs/ko/configuration.md +12 -0
- package/docs/ko/dictionary/content_file.md +44 -1
- package/docs/ko/intlayer_with_astro.md +1 -1
- package/docs/ko/intlayer_with_express.md +1 -1
- package/docs/ko/intlayer_with_nestjs.md +1 -1
- package/docs/ko/intlayer_with_next-i18next.md +1 -0
- package/docs/ko/intlayer_with_next-intl.md +1 -0
- package/docs/ko/intlayer_with_tanstack.md +1 -12
- package/docs/ko/plugins/sync-json.md +27 -2
- package/docs/pl/cli/index.md +5 -0
- package/docs/pl/cli/login.md +187 -0
- package/docs/pl/configuration.md +12 -0
- package/docs/pl/dictionary/content_file.md +24 -1
- package/docs/pl/intlayer_with_astro.md +2 -2
- package/docs/pl/intlayer_with_express.md +1 -1
- package/docs/pl/intlayer_with_nestjs.md +1 -1
- package/docs/pl/intlayer_with_next-i18next.md +1 -0
- package/docs/pl/intlayer_with_next-intl.md +1 -0
- package/docs/pl/intlayer_with_tanstack.md +1 -12
- package/docs/pl/plugins/sync-json.md +24 -2
- package/docs/pt/cli/index.md +5 -0
- package/docs/pt/cli/login.md +186 -0
- package/docs/pt/configuration.md +12 -0
- package/docs/pt/dictionary/content_file.md +24 -1
- package/docs/pt/intlayer_with_astro.md +1 -1
- package/docs/pt/intlayer_with_express.md +1 -1
- package/docs/pt/intlayer_with_nestjs.md +1 -1
- package/docs/pt/intlayer_with_next-i18next.md +1 -0
- package/docs/pt/intlayer_with_next-intl.md +1 -0
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +570 -0
- package/docs/pt/intlayer_with_tanstack.md +1 -12
- package/docs/pt/plugins/sync-json.md +27 -2
- package/docs/ru/cli/index.md +5 -0
- package/docs/ru/cli/login.md +181 -0
- package/docs/ru/configuration.md +12 -0
- package/docs/ru/dictionary/content_file.md +44 -1
- package/docs/ru/intlayer_with_astro.md +1 -1
- package/docs/ru/intlayer_with_express.md +1 -1
- package/docs/ru/intlayer_with_nestjs.md +1 -1
- package/docs/ru/intlayer_with_next-i18next.md +1 -0
- package/docs/ru/intlayer_with_next-intl.md +1 -0
- package/docs/ru/intlayer_with_tanstack.md +1 -12
- package/docs/ru/plugins/sync-json.md +27 -2
- package/docs/tr/cli/index.md +5 -0
- package/docs/tr/cli/login.md +171 -0
- package/docs/tr/configuration.md +12 -0
- package/docs/tr/dictionary/content_file.md +44 -1
- package/docs/tr/intlayer_with_astro.md +1 -1
- package/docs/tr/intlayer_with_express.md +1 -1
- package/docs/tr/intlayer_with_next-i18next.md +1 -0
- package/docs/tr/intlayer_with_next-intl.md +1 -0
- package/docs/tr/intlayer_with_tanstack.md +1 -12
- package/docs/tr/plugins/sync-json.md +27 -2
- package/docs/vi/cli/index.md +5 -0
- package/docs/vi/cli/login.md +186 -0
- package/docs/vi/configuration.md +12 -0
- package/docs/vi/dictionary/content_file.md +24 -1
- package/docs/vi/intlayer_with_astro.md +1 -1
- package/docs/vi/intlayer_with_express.md +1 -1
- package/docs/vi/intlayer_with_nestjs.md +1 -1
- package/docs/vi/intlayer_with_next-i18next.md +1 -0
- package/docs/vi/intlayer_with_next-intl.md +1 -0
- package/docs/vi/intlayer_with_tanstack.md +1 -12
- package/docs/vi/plugins/sync-json.md +27 -2
- package/docs/zh/cli/index.md +5 -0
- package/docs/zh/cli/login.md +182 -0
- package/docs/zh/configuration.md +12 -0
- package/docs/zh/dictionary/content_file.md +44 -1
- package/docs/zh/intlayer_with_astro.md +1 -1
- package/docs/zh/intlayer_with_express.md +1 -1
- package/docs/zh/intlayer_with_nestjs.md +1 -1
- package/docs/zh/intlayer_with_next-i18next.md +1 -0
- package/docs/zh/intlayer_with_next-intl.md +1 -0
- package/docs/zh/intlayer_with_tanstack.md +1 -12
- package/docs/zh/plugins/sync-json.md +27 -2
- package/package.json +9 -9
- 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"),
|