feat(i18n): add Korean language support

This commit is contained in:
beilunyang
2025-12-07 11:48:08 +08:00
parent ed48d08503
commit 3ad30301a9
7 changed files with 406 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
export const locales = ['en', 'zh-CN', 'zh-TW', 'ja'] as const
export const locales = ['en', 'zh-CN', 'zh-TW', 'ja', 'ko'] as const
export type Locale = typeof locales[number]
export const LOCALE_LABELS: Record<Locale, string> = {
@@ -6,6 +6,7 @@ export const LOCALE_LABELS: Record<Locale, string> = {
"zh-CN": "简体中文",
"zh-TW": "繁體中文",
ja: "日本語",
ko: "한국어",
}
export const defaultLocale: Locale = 'en'