aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-07-19 05:56:32 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-07-19 05:56:32 +0300
commit015ef3064c671228262bbaea5a86a675e1b2fa1a (patch)
tree33baf19ab490e8d5bc0e9d4d7fd1fe8b7e62d6f8 /doc/gawk.texi
parentc8ea9b44e9957c193137b0fdbbc50dd8af63a2cf (diff)
parent5e8bdc800e2c89e5051c8598faed88f090f8c461 (diff)
downloadegawk-015ef3064c671228262bbaea5a86a675e1b2fa1a.tar.gz
egawk-015ef3064c671228262bbaea5a86a675e1b2fa1a.tar.bz2
egawk-015ef3064c671228262bbaea5a86a675e1b2fa1a.zip
Merge branch 'master' into feature/nocopy
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 64d72b7a..78e54cb6 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -4587,6 +4587,11 @@ are generated. Its purpose is to help isolate the source of a
message, as there are multiple places that produce the
same warning or error message.
+@item GAWK_LOCALE_DIR
+Specifies the location of compiled message object files
+for @command{gawk} itself. This is passed to the @code{bindtextdomain()}
+function when @command{gawk} starts up.
+
@item GAWK_NO_DFA
If this variable exists, @command{gawk} does not use the DFA regexp matcher
for ``does it match'' kinds of tests. This can cause @command{gawk}
@@ -28685,6 +28690,26 @@ before or after the day in a date, local month abbreviations, and so on.
All of the above. (Not too useful in the context of @command{gettext}.)
@end table
+@quotation NOTE
+@cindex @env{LANGUAGE} environment variable
+As described in @ref{Locales}, environment variables with the same
+name as the locale categories (@env{LC_CTYPE}, @env{LC_ALL}, etc.)
+influence @command{gawk}'s behavior (and that of other utilities).
+
+Normally, these variables also affect how the @code{gettext} library
+finds translations. However, the @env{LANGUAGE} environment variable
+overrides the @env{LC_@var{xxx}} variables. Many GNU/Linux systems
+may define this variable without your knowledge, causing @command{gawk}
+to not find the correct translations. If this happens to you,
+look to see if @env{LANGUAGE} is defined, and if so, use the shell's
+@command{unset} command to remove it.
+@end quotation
+
+For testing translations of @command{gawk} itself, you can set
+the @env{GAWK_LOCALE_DIR} environment variable. See the documentation
+for the C @code{bindtextdomain()} function and also see
+@ref{Other Environment Variables}.
+
@node Programmer i18n
@section Internationalizing @command{awk} Programs
@cindex @command{awk} programs, internationalizing