Bugfix regarding UI label overrides
This commit is contained in:
parent
6895f39660
commit
8588a1fd7d
|
@ -37,5 +37,7 @@ export const setLocale = (locale, opt_messages) => {
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn(`Unsupported locale '${l}'. Falling back to default en.`);
|
console.warn(`Unsupported locale '${l}'. Falling back to default en.`);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
I18n.init(null, opt_messages);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue