You are not logged in.

#1 2020-05-28 10:34:37

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

Too many languages in Firefox spell checker

The Firefox spell checker has too many languages for me. I only switch between 4, but I have to scroll through this huge list of "English" variations each time:

H7ZNNJf.png

However, I don't have the packages for these languages installed:

➜ pacman -Qs hunspell
local/hunspell 1.7.0-3
    Spell checker and morphological analyzer library and program
local/hunspell-de 20161207-4
    German hunspell dictionaries
local/hunspell-en_GB 2019.10.06-1
    GB English hunspell dictionaries
local/hunspell-es_ar 1:2.5-3
    Spanish (Argentina) hunspell dictionary
local/hunspell-nl 2.10g-5
    Dutch hunspell dictionaries

It seems that the british-english language package, has all the englishes:

➜ pacman -Ql hunspell-en_GB | grep share.hunspell
hunspell-en_GB /usr/share/hunspell/
hunspell-en_GB /usr/share/hunspell/en_AG.aff
hunspell-en_GB /usr/share/hunspell/en_AG.dic
hunspell-en_GB /usr/share/hunspell/en_BS.aff
hunspell-en_GB /usr/share/hunspell/en_BS.dic
hunspell-en_GB /usr/share/hunspell/en_BW.aff
hunspell-en_GB /usr/share/hunspell/en_BW.dic
hunspell-en_GB /usr/share/hunspell/en_BZ.aff
hunspell-en_GB /usr/share/hunspell/en_BZ.dic
hunspell-en_GB /usr/share/hunspell/en_DK.aff
hunspell-en_GB /usr/share/hunspell/en_DK.dic
hunspell-en_GB /usr/share/hunspell/en_GB-large.aff
hunspell-en_GB /usr/share/hunspell/en_GB-large.dic
hunspell-en_GB /usr/share/hunspell/en_GB.aff
hunspell-en_GB /usr/share/hunspell/en_GB.dic
hunspell-en_GB /usr/share/hunspell/en_GH.aff
hunspell-en_GB /usr/share/hunspell/en_GH.dic
hunspell-en_GB /usr/share/hunspell/en_HK.aff
hunspell-en_GB /usr/share/hunspell/en_HK.dic
hunspell-en_GB /usr/share/hunspell/en_IE.aff
hunspell-en_GB /usr/share/hunspell/en_IE.dic
hunspell-en_GB /usr/share/hunspell/en_IN.aff
hunspell-en_GB /usr/share/hunspell/en_IN.dic
hunspell-en_GB /usr/share/hunspell/en_JM.aff
hunspell-en_GB /usr/share/hunspell/en_JM.dic
hunspell-en_GB /usr/share/hunspell/en_NA.aff
hunspell-en_GB /usr/share/hunspell/en_NA.dic
hunspell-en_GB /usr/share/hunspell/en_NG.aff
hunspell-en_GB /usr/share/hunspell/en_NG.dic
hunspell-en_GB /usr/share/hunspell/en_NZ.aff
hunspell-en_GB /usr/share/hunspell/en_NZ.dic
hunspell-en_GB /usr/share/hunspell/en_SG.aff
hunspell-en_GB /usr/share/hunspell/en_SG.dic
hunspell-en_GB /usr/share/hunspell/en_TT.aff
hunspell-en_GB /usr/share/hunspell/en_TT.dic
hunspell-en_GB /usr/share/hunspell/en_ZA.aff
hunspell-en_GB /usr/share/hunspell/en_ZA.dic
hunspell-en_GB /usr/share/hunspell/en_ZW.aff
hunspell-en_GB /usr/share/hunspell/en_ZW.dic

Is this is a bug in the package? Or is there something out there that should indicate to Firefox to ignore all the extra languages?
Is there any way I can avoid this huge popdown list?

Last edited by hobarrera (2020-05-28 10:35:19)

Offline

#2 2020-05-28 11:17:58

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

Re: Too many languages in Firefox spell checker

Okay, looks like hunspell-en_GB installs all these dictionaries as mere aliases of en_GB.

I assume some people want a en_DK, and since there's no explicit package, this one provides that?
I've made a pacman hook to get rid of all the unwanted ones, but I still have "English (United States)" listed on firefox, even though there's no such dictionary installed:

➜ ls -1 /usr/share/hunspell/en_GB-large.aff /usr/share/hunspell/en_GB-large.dic
 en_GB-large.aff
 en_GB-large.dic

Firefox only lists "English (GB)" in about:addons (the Languages tab).

Offline

Board footer

Powered by FluxBB