[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext binaries for Cygwin
From: |
Denis Excoffier |
Subject: |
Re: gettext binaries for Cygwin |
Date: |
Wed, 4 Dec 2024 21:43:36 +0100 |
> On 2024-12-04 17:21, Bruno Haible wrote:
>
> 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?
Yes it is. As a unix (or Linux, which is the target for Cygwin) user, i don’t
want to observe
any interference between the Windows Control Panel, which is (presumably) only
used for non-unix features
of the Windows system (but nevertheless including Cygwin-specific features like
e.g. the setup program) and
unix programs typically run on the command line.
For those, the result with LANG=C should be the same as the result without
setting LANG (with LC_* also not used of course).
With gettext unpatched, as i reported in my previous message, this is not the
case.
>
> Bruno
>
Regards,
Denis Excoffier.
- Re: gettext binaries for Cygwin, (continued)
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian . Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/05
- Re: gettext binaries for Cygwin, Brian . Inglis, 2024/12/05
- Re: gettext binaries for Cygwin, Denis Excoffier, 2024/12/05
- Re: gettext binaries for Cygwin, address@hidden, 2024/12/06
- Re: gettext binaries for Cygwin,
Denis Excoffier <=
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian Inglis, 2024/12/07
Re: cannot compile under cygwin because of gnulib/uninorm, Denis Excoffier, 2024/12/04