fix: set the default language is Engilsh

Change the default language from Chinese to English.

Closes-Bug: #1992694
Change-Id: I7d0b7fc96e7118f3db1e1853cce728845a537bcc
This commit is contained in:
Jingwei.Zhang 2022-10-13 09:26:13 +08:00
parent 1506dd9353
commit 7b87e7e7ba

View File

@ -51,10 +51,9 @@ const getLocale = () => {
localStorageLocaleKey: 'lang',
});
// If not found, the default is Chinese
// If not found, the default is English
if (!_.find(SUPPORT_LOCALES, { value: currentLocale })) {
currentLocale = 'zh-cn';
// currentLocale = 'en';
currentLocale = 'en';
}
if (!currentLocals) {