locale.conf.xml revision ee48647271132188e9ecc3507e62b6c7c7a6c9eb
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering This file is part of systemd.
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering Copyright 2010 Lennart Poettering
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering systemd is free software; you can redistribute it and/or modify it
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering under the terms of the GNU General Public License as published by
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering the Free Software Foundation; either version 2 of the License, or
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering (at your option) any later version.
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering systemd is distributed in the hope that it will be useful, but
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering General Public License for more details.
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering You should have received a copy of the GNU General Public License
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <refentryinfo>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering </authorgroup>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering </refentryinfo>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <refentrytitle>locale.conf</refentrytitle>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <refpurpose>configuration file for locale settings</refpurpose>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <refsynopsisdiv>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para><filename>/etc/locale.conf</filename></para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering </refsynopsisdiv>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para>The <filename>/etc/locale.conf</filename> file
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering configures system-wide locale settings.</para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para>The basic file format of
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering newline-separated list of environment-like
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering shell-compatible variable assignments. It is possible
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering to source the configuration from shell scripts,
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering however, beyond mere variable assignments no shell
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering features are supported, allowing applications to read
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering the file without implementing a shell compatible
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering execution engine.</para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para>Note that the kernel command line options
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <varname>locale.LC_MEASUREMENT=</varname>,
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <varname>locale.LC_IDENTIFICATION=</varname> may be
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering used to override the locale settings at boot.</para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para>The locale settings configured in
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <filename>/etc/locale.conf</filename> are system-wide
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering and are inherited by every service or user, unless
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering overriden or unset by individual programs or
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering individual users.</para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para>Depending on the operating system other
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering configuration files might be checked for locale
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering configuration as well, however only as
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering fallback.</para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <para>The following locale settings may be set using
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <varname>LC_IDENTIFICATION=</varname>. Note that
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <varname>LC_ALL</varname> may not be be configured in
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering this file. For details about the meaning and semantics
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering of these settings, refer to
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <citerefentry><refentrytitle>locale</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
ee48647271132188e9ecc3507e62b6c7c7a6c9ebLennart Poettering <citerefentry><refentrytitle>locale</refentrytitle><manvolnum>7</manvolnum></citerefentry>