Bug#248951: "en" is not a valid locale, but is added to locale.gen
Quoting Frans Pop (aragorn@tiscali.nl):
> On Friday 14 May 2004 12:42, Joey Hess wrote:
> > Christian Perrier wrote:
> > Well it has the check now, but no fallback.
>
> Isn't LANG=C the proper fallback?
We have something better : debian-installer/language contains things
like:
en_BR:en_US:en_GB:en
Or
pt_BR:pt:en_GB:en
How we set this value is a tricky combination of languagechooser and
countrychooser....
It will always contain at least a valid locale which is supposed to be
as close as possible to the user choices. For instance a fallback for
Ukrainian locale (uk_UA) is a russian one (ru_UA).....
This is maybe not perfect and the 5th field in the languagelist file
in languagechooser should be carefully chosen for every
language....but we here have a good source for finding a good locale :
just cycle through all possible values, from left to right and use the
first valid one....and fallback to C is none is valid of course...
Reply to: