locale.7: further details of LOCPATH

Helpful for three purposes, 1) shows the expected naming scheme,
2) shows where to point LOCPATH to, and 3) gives an idea to the
attentive how to use a more generic, location independent
directory with location dependent, more specific ones.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Marko Myllynen 2014-05-26 10:08:01 +02:00 committed by Michael Kerrisk
parent 244b504c73
commit 859476f7a9
1 changed files with 14 additions and 4 deletions

View File

@ -28,8 +28,6 @@
.\" <jochen.hein@delphi.central.de>
.\" Modified Thu Apr 25 00:43:19 2002 by Bruno Haible <bruno@clisp.org>
.\"
.\" see http://sourceware.org/bugzilla/show_bug.cgi?id=174
.\" Is removed for SUID/SGID programs (see sysdeps/generic/unsecvars.h)
.TH LOCALE 7 2014-03-18 "Linux" "Linux Programmer's Manual"
.SH NAME
locale \- description of multilanguage support
@ -335,8 +333,20 @@ A list of pathnames, separated by colons (\(aq:\(aq),
that should be used to find locale data.
If this variable is set, only the individual locale data files from
.I LOCPATH
and the system default locale data path are used;
any available locale archives are not used.
and the system default locale data path are used; any available locale
archives are not used. The individual locale data files are searched
under subdirectories which depend on the currently used locale. For
example, when
.I en_GB.UTF-8
is used for a category, the following subdirectories are searched for,
in this order:
.IR en_GB.UTF-8 ,
.IR en_GB.utf8 ,
.IR en_GB ,
.IR en.UTF-8 ,
.IR en.utf8 ,
and
.IR en .
.SH CONFORMING TO
POSIX.1-2001.
.\"