[Bug 1910692] Re: check-language-support wants to install wrong locale packages
soredake
1910692 at bugs.launchpad.net
Fri Jan 8 15:17:18 UTC 2021
❯ locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
ru_RU.utf8
ru_UA
ru_UA.koi8u
ru_UA.utf8
uk_UA.utf8
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1910692
Title:
check-language-support wants to install wrong locale packages
Status in language-selector package in Ubuntu:
Incomplete
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1910692/+subscriptions
More information about the foundations-bugs
mailing list