UI language uses OS region setting instead of language setting on Windows

Steps to reproduce:

  1. In your Windows OS set region setting to a different value than your windows language setting (to do that go to Settings -> Time & Laguage, where you can specify system default language and region). In my case the Windows language is set to English (United States) so all the apps are in english, but region setting is set to Slovak, so dates, time and numbers are formated in regional way)
  2. Open Inkscape with language preference set to System default

What happened?

Inkscape chooses the regional setting to localize the UI (in my case Slovak)

What should have happened?

Inkscape should use OS language setting to localize the interface (in my case it should be US English as with all the other apps)

Inkscape Version and Operating System:

  • Inkscape Version: 1.2.1 (inkscape@9c6d41e4, 2022-07-14)
  • Operating System: Win 10
  • Operating System version: Windows 10 21H2 (build 19044.2006)