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

Bug#275904: Patch for localechooser to set the default country at build time and not run time



Quoting Christian Perrier (bubulle@debian.org):
> tags 275904 patch
> thanks
> 
> The attached patch switches localechooser to use a default country for
> BOTH the short and long list, which can be set at build time.
> 
> It adds a "translatable" Default field to the templates, where the
> translators should put the ISO code of the country they want to be
> default in the country choosing screens.
> 
> I have tested it on local builds and will continue testing it, but I
> think it deserves some peer review.


The patch, as proposed, break all languages which formerly didn't show
a short list....:-(

I think there's some logic error in the place where I commented a few
lines in localechooser script.

Thius bug actually shows that this part of d-i is a bit messy. The
chole mess comes from the choice of not showing the short list for
languages which have only one country. This is somewhat needed,
though, as using a short list for ALL languages would add en extra
load on localechooser templates.

Bugger....we have very contradictory needs all around here.





Reply to: