Re: [HACKERS] A multi-lang patch for psql 6.5.1

From: Michael Robinson <robinson(at)netrinsics(dot)com>
To: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] A multi-lang patch for psql 6.5.1
Date: 1999-07-26 04:12:39
Message-ID: 199907260412.MAA00787@netrinsics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> First, please forget my English is very poor. So that, I made a patch
>> for support gettext function of GNU C Library to show other languages by
>> setting locale.
>>
>> This is the first version that I hack PostgreSQL, and I had made only the
>> some files which ware put in src/bin, like psql, pg_*, ...etc. If you
>> patch this patch file, please re-compile your PostgreSQL again. And when
>> it done, you will get some .pot files, please read gettext via `info' utility
>> for getting more informations.
>
>First, the attached patch was zero length. Second, I am not sure what
>this patch was supposed to do. I am not sure we could distribute a
>patch for GNU C library as part of PostgreSQL.

I assume (from gettext usage in GNOME), that the patch will allow localization
of prompts, error messages, etc. in psql, etc. This is a good thing. As
for the licensing, the correct way to do this is a autoconf check for an
installed gettext library (steal it from GNOME). That way, if someone has
gettext installed on their system, they can use it, and otherwise no one is
bothered.

In the long term, a BSD-licensed gettext clone would be ideal, but that's
a completely different issue.

-Michael Robinson

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Yury 1999-07-26 04:16:54 Re: [SQL] database design SQL prob.
Previous Message Vadim Mikheev 1999-07-26 02:50:28 Re: [HACKERS] Re: [SQL] inserts/updates problem understressing !