]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix doc: sometimes setting LANG has no effect...
authorBruno Haible <bruno@clisp.org>
Sun, 3 Jun 2007 23:15:25 +0000 (23:15 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:53 +0000 (12:14 +0200)
gettext-runtime/doc/ChangeLog
gettext-runtime/doc/nls.texi

index 7c204083bebef01cb859ca02a564e71f8d396044..a1960d1de32159bbc9424df46f572998264c1342 100644 (file)
@@ -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.
index f61ede27b2a8aed3af8d003812a4c37c95fe717c..194dffb730212db3178b3998ec39b58e6a5e924c 100644 (file)
@@ -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