From 6c267f75b04c377d44aa43ec33e8ea047f55a466 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Fri, 16 Jul 2021 14:33:47 +0800 Subject: [PATCH] set default lang --- frontend/src/i18n/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/i18n/index.ts b/frontend/src/i18n/index.ts index dbc662bf..499ec5f2 100644 --- a/frontend/src/i18n/index.ts +++ b/frontend/src/i18n/index.ts @@ -3,7 +3,7 @@ import en from './lang/en'; import zh from './lang/zh'; const i18n: any = createI18n({ - locale: localStorage.getItem('lang') || 'zh', + locale: localStorage.getItem('lang') || 'en', messages: { en, zh