Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Support ro and ko locales

Chocobozzzfa8f289b0acf
diff --git a/client/angular.json b/client/angular.json
index 0ecdf70213..59336bcec4 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -161,6 +161,14 @@
"translation": "src/locale/angular.is.xlf",
"baseHref": "/client/is/"
},
+ "ro": {
+ "translation": "src/locale/angular.ro.xlf",
+ "baseHref": "/client/ro/"
+ },
+ "ko": {
+ "translation": "src/locale/angular.ko.xlf",
+ "baseHref": "/client/ko/"
+ },
"uk": {
"translation": "src/locale/angular.uk-UA.xlf",
"baseHref": "/client/uk-UA/"
diff --git a/packages/core-utils/src/i18n/i18n.ts b/packages/core-utils/src/i18n/i18n.ts
index 385baa5a23..f0a8690e40 100644
--- a/packages/core-utils/src/i18n/i18n.ts
+++ b/packages/core-utils/src/i18n/i18n.ts
@@ -4,7 +4,6 @@ export const I18N_LOCALES = {
// Always first to avoid issues when using express acceptLanguages function when no accept language header is set
'en-US': 'English',
- // Keep it alphabetically sorted
'ar': 'العربية',
'ca-ES': 'Català',
'cs-CZ': 'Čeština',
@@ -25,6 +24,7 @@ export const I18N_LOCALES = {
'ja-JP': '日本語',
'ka': 'ქართული ენა',
'kab': 'Taqbaylit',
+ 'ko': '한국어',
'nb-NO': 'Norsk bokmål',
'nl-NL': 'Nederlands',
'nn': 'Norsk nynorsk',
@@ -32,6 +32,7 @@ export const I18N_LOCALES = {
'pl-PL': 'Polski',
'pt-BR': 'Português (Brasil)',
'pt-PT': 'Português (Portugal)',
+ 'ro': 'Română',
'ru-RU': 'Pусский',
'sk-SK': 'Slovenčina',
'sq': 'Shqip',
@@ -43,6 +44,7 @@ export const I18N_LOCALES = {
'vi-VN': 'Tiếng Việt',
'zh-Hans-CN': '简体中文(中国)',
'zh-Hant-TW': '繁體中文(台灣)'
+ // Keep it alphabetically sorted
}
// Keep it alphabetically sorted
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 8500dffe86..a737d41599 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -27,13 +27,15 @@ languages=(
ja:ja-JP
ka:ka
kab:kab
+ ko:ko
nb:nb-NO
nl:nl-NL
nn:nn
oc:oc
pl:pl-PL
- pt:pt-BR
pt-PT:pt-PT
+ pt:pt-BR
+ ro:ro
ru:ru-RU
sk:sk-SK
sq:sq