Add thai language i18n (#6103)

This commit is contained in:
watchakorn-18k
2023-03-31 01:00:58 +07:00
committed by GitHub
parent 19bcd043d7
commit a44bd71043
2 changed files with 17 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import i18next, { init } from "i18next"
import * as en from "./locales/en.json"
import * as zhCn from "./locales/zh-cn.json"
import * as th from "./locales/th.json"
init({
lng: "en",
fallbackLng: "en", // language to use if translations in user language are not available.
@@ -15,6 +15,9 @@ init({
"zh-cn": {
translation: zhCn,
},
th: {
translation: th,
},
},
})