Re: Proceeding with gettext

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proceeding with gettext
Date: 2001-05-30 00:54:33
Message-ID: 200105300054.f4U0sXR05907@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-05-30 00:56:59 Re: /contrib/unixdate: Broke in cvs tip.
Previous Message Tom Lane 2001-05-29 22:55:13 Re: Re: charin(), text_char() should return something else for empty input