pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedlanguage of error text messages
2+ messages / 2 participants
[nested] [flat]
* language of error text messages
@ 2015-08-18 20:33 Thomas Hill <Thomas.K.Hill@t-online.de>
2015-08-18 21:04 ` Re: language of error text messages Vitalii Tymchyshyn <vit@tym.im>
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Hill @ 2015-08-18 20:33 UTC (permalink / raw)
To: pgsql-jdbc
Hi,
I am running my postgreSQL server with german message settings
(lc_messages=de_DE.UTF-8) on a Debian Linux server with english default
settings (LANG=en_Us.UTF-8).
Messages returned to pgAdmin are in german - and I would like them to
stay in german.
Messages returned when a specific java client program is communicating
with the server I would however like to be in english so my application
error log file only contains english text. The java locale for my
application as such I would like to remain set to german so my menus,
button labels, etc. are in german.
Is this possible? Is there a (driver) setting which allows the language
to specified at a level I would need?
I am aware lc_messages could be changes at the server level in server
confgiguration file. I am also aware that lc_messages can be set at the
data base level.
If there is no setting, are the localized (JDBC?) message texts
available to a java app so that I can use the error code to lookup the
english message text somewhere?
Thanks
Thomas
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: language of error text messages
2015-08-18 20:33 language of error text messages Thomas Hill <Thomas.K.Hill@t-online.de>
@ 2015-08-18 21:04 ` Vitalii Tymchyshyn <vit@tym.im>
0 siblings, 0 replies; 2+ messages in thread
From: Vitalii Tymchyshyn @ 2015-08-18 21:04 UTC (permalink / raw)
To: Thomas Hill <Thomas.K.Hill@t-online.de>; pgsql-jdbc
You can do it for the given user with "alter role set" command.
Best regards, Vitalii Tymchyshyn
Вт, 18 серп. 2015 16:33 Thomas Hill <Thomas.K.Hill@t-online.de> пише:
> Hi,
>
> I am running my postgreSQL server with german message settings
> (lc_messages=de_DE.UTF-8) on a Debian Linux server with english default
> settings (LANG=en_Us.UTF-8).
>
> Messages returned to pgAdmin are in german - and I would like them to
> stay in german.
>
> Messages returned when a specific java client program is communicating
> with the server I would however like to be in english so my application
> error log file only contains english text. The java locale for my
> application as such I would like to remain set to german so my menus,
> button labels, etc. are in german.
>
> Is this possible? Is there a (driver) setting which allows the language
> to specified at a level I would need?
>
> I am aware lc_messages could be changes at the server level in server
> confgiguration file. I am also aware that lc_messages can be set at the
> data base level.
>
> If there is no setting, are the localized (JDBC?) message texts
> available to a java app so that I can use the error code to lookup the
> english message text somewhere?
>
> Thanks
> Thomas
>
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-08-18 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18 20:33 language of error text messages Thomas Hill <Thomas.K.Hill@t-online.de>
2015-08-18 21:04 ` Vitalii Tymchyshyn <vit@tym.im>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox