diff --git a/src/main/index.ts b/src/main/index.ts index 14bbe0f4c2..ed257f9f08 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -173,6 +173,7 @@ if (!app.requestSingleInstanceLock()) { const userLanguage = preferenceService.get('app.language') if (userLanguage) { i18n.changeLanguage(userLanguage) + // Do not care about cleanup because it spans the whole lifecyle of the app preferenceService.subscribeChange('app.language', (newLang) => { if (newLang) { i18n.changeLanguage(newLang)