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

From Peter Eisentraut
Subject Re: more i18n/l10n issues
Date
Msg-id Pine.LNX.4.44.0309290020030.11938-100000@peter.localdomain
Whole thread Raw
In response to Re: more i18n/l10n issues  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: more i18n/l10n issues
List pgsql-hackers
Alvaro Herrera writes:

> Oh, there's another thing about the --help-config option.  This option
> includes an, er, option to display the items that belong to a given
> group.  So you could say
>
> /tmp/pgsql-es/bin/postgres --help-config -g 'Security'
>
> and the list of parameters that belong to a group that has the word
> Security on it would be displayed.
>
> However, the -l option lists the groups with the translated names, and
> of course those names do not match on -g specification.

I'm quite unhappy about the --help-config option.  It was developed
without discussion, it was installed hastily, we don't have any
information about that interactive configuration application it's supposed
to target, it's not documented, it's full of unfinished business, it
certainly doesn't make the code easier to maintain because all the
documenation is duplicated, but not one-to-one.  At this point, I wouldn't
spend a lot of time trying to make sense of it.  We can revisit it again
in the next release and investigate how we can eliminate the duplication
of effort between the documentation and the code.

> This little patch allows both versions to match, translated and
> untranslated.

That doesn't make much sense to me.  It might be that a translated word is
equal to an English word but has a different meaning.  It's also weird
that you cannot search for a complete word, e.g. "syslog", it's going to
print out all the parameters that contain "syslog".  Again, I don't think
we should worry about that now or we'll end up spending too much time on
this.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: more i18n/l10n issues
Next
From: Bruno Wolff III
Date:
Subject: Possible locale issue with 7.4