Re: [GENERAL] RE: [HACKERS] error messages not only English

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [GENERAL] RE: [HACKERS] error messages not only English
Дата
Msg-id Pine.BSF.3.96.980526115659.19802Y-100000@hub.org
обсуждение исходный текст
Ответ на Re: [GENERAL] RE: [HACKERS] error messages not only English  (Vadim Mikheev <vadim@krs.ru>)
Ответы Re: [GENERAL] RE: [HACKERS] error messages not only English  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [GENERAL] RE: [HACKERS] error messages not only English  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
On Tue, 26 May 1998, Vadim Mikheev wrote:

> Peter Mount wrote:
> >
> > That sounds like a good idea.
> >
> > How about having them stored in a new system table (say pg_errormsg) which
> > contains each possible error in all the supported languages. That way, you
> > can have multiple language support when users from different countries use
> > the same server?
>
> Yes, this is nice. One note: server have to load from this table all messages
> in a language requested by user when switching to this language - it's not
> possible to read any table from elog() in most cases.

    Hrmmm...one thing to note with any of this is that by 'hardcoding'
in the errormsg itself, it makes it difficult to 'internationalize' a
program...in that I can't run a single server on my machine that can
easily deal with a 'French' customer vs an 'English' one, vs a 'Japanese'
one...I'd have to recompile for each.

    Vadim's other point, about putting this in the front end vs the
backend, I think, is more appropriate, that way it is application specific
vs server...



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Current sources?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Current sources?