From 3cb124d5a08190e49acb122f3fcc6b5ceb964ffe Mon Sep 17 00:00:00 2001 From: abinas <144870133+abinas-hdb@users.noreply.github.com> Date: Sat, 22 Nov 2025 00:14:45 +0900 Subject: [PATCH] Update Korean language support --- frontend/src/locale/IntlProvider.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/locale/IntlProvider.tsx b/frontend/src/locale/IntlProvider.tsx index 5482f63c..9113df07 100755 --- a/frontend/src/locale/IntlProvider.tsx +++ b/frontend/src/locale/IntlProvider.tsx @@ -11,6 +11,7 @@ import langRu from "./lang/ru.json"; import langSk from "./lang/sk.json"; import langVi from "./lang/vi.json"; import langZh from "./lang/zh.json"; +import langKo from "./lang/ko.json"; // first item of each array should be the language code, // not the country code @@ -27,6 +28,7 @@ const localeOptions = [ ["sk", "sk-SK", langSk], ["vi", "vi-VN", langVi], ["zh", "zh-CN", langZh], + ["ko", "ko-KR", langKo], ]; const loadMessages = (locale?: string): typeof langList & typeof langEn => { @@ -47,7 +49,7 @@ const getFlagCodeForLocale = (locale?: string) => { const specialCases: Record = { ja: "jp", // Japan zh: "cn", // China - vi: "vn", // Vietnam + ko: "kr", // Korea }; if (specialCases[thisLocale]) {