Andrei Borzenkov wrote:
On 24.04.2022 17:24, Andrei Borzenkov wrote:
On 24.04.2022 16:01, Peter Suetterlin wrote:
So the problem is the locale setting: speedy:~% echo $LANG en_DE.UTF-8
However, that one does not exist! speedy:~% ls /usr/lib/locale/en_DE* ls: cannot access '/usr/lib/locale/en_DE*': No such file or directory
Trying to find where LANG is actually set I eventually found .config/plasma-localerc: speedy:~% cat .config/plasma-localerc [Formats] LANG=en_DE.UTF-8
[Translations] LANGUAGE=
Which seems to be set in System Settings -> Region -> Formats There a a *ton* of LANG definitions that just plain don't exist in the system. Why can I select those after all?
Qt is using internal locale definitions that are based on Unicode Common Locale Data Repository, not POSIX/glibc locale database. These locales *do* exist in CLDR.
Hmm, then (IMO) it should trigger a dependency that adds those (to /usr/lib/locale) for compatibility with other programs. At least on distribution level, if KDE project isn't willing...
Or carefully selecting only those locale definitions that are known to exist in POSIX.
This. It's one thing if I use an editor to set LANG etc. myself in a config file, but a GUI should not allow to set values that are not available system-wide. IMHO of course again....