Re: more locale problems on Windows - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: more locale problems on Windows
Date
Msg-id 43960B95.2080006@dunslane.net
Whole thread Raw
In response to Re: more locale problems on Windows  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers

Magnus Hagander wrote:

>>I set my locale to Turkish, then did initdb --no-locale. 
>>pg_controldata is set up correctly, as is postgresql.conf, 
>>but messages still come out in Turkish on the log file. So 
>>either we aren't doing it right or my
>>(modern) libintl is hijacking some more stuff. Same result 
>>for French, so it's not an anti- (or pro-) Turkish plot.
>>
>>*sigh*
>>    
>>
>
>Do you have lc_messages set in initdb.conf? IIRC, you must explicitly
>set it to english or else libintl will try to guess from your OS.
>
>(And not only that, it guesses badly in many cases. For example, I have
>windows installed in english, witheverything set to english except for
>the date/time/currency format, and libintl guesses Swedish..)
>
>  
>

Yes. In fact, I can't find *any* combination of environment settings, 
initdb flags or lc_messages setting in postgresql.conf that appears to 
make any difference.

Maybe I'll just leave it for someone who cares more than I do to solve.

cheers

andrew




pgsql-hackers by date:

Previous
From: "Aly S.P Dharshi"
Date:
Subject: Re: Replication on the backend
Next
From: "Jim C. Nasby"
Date:
Subject: Re: [GENERAL] 8.1, OID's and plpgsql