aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/angular.json')
-rw-r--r--client/angular.json27
1 files changed, 27 insertions, 0 deletions
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 @@
78 "with": "src/environments/environment.e2e.ts" 78 "with": "src/environments/environment.e2e.ts"
79 } 79 }
80 ] 80 ]
81 },
82 "fr_FR": {
83 "aot": true,
84 "outputPath": "dist/PeerTube-fr_FR",
85 "i18nFile": "src/i18n/messages.fr_FR.xlf",
86 "i18nFormat": "xlf",
87 "i18nLocale": "fr_FR"
81 } 88 }
82 } 89 }
83 }, 90 },
@@ -99,6 +106,9 @@
99 "e2e": { 106 "e2e": {
100 "browserTarget": "PeerTube:build:e2e", 107 "browserTarget": "PeerTube:build:e2e",
101 "proxyConfig": "e2e/proxy.config.json" 108 "proxyConfig": "e2e/proxy.config.json"
109 },
110 "fr_FR": {
111 "browserTarget": "PeerTube:build:fr_FR"
102 } 112 }
103 } 113 }
104 }, 114 },
@@ -135,6 +145,23 @@
135 "**/node_modules/**" 145 "**/node_modules/**"
136 ] 146 ]
137 } 147 }
148 },
149 "xliffmerge": {
150 "builder": "@ngx-i18nsupport/tooling:xliffmerge",
151 "options": {
152 "xliffmergeOptions": {
153 "i18nFormat": "xlf",
154 "srcDir": "src/locale",
155 "genDir": "src/locale",
156 "useSourceAsTarget": false,
157 "i18nBaseFile": "angular",
158 "defaultLanguage": "en-US",
159 "languages": [
160 "en-US",
161 "fr-FR"
162 ]
163 }
164 }
138 } 165 }
139 } 166 }
140 }, 167 },