create Chinese translation
This commit is contained in:
@@ -2,13 +2,15 @@ import i18n from "i18next";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
import { en } from "./lang/en";
|
||||
import { ml } from "./lang/ml";
|
||||
import { zh } from "./lang/zh";
|
||||
|
||||
i18n
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
resources: {
|
||||
en: en,
|
||||
ml: ml
|
||||
ml: ml,
|
||||
zh: zh
|
||||
},
|
||||
fallbackLng: "en",
|
||||
lng: localStorage.getItem("i18nextLng") || "en",
|
||||
|
||||
Reference in New Issue
Block a user