Difference between revisions of "Locale.conf"

From ArchWiki
Jump to: navigation, search
Line 10: Line 10:
 
{{Article summary end}}
 
{{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}} apply to daemons as well as login shells, otherwise it only applies to login shells.
+
{{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=no}} is set in {{ic|rc.conf}}, then the settings in {{ic|locale.conf}} do not apply to daemons started via {{ic|rc.d}}.
  
 
==Overview==
 
==Overview==

Revision as of 12:43, 31 July 2012

Summary help replacing me
Details the locale configuration file.
Related
Arch Boot Process

/etc/locale.conf is the system configuration file for locale settings. Its LANG variable takes precedence over the LOCALE variable from /etc/rc.conf.

If DAEMON_LOCALE=no is set in rc.conf, then the settings in locale.conf do not apply to daemons started via rc.d.

Overview

/etc/locale.conf contains a new-line separated list of environment variable assignments. It supports LANG as well as all the LC_* variables, with the exception of LC_ALL. The format is shared with systemd.

The following is a sample file:

/etc/locale.conf
LANG=de_DE.UTF-8
LC_MESSAGES=C