Re: [PATCH][PR server/24377] Fix mixing English and system default languages in error messages on Windows

LRN
2019-04-03T11:32:06Z

[-- Attachment #1.1: Type: text/plain, Size: 636 bytes --]

On 03.04.2019 10:38, Eli Zaretskii wrote:
> On Wed, 3 Apr 2019 07:58:44 +0300 LRN wrote:
>>
>>> Beware: only the Cygwin setlocale supports environment variables, the
>>> native MS-Windows implementation used by MinGW does not.
>>>
>>
>> That's what gettext is for. And/or gnulib.
>
> Won't happen unless Gnulib's setlocale is imported. And the proposed
> patch didn't do that, AFAIU. (I don't see 'setlocale' in the Gettext
> library, FWIW, so I don't think Gettext alone will solve this.)
>

Gettext (GNU libintl, at the very least) does import setlocale.c from gnulib
(among other things). Does gdb use libintl?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]