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.
Details:
1. In language selection page, user choice zh_CN.UTF-8 installer/ language is changed to zh_TW:zh
debian- installer/ country is changed to TW
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-
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 installer/ locale. The problem with
>>>
>>> Allow separate preseeding of language and country
>>>
>>> Currently users can only preseed the combination of language, country
>>> and locale by preseeding debian-
>>> 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.