Re: ecpg localization - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: ecpg localization
Date
Msg-id 200805031106.05431.peter_e@gmx.net
Whole thread Raw
In response to Re: ecpg localization  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
Euler Taveira de Oliveira wrote:
> I don't know if I understand what you want to say by "call gettext". A
> quick look at the l10n of backend proves that it calls gettext
> everywhere. Could you ellaborate?

In nls.mk, you mark mmerror as containing arguments for translation, but 
mmerror doesn't call gettext anywhere, so nothing would get translated at run 
time.  To pick up your backend example, we mark arguments of errmsg() for 
translation, but then errmsg() calls gettext.


pgsql-hackers by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: ecpg localization
Next
From: Peter Eisentraut
Date:
Subject: Re: ecpg localization