Bug 448323 - Plasma sets LANG=C.UTF-8 while signing in
Summary: Plasma sets LANG=C.UTF-8 while signing in
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 14:40 UTC by Michael Tsang
Modified: 2022-01-13 03:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.24
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tsang 2022-01-12 14:40:18 UTC
SUMMARY
When I signs in to Plasma session from SDDM, it sets LANG=C.UTF-8 but not honouring the default locale settings.


STEPS TO REPRODUCE
1. Set the default system locale to follow:

LANG=yue_HK.UTF-8
LANGUAGE="yue_HK:zh_HK:zh_TW:zh_CN:zh"
LC_MONETARY=en_GB.UTF-8

2. Sign in Plasma session from SDDM

OBSERVED RESULT
locale outputs C.UTF-8 except LC_MONETARY and LANGUAGE

EXPECTED RESULT
locale output yue_HK.UTF-8 instead


Linux/KDE Plasma: Ubuntu 21.10
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-13 03:23:12 UTC
This should be fixed in Plasma 5.24. Please re-open if you find that it's not fixed yet after you upgrade to Plasma 5.24 and reboot.