From: Bruno Haible Date: Sun, 3 Jun 2007 23:15:25 +0000 (+0000) Subject: Fix doc: sometimes setting LANG has no effect... X-Git-Tag: v0.17~352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb82ac3b6d28406507773a24d05de05295d190e;p=thirdparty%2Fgettext.git Fix doc: sometimes setting LANG has no effect... --- diff --git a/gettext-runtime/doc/ChangeLog b/gettext-runtime/doc/ChangeLog index 7c204083b..a1960d1de 100644 --- a/gettext-runtime/doc/ChangeLog +++ b/gettext-runtime/doc/ChangeLog @@ -1,3 +1,8 @@ +2007-06-03 Bruno Haible + + * nls.texi (Using This Package): Recommend also to unset LC_ALL etc. + Reported by Karl Berry . + 2006-11-27 Bruno Haible * gettext-0.16.1 released. diff --git a/gettext-runtime/doc/nls.texi b/gettext-runtime/doc/nls.texi index f61ede27b..194dffb73 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