> From: Gavin Smith <[email protected]>
> Date: Sun, 23 Oct 2022 12:55:34 +0100
> Cc: [email protected], [email protected]
> 
> 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