A multi-lang patch for psql 6.5.1

Started by Cd Chenover 26 years ago3 messages
#1Cd Chen
cdchen@mail.about.net.tw
1 attachment(s)

-----BEGIN PGP SIGNED MESSAGE-----

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.

PostgreSQL is the best DBMS product that I've used. Why not let it can
support peoples who lives other states and using other language?

- --
.....=======............................. Cd Chen, (���X��)
..// �s �s |............................ ===========================
..|| �� �� <............................ What's Cynix? Cyber Linux.
..|< > |............................ mailto:cdchen@mail.cynix.com.tw
..| | \___/ |............................ http://www.cynix.com.tw/~cdchen
.. |\______/............................. ICQ UIN:3345768

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAwUBN5xDzgLVm5OSJINxAQGdLgQArz6K9+r6QcFck8ASNcDClWt0kiUXq0RD
xs8UYAIT9fyc3HZUTNRNyP/ELy8wfZxpWF1tzda2Yy1gGP7H11wA0KRZjQK9EAso
hIve5dxCa3QGKngLV+L9FPRUp96WqIi2UYxax0e/ye4ZIAxrZSWVjd2C3v4TlMXc
qXxBVJHvHek=
=gV3U
-----END PGP SIGNATURE-----

Attachments:

MultiLang.patchapplication/octet-stream; name=MultiLang.patchDownload
#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Cd Chen (#1)
Re: [HACKERS] A multi-lang patch for psql 6.5.1

-----BEGIN PGP SIGNED MESSAGE-----

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.

PostgreSQL is the best DBMS product that I've used. Why not let it can
support peoples who lives other states and using other language?

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.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#3Michael Robinson
robinson@netrinsics.com
In reply to: Bruce Momjian (#2)
Re: [HACKERS] A multi-lang patch for psql 6.5.1

Bruce Momjian <maillist@candle.pha.pa.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