Difference between revisions of "Locale.conf"

From ArchWiki
Jump to: navigation, search
(Start a very basic page about locale.conf. Please feel free to clean up / contribute.)
 
(merged to target)
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category: About Arch (English)]]
+
#REDIRECT [[Locale#Setting system-wide locale]]
[[Category: Boot process (English)]]
+
{{i18n|locale.conf}}
+
{{Lowercase title}}
+
{{Article summary start}}
+
{{Article summary text|Details the locale configuration file.}}
+
{{Article summary heading|Related}}
+
{{Article summary wiki|Arch Boot Process}}
+
{{Article summary end}}
+
 
+
{{Filename|/etc/locale.conf}} is the system configuration file for locale settings. Its {{Codeline|LANG}} variable takes precedence over the {{Codeline|LOCALE}} variable from {{Filename|[[rc.conf|/etc/rc.conf]]}}. If {{Codeline|DAEMON_LOCALE}} is set in {{Filename|rc.conf}}, then the settings in {{Filename|locale.conf}} applies to daemons as well as login shells, otherwise it only applies to login shells.
+
 
+
==Overview==
+
 
+
{{Filename|/etc/locale.conf}} contains a new-line separated list of environment variable assignments. It supports {{Codeline|LANG}} as well as all the {{Codeline|LC_*}} variables, with the exception of {{Codeline|LC_ALL}}. The format is shared with systemd [http://0pointer.de/public/systemd-man/locale.conf.html].
+
 
+
The following is a sample file
+
 
+
{{File
+
|name=/etc/locale.conf
+
|content=<nowiki>LANG=de_DE.UTF-8
+
LC_MESSAGES=C
+
</nowiki>}}
+

Revision as of 12:30, 4 May 2013