Re: Where to find translation of Postgres error messages?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Együd Csaba <csegyud(at)vnet(dot)hu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Where to find translation of Postgres error messages?
Date: 2005-06-08 13:51:38
Message-ID: 1178.1118238698@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?iso-8859-2?Q?Egy=FCd_Csaba?= <csegyud(at)vnet(dot)hu> writes:
> 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.

I think we deliberately don't localize that one because it'd break
various application-level code that relies on being able to recognize
that string. (Which is pretty yucky, of course, but until someone
gets around to implementing SQLSTATE error codes for libpq's internal
error reports, there's not a lot of choice.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2005-06-08 13:58:02 Re: Backup Compatibility between minor versions.
Previous Message John DeSoi 2005-06-08 13:40:33 Re: Where to find translation of Postgres error messages?