Skip to content

Commit

Permalink
Add Korean translation (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamilake committed Dec 12, 2022
1 parent efe5b00 commit 88db845
Show file tree
Hide file tree
Showing 2 changed files with 512 additions and 13 deletions.
34 changes: 21 additions & 13 deletions gui/src/i18n/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
import en from './en/translation.json';
import fr from './fr/translation.json';
import ptBR from './pt-BR/translation.json';
import zh from './zh/translation.json';
import ko from './ko/translation.json';
import pl from './pl/translation.json';
import ptBR from './pt-BR/translation.json';
import vi from './vi/translation.json';
import zh from './zh/translation.json';
import owo from './owo/translation.json';

export const defaultNS = 'translation';
Expand All @@ -20,21 +21,25 @@ export const langs = [
key: 'fr',
},
{
name: '🇧🇷 Português Brasileiro',
key: 'ptBR',
},
{
name: '🇨🇳 简体中文',
key: 'zh',
name: '🇰🇷 한국어',
key: 'ko',
},
{
name: 'Polski',
key: 'pl',
},
{
name: '🇧🇷 Português Brasileiro',
key: 'ptBR',
},
{
name: 'Tiếng Việt',
key: 'vi',
},
{
name: '🇨🇳 简体中文',
key: 'zh',
},
{
name: '🥺 Engwish~ OwO',
key: 'owo',
Expand All @@ -48,18 +53,21 @@ export const resources = {
fr: {
translation: fr,
},
vi: {
translation: vi,
ko: {
translation: ko,
},
pl: {
translation: pl,
},
zh: {
translation: zh,
},
ptBR: {
translation: ptBR,
},
vi: {
translation: vi,
},
zh: {
translation: zh,
},
owo: {
translation: owo,
},
Expand Down
Loading

0 comments on commit 88db845

Please sign in to comment.