diff options
author | Bruno Haible <bruno@clisp.org> | 2007-06-04 00:46:44 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:14:53 +0200 |
commit | 7cbec443a3f315d76ffd56439a61637d320db022 (patch) | |
tree | 8a6f727782a4e485a3a9d74899b6e2ac946d6922 /gettext-tools/doc/gettext.texi | |
parent | edb82ac3b6d28406507773a24d05de05295d190e (diff) | |
download | external_gettext-7cbec443a3f315d76ffd56439a61637d320db022.zip external_gettext-7cbec443a3f315d76ffd56439a61637d320db022.tar.gz external_gettext-7cbec443a3f315d76ffd56439a61637d320db022.tar.bz2 |
Tweak doc of chapter "Users".
Diffstat (limited to 'gettext-tools/doc/gettext.texi')
-rw-r--r-- | gettext-tools/doc/gettext.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index 108fdd7..fe79590 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -1218,6 +1218,15 @@ On other systems, some variations of this scheme are used, such as @samp{@var{ll}}. You can get the list of locales supported by your system for your language by running the command @samp{locale -a | grep '^@var{ll}'}. +There is also a special locale, called @samp{C}. +@c Don't mention that this locale also has the name "POSIX". When we talk about +@c the "POSIX locale", we mean the "locale as specified in the POSIX way", and +@c mentioning a locale called "POSIX" would bring total confusion. +When it is used, it disables all localization: in this locale, all programs +standardized by POSIX use English messages and an unspecified character +encoding (often US-ASCII, but sometimes also ISO-8859-1 or UTF-8, depending on +the operating system). + @node Locale Environment Variables, The LANGUAGE variable, Locale Names, Setting the POSIX Locale @subsection Locale Environment Variables @cindex setting up @code{gettext} at run time @@ -1306,6 +1315,11 @@ For example, @samp{de} is equivalent to @samp{de_DE} (German as spoken in Germany), and @samp{pt} to @samp{pt_PT} (Portuguese as spoken in Portugal) in this context. +Note: The variable @code{LANGUAGE} is ignored if the locale is set to +@samp{C}. In other words, you have to first enable localization, by setting +@code{LANG} (or @code{LC_ALL}) to a value other than @samp{C}, before you can +use a language priority list through the @code{LANGUAGE} variable. + @node Installing Localizations, , Setting the POSIX Locale, Users @section Installing Translations for Particular Programs @cindex Translation Matrix |