Update angular config
This commit is contained in:
parent
5471a4c8fa
commit
bbdec3388d
17
angular.json
17
angular.json
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user