X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=477cd597feb3cb0be1cbfcb1f4bb6373f8e2f73e;hb=53afa4aaa27483388238afe00b13b8a71295d883;hp=950ac059e99a2e2b9ca0ec1a5e10bc595b020a6b;hpb=446d9f8cc7f12fbbf3d8643f5d3414822a18c51d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index 950ac059e..477cd597f 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,59 @@ "**/node_modules/**" ] } + }, + "xliffmerge": { + "builder": "@ngx-i18nsupport/tooling:xliffmerge", + "options": { + "xliffmergeOptions": { + "i18nFormat": "xlf", + "srcDir": "src/locale", + "genDir": "src/locale", + "i18nBaseFile": "angular", + "defaultLanguage": "en-US", + "languages": [ + "ar-001", + "ca-ES", + "cs-CZ", + "da-DK", + "de-DE", + "el-GR", + "en-GB", + "en-US", + "eo", + "es-ES", + "eu-ES", + "fa-IR", + "fi-FI", + "fr-FR", + "gd", + "gl-ES", + "hu-HU", + "it-IT", + "ja-JP", + "jbo", + "ko-KR", + "lt-LT", + "nb-NO", + "nl-NL", + "oc", + "pl-PL", + "pt-BR", + "pt-PT", + "ru-RU", + "sk-SK", + "sl-SI", + "sv-SE", + "ta", + "th-TH", + "tr-TR", + "uk-UA", + "vi-VN", + "zh-Hans-CN", + "zh-Hant-TW" + ] + } + } } } },