pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: fabricio <fabricio@icolony.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: translate referential integrity violation
Date: 29 Jul 2003 15:21:17 -0400
Message-ID: <1059506478.22260.880.camel@camel> (raw)
In-Reply-To: <004901c35540$33ebdfb0$8a02a8c0@DIALICTUS>
References: <004901c35540$33ebdfb0$8a02a8c0@DIALICTUS>

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




view thread (3+ messages)

Message-ID: <1059506478.22260.880.camel@camel>
Permalink:  ../1059506478.22260.880.camel@camel/
Also on:    postgresql.org/message-id/1059506478.22260.880.camel@camel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: xzilla@users.sourceforge.net, fabricio@icolony.com.br
  Subject: Re: translate referential integrity violation
  In-Reply-To: <1059506478.22260.880.camel@camel>
  References: <004901c35540$33ebdfb0$8a02a8c0@DIALICTUS> <1059506478.22260.880.camel@camel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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