mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 11:39:12 +00:00
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:
parent
340a029807
commit
2b214190c7
File diff suppressed because it is too large
Load Diff
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user