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

From ArchWiki
Jump to: navigation, search
(update templates, see Help:Style)
(Merged to new page.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: About Arch (简体中文)]]
+
#REDIRECT [[Locale (简体中文)]]
[[Category: Boot process (简体中文)]]
+
{{i18n|locale.conf}}
+
{{Lowercase title}}
+
{{Article summary start}}
+
{{Article summary text|有关locale配置文件的介绍。}}
+
{{Article summary heading|相关内容}}
+
{{Article summary wiki|Arch Boot Process (简体中文)}}
+
{{Article summary end}}
+
 
+
{{ic|/etc/locale.conf}} is the system configuration file for locale settings. Its {{ic|LANG}} variable takes precedence over the {{ic|LOCALE}} variable from {{ic|[[rc.conf|/etc/rc.conf]]}}. If {{ic|DAEMON_LOCALE}} is set in {{ic|rc.conf}}, then the settings in {{ic|locale.conf}} applies to daemons as well as login shells, otherwise it only applies to login shells.
+
 
+
==Overview==
+
 
+
{{ic|/etc/locale.conf}} contains a new-line separated list of environment variable assignments. It supports {{ic|LANG}} as well as all the {{ic|LC_*}} variables, with the exception of {{ic|LC_ALL}}. The format is shared with systemd [http://0pointer.de/public/systemd-man/locale.conf.html].
+
 
+
The following is a sample file
+
 
+
{{hc|/etc/locale.conf
+
|2=<nowiki>LANG=zh_CN.UTF-8
+
LC_MESSAGES=C
+
</nowiki>}}
+

Latest revision as of 05:25, 9 May 2013