搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

话题已关闭并存档。 如果需要帮助请提出新问题。

Firefox reverts default spellchecker to wrong language upon restart.

  • 7 个回答
  • 8 人有此问题
  • 20 次查看
  • 最后回复者为 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.

被采纳的解决方案

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.

定位到答案原位置 👍 0

所有回复 (7)

more options

选择的解决方案

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!

由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.