fixed language issue

MOE_MAIN-COLOR_CHANGES
umasoodch 3 years ago
parent ad1ac4971e
commit 8e882b2de8

@ -106,11 +106,12 @@ export class LoginComponent implements OnInit, OnDestroy {
ngOnInit() {
this.monitorKeyboardChange();
this.userInfo = JSON.parse(localStorage.getItem('digitalIDUser'));
this.currentLang = TranslatorService.getCurrentLanguageCode();
// this.currentLang = TranslatorService.getCurrentLanguageCode();
this.currentLang = 2;
this.ts.setCurrentLanguage('en');
// if (this.currentLang == 2) {
// this.language = "US";
// this.changeLanguage('2')
this.changeLanguage('2')
// } else {
// this.language = "AR";
// this.changeLanguage('1')

Loading…
Cancel
Save