Commit Graph

6 Commits

Author SHA1 Message Date
schroda
72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda
12cac252de Prevent language switch on initial load
The change of bb36a46a24 causes a "language blink" on the initial load.
This happens due to having to wait till the selected language has been loaded from the server. Until this request is resolved, lingui initializes with the detected language, which might not match the selected one. This then causes the language to potentially be changed shortly after the initial load to a different language.
2026-01-23 02:15:26 +01:00
schroda
bb36a46a24 Save selected app language on server 2026-01-22 00:14:52 +01:00
schroda
0fd5bb3284 Fix missing "custom app languages"
Regression c1ac58f4d6
2026-01-14 16:34:38 +01:00
schroda
65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
schroda
c1ac58f4d6 Split up language utils file 2026-01-13 17:33:34 +01:00