Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Ce sujet de discussion a été fermé et archivé. Veuillez poser une nouvelle question si vous avez besoin d’aide.

Firefox reverts default spellchecker to wrong language upon restart.

  • 7 réponses
  • 8 ont ce problème
  • 21 vues
  • Dernière réponse par cor-el

more options

I am running Firefox 30.0, the most up-to-date version available for Ubuntu Linux 13.10.

For some reason, the spell-checking language defaults to "English (Canada)".

I tried to fix this by Right-click -> Languages -> English (United States).

Unfortunately, that only holds until I restart my browser.

Any ideas how to set it permanently?

I'd be perfectly happy if all text inputs were always spellchecked as "English (United States)", since that is the only language I ever use on my desktop.

Thanks.

I am running Firefox 30.0, the most up-to-date version available for Ubuntu Linux 13.10. For some reason, the spell-checking language defaults to "English (Canada)". I tried to fix this by Right-click -> Languages -> English (United States). Unfortunately, that only holds until I restart my browser. Any ideas how to set it permanently? I'd be perfectly happy if all text inputs were always spellchecked as "English (United States)", since that is the only language I ever use on my desktop. Thanks.

Solution choisie

That is unfortunate, there have been important security updates since 30. Note that you can always download a .tar.gz copy from:

Unzip it in your home directory. It should be precompiled so you don't need to do anything else but run it.


As to your dictionary, I remember needing to install a Canadian English dictionary in order to use it - what happens if you uninstall that in:

  • Tools > Add-ons > Dictionaries

You can also enter about:preferences in your address bar, go to Content, and "Choose". From there you can reorder your languages and see if that changes your default dictionary.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (7)

more options

Solution choisie

That is unfortunate, there have been important security updates since 30. Note that you can always download a .tar.gz copy from:

Unzip it in your home directory. It should be precompiled so you don't need to do anything else but run it.


As to your dictionary, I remember needing to install a Canadian English dictionary in order to use it - what happens if you uninstall that in:

  • Tools > Add-ons > Dictionaries

You can also enter about:preferences in your address bar, go to Content, and "Choose". From there you can reorder your languages and see if that changes your default dictionary.

more options

What Linux distribution do you have?

Note that Firefox might be getting confused if you have (Hunspell) dictionaries installed that have an underscore in the name instead of the dash (en_US versus en-US).

  • /usr/share/hunspell/
  • /usr/share/myspell/
more options

@CoryMH:

I checked about:preferences, my preferred content language is en-us. I don't see a way to change my dictionary through that part of the interface.

I also checked Tools -> Add-ons -> Dictionaries. No Canadian dictionary is even installed there.

I will try the latest Firefox from the page you lined, and report back.

Thanks!

Modifié le par dunpealer

more options

@cor-el: this is Xubuntu 13.10.

I'm not sure how to debug the problem you mentioned. There are a bunch of dictionaries under those directories.

more options

@CoryMH: downloaded and executed Firefox 33.0.1 from the link you provided, and the problem is now gone.

Thanks. Marked as "solved".

more options

Ubuntu 14.10 and Firefox 37, I still have this. I vaguely seem to remember it got fixed, but if so it came back.

… and I seem to have not only fixed it, but discovered the reason. Yay me. I'll post this comment anyway, in case someone else gets here via google.

This is what I was about to post:

The commonly offered fix, of deleting all dictionaries but the one I want, is unacceptable for me for two reasons: first, there's no way to delete pt_PT separately from pt_BR, either through apt or about:addons. Second and more importantly, I do need to keep many dictionaries, since I often type in many different contexts: en_GB, en_US, de_DE, and pt_BR. (Also ja_JP, but there's no spell check for that, so one less thing to worry about.)

There seems to be no rhyme or reason to which dictionary it picks, except it's consistent. It was always en_CA, after I uninstalled that, it's now always pt_PT.

Then I had a good search through about:config and found the services.sync.prefs.sync.spellchecker.dictionary and services.sync.prefs.sync.layout.spellcheckDefault settings. So on a hunch, I selected en_GB, forced a sync, quit Firefox, and opened it again… presto, it's en_GB. I think the problem was sync: when I selected a language locally, it didn't sync that preference to the server, and next time I started, it picked up whatever was stored in the server.

more options

You can toggle such services.sync.prefs.sync.* prefs to false to prevent Firefox from synching them across devices.