Update angular config

This commit is contained in:
cghislai 2021-02-13 22:01:57 +01:00
parent 5471a4c8fa
commit bbdec3388d

View File

@ -118,6 +118,20 @@
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "charlyghislaindotcom:build" "browserTarget": "charlyghislaindotcom:build"
},
"configurations" : {
"en": {
"outputPath": "locale/",
"outFile": "messages.xlf.source",
"i18nFormat": "xlf",
"i18nLocale": "en"
},
"fr": {
"outputPath": "locale/",
"outFile": "messages.fr.xlf",
"i18nFormat": "xlf",
"i18nLocale": "fr"
}
} }
}, },
"test": { "test": {
@ -152,7 +166,8 @@
}, },
"i18n": { "i18n": {
"locales": { "locales": {
"fr": "src/locale/messages.fr.xlf" "fr": "src/locale/messages.fr.xlf",
"en": "src/locale/messages.xlf.source"
} }
} }
}, },