xtal256 wrote:I cannot say for certain when it happens, although when I change it back it seems to stick until I restart the browser.
I have looked into this before, but I didn't find any answers. I have set the preference "spellchecker.dictionary" to "en-AU" (which, strangely, was "en-US" before I changed it, even when the spell checker was using AU), but that has not helped.
Thanks for reporting this. It's indeed an intermittent problem.
I looked at the code involved, and I can see where this might go wrong - the problem is that the Mozilla code for that part
only uses the pref as a fallback, not as a first choice. It tries to automatically select the
spellchecker dictionary based on the language set in the context or the language specified on the element. This allows people to automatically have the correct dictionary selected if they are often visiting pages in multiple languages, but obviously interferes if you want to override this.
It's a known issue in Firefox that apparently has been left to sit unattended. See
bug #717433,
bug #728069 and specifically comment 2 on
bug #682564 for the randomness involved, especially if the same main language (en-XX).
I'll see if I can improve this code somehow, but I'll have to research where and when exactly
spellchecker.dictionary is being set. Maybe I just need a new override pref to "always use the user-set value" or something.
As a workaround, delete or rename "en-US" files in the "dictionaries" folder under the Pale Moon installation folder. That
should work to remove it as an option.