Add Japanese locale (#6433)

This commit is contained in:
Kaoru Yamamoto
2023-09-19 02:23:03 +09:00
committed by GitHub
parent d80568df20
commit 95bcf101d7
2 changed files with 17 additions and 0 deletions

View File

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