feat(i18n): add Korean language support

- Add ko-KR.ts locale file with full Korean translations
- Register Korean language in i18n/index.ts
- Add Korean option to Login page language selector
- Add Korean option to GeneralSettings language selector
- Update zh-CN, en-US, ru-RU locales with koKR language label
This commit is contained in:
root
2025-12-27 18:52:31 +09:00
committed by lyingbug
parent d6f94cd7ec
commit 0b711a6739
7 changed files with 1892 additions and 2 deletions
+2 -1
View File
@@ -494,7 +494,8 @@ const showLanguageMenu = ref(false)
const languageOptions = [
{ value: 'zh-CN', label: '简体中文', shortLabel: '中文', flag: '🇨🇳' },
{ value: 'en-US', label: 'English', shortLabel: 'EN', flag: '🇺🇸' },
{ value: 'ru-RU', label: 'Русский', shortLabel: 'RU', flag: '🇷🇺' }
{ value: 'ru-RU', label: 'Русский', shortLabel: 'RU', flag: '🇷🇺' },
{ value: 'ko-KR', label: '한국어', shortLabel: '한국어', flag: '🇰🇷' }
]
// Current language computed from i18n
+1
View File
@@ -22,6 +22,7 @@
<t-option value="zh-CN" :label="$t('language.zhCN')">{{ $t('language.zhCN') }}</t-option>
<t-option value="en-US" :label="$t('language.enUS')">{{ $t('language.enUS') }}</t-option>
<t-option value="ru-RU" :label="$t('language.ruRU')">{{ $t('language.ruRU') }}</t-option>
<t-option value="ko-KR" :label="$t('language.koKR')">{{ $t('language.koKR') }}</t-option>
</t-select>
</div>
</div>