bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo-6.8.90 pretest


From: Eli Zaretskii
Subject: Re: texinfo-6.8.90 pretest
Date: Sun, 23 Oct 2022 15:03:27 +0300

> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Sun, 23 Oct 2022 12:55:34 +0100
> Cc: pertusus@free.fr, bug-texinfo@gnu.org
> 
> On Sun, Oct 23, 2022 at 02:40:10PM +0300, Eli Zaretskii wrote:
> > Does the current code avoid invoking 'locale'?
> 
> For MS-Windows, yes.

I guess I will see that in the next pretest, as the diffs for that
commit still seem to allow for "locale -a" to be invoked.

> The problem with the current code might be that texi2any may not
> translate strings to languages other than English in output documents
> for MS-Windows.

If you mean the message strings (as in error messages etc.), I'm not
sure I understand.  The translations should depend on the current
locale, not on a locale the code sets forcibly.  The code where I made
the change sets the locale to en_US.UTF-8, and if that fails, to just
en_US.  If the locale is not an English one, but, say, French or
German, how can that code produce the expected translations to French
or German?  What am I missing here?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]