Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-17-2008, 01:25 AM   #1
Registered: Aug 2004
Posts: 79

Rep: Reputation: 15
Language Settings in Fedora 9

In Fedora 9, I met a strange problem with i18n language settings. When I chose Chinese language in GDM login manager and logged into Gnome or KDE, I got a locale setting as:


Not only LANG but all other locale-related environmental variables have this language setting ending with "utf8". Such setting caused gvim to not be able to load any menu texts, such that the entire menu bar was blank, and an error message showed up in command line:

(gvim:13735): Gtk-WARNING **: Invalid input string

If LANG was set to zh_CN.UTF-8 or en_US.UTF-8, then no error messages were generated and gvim's menu showed up in Chinese or English languages as expected.

So I created $HOME/.i18n:


So that I can type in Chinese but still get English interface in my desktop environment. This is what I did in Fedora 9 and works fine. But in Fedora 9, such settings were partially ignored: LC_MESSAGES works, but LANG doesn't work so that it remains zh_CN.utf8. This is true for both Gnome and KDE.

The strangest thing is that $HOME/.i18n took effects when I login from text mode console, so that all locale-related environmental variables were set correctly.

Therefore there must some difference in initiating locale-related environmental variables between the graphical logging process and the console one.

So my question is how to make $HOME/.i18n works for the graphical logging process and make LANG and other environmental variables take the value ending in "UTF-8". Thanks a lot!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mepis language settings cosm MEPIS 1 11-01-2006 11:26 AM
Is there any way to change the Language settings? Arpad Linux - Newbie 1 03-04-2004 05:05 PM
Confusing language settings powadha Slackware 0 12-17-2003 12:39 PM
Slackware language settings - KDE problems SStorm Slackware 1 10-10-2003 05:49 AM
Language settings in GNOME Aldebaran Linux - Newbie 4 08-16-2003 07:41 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration