Re: ecpg localization - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: ecpg localization
Date
Msg-id 482DD866.9090805@timbira.com
Whole thread Raw
In response to Re: ecpg localization  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ecpg localization  (Peter Eisentraut <peter_e@gmx.net>)
List 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/



pgsql-hackers by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: Arbitary file size limit in twophase.c
Next
From: Josh Berkus
Date:
Subject: Re: [GSoC08]some detail plan of improving hash index