| Author |
Can't change language through LC_MESSAGES
|
|
| Thomas Kellerer 2005-09-26, 8:24 pm |
| Hello all,
I'm trying to change the server messages back to english (initdb created
'German_Germany.1251' because I'm running a German Windows) by setting
the lc_messages property to 'C'. But the messages from e.g. pgsql or
pg_ctl still show up in German. I reloaded the config and I restarted
the PG service but to no avail. I also tried 'English' and 'POSIX' but
none of them changed the messages language.
I have now simply removed the locale subdirectory in $PGHOME/share and
that worked, but this doesn't feel right :)
What am I missing here?
Best regards
Thomas
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
| |
| Tom Lane 2005-09-27, 3:23 am |
| Thomas Kellerer <spam_eater@gmx.net> writes:
> I'm trying to change the server messages back to english (initdb created
> 'German_Germany.1251' because I'm running a German Windows) by setting
> the lc_messages property to 'C'. But the messages from e.g. pgsql or
> pg_ctl still show up in German.
What PG version is that, and on exactly what version of Windows? There
are some ugly Windows-specific kluges in pg_locale.c ... maybe your copy
doesn't have them, or the code still doesn't work on your Windows
version.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
| |
| Peter Eisentraut 2005-09-27, 7:23 am |
| Am Dienstag, 27. September 2005 00:44 schrieb Thomas Kellerer:
> I'm trying to change the server messages back to english (initdb created
> 'German_Germany.1251' because I'm running a German Windows) by setting
> the lc_messages property to 'C'. But the messages from e.g. pgsql or
> pg_ctl still show up in German.
The server configuration only affects the server. The other programs take the
language from the environment.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
| |
| Thomas Kellerer 2005-09-27, 8:24 pm |
| Tom Lane wrote on 27.09.2005 03:19:
> Thomas Kellerer <spam_eater@gmx.net> writes:
>
>
>
> What PG version is that, and on exactly what version of Windows? There
> are some ugly Windows-specific kluges in pg_locale.c ... maybe your copy
> doesn't have them, or the code still doesn't work on your Windows
> version.
>
Sorry for not posting that right away.
It's PG 8.0.3 and Windows 2000 (German)
Regards
Thomas
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
|
|
|
|