Re: [GENERAL] error messages not only English - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [GENERAL] error messages not only English
Date
Msg-id 199805221449.KAA29907@candle.pha.pa.us
Whole thread Raw
In response to Re: [GENERAL] error messages not only English  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [GENERAL] error messages not only English
List pgsql-hackers
> Hrmmm...create an 'include/utils/errmsg.h file that is a link created by
> configure based on a --with-language=<insert your language here>...the
> file would contain:
>
> #define <ERRMSG TOKEN> "Error message in your language"
>
> Then use the TOKEN with elog...
>
> If we did something like this, we wouldn't have to convert all at once
> either, just as we pick up a new one...

Also only a small set of error messages get sent to users.  Most of them
are rarely used or are for debugging.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: "Jose' Soares Da Silva"
Date:
Subject: Re: [HACKERS] error messages not only English
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes