Re: more i18n/l10n issues - Mailing list pgsql-hackers

From Tom Lane
Subject Re: more i18n/l10n issues
Date
Msg-id 11072.1064781294@sss.pgh.pa.us
Whole thread Raw
In response to more i18n/l10n issues  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: more i18n/l10n issues
Next
From: Peter Eisentraut
Date:
Subject: Re: more i18n/l10n issues