You are not logged in.

#1 2024-02-16 08:42:23

lquidfire
Member
From: South Africa
Registered: 2017-07-26
Posts: 82

KDE Plasma - Setting locale in System Settings adds "en_ZA" w/o .UTF-8

Hi all,

When I change the locale settings in KDE Plasma via the GUI (in System Settings > Personailisation > Regional Settings > Region & Language), the entries created in ~/.config/plasma-localerc look like this:

$ cat .config/plasma-localerc 
[Formats]
LANG=en_ZA

[Translations]
LANGUAGE=en_ZA

However, this does not match entries from /etc/locale-gen.conf and then causes "Unsupported language" errors when running Python or Perl.

When I add ".UTF-8" to those entries and log in again, everything is fine.

Is this a bug that should be filed upstream, or am I missing something?

TIA!

Last edited by lquidfire (2024-02-16 08:42:49)

Offline

#2 2024-02-16 11:13:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,231

Re: KDE Plasma - Setting locale in System Settings adds "en_ZA" w/o .UTF-8

Yes known bug in plasma. Technically a bug in Qt's locale handling, I'm pretty sure upstream is aware, this might get fixed by Plasma 6, i'd wait/test for that if you aren't already.

Though cursory checking of the code suggests that should generally already be happening, so potentially still a bug.

Last edited by V1del (2024-02-16 11:23:33)

Offline

Board footer

Powered by FluxBB