Difference between revisions of "Locale.conf"

From ArchWiki
Jump to: navigation, search
(plural, so it's 'apply' rather than 'applies')
m (style)
Line 15: Line 15:
 
{{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]].
 
{{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]].
  
The following is a sample file
+
The following is a sample file:
  
 
{{hc|/etc/locale.conf
 
{{hc|/etc/locale.conf

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