fix(localize): loading of new translations
This commit is contained in:
parent
591f4701c0
commit
5b8a9915a3
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ export class LocalizeManager extends LionSingleton {
|
||||||
Object.keys(oldLocaleNamespaces).forEach(namespace => {
|
Object.keys(oldLocaleNamespaces).forEach(namespace => {
|
||||||
const newNamespaceData = newLocaleNamespaces[namespace];
|
const newNamespaceData = newLocaleNamespaces[namespace];
|
||||||
if (!newNamespaceData) {
|
if (!newNamespaceData) {
|
||||||
promises.push(this.loadNamespace(namespace));
|
promises.push(this.loadNamespace(namespace, { locale: newLocale }));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return Promise.all(promises);
|
return Promise.all(promises);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue