Difference between revisions of "Locale.conf (简体中文)"
Kynikos.bot (talk | contribs) (Template:i18n is deprecated, use interlanguage links, see Help talk:I18n#"Dummy" interlanguage links and deprecation of Template:i18n) |
m (Add page link.) |
||
Line 8: | Line 8: | ||
{{Article summary heading|相关内容}} | {{Article summary heading|相关内容}} | ||
{{Article summary wiki|Arch Boot Process (简体中文)}} | {{Article summary wiki|Arch Boot Process (简体中文)}} | ||
+ | {{Article summary wiki|Locale}} | ||
{{Article summary end}} | {{Article summary end}} | ||
Revision as of 02:46, 28 August 2012
Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary end
/etc/locale.conf
是设置 locale 的系统配置文件。其中的 LANG
变量比 /etc/rc.conf
中 LOCALE
变量的优先级高。如果 rc.conf
中设置了 DAEMON_LOCALE
,那么守护进程也会使用 locale.conf
中的 locale 设置。
概览
/etc/locale.conf
包含了以空行分隔的变量列表,支持 LANG
和所有 LC_*
变量,但不包含 LC_ALL
。格式与 systemd 一致。 [1].
示例文件:
/etc/locale.conf
LANG=zh_CN.UTF-8 LC_MESSAGES=C