azahar-emu / azahar

A new Citra fork
https://azahar-emu.org/
2.44k stars 131 forks source link

lime_qt: Switch to `GetUserDefaultUILanguage` to fetch active display language on Windows #521

Closed kleidis closed 15 hours ago

kleidis commented 3 weeks ago

Use GetUserDefaultUILanguage instead of QLocale on Windows platforms This fixes the language mismatch if the language settings key is empty as on first boot of the emulator or when the user selects System for thei language

I've heard this issue might accur on MacOS and i got no clie but from what i could fidn online it;s mostly Windows having these issues with QLocale

Clsoes https://github.com/Lime3DS/Lime3DS/issues/242 However to make sure its acutally fixed, i'm leaving it up as a draft and for people to test it