[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-ASCII characters in /etc/locales.alias ?

On Wed, Jan 23, 2002 at 01:28:54PM +0000, Alastair McKinstry wrote:
> > OK, but this could still be done in locale itself: don't output a locale
> > alias if the underlying locale isn't actually available.
> If we have locales.alias generated from the locales by locale-gen, then
> correct 'locale -a' drops out automatically; it also works if the user
> edits the locales.alias file. If we have 'locale' censor the list, it
> has to parse the locales directory, and presents a list that is
> inconsistent with the locales.alias file.

Er, no, it'd be consistent.  If an alias's target isn't available, don't
display it; nothing is inconsistent.  It has to parse the locales
directory already, I believe, to get the list of available locales.

Glenn Maynard

Reply to: