From 2a421573de1cd0f518f64de7204d8929a96c8124 Mon Sep 17 00:00:00 2001 From: kunish Date: Tue, 28 Feb 2023 15:49:53 +0800 Subject: fix: i18n not following system language setting --- src/misc/i18n.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/misc') diff --git a/src/misc/i18n.ts b/src/misc/i18n.ts index 2c057e7..bbae42b 100644 --- a/src/misc/i18n.ts +++ b/src/misc/i18n.ts @@ -33,6 +33,8 @@ i18next p = allLocales.zh; break; case '/__en/translation.json': + p = allLocales.en; + break; default: p = allLocales.zh; break; -- cgit v1.3.1