Re: more i18n/l10n issues

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: more i18n/l10n issues
Date: 2003-09-28 20:34:54
Message-ID: 11072.1064781294@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> Now for something completely different:

> The postmaster executable shows --help display perfectly localized.
> However I just noted that postgres --help output (the standalone
> backend) does not; is it not i18n'ed, or is some sort of missetup?

postgres.c's usage() isn't localized. Dunno whether it should be or
not, given that we don't normally expect users to invoke it.

> However, if I try postgres --help-config the localized display is shown,
> but postmaster --help-config says

> $ LC_MESSAGES=C /tmp/pgsql-es/bin/postmaster --help-config
> FATAL: --help-config requires a value

--help-config is only a postgres option. We could possibly make it a
postmaster option too, but I'm not sure there's any need for it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-09-28 22:27:01 Re: more i18n/l10n issues
Previous Message Alvaro Herrera 2003-09-28 20:26:57 Re: more i18n/l10n issues