aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-13 10:17:53 +0100
committerChocobozzz <me@florianbigard.com>2023-02-13 10:22:51 +0100
commit166311358d82657a15520ef35cd99e4fb82ed56f (patch)
tree9c5c4638eed6d07e882b28c76e50d9840f5727f8 /scripts
parent55c328820234eda167eb08e132e9a3f7d8fad83a (diff)
downloadPeerTube-166311358d82657a15520ef35cd99e4fb82ed56f.tar.gz
PeerTube-166311358d82657a15520ef35cd99e4fb82ed56f.tar.zst
PeerTube-166311358d82657a15520ef35cd99e4fb82ed56f.zip
Add is locale support
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh1
-rwxr-xr-xscripts/i18n/update.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 930940b1a..cc3523af6 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -8,6 +8,7 @@ defaultLanguage="en-US"
8# Supported languages 8# Supported languages
9languages=( 9languages=(
10 ["ar"]="ar" 10 ["ar"]="ar"
11 ["is"]="is"
11 ["fa"]="fa-IR" 12 ["fa"]="fa-IR"
12 ["en"]="en-US" 13 ["en"]="en-US"
13 ["vi"]="vi-VN" 14 ["vi"]="vi-VN"
diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh
index cc2205079..8a276088c 100755
--- a/scripts/i18n/update.sh
+++ b/scripts/i18n/update.sh
@@ -8,7 +8,7 @@ cd client
8npm run ng -- extract-i18n --out-file src/locale/angular.xlf 8npm run ng -- extract-i18n --out-file src/locale/angular.xlf
9 9
10# Merge new translations in other language files 10# Merge new translations in other language files
11node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "hr" "ca-ES" "gl-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" "kab" "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" "nn" "nb-NO" "tok" 11node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "is" "hr" "ca-ES" "gl-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" "kab" "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" "nn" "nb-NO" "tok"
12 12
13# Add our strings too 13# Add our strings too
14cd ../ 14cd ../