summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-06-03 23:15:25 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:53 +0200
commitedb82ac3b6d28406507773a24d05de05295d190e (patch)
treea670a028e9a49bc8cb257f40c328aa33fa2e2071 /gettext-runtime/doc
parentc899cdea5d6c3ec00f1422bfca61aba3743c509a (diff)
downloadexternal_gettext-edb82ac3b6d28406507773a24d05de05295d190e.zip
external_gettext-edb82ac3b6d28406507773a24d05de05295d190e.tar.gz
external_gettext-edb82ac3b6d28406507773a24d05de05295d190e.tar.bz2
Fix doc: sometimes setting LANG has no effect...
Diffstat (limited to 'gettext-runtime/doc')
-rw-r--r--gettext-runtime/doc/ChangeLog5
-rw-r--r--gettext-runtime/doc/nls.texi5
2 files changed, 9 insertions, 1 deletions
diff --git a/gettext-runtime/doc/ChangeLog b/gettext-runtime/doc/ChangeLog
index 7c20408..a1960d1 100644
--- a/gettext-runtime/doc/ChangeLog
+++ b/gettext-runtime/doc/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-03 Bruno Haible <bruno@clisp.org>
+
+ * nls.texi (Using This Package): Recommend also to unset LC_ALL etc.
+ Reported by Karl Berry <karl@freefriends.org>.
+
2006-11-27 Bruno Haible <bruno@clisp.org>
* gettext-0.16.1 released.
diff --git a/gettext-runtime/doc/nls.texi b/gettext-runtime/doc/nls.texi
index f61ede2..194dffb 100644
--- a/gettext-runtime/doc/nls.texi
+++ b/gettext-runtime/doc/nls.texi
@@ -128,7 +128,10 @@ which languages are allowed.
@c
As a user, if your language has been installed for this package, you
only have to set the @code{LANG} environment variable to the appropriate
-@samp{@var{ll}_@var{CC}} combination. Here @samp{@var{ll}} is an
+@samp{@var{ll}_@var{CC}} combination. If you happen to have the @code{LC_ALL}
+or some other @code{LC_xxx} environment variables set, you should unset them
+before setting @code{LANG}, otherwise the setting of @code{LANG} will not
+have the desired effect. Here @samp{@var{ll}} is an
@w{ISO 639} two-letter language code, and @samp{@var{CC}} is an
@w{ISO 3166} two-letter country code. For example, let's suppose that you
speak German and live in Germany. At the shell prompt, merely execute