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

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

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: {