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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/963460

Title:
  Ubiquity calls check-language-support with "zh-hans" instead of a
  locale (zh_CN)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/963460/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to