Re: [BUGS] BUG #4186: set lc_messages does not work - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [BUGS] BUG #4186: set lc_messages does not work
Date
Msg-id 4975E4E4.5080109@hagander.net
Whole thread Raw
In response to Re: [BUGS] BUG #4186: set lc_messages does not work  (Hiroshi Inoue <inoue@tpf.co.jp>)
Responses Re: [BUGS] BUG #4186: set lc_messages does not work
List pgsql-hackers
Hiroshi Inoue wrote:
> Magnus Hagander wrote:
>> There still needs to be some error checking added in IsoLocaleName(),
>> but this is a start.
>>
>> Can someone please test this? :-)
> 
> OK I would check it tonight.

Thanks.

> Please note the patch relies on the proper gettext module.
> The header, lib and dlls are placed on Saito-san's site
>  http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/libintl_check/

Aha, that I missed.


> Also note the current source tries to find the message catalog
> postgres-8.4.mo not postgres.mo.
> The attached is an example patch to change the name of mo files
> at installation time. I'm not good at perl and there may be
>  cleaner way.

I've rewritten this a little bit, and will apply separately (when I have
a little more bandwidth to work with) since I assume this is needed even
without the other patch (for the non-changeable way we had before)

//Magnus


pgsql-hackers by date:

Previous
From: "Greg Stark"
Date:
Subject: Re: is 8.4 array_agg() supposed to work with array values?
Next
From: Magnus Hagander
Date:
Subject: Re: libpq WSACleanup is not needed