mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-25 05:46:13 +00:00
feat(i18n): add Russian (ru-RU) language support
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user