[问题]求助:ubuntu6.06怪现象,关于locale

系统字体配置、中文显示和输入法问题
回复
头像
haosir2
帖子: 55
注册时间: 2007-09-07 17:55
送出感谢: 0
接收感谢: 0
联系:

[问题]求助:ubuntu6.06怪现象,关于locale

#1

帖子 haosir2 » 2007-10-11 18:02

我的ubuntu不知怎么了(后来想想曾经为了安装一个软件的新版本,改成了6.10的源,但用了之后就立即改回来了。),明明为中文的,安装了中文支持,也能输入中文,但是系统菜单和一些软件界面却是英文,终端里运行一些程序时,出现下面的错误:
Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

查遍了google和ubuntu中文论坛,wiki,按照高手们的方法,修改了locale,但还是不行。
locale提示:
haosir@haosir-desktop:~$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh:en_US:en
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8

dpkg-reconfigure locales的提示:
haosir@haosir-desktop:~$ sudo dpkg-reconfigure locales
Password:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN:zh:en_US:en",
LC_ALL = "zh_CN.UTF-8",
LC_CTYPE = "zh_CN.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
zh_CN.UTF-8... up-to-date
zh_CN.UTF-8... up-to-date
zh_HK.UTF-8... up-to-date
zh_TW.UTF-8... up-to-date
Generation complete.
Current default timezone: 'Asia/Shanghai'.
Local time is now: Thu Oct 11 18:00:05 CST 2007.
Universal Time is now: Thu Oct 11 10:00:05 UTC 2007.
Run 'tzconfig' if you wish to change it.

请大家帮忙看看是怎么回事,我应该怎么办,在下不胜感激。
回复

回到 “字体美化和中文支持”