Temporarily disable the german translation (#2360)
parent
b326e1d3bd
commit
40a110c541
|
@ -116,8 +116,9 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
|
|||
return AppLanguage.ja
|
||||
case 'fr':
|
||||
return AppLanguage.fr
|
||||
case 'de':
|
||||
return AppLanguage.de
|
||||
// DISABLED until this translation is fixed -prf
|
||||
// case 'de':
|
||||
// return AppLanguage.de
|
||||
case 'es':
|
||||
return AppLanguage.es
|
||||
default:
|
||||
|
|
|
@ -6,7 +6,8 @@ import {messages as messagesEn} from '#/locale/locales/en/messages'
|
|||
import {messages as messagesHi} from '#/locale/locales/hi/messages'
|
||||
import {messages as messagesJa} from '#/locale/locales/ja/messages'
|
||||
import {messages as messagesFr} from '#/locale/locales/fr/messages'
|
||||
import {messages as messagesDe} from '#/locale/locales/de/messages'
|
||||
// DISABLED until this translation is fixed -prf
|
||||
// import {messages as messagesDe} from '#/locale/locales/de/messages'
|
||||
import {messages as messagesEs} from '#/locale/locales/es/messages'
|
||||
|
||||
import {sanitizeAppLanguageSetting} from '#/locale/helpers'
|
||||
|
@ -29,10 +30,11 @@ export async function dynamicActivate(locale: AppLanguage) {
|
|||
i18n.loadAndActivate({locale, messages: messagesFr})
|
||||
break
|
||||
}
|
||||
case AppLanguage.de: {
|
||||
i18n.loadAndActivate({locale, messages: messagesDe})
|
||||
break
|
||||
}
|
||||
// DISABLED until this translation is fixed -prf
|
||||
// case AppLanguage.de: {
|
||||
// i18n.loadAndActivate({locale, messages: messagesDe})
|
||||
// break
|
||||
// }
|
||||
case AppLanguage.es: {
|
||||
i18n.loadAndActivate({locale, messages: messagesEs})
|
||||
break
|
||||
|
|
|
@ -24,10 +24,11 @@ export async function dynamicActivate(locale: AppLanguage) {
|
|||
mod = await import(`./locales/fr/messages`)
|
||||
break
|
||||
}
|
||||
case AppLanguage.de: {
|
||||
mod = await import(`./locales/de/messages`)
|
||||
break
|
||||
}
|
||||
// DISABLED until this translation is fixed -prf
|
||||
// case AppLanguage.de: {
|
||||
// mod = await import(`./locales/de/messages`)
|
||||
// break
|
||||
// }
|
||||
case AppLanguage.es: {
|
||||
mod = await import(`./locales/es/messages`)
|
||||
break
|
||||
|
|
|
@ -9,7 +9,8 @@ export enum AppLanguage {
|
|||
hi = 'hi',
|
||||
ja = 'ja',
|
||||
fr = 'fr',
|
||||
de = 'de',
|
||||
// DISABLED until this translation is fixed -prf
|
||||
// de = 'de',
|
||||
es = 'es',
|
||||
}
|
||||
|
||||
|
@ -23,7 +24,8 @@ export const APP_LANGUAGES: AppLanguageConfig[] = [
|
|||
{code2: AppLanguage.hi, name: 'हिंदी'},
|
||||
{code2: AppLanguage.ja, name: '日本語'},
|
||||
{code2: AppLanguage.fr, name: 'Français'},
|
||||
{code2: AppLanguage.de, name: 'Deutsch'},
|
||||
// DISABLED until this translation is fixed -prf
|
||||
// {code2: AppLanguage.de, name: 'Deutsch'},
|
||||
{code2: AppLanguage.es, name: 'Español'},
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue