Skip to content

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

Fix ko locale

Chocobozzz1a4816edfabe
diff --git a/client/angular.json b/client/angular.json
index 59336bcec4..05a2582d95 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -165,9 +165,9 @@
"translation": "src/locale/angular.ro.xlf",
"baseHref": "/client/ro/"
},
- "ko": {
- "translation": "src/locale/angular.ko.xlf",
- "baseHref": "/client/ko/"
+ "ko-KR": {
+ "translation": "src/locale/angular.ko-KR.xlf",
+ "baseHref": "/client/ko-KR/"
},
"uk": {
"translation": "src/locale/angular.uk-UA.xlf",
diff --git a/packages/core-utils/src/i18n/i18n.ts b/packages/core-utils/src/i18n/i18n.ts
index f0a8690e40..529cac3161 100644
--- a/packages/core-utils/src/i18n/i18n.ts
+++ b/packages/core-utils/src/i18n/i18n.ts
@@ -4,6 +4,7 @@ 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',
@@ -24,7 +25,7 @@ export const I18N_LOCALES = {
'ja-JP': '日本語',
'ka': 'ქართული ენა',
'kab': 'Taqbaylit',
- 'ko': '한국어',
+ 'ko-KR': '한국어',
'nb-NO': 'Norsk bokmål',
'nl-NL': 'Nederlands',
'nn': 'Norsk nynorsk',
@@ -44,7 +45,6 @@ export const I18N_LOCALES = {
'vi-VN': 'Tiếng Việt',
'zh-Hans-CN': '简体中文(中国)',
'zh-Hant-TW': '繁體中文(台灣)'
- // Keep it alphabetically sorted
}
// Keep it alphabetically sorted
@@ -64,6 +64,7 @@ const I18N_LOCALE_ALIAS = {
'hu': 'hu-HU',
'it': 'it-IT',
'ja': 'ja-JP',
+ 'ko': 'ko-KR',
'nb': 'nb-NO',
'nl': 'nl-NL',
'pl': 'pl-PL',
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index a737d41599..74c9d7a75b 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -27,7 +27,7 @@ languages=(
ja:ja-JP
ka:ka
kab:kab
- ko:ko
+ ko:ko-KR
nb:nb-NO
nl:nl-NL
nn:nn