Difference between revisions of "Locale.conf"

From ArchWiki
Jump to: navigation, search
(plural, so it's 'apply' rather than 'applies')
Line 9: Line 9:
 
{{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}} applies 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}} 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.
  
 
==Overview==
 
==Overview==

Revision as of 02:12, 18 May 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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

/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 is set in rc.conf, then the settings in locale.conf apply to daemons as well as login shells, otherwise it only applies to login shells.

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