Re: translate referential integrity violation - Mailing list pgsql-admin

From Robert Treat
Subject Re: translate referential integrity violation
Date
Msg-id 1059506478.22260.880.camel@camel
Whole thread Raw
In response to translate referential integrity violation  ("fabricio" <fabricio@icolony.com.br>)
List pgsql-admin
On Mon, 2003-07-28 at 15:41, fabricio wrote:
> Hello,
> I would like to know how can I change the error messages from
> PostgreSQL, because I need to translate them to Portuguese, thanks!
> Example:
> this is the message: "ERROR: <table> referential integrity violation -
> key referenced from <table>",
> this is what I need: "ERROR: <table> INTEGRIDADE REFERENCIAL VIOLADA
> <table>"

You'll need to check out the source code from CVS and look for the .po
files. These files contain the language strings for various parts of
postgresql. If you translate them to Portuguese you can then build
postgresql in your language. though i didn't notice any in the source
code, it is possible that someone has already done this, check out
http://pgsqlbr.querencialivre.rs.gov.br/ for more info.

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


pgsql-admin by date:

Previous
From: pgboy@guthrie.charm.net
Date:
Subject: storage calculations
Next
From: Shankar K
Date:
Subject: Error Logging with clusters