en_DK is truly the greatest locale out there.


For those who haven't heard of en_DK before, it's the "European English" (for want of a better description) locale.

It uses Commonwealth English (en_GB) for strings and ISO-14651-1 for collates.
Dates are in YYYY-MM-DD, time is in 24h HH:MM format, Monday is the first day of the week, comma is the decimal separator, currency is euro and standard paper size is A4.

Bonus: en_DK's LC_MESSAGES lets you use y (for yes), o (for oui), j (for ja) and s (for sí/sì/sim) for positive responses, and n (for no/nein/non/não/nej) for negative responses; as well as language-neutral 1 0 and + - characters.

Show thread

@erkin I'm sold. I always end up with a weird mix of locales, mixing UK English with Swedish time. Not fantastic.

@erkin Is there one with american spelling (i.e. without superfluous "u"s)?

@erkin Oh, wait, no. The comma. Deal breaker. Damnit, so close.

@erkin I found en_DK to be annoying but I can't remember why
@erkin that is pretty good except i dont use the euro

I'm cool with everything except commas being decimal separators. Only Europe does that, and I still find it weird.

@InvaderXan @erkin Reciprocally I still mess up decimal points in American English, as I was born and raised in Europe.


I liked all of it until I got to the comma separator. Blah. 😖

@erkin: The exact setting I use. Not all apps are translated into Danish, so when I use a regular all-round assortment on Linux, I just keep it in English... but yes, the standards can follow Danish. It is a very lovely option.

@erkin if only it used periods as the decimal separator like normal people

@erkin Sadly not available almost everywhere I have searched for it. Are you sure about the euro? (Couldn't test due to lack of that particular locale on my systems)

@saper Yeah, it's absent from BSDs for some reason. IIRC it's in FreeBSD ports.

I just checked and you're right, it uses Danish krone.

@erkin I have always assumed it was "en, as used in denmark", which makes little sense, when I used it.

@ng0 @erkin Is there a European standard way for grouping digits in large numbers, e.g. 1 234 567.8 for one million, two hundred thirty-four thousand, five hundred sixty-seven and eight tenths?

Here in Canada, we're supposed to use spaces to avoid confusion with French or English decimal markers. But actual use of spaces is very rare.

Turns out spaces as thousands separators is pretty popular with standards institutes.

Wiki sez: "[...] officially endorsed by SI/ISO 31-0 standard, as well as by the International Bureau of Weights and Measures and the International Union of Pure and Applied Chemistry (IUPAC), the American Medical Association's widely followed AMA Manual of Style, and the Metrication Board, among others."

@mpjgregoire @erkin @ng0 In Swedish, we use comma for decimal separation and non breaking space as thousands separator, in some special cases replaced by a full stop. There is no consensus about the use of thousands separator in four digit numbers. In numbers less than one, we always write (and pronounce) the zero. The same is true for Norwegian (both of them) and Danish too, except Danish always uses the full stop as thousands separator.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko