Skip to content

Commit

Permalink
Merge pull request #101 from 2skydev/fix/i18n-dash-to-underscore
Browse files Browse the repository at this point in the history
초기 언어 감지 버그로 인한 화면이 안보이는 버그 수정
  • Loading branch information
2skydev authored Sep 30, 2023
2 parents 7f0098a + 09fdf51 commit 86f3ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/modules/electron/electron.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export const generatedIpcOnContext = {`
}

private async initI18Next() {
const systemLocale = app.getSystemLocale()
const systemLocale = app.getSystemLocale().replace('-', '_')
const savedLanguage = this.configService.get('general.language')

if (!savedLanguage) {
Expand Down

0 comments on commit 86f3ece

Please sign in to comment.