Re: Proceeding with gettext - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Proceeding with gettext
Date
Msg-id 200105300054.f4U0sXR05907@candle.pha.pa.us
Whole thread Raw
In response to Proceeding with gettext  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Proceeding with gettext  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter, can you give a little sample of how an elog() call would look in
the new system?  Thanks.

> Has it been established to satisfaction that a BSD-licensed gettext
> implementation is available and working?  (Note that we still need
> xgettext and msgmerge from GNU, but this only on the maintainer side.)
> 
> Are there any other concerns about the use of the gettext API, the
> available implementations, or how this will work together with PostgreSQL?
> 
> If Yes and No, respectively, I'd like to put this to use.
> 
> Besides the source code changes to mark all translatable strings (which
> can be reduced if we make use of short cuts like "all calls to elog() are
> candidates"), and eliminate English dependent coding (printf("%d row%s",
> n, n!=1?"s":"");), most of this will be makefile work in the style of
> Makefile.shlib to take care of building, installing, and maintaining the
> message catalogs.  Plus a lot of translation work, of course.  :-)
> 
> -- 
> Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: charin(), text_char() should return something else for empty input
Next
From: Larry Rosenman
Date:
Subject: Re: /contrib/unixdate: Broke in cvs tip.