Re: Internationalized error messages - Mailing list pgsql-hackers

From Karel Zak
Subject Re: Internationalized error messages
Date
Msg-id 20010312103232.A2268@ara.zf.jcu.cz
Whole thread Raw
In response to Re: Internationalized error messages  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Internationalized error messages
List pgsql-hackers
On Fri, Mar 09, 2001 at 05:57:13PM +0100, Peter Eisentraut wrote:
> Karel Zak writes:
> 
> >  For transaltion to other languages I not sure with gettext() stuff on
> > backend -- IMHO better (faster) solution will postgres system catalog
> > with it.
> 
> elog(ERROR, "cannot open message catalog table");
Sure, and what:

elog(ERROR, gettext("can't set LC_MESSAGES"));
We can generate our system catalog for this by simular way as gettext, it's 
means all messages can be in sources in English too.
But this is reflexion, performance test show more.
        Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: Internationalized dates (was Internationalized error messages)
Next
From: Ryan Kirkpatrick
Date:
Subject: Vaccuum Failure w/7.1beta4 on Linux/Sparc