Patrice Dumas wrote:
> However, if the locale is the C locale, it must be
> changed first to any other locale such that LANGUAGE is obeyed, and it
> is this code that is skipped on _WIN32, which is probably wrong.

Yes, such code is needed, because gettext returns untranslated strings
when the locale is "C".

The only real differences between _WIN32 and POSIX systems are the
locale names: What is "fr_FR.ISO-8859-1" in POSIX systems, is
"French_France.1252" on _WIN32.

The only real difference between _UCRT and older MSVCRT regarding
gettext is that you may need to call SetEnvironmentVariable in the
_UCRT case, as mentioned in the gettext FAQ.

Bruno




  • rema... Patrice Dumas
    • ... Eli Zaretskii
      • ... Patrice Dumas
        • ... 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

Reply via email to