Bug 355703 - plasma does not properly read locale files
Summary: plasma does not properly read locale files
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_formats (other bugs)
Version First Reported In: 5.4.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-21 20:23 UTC by Jayesh Badwaik
Modified: 2021-09-30 17:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jayesh Badwaik 2015-11-21 20:23:15 UTC
It appears as if plasma reads the territory of the locale too, and makes decision based upon it, instead of the actual contents of locale. 

Reproducible: Always

Steps to Reproduce:
I am using Archlinux packages. I have provided the description of what happens below:
1. Copy en_GB to en_IN, so that both locales should match perfectly
2. Set LANG=en_IN.UTF-8 in /etc/locale.conf
3. Restart KDE session.  
4. KDE session shows 12 hour AM/PM clock time
5. set LANG=en_GB.UTF-8 in /etc/locale.conf
6. Restart KDE session..
7. KDE session shows 24 hour clock time.


Expected Results:  
KDE session should read the locales, same locale should produce same results irrespective of the name.
Comment 1 Jayesh Badwaik 2015-11-21 20:24:38 UTC
First step is 
1. Copy  /usr/share/i18n/locales/en_GB to  /usr/share/i18n/locales/en_IN, so that both locales should match perfectly
Comment 2 Justin Zobel 2021-03-09 07:29:45 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 Nate Graham 2021-09-30 17:12:39 UTC
Locale settings should be configured using the Formats KCM, rather than editing system files. This isn't a supported use case, sorry.