feat(i18n): add Russian (ru-RU) language support

This commit is contained in:
RockChinQ
2026-04-17 20:00:50 +08:00
parent 49239e0e08
commit 0b8ab4b54b
5 changed files with 1311 additions and 0 deletions
+26
View File
@@ -9,6 +9,7 @@ import jaJP from './locales/ja-JP';
import thTH from './locales/th-TH';
import viVN from './locales/vi-VN';
import esES from './locales/es-ES';
import ruRU from './locales/ru-RU';
i18n
.use(LanguageDetector)
@@ -36,6 +37,31 @@ i18n
'es-ES': {
translation: esES,
},
'ru-RU': {
translation: ruRU,
},
},
'zh-Hans': {
translation: zhHans,
},
'zh-Hant': {
translation: zhHant,
},
'ja-JP': {
translation: jaJP,
},
'th-TH': {
translation: thTH,
},
'vi-VN': {
translation: viVN,
},
'es-ES': {
translation: esES,
},
'ru-RU': {
translation: ruRU,
},
},
fallbackLng: 'zh-Hans',
debug: process.env.NODE_ENV === 'development',