Add Basque and Catalan languages

This commit is contained in:
Chocobozzz
2018-06-28 14:56:46 +02:00
parent e0452b6712
commit 10e63b6850
2 changed files with 11 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -eu
@@ -11,9 +11,9 @@ npm run ng build -- --output-path "dist/$defaultLanguage/" --deploy-url "/client
mv "./dist/$defaultLanguage/assets" "./dist"
# Supported languages
languages="fr_FR"
languages=("fr_FR" "eu_ES" "ca_ES")
for lang in "$languages"; do
for lang in "${languages[@]}"; do
npm run ng build -- --prod --i18n-file "./src/locale/target/angular_$lang.xml" --i18n-format xlf --i18n-locale "$lang" \
--output-path "dist/$lang/" --deploy-url "/client/$lang/"