mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3918] Fix translation issue (#4169)
This commit is contained in:
@@ -52,8 +52,11 @@ export class TranslationService {
|
||||
}
|
||||
|
||||
userPreferencesService.select(UserPreferenceValues.Locale).subscribe((locale) => {
|
||||
this.userLang = locale;
|
||||
this.use(this.userLang); });
|
||||
if (locale) {
|
||||
this.userLang = locale;
|
||||
this.use(this.userLang);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user