diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 97bbf6f..effddb4 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -14,6 +14,7 @@ import { de } from "./lang/de"; import { da } from "./lang/da"; import { no } from "./lang/no"; import { sv } from "./lang/sv"; +import { ko } from "./lang/ko"; i18n @@ -37,7 +38,8 @@ i18n da: da, no: no, de: de, - sv: sv + sv: sv, + ko: ko, }, fallbackLng: "en", lng: localStorage.getItem("i18nextLng") || "en", diff --git a/src/i18n/lang/ko.ts b/src/i18n/lang/ko.ts new file mode 100644 index 0000000..037ce8f --- /dev/null +++ b/src/i18n/lang/ko.ts @@ -0,0 +1,19 @@ +import option from "@/assets/locale/ko/option.json"; +import playground from "@/assets/locale/ko/playground.json"; +import common from "@/assets/locale/ko/common.json"; +import sidepanel from "@/assets/locale/ko/sidepanel.json"; +import settings from "@/assets/locale/ko/settings.json"; +import knowledge from "@/assets/locale/ko/knowledge.json"; +import chrome from "@/assets/locale/ko/chrome.json"; +import openai from "@/assets/locale/ko/openai.json"; + +export const ko = { + option, + playground, + common, + sidepanel, + settings, + knowledge, + chrome, + openai +} \ No newline at end of file diff --git a/src/i18n/support-language.ts b/src/i18n/support-language.ts index 2c62ad4..273964d 100644 --- a/src/i18n/support-language.ts +++ b/src/i18n/support-language.ts @@ -55,5 +55,9 @@ export const supportLanguage = [ { value: "sv", label: "Svenska" + }, + { + value: "ko", + label: "한국어" } ]