Unix and Linux Discussions Tagged with locale |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
2,276 |
Shell Programming and Scripting |
|
|
|
10 |
2,360 |
UNIX for Beginners Questions & Answers |
|
|
|
31 |
12,636 |
Shell Programming and Scripting |
|
|
|
6 |
3,284 |
Shell Programming and Scripting |
|
|
|
9 |
13,256 |
OS X (Apple) |
|
|
|
5 |
7,731 |
AIX |
|
|
|
16 |
4,664 |
Shell Programming and Scripting |
|
|
|
2 |
12,311 |
Solaris |
|
|
|
1 |
3,516 |
AIX |
|
|
|
0 |
4,140 |
Solaris |
|
|
|
3 |
22,367 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
8,279 |
Solaris |
|
|
|
0 |
887 |
Software Releases - RSS News |
|
|
|
3 |
12,407 |
Red Hat |
|
|
|
1 |
7,906 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
36,785 |
UNIX for Dummies Questions & Answers |
LOCALE.CONF(5) locale.conf LOCALE.CONF(5)
NAME
locale.conf - configuration file for locale settings
SYNOPSIS
/etc/locale.conf
DESCRIPTION
The /etc/locale.conf file configures system-wide locale settings.
The basic file format of locale.conf is a newline-separated list of environment-like shell-compatible variable assignments. It is possible
to source the configuration from shell scripts, however, beyond mere variable assignments no shell features are supported, allowing
applications to read the file without implementing a shell compatible execution engine.
Note that the kernel command line options locale.LANG=, locale.LANGUAGE=, locale.LC_CTYPE=, locale.LC_NUMERIC=, locale.LC_TIME=,
locale.LC_COLLATE=, locale.LC_MONETARY=, locale.LC_MESSAGES=, locale.LC_PAPER=, locale.LC_NAME=, locale.LC_ADDRESS=, locale.LC_TELEPHONE=,
locale.LC_MEASUREMENT=, locale.LC_IDENTIFICATION= may be used to override the locale settings at boot.
The locale settings configured in /etc/locale.conf are system-wide and are inherited by every service or user, unless overridden or unset
by individual programs or individual users.
Depending on the operating system other configuration files might be checked for locale configuration as well, however only as fallback.
OPTIONS
The following locale settings may be set using /etc/locale.conf: LANG=, LANGUAGE=, LC_CTYPE=, LC_NUMERIC=, LC_TIME=, LC_COLLATE=,
LC_MONETARY=, LC_MESSAGES=, LC_PAPER=, LC_NAME=, LC_ADDRESS=, LC_TELEPHONE=, LC_MEASUREMENT=, LC_IDENTIFICATION=. Note that LC_ALL may not
be be configured in this file. For details about the meaning and semantics of these settings, refer to locale(7).
EXAMPLE
Example 1. German locale with English messages
/etc/locale.conf:
LANG=de_DE.UTF-8
LC_MESSAGES=C
SEE ALSO
systemd(1), locale(7)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 LOCALE.CONF(5)