Re: more locale problems on Windows

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: more locale problems on Windows
Date: 2005-12-06 21:33:29
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE92E8F0@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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..)

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2005-12-06 21:33:54 Re: more locale problems on Windows
Previous Message Andrew Dunstan 2005-12-06 21:20:32 more locale problems on Windows