feat(language): add Japanese language support to LanguageSelector and i18n configuration (#2131)

This commit is contained in:
Calcium-Ion authored and GitHub committed 2025-10-29 23:58:10 +08:00
1 parent 5d12755798
commit 1ab86bc9ab
2 files changed
+12 -1

No files matched your search

+2
View File
@@ -25,6 +25,7 @@ import enTranslation from './locales/en.json';
import frTranslation from './locales/fr.json';
import zhTranslation from './locales/zh.json';
import ruTranslation from './locales/ru.json';
import jaTranslation from './locales/ja.json';
i18n
.use(LanguageDetector)
@@ -36,6 +37,7 @@ i18n
zh: zhTranslation,
fr: frTranslation,
ru: ruTranslation,
ja: jaTranslation,
},
fallbackLng: 'zh',
interpolation: {