Bug 498794

Summary: Language & Region pane show incorrect data
Product: [Applications] systemsettings Reporter: A T Somers <andre>
Component: kcm_regionandlangAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: hanyoung, nate
Priority: NOR    
Version First Reported In: 5.27.11   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=491305
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: Screenshot showing configuration pane and some examples of it not being heeded

Description A T Somers 2025-01-17 12:01:06 UTC
Created attachment 177458 [details]
Screenshot showing configuration pane and some examples of it not being heeded

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
The Region & Language settings show all American English values (the language I have set up), even though my region is NL/European. That is: my clock shows a 24hr clock, the date format is dd-MM-yyyy, decimal separator in applications is a comma (,), the thousands separator is a point (.) and the currency symbol is a € by default. 
So, the settings page does not correspond to the actual settings used, and appears to default to the settings default for the language instead.

STEPS TO REPRODUCE
I don't know. I have set this region a long time ago.

OBSERVED RESULT
Displayed Settings values correspond to the language, not the region. They don't match the values actually used by applications.

EXPECTED RESULT
Settings should correspond to what's actually set.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4710MQ CPU @ 2.50GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Manufacturer: FUJITSU
Product Name: CELSIUS H730
System Version: 10601583197

ADDITIONAL INFORMATION
Comment 1 hanyoung 2025-01-17 12:53:47 UTC
can you please paste the output of `locale` in a fresh opened terminal, and the contents of ~/.config/plasma-localerc?
Comment 2 Nate Graham 2025-01-17 16:05:34 UTC
.
Comment 3 A T Somers 2025-01-17 16:46:57 UTC
Requested additional info:

```andre@andre-KDAB-laptop:~/Develop$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=nl_NL.UTF-8
LC_TIME=nl_NL.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=nl_NL.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_ALL=
```

```
andre@andre-KDAB-laptop:~/Develop$ cat ~/.config/plasma-localerc
[Formats]
LANG=en_US.UTF-8
```
Comment 4 hanyoung 2025-01-17 16:53:13 UTC
The nl_NL settings must come from systemwide settings. That explains why the settings page are unaware of this. This has been fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4739

You can set the relevant LC_* options in the Region and Language settings to correct the info displayed.
Comment 5 A T Somers 2025-01-17 16:55:31 UTC
I doubt that that's really the solution, as I have not updated my language ever. It has always been like this.
Comment 6 hanyoung 2025-01-17 17:02:48 UTC
If you want to know the reason of the incorrect display, you can see the description of the MR above. Newer versions of KDE won't have this problem.
Comment 7 Nate Graham 2025-01-17 20:01:17 UTC
It's not a solution; it's a workaround until you upgrade to Plasma 6.2.0 which does contain the solution.