-----Original Message----- From: Együd Csaba [mailto:csegyud@xxxxxxx] Sent: Wednesday, June 08, 2005 4:31 PM To: 'Tom Lane' Subject: RE: Where to find translation of Postgres error messages? Ah, I see. OK. So there are two ways of mine: 1. to translate myself the whole stuff in my application :-/, or 2. leaving the back end messaeges in english. At last in most cases the server messages hold information only for the developers. I think I'll do the second. Many thanks. -- Csaba Együd -----Original Message----- From: Tom Lane [mailto:tgl@xxxxxxxxxxxxx] Sent: Wednesday, June 08, 2005 3:52 PM To: Együd Csaba Cc: pgsql-general@xxxxxxxxxxxxxx Subject: Re: Where to find translation of Postgres error messages? =?iso-8859-2?Q?Egy=FCd_Csaba?= <csegyud@xxxxxxx> 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 -- 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. -- 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. ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx