Add Korean translation (#439)
Co-authored-by: 송준우 <2484@coreit.co.kr>
This commit was merged in pull request #439.
This commit is contained in:
@@ -8,12 +8,13 @@ import deTranslation from "../locales/de/translation.json";
|
|||||||
import ptbrTranslation from "../locales/pt-BR/translation.json";
|
import ptbrTranslation from "../locales/pt-BR/translation.json";
|
||||||
import ruTranslation from "../locales/ru/translation.json";
|
import ruTranslation from "../locales/ru/translation.json";
|
||||||
import frTranslation from "../locales/fr/translation.json";
|
import frTranslation from "../locales/fr/translation.json";
|
||||||
|
import koTranslation from "../locales/ko/translation.json";
|
||||||
|
|
||||||
i18n
|
i18n
|
||||||
.use(LanguageDetector)
|
.use(LanguageDetector)
|
||||||
.use(initReactI18next)
|
.use(initReactI18next)
|
||||||
.init({
|
.init({
|
||||||
supportedLngs: ["en", "zh", "de", "ptbr", "ru", "fr"],
|
supportedLngs: ["en", "zh", "de", "ptbr", "ru", "fr", "ko"],
|
||||||
fallbackLng: "en",
|
fallbackLng: "en",
|
||||||
debug: false,
|
debug: false,
|
||||||
|
|
||||||
@@ -44,6 +45,9 @@ i18n
|
|||||||
fr: {
|
fr: {
|
||||||
translation: frTranslation,
|
translation: frTranslation,
|
||||||
},
|
},
|
||||||
|
ko: {
|
||||||
|
translation: koTranslation,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
interpolation: {
|
interpolation: {
|
||||||
|
|||||||
1815
src/locales/ko/translation.json
Normal file
1815
src/locales/ko/translation.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -20,6 +20,7 @@ const languages = [
|
|||||||
},
|
},
|
||||||
{ code: "ru", name: "Russian", nativeName: "Русский" },
|
{ code: "ru", name: "Russian", nativeName: "Русский" },
|
||||||
{ code: "fr", name: "French", nativeName: "Français" },
|
{ code: "fr", name: "French", nativeName: "Français" },
|
||||||
|
{ code: "ko", name: "Korean", nativeName: "한국어" },
|
||||||
];
|
];
|
||||||
|
|
||||||
export function LanguageSwitcher() {
|
export function LanguageSwitcher() {
|
||||||
|
|||||||
Reference in New Issue
Block a user