summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/doc/nls.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-runtime/doc/nls.texi')
-rw-r--r--gettext-runtime/doc/nls.texi5
1 files changed, 4 insertions, 1 deletions
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