Added ru-ru.json for Russian language and updated i18nextUtil.ts (#12796)

Co-authored-by: vvalekseev <vvalekseev@sdvor.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
Alekseev Vadim 2023-08-09 09:22:42 +03:00 committed by GitHub
parent 340a029807
commit 2b214190c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1522 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,7 @@ import esES from '../../locale/languages/es-es.json';
import frFR from '../../locale/languages/fr-fr.json';
import jaJP from '../../locale/languages/ja-jp.json';
import ptBR from '../../locale/languages/pt-br.json';
import ruRU from '../../locale/languages/ru-ru.json';
import zhCN from '../../locale/languages/zh-cn.json';
export enum SupportedLocales {
@ -27,6 +28,7 @@ export enum SupportedLocales {
= 'ja-JP',
Português = 'pt-BR',
Español = 'es-ES',
Русский = 'ru-RU',
}
export const languageSelectOptions = map(SupportedLocales, (value, key) => ({
@ -45,6 +47,7 @@ export const getInitOptions = (): InitOptions => {
'ja-JP': { translation: jaJP },
'pt-BR': { translation: ptBR },
'es-ES': { translation: esES },
'ru-RU': { translation: ruRU },
},
fallbackLng: ['en-US'],
detection: {