Re: [HACKERS] error messages not only English

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [HACKERS] error messages not only English
Дата
Msg-id Pine.LNX.3.95.980526190904.1473D-100000@retep.org.uk
обсуждение исходный текст
Ответ на Re: [HACKERS] error messages not only English  (dg@illustra.com (David Gould))
Ответы Re: [HACKERS] error messages not only English  (Peter T Mount <psqlhack@retep.org.uk>)
Список pgsql-hackers
On Tue, 26 May 1998, David Gould wrote:

> Vadim writes:
> > Andreas Zeugswetter wrote:
> > >
> > > Anyway, we are still missing the first step in this direction: enumerate ERROR messages.
> >
> > BTW, are error codes in standard ?
>
> Some are. There is also a format for standard severity levels etc.
>
> On the internationalized message topic, how about storing all the messages
> in a text file. This file would be opened (but not read) at startup by each
> backend (and the postmaster). To change languages, just open a different
> file. ELOG would scan the message file to get the message text corresponding
> to an errog code. Since reading a pre-opened text file does not depend on
> much of the system working, it should work even in the catastrophic cases.

Do you want me to post a brief outline on how Java does this? It uses
plain text files to handle internationalized messages, and can handle
regional dialects as well?

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: [Fwd: [ANNOUNCE] ipaddr data type - EXTENDED VERSION HERE]
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] RE: [HACKERS] error messages not only English