From 7b87e7e7ba7a8c4e3de989a20b65625d73f65e35 Mon Sep 17 00:00:00 2001 From: "Jingwei.Zhang" Date: Thu, 13 Oct 2022 09:26:13 +0800 Subject: [PATCH] fix: set the default language is Engilsh Change the default language from Chinese to English. Closes-Bug: #1992694 Change-Id: I7d0b7fc96e7118f3db1e1853cce728845a537bcc --- src/core/i18n.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/i18n.js b/src/core/i18n.js index b4930749..b8ac9cc4 100644 --- a/src/core/i18n.js +++ b/src/core/i18n.js @@ -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) {