bug-gettext
[Top][All Lists]
Advanced

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

Re: gettext binaries for Cygwin


From: Bruno Haible
Subject: Re: gettext binaries for Cygwin
Date: Wed, 04 Dec 2024 17:21:59 +0100

Hi Brian,

Brian Inglis wrote:
> (and the patch history there), all available in the build repo:
> 
>         https://cygwin.com/git/?p=git/cygwin-packages/gettext.git

The two patches
  gettext-0.22.5-gettext-runtime-intl-gnulib-lib-localename-unsafe-c.patch
  gettext-0.22.5-gettext-tools-gnulib-lib-localename-unsafe-c.patch
in my understanding have the effect that when a user
  - has set their language preference in the Windows Control Panel,
  - has not any LC_* or LANG environment variable set,
  - uses a Cygwin program that makes use of gettext
    (with the usual setlocale(LC_ALL,"") in main()),
no translations will be produced, thus ignoring the Windows Control Panel
setting.

Is my understanding correct?

If so, why is this patch present? Is it considered to be a feature?

Bruno







reply via email to

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