Add is locale support

This commit is contained in:
Chocobozzz 2023-02-13 10:17:53 +01:00
parent 55c3288202
commit 166311358d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 1426 additions and 2632 deletions

View file

@ -144,6 +144,10 @@
"nn": {
"translation": "src/locale/angular.nn.xlf",
"baseHref": "/client/nn/"
},
"is": {
"translation": "src/locale/angular.is.xlf",
"baseHref": "/client/is/"
}
}
},

File diff suppressed because one or more lines are too long

View file

@ -25,6 +25,7 @@
"Volume": "Hljóðstyrkur",
"Codecs": "Kóðunarlyklar (codecs)",
"Color": "Litur",
"Go back to the live": "Go back to the live",
"Connection Speed": "Hraði tengingar",
"Network Activity": "Virkni á neti",
"Total Transfered": "Samtals flutt",

View file

@ -54,7 +54,6 @@
"Playlist: {1}": "Spilunarlisti: {1}",
"By {1}": "Frá {1}",
"Unavailable video": "Myndskeið ekki tiltækt",
"Misc": "Ýmislegt",
"Unknown": "Óþekkt",
"Afar": "Afar",
"Abkhazian": "Abkhazíska",
@ -65,6 +64,7 @@
"Aragonese": "Aragónska",
"American Sign Language": "Amerískt táknmál",
"Assamese": "Assamíska",
"Austrian Sign Language": "Austrian Sign Language",
"Avaric": "Avaríska",
"Kotava": "Kotava",
"Aymara": "Aymara",
@ -253,5 +253,6 @@
"No linguistic content": "Ekkert tungumálatengt efni",
"Toki Pona": "Toki Pona",
"Simplified Chinese": "Einfölduð kínverska",
"Traditional Chinese": "Hefðbundin kínverska"
"Traditional Chinese": "Hefðbundin kínverska",
"Misc": "Ýmislegt"
}

View file

@ -8,6 +8,7 @@ defaultLanguage="en-US"
# Supported languages
languages=(
["ar"]="ar"
["is"]="is"
["fa"]="fa-IR"
["en"]="en-US"
["vi"]="vi-VN"

View file

@ -8,7 +8,7 @@ cd client
npm run ng -- extract-i18n --out-file src/locale/angular.xlf
# Merge new translations in other language files
node ./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"
node ./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"
# Add our strings too
cd ../

View file

@ -22,6 +22,7 @@ export const I18N_LOCALES = {
'it-IT': 'Italiano',
'ja-JP': '日本語',
'kab': 'Taqbaylit',
'is': 'Íslenska',
'nl-NL': 'Nederlands',
'oc': 'Occitan',
'pl-PL': 'Polski',