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

Re: Bug#265085: changing language half-way through install results in old language in base-config



* Joey Hess [2004-08-11 14:02:13-0300]
> Package: languagechooser
> Severity: normal
> Tags: d-i
> 
> I went back from partman and changed the installation language from
> English to German. The rest of the d-i install happened in German, but
> once I got to base-config, it was in English.

This is probably because the countrychooser doesn't run after language 
selection unless it is selected from the main-menu, and as a result the 
unresolved localecode 'de' is passed to base-config as it is, hence it 
can't be found in SUPPORTED locales list which in turn base-config 
fallbacks to English.

Some languages with multiple regions have 'xx' entries in languagelist, 
and German is one of them ('de').  Only countrychooser/postinst has the 
code to convert such entries.  I don't know the details of main-menu, is 
there a mechanism to call the countrychooser whenever the user selects 
languagechooser?  Otherwise we could apply a hack in languagechooser 
to call countrychooser for this type of second runs (but skip for the 
first run).  Let me know if I can do anything (i.e. working on a patch) 
for this issue.

-- 
roktas

Attachment: signature.asc
Description: Digital signature


Reply to: