[Bug 590108] Re: User get wrong system language after executing oem-config, if he is a foreigner in the country he selected in timezone select stage

Hsin-Yi, Chen 590108 at bugs.launchpad.net
Mon Aug 23 09:04:18 UTC 2010


Details:

1.  In language selection page, user choice zh_CN.UTF-8
2.  In Timezone, the timezone is changed to TW time because user lives in Taiwan.
  2.1 debian/locale is changed to zh_TW
  2.2 debian-installer/language is changed to zh_TW:zh
        debian-installer/country is changed to TW
3. set LANGUAGE, LANG by debian/locale to target system

In ubiquity-2.2.24common4/scripts/tzsetup script, it executes
`localechooser` to reconfigure locale according to the user selected
country, and the localechooser  change language, country, locale in
system  by 'debian-instalelr/locale' .

This bug is fixed in r61309 version of localechooser.

>>> r61309 | fjp | 2009-11-16 20:52:12 +0800 (Mon, 16 Nov 2009) | 9 lines
>>> 
>>> Allow separate preseeding of language and country
>>> 
>>> Currently users can only preseed the combination of language, country
>>> and locale by preseeding debian-installer/locale. The problem with
>>> this is that with this mechanism some valid combinations cannot be
>>> preseeded.
>>> 
>>> Allow users to also separately preseed the language and country templates.
>>> If *only* locale is preseeded the old functionality is preserved.

So my idea is

1. we can pressed langauge and country in
`ubiquity-2.2.24common4/scripts/tzsetup` to let localechooser(>2.27) to
configure correct environment.

2. if  language_part of  $LANGLIST and $LOCAL in locale-chooser-apply is
not the same, then install language pack by LANGLIST  not LOCAL.

-- 
User get wrong system language  after executing oem-config, if he is a foreigner in the country he selected in timezone select stage
https://bugs.launchpad.net/bugs/590108
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Canonical OEM Projects.




More information about the kernel-bugs mailing list