Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 90972

Summary: x11-base/xorg-x11: en_DK.UTF-8 locale not supported by Xlib
Product: Gentoo Linux Reporter: Lars T. Mikkelsen <ltm>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: enhancement CC: schiotz
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=3533
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: locale.dir.patch

Description Lars T. Mikkelsen 2005-04-30 07:24:11 UTC
The en_DK.UTF-8 locale is not supported by Xlib in xorg-x11-6.8.2-r1. To support the locale, an alias is needed in /usr/lib/X11/locale/locale.dir.
Comment 1 Lars T. Mikkelsen 2005-04-30 07:25:21 UTC
Created attachment 57675 [details, diff]
locale.dir.patch

Patch to add en_DK.UTF-8 support in /usr/lib/X11/locale/locale.dir.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-30 11:36:53 UTC
Please file this upstream at bugs.freedesktop.org, and post the URL here so we can track it.

Thanks!
Comment 3 Lars T. Mikkelsen 2005-06-13 14:06:10 UTC
This bug is now filed upstream:

https://bugs.freedesktop.org/show_bug.cgi?id=3533
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-13 15:56:34 UTC
Thanks again.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 14:00:58 UTC
This should be fixed in modular (7.0).
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 14:01:21 UTC
Marking fixed.
Comment 7 Jakob Schiotz 2007-02-14 10:21:21 UTC
The bug is still present or has reappeared in 7.1, where the locale is missing from /usr/share/X11/locale/locale.dir (belonging to x11-libs/libX11-1.0.3).  I cannot reopen this bug, can someone please do it?

Best regards

Jakob
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2007-02-14 23:40:48 UTC
Reopening as requested
Comment 9 Lars T. Mikkelsen 2007-04-18 09:47:09 UTC
Although I'm the original reporter of this bug, I suggest marking it as INVALID. The en_DK.UTF-8 is in fact not a real locale, as the there is no such thing as "English as spoken in Denmark". If you want a system with a Danish locale (time, currency, etc.), but English interface, I suggest the following configuration:

/etc/env.d/02locale:
LANG="da_DK.UTF-8"
LC_MESSAGES="en_US.UTF-8"

/etc/locale.gen:
da_DK.UTF-8 UTF-8
en_US.UTF-8 UTF-8
Comment 10 RĂ©mi Cardona (RETIRED) gentoo-dev 2009-02-24 15:09:47 UTC
(In reply to comment #9)
> The en_DK.UTF-8 is in fact not a real locale, as the there is no such
> thing as "English as spoken in Denmark".

Indeed, closing then :)

Thanks