aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/language-chooser.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/menu/language-chooser.component.ts')
-rw-r--r--client/src/app/menu/language-chooser.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/menu/language-chooser.component.ts b/client/src/app/menu/language-chooser.component.ts
index fb74cdf19..9bc934ad4 100644
--- a/client/src/app/menu/language-chooser.component.ts
+++ b/client/src/app/menu/language-chooser.component.ts
@@ -36,6 +36,7 @@ export class LanguageChooserComponent {
36 getCurrentLanguage () { 36 getCurrentLanguage () {
37 const english = 'English' 37 const english = 'English'
38 const locale = isOnDevLocale() ? getDevLocale() : getCompleteLocale(this.localeId) 38 const locale = isOnDevLocale() ? getDevLocale() : getCompleteLocale(this.localeId)
39
39 if (locale) return I18N_LOCALES[locale] || english 40 if (locale) return I18N_LOCALES[locale] || english
40 return english 41 return english
41 } 42 }