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

From ArchWiki
Jump to: navigation, search
(更新翻译)
m (Add page link.)
(One intermediate revision by one other user not shown)
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}}
Line 7: 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

Summary help replacing me
有关locale配置文件的介绍。
相关内容
Arch Boot Process (简体中文)
Locale

/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