On Thu, Oct 08, 2026 at 07:38:33PM +0300, Eli Zaretskii wrote:
> > Date: Thu, 8 Oct 2026 18:28:57 +0200
> > From: Patrice Dumas <[email protected]>
> > Cc: [email protected], [email protected]
> > 
> > > > (On POSIX, we try "en_US.UTF-8", "en_US" and 'locale -a' command
> > > > output).
> > > 
> > > You can use "English_United_States" or its short alias "ENU" where
> > > you use en_US on Posix systems.  But how will that let you test
> > > translation, when the original is already in US English?
> > 
> > See above, to switch first from C locale to another locale.  Afterwards,
> > LANGUAGE is used to set the name to the documentlanguage, and
> > the POSIX like language names (from @documentlanguage in the Texinfo
> > code) can be used to find the translations for the output document string
> > from a place where those specific translations (for the texinfo_document
> > domain).  I actually hope that there is no automatic mapping in gettext
> > to "French_France" or similar, as the file won't be found, but I do not
> > think so, as it would be an issue for all the POSIX programs ported
> > to Windows error messages, not only Texinfo output document strings.
> 
> AFAIR, Gnulib already knows how to convert Posix locale names to
> Windows, so if you use Gnulib code, you should be okay.

I am a bit confused by this Posix locale names conversion, if, as I
imagine, the files/directories based on POSIX locale names are used
during installations.

> If you enable the disabled code and use Gnulib's replacement for
> setlocale, you should be okay with the Posix names of the locale.

Ok.

-- 
Pat

  • Re: ... Eli Zaretskii
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Patrice Dumas
        • ... Eli Zaretskii
          • ... Patrice Dumas
          • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... Patrice Dumas
          • ... Eli Zaretskii
          • ... Patrice Dumas
          • ... Eli Zaretskii
          • ... Patrice Dumas
          • ... Eli Zaretskii
          • ... Patrice Dumas
          • ... Eli Zaretskii
          • ... Patrice Dumas
          • ... Patrice Dumas
      • ... Gavin Smith
        • ... Patrice Dumas
    • ... Patrice Dumas
      • ... Eli Zaretskii
        • ... Patrice Dumas

Reply via email to