From 0ec0abc46f6f198a59db53b74f0f33bbabe34c95 Mon Sep 17 00:00:00 2001 From: xuelichao Date: Mon, 17 Jun 2024 18:11:45 +0800 Subject: [PATCH] UI - Korean language translation cannot selected in the UI https://github.com/goharbor/harbor/issues/20600 Signed-off-by: xuelichao --- src/portal/src/app/shared/entities/shared.const.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/portal/src/app/shared/entities/shared.const.ts b/src/portal/src/app/shared/entities/shared.const.ts index 573cda40bbc..604d3da3312 100644 --- a/src/portal/src/app/shared/entities/shared.const.ts +++ b/src/portal/src/app/shared/entities/shared.const.ts @@ -20,6 +20,7 @@ import locale_fr from '@angular/common/locales/fr'; import locale_pt from '@angular/common/locales/pt-PT'; import locale_tr from '@angular/common/locales/tr'; import locale_de from '@angular/common/locales/de'; +import locale_ko from '@angular/common/locales/ko'; import { ClrCommonStrings } from '@clr/angular/utils/i18n/common-strings.interface'; export const enum AlertType { @@ -242,6 +243,7 @@ export const LANGUAGES = { 'pt-br': ['Português do Brasil', locale_pt], 'tr-tr': ['Türkçe', locale_tr], 'de-de': ['Deutsch', locale_de], + 'ko-kr': ['한국어', locale_ko], } as const; export const supportedLangs = Object.keys(LANGUAGES) as SupportedLanguage[]; /**