mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-10 15:59:57 +00:00
feat: added german translation for OM (#13386)
This commit is contained in:
parent
2e2f9a1edb
commit
66d3fbb75d
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
import { InitOptions } from 'i18next';
|
import { InitOptions } from 'i18next';
|
||||||
import { map, upperCase } from 'lodash';
|
import { map, upperCase } from 'lodash';
|
||||||
|
import deDe from '../../locale/languages/de-de.json';
|
||||||
import enUS from '../../locale/languages/en-us.json';
|
import enUS from '../../locale/languages/en-us.json';
|
||||||
import esES from '../../locale/languages/es-es.json';
|
import esES from '../../locale/languages/es-es.json';
|
||||||
import frFR from '../../locale/languages/fr-fr.json';
|
import frFR from '../../locale/languages/fr-fr.json';
|
||||||
@ -29,6 +30,7 @@ export enum SupportedLocales {
|
|||||||
Português = 'pt-BR',
|
Português = 'pt-BR',
|
||||||
Español = 'es-ES',
|
Español = 'es-ES',
|
||||||
Русский = 'ru-RU',
|
Русский = 'ru-RU',
|
||||||
|
Deutsh = 'de-DE',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const languageSelectOptions = map(SupportedLocales, (value, key) => ({
|
export const languageSelectOptions = map(SupportedLocales, (value, key) => ({
|
||||||
@ -48,6 +50,7 @@ export const getInitOptions = (): InitOptions => {
|
|||||||
'pt-BR': { translation: ptBR },
|
'pt-BR': { translation: ptBR },
|
||||||
'es-ES': { translation: esES },
|
'es-ES': { translation: esES },
|
||||||
'ru-RU': { translation: ruRU },
|
'ru-RU': { translation: ruRU },
|
||||||
|
'de-DE': { translation: deDe },
|
||||||
},
|
},
|
||||||
fallbackLng: ['en-US'],
|
fallbackLng: ['en-US'],
|
||||||
detection: {
|
detection: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user