Skip to content

Commit

Permalink
📚 Start the application with the browser default language (#4415)
Browse files Browse the repository at this point in the history
* Start the application with browser default language

* md
  • Loading branch information
lelemm authored Feb 22, 2025
1 parent 1511587 commit 0fddcac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/desktop-client/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { init as initConnection, send } from 'loot-core/platform/client/fetch';

import { handleGlobalEvents } from '../global-events';
import { useMetadataPref } from '../hooks/useMetadataPref';
import { setI18NextLanguage } from '../i18n';
import { installPolyfills } from '../polyfills';
import { useDispatch, useSelector, useStore } from '../redux';
import { hasHiddenScrollbars, ThemeStyle, useTheme } from '../style';
Expand Down Expand Up @@ -66,6 +67,8 @@ function AppInner() {
};

async function init() {
setI18NextLanguage(null);

const socketName = await maybeUpdate(() =>
global.Actual.getServerSocket(),
);
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4415.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [lelemm]
---

Start the application with the browser's default language

0 comments on commit 0fddcac

Please sign in to comment.