Merge "fix: set the default language is Engilsh"
This commit is contained in:
commit
86937127c9
@ -51,10 +51,9 @@ const getLocale = () => {
|
|||||||
localStorageLocaleKey: 'lang',
|
localStorageLocaleKey: 'lang',
|
||||||
});
|
});
|
||||||
|
|
||||||
// If not found, the default is Chinese
|
// If not found, the default is English
|
||||||
if (!_.find(SUPPORT_LOCALES, { value: currentLocale })) {
|
if (!_.find(SUPPORT_LOCALES, { value: currentLocale })) {
|
||||||
currentLocale = 'zh-cn';
|
currentLocale = 'en';
|
||||||
// currentLocale = 'en';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!currentLocals) {
|
if (!currentLocals) {
|
||||||
|
Loading…
Reference in New Issue
Block a user