Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Aug 21, 2024
2 parents 75e28d8 + cebf190 commit 8f7567f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const hasLng = (lng: string): lng is keyof typeof resources => lng in resources;
const getLng = async (): Promise<keyof typeof resources | undefined> => {
await app.whenReady();

const locale = app.getLocale();
const locale = app.getSystemLocale();

let [languageCode, countryCode] = locale.split(/[-_]/) as [
string,
Expand Down

0 comments on commit 8f7567f

Please sign in to comment.