[Bug 963460] Re: Ubiquity calls check-language-support with "zh-hans" instead of a locale (zh_CN)
Colin Watson
cjwatson at canonical.com
Tue Mar 27 08:29:38 UTC 2012
It'd be an improvement to use the locale name anyway, though, as part of
ubiquity's code to mangle locale names into language pack names includes
generally stripping the country part. Compare:
$ check-language-support -l en_GB --show-installed
firefox-locale-en gimp-help-en language-pack-en language-pack-gnome-en libreoffice-help-en-gb libreoffice-l10n-en-gb myspell-en-au myspell-en-gb myspell-en-za openoffice.org-hyphenation poppler-data wamerican wbritish
$ check-language-support -l en --show-installed
firefox-locale-en gimp-help-en hunspell-en-ca hunspell-en-ca hunspell-en-us hunspell-en-us hyphen-en-us language-pack-en language-pack-gnome-en libreoffice-help-en-gb libreoffice-help-en-us libreoffice-l10n-en-gb libreoffice-l10n-en-za myspell-en-au myspell-en-gb myspell-en-za mythes-en-au mythes-en-us openoffice.org-hyphenation poppler-data wamerican wbritish
I have the fix here now, I think; I'll commit it after some testing.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/963460
Title:
Ubiquity calls check-language-support with "zh-hans" instead of a
locale (zh_CN)
Status in OEM Priority Project:
New
Status in OEM Priority Project precise series:
New
Status in “language-selector” package in Ubuntu:
Fix Committed
Status in “ubiquity” package in Ubuntu:
New
Status in “language-selector” source package in Precise:
Fix Committed
Status in “ubiquity” source package in Precise:
Won't Fix
Bug description:
In Precise, using check-language-support -l zh_CN returns:
cmap-adobe-gb1 firefox-locale-zh-hans fonts-arphic-uming ibus-sunpinyin ibus-table-wubi language-pack-gnome-zh-hans language-pack-zh-hans libreoffice-help-zh-cn libreoffice-l10n-zh-cn poppler-data thunderbird-locale-zh-cn thunderbird-locale-zh-hans ttf-arphic-ukai ttf-wqy-zenhei
whereas check-language-support -l zh-hans returns:
cmap-adobe-gb1 firefox-locale-zh-hans fonts-arphic-uming ibus-sunpinyin ibus-table-wubi language-pack-gnome-zh-hans language-pack-zh-hans poppler-data thunderbird-locale-zh-hans ttf-arphic-ukai ttf-wqy-zenhei
You will notice that zh-hans does not have any of the *-zh-cn packages
listed. This is an issue because in situations where you want to
install zh_CN language/locale support using Ubiquity, Ubiquity will
automatically convert zh_CN to zh-hans and then only install those
packages.
The same is true for zh_TW and zh-hant where the *-zh-tw will not be
installed if the user chooses zh_TW.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/963460/+subscriptions
More information about the foundations-bugs
mailing list