mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 14:01:24 +00:00
chore: update i18n
This commit is contained in:
parent
1de9973af3
commit
51ed88d5aa
@ -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 = [
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user