分页: 1 / 1

怎么把root登录的session, Xwindow汉化?

发表于 : 2007-05-24 16:05
iblicf
root 登录,gnome环境是 英文, locale 全是 “C”,如果要汉化,通常的做法是怎样的?
我自己至今对locale 一知半解 。。。wiki看过了还是糊涂 ,
ubuntu 究竟怎么操作locale , 就用这个典型例子,哪位肯教我,谢谢了
weiyh@MyPC:/etc/X11$ man -k locale
locale (1) - Get locale-specific information.
locale (5) - Describes a locale definition file
locale (7) - Description of multi-language support
locale-gen (8) - compile a list of locale definition files
locale.alias (5) - Locale name alias data base
Locale::gettext (3pm) - message handling functions
localedef (1) - compile locale definition files
lxterm (1) - locale-sensitive wrapper for xterm
stringprep_locale_charset (3) - return charset used in current locale
stringprep_locale_to_utf8 (3) - convert locale encoded string to UTF-8
stringprep_utf8_to_locale (3) - encode UTF-8 string to locale encoding
update-locale (8) - Modify global locale settings
validlocale (8) - Test if a given locale is available
XLocaleOfFontSet (3) - obtain fontset information
XLocaleOfIM (3) - open, close, and otain input method information
XLocaleOfOM (3) - open output methods
XrmLocaleOfDatabase (3) - retrieve and store resource databases
XSetLocaleModifiers (3) - determine locale support and configure locale modifiers
XSupportsLocale (3) - determine locale support and configure locale modifiers

发表于 : 2007-05-24 18:25
BigSnake.NET
不要用root登录

发表于 : 2007-05-24 19:27
iblicf
BigSnake.NET 写了:不要用root登录
无语了,你水还是我水啊呀?正面回答一个好不,谢了
登录能选语言,就是想知道内部是怎么处理的

发表于 : 2007-05-24 19:48
BigSnake.NET
设置locale那堆变量

发表于 : 2007-05-24 23:59
iblicf
不会是挨个 export 吧?

发表于 : 2007-05-25 12:50
BigSnake.NET
iblicf 写了:不会是挨个 export 吧?
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh:en_US:en"

发表于 : 2007-05-28 10:34
iblicf
看来这问题是不值得讨论的啊,算了