diff --git a/src/i18n/main.ts b/src/i18n/main.ts index 6b07d469c..84221a08c 100644 --- a/src/i18n/main.ts +++ b/src/i18n/main.ts @@ -13,7 +13,7 @@ const hasLng = (lng: string): lng is keyof typeof resources => lng in resources; const getLng = async (): Promise => { await app.whenReady(); - const locale = app.getLocale(); + const locale = app.getSystemLocale(); let [languageCode, countryCode] = locale.split(/[-_]/) as [ string,