aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-07-18 06:17:16 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-07-18 06:17:16 +0300
commit6ce601e93b93847ab9d369405cbba624fc1c49bb (patch)
treed96943d024d20305781af430aeb194c8bc88f101 /doc/gawktexi.in
parentef3e7b2389729fd2bb906af94b31b49947cfe445 (diff)
parentd78dfb8e1509828afb7a0fa20911ccbb05d9df0e (diff)
downloadegawk-6ce601e93b93847ab9d369405cbba624fc1c49bb.tar.gz
egawk-6ce601e93b93847ab9d369405cbba624fc1c49bb.tar.bz2
egawk-6ce601e93b93847ab9d369405cbba624fc1c49bb.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index c205c1d5..b0ae229b 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -4498,6 +4498,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}
@@ -27776,6 +27781,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{LANGAUGE} 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