Re: Where to find translation of Postgres error messages?

From: Együd Csaba <csegyud(at)vnet(dot)hu>
To: 'John DeSoi' <desoi(at)pgedit(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Where to find translation of Postgres error messages?
Date: 2005-06-08 13:12:46
Message-ID: 0IHR005XYOPBAY@mail.vnet.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi John,
thank you very much for your suggestion. I downloaded the file (hu.po) and
tried to find the given error message in it (using a text editor) with no
success. There was no e.g. "SQL Error: fe_sendauth: no password supplied"
lines in the po file. A also searched over the de.po and no such lines. I
also tried to search for portions of the message. No result. :(

What should I do?

Regards,
-- Csaba Együd

-----Original Message-----
From: John DeSoi [mailto:desoi(at)pgedit(dot)com]
Sent: Wednesday, June 08, 2005 1:45 PM
To: Együd Csaba
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Where to find translation of Postgres error messages?

On Jun 8, 2005, at 4:47 AM, Együd Csaba wrote:

> I'd like to use a Postgres 8 server from different locales (english,
> german, hungarian, etc.). I can implement gettext into my client
> application so the only thing i'd need (at least I think so) is a .po
> (or an .mo) file for each locale.
>
> I looked into Postgres installation directories and found several .mo
> files under the locale directory. But I wasn't able to find the string
> "no password supplied" for example in neither of them. Where can I
> obtain a message translation or at least a gettext template? Are there
> translations available for the above mentioned languages?
>

Download the source and look in the "po" directory for the program you are
interested in. Each language has a .po file. For the backend you want

src/backend/po

There are translations for German and Hungarian.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 2005.06.07.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 2005.06.07.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard_D_Levine 2005-06-08 13:18:43 Re: To SPAM or not to SPAM...
Previous Message dong changyu 2005-06-08 13:09:24 vulnerability/SSL