[Bug 963460] Re: Ubiquity calls check-language-support with "zh-hans" instead of a locale (zh_CN)
Launchpad Bug Tracker
963460 at bugs.launchpad.net
Fri Mar 30 10:45:30 UTC 2012
This bug was fixed in the package language-selector - 0.77
---------------
language-selector (0.77) precise; urgency=low
* dbus_backend/ls-dbus-backend: Set LC_IDENTIFICATION as well, to comply
with what Ubiquity does. (LP: #926207)
* tests/test_language_support_pkgs.py: Fix
test_by_package_and_locale_noinstalled() for current pkg_depends: gedit
does not need aspell any more, use abiword as trigger package.
* language_support_pkgs.py, _expand_pkg_pattern(): Special-case "zh-han[st]"
values for the locale. These are not actual locales, but e. g. Ubiquity
assumes this works. So let these mean "zh_CN" and "zh_TW" respectively.
Add a test case to tests/test_language_support_pkgs.py. (LP: #963460)
-- Martin Pitt <martin.pitt at ubuntu.com> Fri, 30 Mar 2012 12:42:15 +0200
** Changed in: language-selector (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
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:
Fix Released
Status in OEM Priority Project precise series:
Fix Released
Status in “language-selector” package in Ubuntu:
Fix Released
Status in “ubiquity” package in Ubuntu:
Fix Committed
Status in “language-selector” source package in Precise:
Fix Released
Status in “ubiquity” source package in Precise:
Fix Released
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