Ubuntu

Mozilla Thunderbird and Firefox spellcheck has too many languages

Reported by komputes on 2010-09-29
126
This bug affects 21 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Undecided
Unassigned
language-selector (Ubuntu)
Medium
Unassigned
thunderbird (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: thunderbird

Mozilla Thunderbird and Firefox spellcheck has too many languages. It does not follow the Ubuntu Language Support Standard (gnome-language-selector).

Language Support (gnome-language-selector) has a feature which allows you to gray out languages you are not interested in seeing and black in the languages you would like to see. Mozilla apps should follow this or should at least offer a workaround allowing a user to disable certain languages.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: thunderbird 3.0.8+build2+nobinonly-0ubuntu0.10.04.1
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Wed Sep 29 17:49:00 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
ProcEnviron:
 LANGUAGE=en_US:en_CA:en
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: thunderbird

komputes (komputes) wrote :
komputes (komputes) wrote :
komputes (komputes) wrote :
Chris Coulson (chrisccoulson) wrote :

Hi,

Firefox and Thunderbird both offer the dictionaries installed on the system (which I believe is correct). It's not really obvious what the significance of the greyed out entries are in gnome-language-selector.

As another example, if you open gedit and go to Tools -> Set Language, it will present you with the same list of dictionaries installed on the system (just like Firefox, but in a dialog rather than a menu).

If you want to hide certain languages in the spellcheckers, then gnome-language-selector allows you to uninstall these components (Install/Remove Languages, and then uncheck the Spellchecking and writing aids checkbutton for the languages you don't want to see)

komputes (komputes) wrote :

Thanks for trying to help me with this. Unfortunately if I do this I will remove all English spell checking from the system. I just want to remove 7 of the 8 English entries (see screenshot). The "Install/Remove" window doesn't seem to be doable using gnome-language-selector since it only shows me "English" and not "English (Australia), English (Canada), English (United States), etc..."

However I beleive that the significance of the grayed out entries are in gnome-language-selector means that they are installed but are not in use and will not be presented to the user. This is my opinion, and unfortunately (from my research) language-selector is undocumented. I guess it will have to be up to the maintainer or developers (subscribed) to tell us the purpose of the grayed languages feature.

This is a long standing issue. I've seen posts from 2007. I need spell checking in 3 languages: spanish (spain), english (uk) and german (germany). Unfortunately, I get a menu with 42 "different" options: German (Luxembourg), German (Austria), ..., Spanish (Argentina), Spanish (Spain), etc, etc, etc.

Expected behaviour:
1. Have some application (system preferences, myspell, firefox, ...) where to select the preferred languages.
2. Show ONLY those selected options in any application that uses the myspell dictionaries.

Every time I need to select a different dictionary I spend 5 minutes cursing in any known, and unknown language until I find the one I need... please help!

Roland Giesler (lifeboy) wrote :

Firefox seems to detect different spell checkers now. I can add Afrikaans to firefox, but it doesn't appear in the hunspell list. The same goes for en-za.

Can someone shed some light of the various methods FF can use (version 3.6 upwards it seems)? Maybe we can find a workaround in the meantime?

Leo (leorolla) wrote :

If you type e-mails in 4 differente languages, and you have to switch among these 4 dozens of times a day, you will understand how horrible it is to have 30 options rather than 4 every single time you want to switch. There is even a rolling bar!

If one of these languages is spanish, it gets worse.

Changed in firefox (Ubuntu):
status: New → Confirmed
Changed in language-selector (Ubuntu):
status: New → Confirmed
Changed in thunderbird (Ubuntu):
status: New → Confirmed
Fiable.biz (fiable.biz) wrote :

This bug is still in Ubuntu 11.04 with Mozilla Firefox 4.01. According to https://bugzilla.mozilla.org/show_bug.cgi?id=631516 , it's an Ubuntu bug, not a Mozilla one.

Gunnar Hjalmarsson (gunnarhj) wrote :

As regards language-selector, its behavior is documented in Natty. You can reach the help document, which e.g. explains the meaning of the greyed menu items in the combobox on the "Language" tab, by clicking the "Help" button when in Language Support.

Furthermore, this is reasonably not a language-selector bug, at least not in Natty, where the list of display languages consists of available translations. I invalidated the language-selector bug.

The use of the word "dictionary" confuses me. The long lists seem to consist of locales, not dictionaries. Maybe there is just one dictionary for Spanish spell checking, for instance. Thunderbird and gedit still show all available locales that relate to the installed languages, which does not make sense IMO.

Changed in language-selector (Ubuntu):
status: Confirmed → Invalid
Martin Pitt (pitti) wrote :

It seems we actually can do something about this in check-language-support by not installing e. g. the -en-za dictionary if the user only selected e. g. "English (UK) / English" in the language preference list. With the static language-support-LL packages gone, it should actually be feasible to make this more dynamic now.

Changed in language-selector (Ubuntu):
importance: Undecided → Medium
status: Invalid → Triaged
Fabián Rodríguez (magicfab) wrote :

(Destructive) workaround which I tested and did it for me:
http://ubuntuforums.org/showpost.php?p=10085577&postcount=5

Andres Muniz (andresmp) wrote :

@Fabian Rodriguez the link you show suggestes removing links to unused files from
file:///usr/share/myspell/dicts/

I have found that I have:

file:///usr/share/myspell/dicts/en-GB.aff

file:///usr/share/myspell/dicts/en-GB.dic

file:///usr/share/myspell/dicts/en_CA.aff

file:///usr/share/myspell/dicts/en_CA.dic

file:///usr/share/myspell/dicts/en_GB.aff

file:///usr/share/myspell/dicts/en_GB.dic

file:///usr/share/myspell/dicts/en_ZA.aff

file:///usr/share/myspell/dicts/en_ZA.dic

I should only have GB and ES spain. What GB do you suggest removing? is CA spanish? what is za?

komputes (komputes) on 2012-03-20
tags: added: css-sponsored-p
komputes (komputes) on 2012-03-20
tags: added: rls-mgr-p-tracking
Sicco van Sas (sicco) wrote :

I have the same problem. Too many types of English and Dutch show up in Thunderbirds spelling checker. Renaming(/backupping) the obsolete .aff and .dic files in /usr/share/hunspell fixed the problem for me.

Martin Pitt (pitti) on 2012-04-13
tags: removed: rls-mgr-p-tracking
madbiologist (me-again) wrote :

@Andres Muniz (andresmp) - CA is the Canada locale and ZA is South Africa (taken from it's name in Dutch: Zuid-Afrika). See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 but don't confuse them with the two-letter language codes (such as en) described at http://en.wikipedia.org/wiki/ISO_639-1
The two are combined to make IETF language tags you listed, as described at http://en.wikipedia.org/wiki/IETF_language_tag

madbiologist (me-again) wrote :

Official support for the desktop version of Ubuntu 10.04 LTS "Lucid Lynx" ended on May 9, 2013. Official support for Ubuntu 11.04 "Natty Narwhal" ended on October 28, 2012. Is this still occurring in Ubuntu 13.04 "Raring Ringtail" with Firefox 23?

Changed in firefox (Ubuntu):
status: Confirmed → Incomplete
Sicco van Sas (sicco) wrote :

madbiologist, yes this still occurs on Ubuntu 13.04 with Firefox 23. I have a laptop with the English and Dutch languages installed and the default available spell checking languages in Firefox are 6 versions of Dutch (Dutch Belgium, Dutch Antilles, Dutch Suriname, Dutch Aruba, Dutch Dutch and Dutch while I only need one version of Dutch and 4 versions of English (English UK, English USA, English South Africa, English Australia) while I only want the UK and USA versions. Note that I specified these preferences in Ubuntu's language settings (though these settings show a different selection of language varieties, e.g. only 1 Dutch version and no English South Africa, but does list English Canada and English New Zealand).

kolya (mar-kolya) wrote :

This problem still exists in 13.04

Changed in firefox (Ubuntu):
status: Incomplete → Confirmed
madbiologist (me-again) on 2013-08-08
tags: added: natty raring
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.