1LOCALE.CONF(5)                    locale.conf                   LOCALE.CONF(5)
2
3
4

NAME

6       locale.conf - Configuration file for locale settings
7

SYNOPSIS

9       /etc/locale.conf
10

DESCRIPTION

12       The /etc/locale.conf file configures system-wide locale settings. It is
13       read at early boot by systemd(1).
14
15       The basic file format of locale.conf is a newline-separated list of
16       environment-like shell-compatible variable assignments. It is possible
17       to source the configuration from shell scripts, however, beyond mere
18       variable assignments, no shell features are supported, allowing
19       applications to read the file without implementing a shell compatible
20       execution engine.
21
22       Note that the kernel command line options locale.LANG=,
23       locale.LANGUAGE=, locale.LC_CTYPE=, locale.LC_NUMERIC=,
24       locale.LC_TIME=, locale.LC_COLLATE=, locale.LC_MONETARY=,
25       locale.LC_MESSAGES=, locale.LC_PAPER=, locale.LC_NAME=,
26       locale.LC_ADDRESS=, locale.LC_TELEPHONE=, locale.LC_MEASUREMENT=,
27       locale.LC_IDENTIFICATION= may be used to override the locale settings
28       at boot.
29
30       The locale settings configured in /etc/locale.conf are system-wide and
31       are inherited by every service or user, unless overridden or unset by
32       individual programs or individual users.
33
34       Depending on the operating system, other configuration files might be
35       checked for locale configuration as well, however only as fallback.
36
37       /etc/locale.conf is usually created and updated using systemd-
38       localed.service(8).  localectl(1) may be used to alter the settings in
39       this file during runtime from the command line. Use systemd-
40       firstboot(1) to initialize them on mounted (but not booted) system
41       images.
42

OPTIONS

44       The following locale settings may be set using /etc/locale.conf: LANG=,
45       LANGUAGE=, LC_CTYPE=, LC_NUMERIC=, LC_TIME=, LC_COLLATE=, LC_MONETARY=,
46       LC_MESSAGES=, LC_PAPER=, LC_NAME=, LC_ADDRESS=, LC_TELEPHONE=,
47       LC_MEASUREMENT=, LC_IDENTIFICATION=. Note that LC_ALL may not be
48       configured in this file. For details about the meaning and semantics of
49       these settings, refer to locale(7).
50

EXAMPLE

52       Example 1. German locale with English messages
53
54       /etc/locale.conf:
55
56           LANG=de_DE.UTF-8
57           LC_MESSAGES=en_US.UTF-8
58

SEE ALSO

60       systemd(1), locale(7), localectl(1), systemd-localed.service(8),
61       systemd-firstboot(1)
62
63
64
65systemd 249                                                     LOCALE.CONF(5)
Impressum