From bbdec3388dcf334f4342e83f1eb4d63d3bdd651e Mon Sep 17 00:00:00 2001 From: cghislai Date: Sat, 13 Feb 2021 22:01:57 +0100 Subject: [PATCH] Update angular config --- angular.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index 4243875..30b32cc 100644 --- a/angular.json +++ b/angular.json @@ -118,6 +118,20 @@ "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "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": { @@ -152,7 +166,8 @@ }, "i18n": { "locales": { - "fr": "src/locale/messages.fr.xlf" + "fr": "src/locale/messages.fr.xlf", + "en": "src/locale/messages.xlf.source" } } },