Difference between revisions of "Locale.conf (简体中文)"

From ArchWiki
Jump to: navigation, search
(更新翻译)
Line 1: Line 1:
 
[[Category: About Arch (简体中文)]]
 
[[Category: About Arch (简体中文)]]
 
[[Category: Boot process (简体中文)]]
 
[[Category: Boot process (简体中文)]]
{{i18n|locale.conf}}
+
[[en:Locale.conf]]
 +
[[es:Locale.conf]]
 
{{Lowercase title}}
 
{{Lowercase title}}
 
{{Article summary start}}
 
{{Article summary start}}

Revision as of 15:36, 13 June 2012

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end

/etc/locale.conf 是设置 locale 的系统配置文件。其中的 LANG 变量比 /etc/rc.confLOCALE 变量的优先级高。如果 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