Bug 121674 - Locale not supported by locale.
Summary: Locale not supported by locale.
Alias: None
Product: Fedora
Classification: Fedora
Component: XFree86   
(Show other bugs)
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-04-25 11:12 UTC by Manish Regmi
Modified: 2007-11-30 22:10 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-14 10:15:32 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Manish Regmi 2004-04-25 11:12:45 UTC
Description of problem: Cannot use locale Nepali. When i choose the 
locale to nepali(LC_np).  It says locale not supported by Xlib.

Version-Release number of selected component (if applicable):
Fedore core 2 test 2

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Alan Cox 2004-05-02 23:35:59 UTC
Glibc doesn't seem to include np in the locale definitions. You need a
glibc locale definition for nepali and then possibly X and gdm

Comment 3 Ulrich Drepper 2004-05-04 16:33:08 UTC
Where does LC_np come from.  This is wrong for multiple reasons: the
language code "LC" does not exit, it's written in uppercase (instead
of lowercase), "np" is in lowercase (instead of uppercase).

If ne_NP would be used it works.  At least in FC2, don't know when
this locale was added.

Comment 4 Mike A. Harris 2004-05-04 18:56:00 UTC
Thanks Uli.

Closing bug as 'NOTABUG' - incorrect locale usage.

Comment 5 Ulrich Drepper 2004-05-04 19:14:40 UTC
This is not necessarily NOTABUG.  Somebody has to check where this
incorrect locale name comes from.  If it is automatically listed in
the gdm login screen something *is* wrong.

Comment 6 Mike A. Harris 2004-05-04 19:19:29 UTC
Ok, reopening.

Manish) How are you selecting this locale?

Comment 7 Manish Regmi 2004-05-05 01:50:15 UTC
Sorry for listing incorrect name. It is actually ne_NP. I choose that 
during the login. 
 I didnt showed anything in nepali. Then I ran nautilus from the 
terminal. It said 

locale not supported by Xlib.


Comment 8 Ulrich Drepper 2004-05-05 02:31:40 UTC
Do you have a directory


and files like LC_CTYPE in it?  If yes, it's a matter of adding the
voodoo in /usr/lib/X11/locale/locale.dir.  Try adding a line like

en_US.UTF-8/XLC_LOCALE:                 ne_NP.UTF-8

to that file.

Comment 9 Manish Regmi 2004-05-05 07:20:09 UTC
 There is a directory /usr/lib/locale/ne_NP and there are also files 
like LC_CTYPE in it. I looked in the /usr/lib/X11/locale/locale.dir. 
I added the line 
en_US.UTF-8/XLC_LOCALE:                 ne_NP.UTF-8

Now the warning message problem is solved. But i cannot see 
characters in Nepali in Nautilus. Further, the characters are 
invisible. I cannot see menubar but the files and folders are visible
(in English). I can only see Places menu(in english).

Same problem with gedit.


Comment 10 Manish Regmi 2004-07-27 07:03:26 UTC
 Same Problem with FC2. IS anybody working on that???

Comment 11 Mike A. Harris 2004-08-14 10:15:32 UTC
Please report this problem to X.Org upstream at the following bugzilla
address:  http://bugs.freedesktop.org - against the xorg component.

Once upstream has reviewed this request and integrated this into
X.Org CVS, it will be included in X.Org 6.8.0 or later, and will
eventually make it into Fedora Core.

Once you've filed your report upstream, please paste the URL here, and
we will monitor the upstream report, and consider backporting support
to currently supported Fedora Core releases.

Thanks in advance.

Note You need to log in before you can comment on or make changes to this bug.