Objective: Run KiCad and get the UI in English, no matters which language is selected in the OS (I’m talking about Linux, not Windows).
What I tried:
en_US.utf8 was determined running
locale -a and looking for
This almost works, but doesn’t always work. The GTK native dialogs sometimes remain in the global language, here is an example:
You can see the KiCad
What is even more bizarre is that using:
LC_ALL=C pcbnew works as expected.
The problem with this is that some Linux distros, like Arch (IMHO broken, C locale is a traditional UNIX locale for scripts trying to avoid localization details) doesn’t define this locale, so I can’t rely on this.
Why is KiCad (wxWidgets, GTK, etc.) doing this? I’m explicitly asking for a locale in the environment, but getting a mix of two locales. What’s wrong here?
And BTW, I think the KiCad menu to select the language is broken. If I try to select English it says it isn’t supported by the system, but
en_US.utf8 is installed. I guess KiCad is assuming some fixed name, like
en_UK, and not asking the system which locale is installed for the selected language, like I’m doing using