FW: Where to find translation of Postgres error messages?

Поиск
Список
Период
Сортировка
От Együd Csaba
Тема FW: Where to find translation of Postgres error messages?
Дата
Msg-id 0IHR005VZSCMZ8@mail.vnet.hu
обсуждение исходный текст
Список pgsql-general

-----Original Message-----
From: Együd Csaba [mailto:csegyud@vnet.hu]
Sent: Wednesday, June 08, 2005 4:31 PM
To: 'Tom Lane'
Subject: RE: [GENERAL] 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@sss.pgh.pa.us]
Sent: Wednesday, June 08, 2005 3:52 PM
To: Együd Csaba
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Where to find translation of Postgres error messages?

=?iso-8859-2?Q?Egy=FCd_Csaba?= <csegyud@vnet.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

--
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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Douglas McNaught
Дата:
Сообщение: Re: Backup Compatibility between minor versions.
Следующее
От: Shelby Cain
Дата:
Сообщение: Re: To SPAM or not to SPAM...