X
Tap here to go to the mobile version of the site.

منتدى الدعم

Cannot set default language for spell-checking

Posted

I currently have three dictionaries installed on Firefox (English (US), Hungarian and French). I use all three languages, so I do not want to delete any of them. However, I use English most of the time, so i would like this to be the default language. However, whenever I start typing, the spellchecker reverts to French, and i have to reset this manually every time I want to use English. i can't work out why "French" has become the default (it was the last of the dictionaries I installed). Does anybody know how I can set English to be the default?

I currently have three dictionaries installed on Firefox (English (US), Hungarian and French). I use all three languages, so I do not want to delete any of them. However, I use English most of the time, so i would like this to be the default language. However, whenever I start typing, the spellchecker reverts to French, and i have to reset this manually every time I want to use English. i can't work out why "French" has become the default (it was the last of the dictionaries I installed). Does anybody know how I can set English to be the default?

Additional System Details

Installed Plug-ins

  • ActiveTouch General Plugin Container Version 105
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.10
  • Google Update
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Shockwave Flash 16.0 r0
  • 5.1.30514.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0

More Information

Diego Victor 658 solutions 4175 answers
  1. Right-click in the text box
  2. Select Languages, then select a language for spell checker
# Right-click in the text box # Select Languages, then select a language for spell checker *See more [[How do I use the Firefox spell checker?#w_switching-dictionaries]]

Question owner

Thanks for the reply.

However I know I can do this (this is how I change between dictionaries all the time). But, as I said in my original post, the default dictionary (i.e. the one which is selected if I do not actively select a dictionary by right-clicking and selecting) is always French. I would like the default to be English. Do you know or does anyone else know how to set this?

Thanks for the reply. However I know I can do this (this is how I change between dictionaries all the time). But, as I said in my original post, the default dictionary (i.e. the one which is selected if I do not actively select a dictionary by right-clicking and selecting) is always French. I would like the default to be English. Do you know or does anyone else know how to set this?
cor-el
  • Top 10 Contributor
  • Moderator
17567 solutions 158896 answers

What is the value of the spellchecker.dictionary pref on the about:config page?

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

What is the value of the <b>spellchecker.dictionary</b> pref on the <b>about:config</b> page? You can open the <b>about:config</b> page via the location/address bar. You can accept the warning and click "I'll be careful" to continue. *http://kb.mozillazine.org/about:config

Question owner

Hi Cor-el

Well, I think you've found where the problem lies - thank you for that. This setting is set to "fr-reform" which explains why the default spellchecker language is always "French (reform)". Now all I need to do is find out the exact string to which I need to set in this parameter that corresponds to English (United States). Do you know what the value should be, or even better, where I can find the correspondence between the labels displayed in the "Languages" box which appears when I right-click in the window, and the strings values which can be set in the config file?

Regards John

Hi Cor-el Well, I think you've found where the problem lies - thank you for that. This setting is set to "fr-reform" which explains why the default spellchecker language is always "French (reform)". Now all I need to do is find out the exact string to which I need to set in this parameter that corresponds to English (United States). Do you know what the value should be, or even better, where I can find the correspondence between the labels displayed in the "Languages" box which appears when I right-click in the window, and the strings values which can be set in the config file? Regards John

Question owner

Well, I found the value I need to set: "en-US". However, for some reason even after I set this value, the next time I start Firefox, the spellchecker dictionary somehow reverts to "fr-reform" even if I do not select anything, and so I have to change it back to en-US manually each time. Obviously "fr-reform" must be set as a default somewhere else (and not in about:config).

Is there any way of editing this default value?

Well, I found the value I need to set: "en-US". However, for some reason even after I set this value, the next time I start Firefox, the spellchecker dictionary somehow reverts to "fr-reform" even if I do not select anything, and so I have to change it back to en-US manually each time. Obviously "fr-reform" must be set as a default somewhere else (and not in about:config). Is there any way of editing this default value?
cor-el
  • Top 10 Contributor
  • Moderator
17567 solutions 158896 answers

You can consider to use the user.js file in the profile folder to set the spellchecker.dictionary pref to a predefined value.

user_pref("spellchecker.dictionary", "en-US");

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can consider to use the user.js file in the profile folder to set the spellchecker.dictionary pref to a predefined value. <pre><nowiki>user_pref("spellchecker.dictionary", "en-US");</nowiki></pre> *http://kb.mozillazine.org/user.js_file The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.