Add support for korea translation (#1830)

* Add support for korea translation

* Update locales [skip ci]

* Update ko.json

* Update locales [skip ci]

* Update ko.json

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
This commit is contained in:
Chenlei Hu
2024-12-08 08:44:36 -08:00
committed by GitHub
parent 43548785b5
commit 9d49cb0e4b
3 changed files with 1616 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ module.exports = defineConfig({
entry: 'src/locales/en.json',
entryLocale: 'en',
output: 'src/locales',
outputLocales: ['zh', 'ru', 'ja'],
outputLocales: ['zh', 'ru', 'ja', 'ko'],
reference: `Keep following model names untranslated:
- flux
- photomaker

View File

@@ -266,7 +266,8 @@ export const CORE_SETTINGS: SettingParams[] = [
{ value: 'en', text: 'English' },
{ value: 'zh', text: '中文' },
{ value: 'ru', text: 'Русский' },
{ value: 'ja', text: '日本語' }
{ value: 'ja', text: '日本語' },
{ value: 'ko', text: '한국어' }
],
defaultValue: () => navigator.language.split('-')[0] || 'en'
},

1613
src/locales/ko.json Normal file

File diff suppressed because it is too large Load Diff