Bug 361657 - en_DK.UTF-8 locale is missing
Summary: en_DK.UTF-8 locale is missing
Status: RESOLVED UPSTREAM
Alias: None
Product: i18n
Classification: Translations
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 09:04 UTC by Alvin
Modified: 2016-04-19 21:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin 2016-04-12 09:04:57 UTC
Plasma 5 does not contain the possibility to set the locale to en_DK.
In short, this would be a fine workaround to Europeans who want their system in English with a 24-hour clock, weeks that start on monday and the EURO currency.

Reproducible: Always

Steps to Reproduce:
Set system to en_DK (method depends on the distribution)

Actual Results:  
Dolphin will show dates in some weird format and times in AM/PM.
Korganiser will start the week on Sunday.

Expected Results:  
With Region set to "No change", the expected result would be the use of the system's locale.

(I'd like some more information but the reasoning can be found here: )
http://www.ivoras.net/blog/tree/2010-12-20.the-wonderful-en_dk-locale.html
A fix for bug #340982 might make this request obsolete.
This addition could be a workaround for Bug #360163.
Comment 1 Christoph Feck 2016-04-12 21:25:19 UTC
Locale files are provided by the system (usually the gcc library runtime). If your system is lacking certain locales, please request them at the bug tracker of your distribution.
Comment 2 Alvin 2016-04-13 15:48:26 UTC
No, the locale files are not lacking.
KDE is lacking this.

Maybe there is something I don't understand, but this is what I see on every distribution:
- The system has locales. You can set them and the *locale* command will show your environment. This is usually no problem.
- KDE has language settings, which is something entirely different. Try for example to set the locale to en_BE in KDE and the rest of the system will throw warnings about it.

This bug is the REVERSE. The system does have en_DK.UTF-8 and it works fine, but KDE does not respect the specifics in that locale, so I take it that it's KDE who is missing a locale.  It's also not in the list in language settings.

So I'm setting this back to 'unconfirmed' until someone can fire up *kcmshell5 formats* and confirm that en_DK is or is not missing.
Comment 3 Albert Astals Cid 2016-04-19 21:25:54 UTC
You are right en_DK is not available in the formats KCM, this is because we can only support the locales that Qt supports and unfortunately Qt does not know about English/Denmark (while it for example knows about English/Belgium).

Good news is, it has been added for Qt 5.7, so you'll be able to select it "relatively soon" (Qt 5.7 is scheduled for around June)