Re: more locale problems on Windows

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: more locale problems on Windows
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE92E8F0@algol.sollentuna.se
обсуждение исходный текст
Ответ на more locale problems on Windows  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: more locale problems on Windows
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: more locale problems on Windows
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: more locale problems on Windows