chore: update i18n

This commit is contained in:
Steven 2024-07-28 17:23:14 +08:00
parent 1de9973af3
commit 51ed88d5aa
2 changed files with 16 additions and 0 deletions

View File

@ -28,6 +28,14 @@ const PreferenceSection: React.FC = () => {
value: "JA", value: "JA",
label: "日本語", label: "日本語",
}, },
{
value: "TR",
label: "Türkçe",
},
{
value: "RU",
label: "русский",
},
]; ];
const colorThemeOptions = [ const colorThemeOptions = [

View File

@ -3,6 +3,8 @@ import { initReactI18next } from "react-i18next";
import en from "../../locales/en.json"; import en from "../../locales/en.json";
import fr from "../../locales/fr.json"; import fr from "../../locales/fr.json";
import ja from "../../locales/ja.json"; import ja from "../../locales/ja.json";
import ru from "../../locales/ru.json";
import tr from "../../locales/tr.json";
import zh from "../../locales/zh.json"; import zh from "../../locales/zh.json";
i18n.use(initReactI18next).init({ i18n.use(initReactI18next).init({
@ -19,6 +21,12 @@ i18n.use(initReactI18next).init({
JA: { JA: {
translation: ja, translation: ja,
}, },
RU: {
translation: ru,
},
TR: {
translation: tr,
},
}, },
lng: "EN", lng: "EN",
fallbackLng: "EN", fallbackLng: "EN",