Re: ecpg localization

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, meskes(at)postgresql(dot)org
Subject: Re: ecpg localization
Date: 2008-05-16 18:54:30
Message-ID: 482DD866.9090805@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:

>> I forgot to say that this patch doesn't include nls support to ecpg
>> files automagically. If you guys think that it's is a Good Thing to do,
>> we need to hack the preproc.y to hardcode the locale stuff; if you
>> decide that it isn't necessary, we need to document that the nls support
>> can be achieved by using the locale stuff. Comments?
>
> I don't understand what you mean here.
>
I mean that you need to put <locale.h> and setlocale(LC_MESSAGES, "") at
.pgc so you get localized messages from ecpg program.

--
Euler Taveira de Oliveira
http://www.timbira.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2008-05-16 19:49:36 Re: libpq object hooks
Previous Message Andrew Chernow 2008-05-16 18:34:20 Re: libpq object hooks