Bug 355703

Summary: plasma does not properly read locale files
Product: [Applications] systemsettings Reporter: Jayesh Badwaik <kde>
Component: kcm_formatsAssignee: Sebastian Kügler <sebas>
Status: RESOLVED NOT A BUG    
Severity: minor CC: heri+kde, nate
Priority: NOR    
Version First Reported In: 5.4.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.