feat: added german translation for OM (#13386)

This commit is contained in:
Teddy 2023-10-01 19:03:12 +02:00 committed by GitHub
parent 2e2f9a1edb
commit 66d3fbb75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2168 additions and 615 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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: {