i18n: Fix application language selection with electronAPI setLocale

This commit is contained in:
Luca Fontanot
2026-05-19 14:34:45 +02:00
parent a1a75badde
commit c4acb9d6e7
+1
View File
@@ -112,6 +112,7 @@ export function I18nProvider({ children }: { children: ReactNode }) {
useEffect(() => {
document.documentElement.lang = locale;
window.electronAPI?.setLocale?.(locale);
}, [locale]);
useEffect(() => {