Merge pull request #14953 from abpframework/auto-merge/rel-6-0/1528

Merge branch rel-7.0 with rel-6.0
pull/14963/head
Enis Necipoglu 3 years ago committed by GitHub
commit f4195fd137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ export class SessionStateService {
}
private setInitialLanguage() {
if (this.getLanguage()) return;
const appLanguage = this.getLanguage();
this.configState
.getDeep$('localization.currentCulture.cultureName')
@ -43,8 +43,9 @@ export class SessionStateService {
if (lang.includes(';')) {
lang = lang.split(';')[0];
}
this.setLanguage(lang);
if (appLanguage !== lang) {
this.setLanguage(lang);
}
});
}

Loading…
Cancel
Save