From 3d0561d7546022605687802d19c5effcf89d7172 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 11 Jan 2019 15:07:25 +0200 Subject: Further doc on translations. --- doc/gawktexi.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/gawktexi.in') diff --git a/doc/gawktexi.in b/doc/gawktexi.in index f0416df1..2cda4028 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -29087,10 +29087,10 @@ The directory has the form @file{@var{locale}/LC_MESSAGES}, where @var{locale} is a locale name known to the C @command{gettext} routines. How do we know which locale to use? It turns out that there are -three different environment variables used by the C @command{gettext} routines. -In order, they are @env{$LANGUAGE}, @env{$LC_ALL}, and @env{$LANG}.@footnote{Well, -sort of. It seems that if @env{$LC_ALL} is set to @samp{C}, then no translations -are done. Go figure.} +four different environment variables used by the C @command{gettext} routines. +In order, they are @env{$LANGUAGE}, @env{$LC_ALL}, @env{$LANG}, and +@env{$LC_MESSAGES}.@footnote{Well, sort of. It seems that if @env{$LC_ALL} +is set to @samp{C}, then no translations are done. Go figure.} Thus, we check the value of @env{$LANGUAGE}: @example -- cgit v1.2.3