Skip site navigation (1) Skip section navigation (2)

Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext()instead of gettext() so that it uses

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext()instead of gettext() so that it uses
Date: 2009-03-07 22:28:09
Message-ID: 20090307222808.GC3821@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Hiroshi Saito wrote:
> Hi.
>
> Ummm, I present is not understood by the reason of Japanese. ...  
> Therefore, It was made into the Spanish case. I know that Alvaro-san will 
> understand Spanish well. 
>
> ==postgresql.conf==
> lc_messages= 'es' 
>
> server.log of a patch before and after was applied. Please see it. 

Understood.  In fact, after having a look at this patch and giving it a
little refactoring I think it's pretty obvious; right now we're calling
bind_textdomain_codeset only for the main domain, and with this patch we
also set it for all other domains we use.

Does this patch work for you?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Attachment: pl-domain-codeset.patch
Description: text/x-diff (2.9 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2009-03-07 23:06:16
Subject: Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses
Previous:From: Tom LaneDate: 2009-03-07 22:08:55
Subject: Re: Out parameters handling

pgsql-committers by date

Next:From: Tom LaneDate: 2009-03-07 23:06:16
Subject: Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses
Previous:From: Magnus HaganderDate: 2009-03-07 21:28:01
Subject: pgsql: Make pg_hba parsing report all errors in the file before aborting

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group