diff --git a/src/ui_ng/src/app/app.module.ts b/src/ui_ng/src/app/app.module.ts index 3dde3002a..5cddb8cbd 100644 --- a/src/ui_ng/src/app/app.module.ts +++ b/src/ui_ng/src/app/app.module.ts @@ -26,7 +26,7 @@ export function initConfig(configService: AppConfigService) { return () => configService.load(); } -function getCurrentLanguage(translateService: TranslateService) { +export function getCurrentLanguage(translateService: TranslateService) { return translateService.currentLang; }