chore: add more language supports

This commit is contained in:
Junyan Qin
2026-03-28 20:48:36 +08:00
parent 99e2976826
commit dddfa8ac79
14 changed files with 3758 additions and 0 deletions
+12
View File
@@ -8,6 +8,9 @@ import enUS from './locales/en-US';
import zhHans from './locales/zh-Hans';
import zhHant from './locales/zh-Hant';
import jaJP from './locales/ja-JP';
import thTH from './locales/th-TH';
import viVN from './locales/vi-VN';
import esES from './locales/es-ES';
i18n
.use(LanguageDetector)
@@ -26,6 +29,15 @@ i18n
'ja-JP': {
translation: jaJP,
},
'th-TH': {
translation: thTH,
},
'vi-VN': {
translation: viVN,
},
'es-ES': {
translation: esES,
},
},
fallbackLng: 'zh-Hans',
debug: process.env.NODE_ENV === 'development',