X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=bbe3d07b3d9626224abc77cfc424426e5e0dbaeb;hb=852ecadfc4284aa2f8110274ff49d2a53d4166ba;hp=950ac059e99a2e2b9ca0ec1a5e10bc595b020a6b;hpb=446d9f8cc7f12fbbf3d8643f5d3414822a18c51d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index 950ac059e..bbe3d07b3 100644 --- a/client/angular.json +++ b/client/angular.json @@ -78,6 +78,13 @@ "with": "src/environments/environment.e2e.ts" } ] + }, + "fr_FR": { + "aot": true, + "outputPath": "dist/PeerTube-fr_FR", + "i18nFile": "src/i18n/messages.fr_FR.xlf", + "i18nFormat": "xlf", + "i18nLocale": "fr_FR" } } }, @@ -99,6 +106,9 @@ "e2e": { "browserTarget": "PeerTube:build:e2e", "proxyConfig": "e2e/proxy.config.json" + }, + "fr_FR": { + "browserTarget": "PeerTube:build:fr_FR" } } }, @@ -135,6 +145,23 @@ "**/node_modules/**" ] } + }, + "xliffmerge": { + "builder": "@ngx-i18nsupport/tooling:xliffmerge", + "options": { + "xliffmergeOptions": { + "i18nFormat": "xlf", + "srcDir": "src/locale", + "genDir": "src/locale", + "useSourceAsTarget": false, + "i18nBaseFile": "angular", + "defaultLanguage": "en-US", + "languages": [ + "en-US", + "fr-FR" + ] + } + } } } },