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:
parent
1506dd9353
commit
7b87e7e7ba
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user