Public bug reported:

my locales set to this:
❯ locale
LANG=ru_UA.UTF-8
LANGUAGE=ru
LC_CTYPE="ru_UA.UTF-8"
LC_NUMERIC=ru_UA.UTF-8
LC_TIME=ru_UA.UTF-8
LC_COLLATE=ru_UA.UTF-8
LC_MONETARY=ru_UA.UTF-8
LC_MESSAGES="ru_UA.UTF-8"
LC_PAPER="ru_UA.UTF-8"
LC_NAME="ru_UA.UTF-8"
LC_ADDRESS="ru_UA.UTF-8"
LC_TELEPHONE="ru_UA.UTF-8"
LC_MEASUREMENT=ru_UA.UTF-8
LC_IDENTIFICATION="ru_UA.UTF-8"
LC_ALL=

but for some reason `check-language-support` want to install these packages 
(which is incorrect):
firefox-locale-uk hunspell-en-au hunspell-en-ca hunspell-en-gb hunspell-en-za 
hunspell-uk hyphen-en-ca hyphen-en-gb hyphen-uk language-pack-gnome-uk 
language-pack-uk libreoffice-help-en-gb libreoffice-l10n-en-gb 
libreoffice-l10n-en-za libreoffice-l10n-uk mythes-en-au mythes-uk 
thunderbird-locale-en-gb thunderbird-locale-en-us thunderbird-locale-uk 
wukrainian

correct packages that needs to be installed:
❯ check-language-support -l ru_UA --show-installed
firefox-locale-ru gimp-help-ru hunspell-ru hyphen-ru language-pack-gnome-ru 
language-pack-ru libreoffice-help-ru libreoffice-l10n-ru mythes-ru poppler-data 
thunderbird-locale-ru

ru_UA should be treated as ru, but it's not.
/usr/share/language-selector/data
❯ rg ru_UA
langcode2locale
192:ru:ru_UA

Kubuntu 20.10

** Affects: language-selector (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910692

Title:
  check-language-support wants to install wrong locale packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1910692/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to