locale.conf

From ArchWiki
Revision as of 12:44, 31 July 2012 by Heftig (Talk | contribs)

Jump to: navigation, search

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=no (deprecated) 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