@intlayer/docs 7.4.0 → 7.5.0-canary.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.
- 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/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/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/dictionary/content_file.md +24 -1
- 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 +0 -11
- package/docs/en/plugins/sync-json.md +53 -2
- 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/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/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/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/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/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/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/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/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/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_tanstack.md +1 -12
- package/docs/pt/plugins/sync-json.md +27 -2
- 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/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/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/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 +6 -6
|
@@ -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
|
],
|
|
@@ -143,6 +144,7 @@ const config: IntlayerConfig = {
|
|
|
143
144
|
* سيقوم بتحميل وكتابة المخرجات والترجمات مرة أخرى إلى ملفات JSON في مجلد locales
|
|
144
145
|
*/
|
|
145
146
|
syncJSON({
|
|
147
|
+
format: "icu",
|
|
146
148
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
147
149
|
priority: 0,
|
|
148
150
|
}),
|
|
@@ -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
|
* Lädt und schreibt die Ausgabe und Übersetzungen zurück in die JSON-Dateien im locales-Verzeichnis
|
|
150
151
|
*/
|
|
151
152
|
syncJSON({
|
|
153
|
+
format: "i18next",
|
|
152
154
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
153
155
|
priority: 0,
|
|
154
156
|
}),
|
|
@@ -160,6 +160,7 @@ const config: IntlayerConfig = {
|
|
|
160
160
|
* Lädt die JSON-Dateien und schreibt die Ausgabe sowie Übersetzungen zurück in die JSON-Dateien im locales-Verzeichnis
|
|
161
161
|
*/
|
|
162
162
|
syncJSON({
|
|
163
|
+
format: "i18next",
|
|
163
164
|
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
164
165
|
priority: 0,
|
|
165
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
|
],
|
|
@@ -143,6 +144,7 @@ const config: IntlayerConfig = {
|
|
|
143
144
|
* Lädt und schreibt die Ausgabe sowie Übersetzungen zurück in die JSON-Dateien im locales-Verzeichnis
|
|
144
145
|
*/
|
|
145
146
|
syncJSON({
|
|
147
|
+
format: "icu",
|
|
146
148
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
147
149
|
priority: 0,
|
|
148
150
|
}),
|
|
@@ -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
|
* Lädt und schreibt die Ausgabe sowie Übersetzungen zurück in die JSON-Dateien im locales-Verzeichnis
|
|
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
|
* Lädt und schreibt die Ausgabe sowie Übersetzungen zurück in die JSON-Dateien im locales-Verzeichnis
|
|
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
|
* Lädt und schreibt die Ausgabe und Übersetzungen zurück in die JSON-Dateien im locales-Verzeichnis
|
|
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
|
}),
|
|
@@ -21,6 +21,9 @@ slugs:
|
|
|
21
21
|
- intlayer-with-i18next
|
|
22
22
|
youtubeVideo: https://www.youtube.com/watch?v=MpGMxniDHNg
|
|
23
23
|
history:
|
|
24
|
+
- version: 7.5.0
|
|
25
|
+
date: 2025-12-13
|
|
26
|
+
changes: Add i18next format support
|
|
24
27
|
- version: 7.0.7
|
|
25
28
|
date: 2025-11-06
|
|
26
29
|
changes: Add AI provider support doc
|
|
@@ -116,6 +119,7 @@ const config: IntlayerConfig = {
|
|
|
116
119
|
},
|
|
117
120
|
plugins: [
|
|
118
121
|
syncJSON({
|
|
122
|
+
format: "i18next",
|
|
119
123
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
120
124
|
}),
|
|
121
125
|
],
|
|
@@ -165,6 +169,7 @@ const config: IntlayerConfig = {
|
|
|
165
169
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
166
170
|
*/
|
|
167
171
|
syncJSON({
|
|
172
|
+
format: "i18next",
|
|
168
173
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
169
174
|
priority: 0,
|
|
170
175
|
}),
|
|
@@ -208,6 +213,7 @@ const config: IntlayerConfig = {
|
|
|
208
213
|
},
|
|
209
214
|
plugins: [
|
|
210
215
|
syncJSON({
|
|
216
|
+
format: "i18next",
|
|
211
217
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
212
218
|
}),
|
|
213
219
|
],
|
|
@@ -110,6 +110,7 @@ const config: IntlayerConfig = {
|
|
|
110
110
|
},
|
|
111
111
|
plugins: [
|
|
112
112
|
syncJSON({
|
|
113
|
+
format: "i18next",
|
|
113
114
|
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
114
115
|
}),
|
|
115
116
|
],
|
|
@@ -161,6 +162,7 @@ const config: IntlayerConfig = {
|
|
|
161
162
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
162
163
|
*/
|
|
163
164
|
syncJSON({
|
|
165
|
+
format: "i18next",
|
|
164
166
|
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
165
167
|
priority: 0,
|
|
166
168
|
}),
|
|
@@ -204,6 +206,7 @@ const config: IntlayerConfig = {
|
|
|
204
206
|
},
|
|
205
207
|
plugins: [
|
|
206
208
|
syncJSON({
|
|
209
|
+
format: "i18next",
|
|
207
210
|
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
208
211
|
}),
|
|
209
212
|
],
|
|
@@ -109,6 +109,7 @@ const config: IntlayerConfig = {
|
|
|
109
109
|
},
|
|
110
110
|
plugins: [
|
|
111
111
|
syncJSON({
|
|
112
|
+
format: "icu",
|
|
112
113
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
113
114
|
}),
|
|
114
115
|
],
|
|
@@ -158,6 +159,7 @@ const config: IntlayerConfig = {
|
|
|
158
159
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
159
160
|
*/
|
|
160
161
|
syncJSON({
|
|
162
|
+
format: "icu",
|
|
161
163
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
162
164
|
priority: 0,
|
|
163
165
|
}),
|
|
@@ -201,6 +203,7 @@ const config: IntlayerConfig = {
|
|
|
201
203
|
},
|
|
202
204
|
plugins: [
|
|
203
205
|
syncJSON({
|
|
206
|
+
format: "icu",
|
|
204
207
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
205
208
|
}),
|
|
206
209
|
],
|
|
@@ -110,6 +110,7 @@ const config: IntlayerConfig = {
|
|
|
110
110
|
},
|
|
111
111
|
plugins: [
|
|
112
112
|
syncJSON({
|
|
113
|
+
format: "i18next",
|
|
113
114
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
114
115
|
}),
|
|
115
116
|
],
|
|
@@ -159,6 +160,7 @@ const config: IntlayerConfig = {
|
|
|
159
160
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
160
161
|
*/
|
|
161
162
|
syncJSON({
|
|
163
|
+
format: "i18next",
|
|
162
164
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
163
165
|
priority: 0,
|
|
164
166
|
}),
|
|
@@ -200,6 +202,7 @@ const config: IntlayerConfig = {
|
|
|
200
202
|
},
|
|
201
203
|
plugins: [
|
|
202
204
|
syncJSON({
|
|
205
|
+
format: "i18next",
|
|
203
206
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
204
207
|
}),
|
|
205
208
|
],
|
|
@@ -108,6 +108,7 @@ const config: IntlayerConfig = {
|
|
|
108
108
|
},
|
|
109
109
|
plugins: [
|
|
110
110
|
syncJSON({
|
|
111
|
+
format: "icu",
|
|
111
112
|
source: ({ key, locale }) => `./intl/messages/${locale}/${key}.json`,
|
|
112
113
|
}),
|
|
113
114
|
],
|
|
@@ -157,6 +158,7 @@ const config: IntlayerConfig = {
|
|
|
157
158
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
158
159
|
*/
|
|
159
160
|
syncJSON({
|
|
161
|
+
format: "icu",
|
|
160
162
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
161
163
|
priority: 0,
|
|
162
164
|
}),
|
|
@@ -198,6 +200,7 @@ const config: IntlayerConfig = {
|
|
|
198
200
|
},
|
|
199
201
|
plugins: [
|
|
200
202
|
syncJSON({
|
|
203
|
+
format: "icu",
|
|
201
204
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
202
205
|
}),
|
|
203
206
|
],
|
|
@@ -110,6 +110,7 @@ const config: IntlayerConfig = {
|
|
|
110
110
|
},
|
|
111
111
|
plugins: [
|
|
112
112
|
syncJSON({
|
|
113
|
+
format: "vue-i18n",
|
|
113
114
|
source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
|
|
114
115
|
}),
|
|
115
116
|
],
|
|
@@ -161,6 +162,7 @@ const config: IntlayerConfig = {
|
|
|
161
162
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
162
163
|
*/
|
|
163
164
|
syncJSON({
|
|
165
|
+
format: "vue-i18n",
|
|
164
166
|
source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
|
|
165
167
|
priority: 0,
|
|
166
168
|
}),
|
|
@@ -202,6 +204,7 @@ const config: IntlayerConfig = {
|
|
|
202
204
|
},
|
|
203
205
|
plugins: [
|
|
204
206
|
syncJSON({
|
|
207
|
+
format: "vue-i18n",
|
|
205
208
|
source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
|
|
206
209
|
}),
|
|
207
210
|
],
|
|
@@ -109,6 +109,7 @@ const config: IntlayerConfig = {
|
|
|
109
109
|
},
|
|
110
110
|
plugins: [
|
|
111
111
|
syncJSON({
|
|
112
|
+
format: "i18next",
|
|
112
113
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
113
114
|
}),
|
|
114
115
|
],
|
|
@@ -158,6 +159,7 @@ const config: IntlayerConfig = {
|
|
|
158
159
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
159
160
|
*/
|
|
160
161
|
syncJSON({
|
|
162
|
+
format: "i18next",
|
|
161
163
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
162
164
|
priority: 0,
|
|
163
165
|
}),
|
|
@@ -118,6 +118,7 @@ const config: IntlayerConfig = {
|
|
|
118
118
|
},
|
|
119
119
|
plugins: [
|
|
120
120
|
syncJSON({
|
|
121
|
+
format: "i18next",
|
|
121
122
|
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
122
123
|
}),
|
|
123
124
|
],
|
|
@@ -169,6 +170,7 @@ const config: IntlayerConfig = {
|
|
|
169
170
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
170
171
|
*/
|
|
171
172
|
syncJSON({
|
|
173
|
+
format: "i18next",
|
|
172
174
|
source: ({ key, locale }) => `./public/locales/${locale}/${key}.json`,
|
|
173
175
|
priority: 0,
|
|
174
176
|
}),
|
|
@@ -104,6 +104,7 @@ const config: IntlayerConfig = {
|
|
|
104
104
|
},
|
|
105
105
|
plugins: [
|
|
106
106
|
syncJSON({
|
|
107
|
+
format: "icu",
|
|
107
108
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
108
109
|
}),
|
|
109
110
|
],
|
|
@@ -154,6 +155,7 @@ const config: IntlayerConfig = {
|
|
|
154
155
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
155
156
|
*/
|
|
156
157
|
syncJSON({
|
|
158
|
+
format: "icu",
|
|
157
159
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
158
160
|
priority: 0,
|
|
159
161
|
}),
|
|
@@ -107,6 +107,7 @@ const config: IntlayerConfig = {
|
|
|
107
107
|
},
|
|
108
108
|
plugins: [
|
|
109
109
|
syncJSON({
|
|
110
|
+
format: "i18next",
|
|
110
111
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
111
112
|
}),
|
|
112
113
|
],
|
|
@@ -156,6 +157,7 @@ const config: IntlayerConfig = {
|
|
|
156
157
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
157
158
|
*/
|
|
158
159
|
syncJSON({
|
|
160
|
+
format: "i18next",
|
|
159
161
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
160
162
|
priority: 0,
|
|
161
163
|
}),
|
|
@@ -105,6 +105,7 @@ const config: IntlayerConfig = {
|
|
|
105
105
|
},
|
|
106
106
|
plugins: [
|
|
107
107
|
syncJSON({
|
|
108
|
+
format: "icu",
|
|
108
109
|
source: ({ key, locale }) => `./intl/messages/${locale}/${key}.json`,
|
|
109
110
|
}),
|
|
110
111
|
],
|
|
@@ -154,6 +155,7 @@ const config: IntlayerConfig = {
|
|
|
154
155
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
155
156
|
*/
|
|
156
157
|
syncJSON({
|
|
158
|
+
format: "icu",
|
|
157
159
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
158
160
|
priority: 0,
|
|
159
161
|
}),
|
|
@@ -107,6 +107,7 @@ const config: IntlayerConfig = {
|
|
|
107
107
|
},
|
|
108
108
|
plugins: [
|
|
109
109
|
syncJSON({
|
|
110
|
+
format: "vue-i18n",
|
|
110
111
|
source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
|
|
111
112
|
}),
|
|
112
113
|
],
|
|
@@ -158,6 +159,7 @@ const config: IntlayerConfig = {
|
|
|
158
159
|
* Will load, and write the output and translations back to the JSON files in the locales directory
|
|
159
160
|
*/
|
|
160
161
|
syncJSON({
|
|
162
|
+
format: "vue-i18n",
|
|
161
163
|
source: ({ key, locale }) => `./src/locales/${locale}/${key}.json`,
|
|
162
164
|
priority: 0,
|
|
163
165
|
}),
|
|
@@ -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
|
* Cargará y escribirá la salida y las traducciones de vuelta en los archivos JSON en el directorio 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
|
* Cargará y escribirá la salida y las traducciones de vuelta en los archivos JSON en el directorio de 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
|
}),
|
|
@@ -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
|
* Cargará y escribirá la salida y las traducciones de vuelta en los archivos JSON en el directorio 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
|
* Cargará y escribirá la salida y las traducciones de vuelta a los archivos JSON en el directorio 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
|
* Cargará y escribirá la salida y las traducciones de vuelta a los archivos JSON en el directorio 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
|
* Cargará y escribirá la salida y las traducciones de vuelta en los archivos JSON en el directorio 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
|
}),
|
|
@@ -108,6 +108,7 @@ const config: IntlayerConfig = {
|
|
|
108
108
|
},
|
|
109
109
|
plugins: [
|
|
110
110
|
syncJSON({
|
|
111
|
+
format: "i18next",
|
|
111
112
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
112
113
|
}),
|
|
113
114
|
],
|
|
@@ -157,6 +158,7 @@ const config: IntlayerConfig = {
|
|
|
157
158
|
* Chargera, puis écrira la sortie et les traductions dans les fichiers JSON du répertoire locales
|
|
158
159
|
*/
|
|
159
160
|
syncJSON({
|
|
161
|
+
format: "i18next",
|
|
160
162
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
161
163
|
priority: 0,
|
|
162
164
|
}),
|
|
@@ -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
|
* Chargera et écrira la sortie ainsi que les traductions dans les fichiers JSON du répertoire des 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
|
}),
|
|
@@ -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
|
],
|
|
@@ -143,6 +144,7 @@ const config: IntlayerConfig = {
|
|
|
143
144
|
* Chargera, puis écrira la sortie et les traductions dans les fichiers JSON du répertoire locales
|
|
144
145
|
*/
|
|
145
146
|
syncJSON({
|
|
147
|
+
format: "icu",
|
|
146
148
|
source: ({ key, locale }) => `./messages/${locale}/${key}.json`,
|
|
147
149
|
priority: 0,
|
|
148
150
|
}),
|
|
@@ -106,6 +106,7 @@ const config: IntlayerConfig = {
|
|
|
106
106
|
},
|
|
107
107
|
plugins: [
|
|
108
108
|
syncJSON({
|
|
109
|
+
format: "i18next",
|
|
109
110
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
110
111
|
}),
|
|
111
112
|
],
|
|
@@ -155,6 +156,7 @@ const config: IntlayerConfig = {
|
|
|
155
156
|
* Chargera, puis écrira la sortie et les traductions dans les fichiers JSON du répertoire locales
|
|
156
157
|
*/
|
|
157
158
|
syncJSON({
|
|
159
|
+
format: "i18next",
|
|
158
160
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
159
161
|
priority: 0,
|
|
160
162
|
}),
|
|
@@ -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
|
* Chargera, et écrira la sortie ainsi que les traductions dans les fichiers JSON du répertoire 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
|
* Chargera, puis écrira la sortie et les traductions dans les fichiers JSON du répertoire 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
|
* स्थानीय निर्देशिका में JSON फ़ाइलों में आउटपुट और अनुवाद वापस लिखेगा और लोड करेगा
|
|
150
151
|
*/
|
|
151
152
|
syncJSON({
|
|
153
|
+
format: "i18next",
|
|
152
154
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
153
155
|
priority: 0,
|
|
154
156
|
}),
|