Spell check on Firefox for US English

I’m seeing strange behavior with Firefox (snap) on a default Ubuntu 26.04 install. Spell check keeps trying to force me to use British spellings (-our vs -or, etc). I never noticed this before on Ubuntu. Admittedly I’ve only switched back to Firefox recently. Also of note this doesn’t happen on Fedora.

I did a little investigating thinking maybe Snap needed a separate dictionary package or something but Firefox tells me the EN-US dictionary is installed. I see no options to select EN-US over EN-GB, etc.

I also looked at the source of an It’s Foss community page knowing Abhishek uses British English thinking perhaps there was a language directive in the header. No dice.

I’'ve attached a couple screenshots. The last being Firefox telling me I spelt ‘behavior’ wrong at the beginning of this post.

Somebody tell them folks at Mozilla that we dumped you Brits 250 years ago. We fought a whole war so I can drop the ‘u’ from a few words! They should have a little damn respect. :rofl: I kid, I kid - I know there’s a few EN-GB members here.

What version of linux are you running ?

In your control panel under languages do you have different english versions can you uninstall uk gb option and just leave american ?

I normally have the opposite in default to usa english, but so many words now use either spelling.

A search revealed the instruction to right-click in any text box, scroll down to Languages, and you have the option to add dictionaries. I’m guessing that you got a Firefox version with British spellings as the default choice.

‘Behaviour’ got marked in my Firefox as incorrect though the squiggly red underline doesn’t show when I upload this note to It’s Foss. Likewise colour.

   

That is the clue.
I thought firefox would inherit the locale and language settings from your Linux?
Maybe the snap container is isolating firefox from your system settings?
Fedora probably does not use snap.

@DanTheManDRH, have you tried sudo apt install hunspell-en-us?

Or this…

I had the same problem in reverse. The quirk for me was that having the UK language pack wasn’t enough to change the default - which is weird as when I right-clicked change spell check language, it took me to the UK language pack page. I needed to specifically download a GB dictionary as well from this page on the right hand column.

and then also go into about:addons, click Dictionaries, and enable it. Now it defaults to GB consistently for me.

@callpaul.eu - I messed up the quote feature trying to reply to multiple posts in one post originally.

I’m running vanilla Ubuntu 26.04. I followed your line of thinking here. My languages were in the correct order in Gnome settings.

This turned out to be the problem! Great catch @don.karon!!

I don’t know how I missed such a simple setting. Well to to be fair it was a submenu. :upside_down_face: Silly me expecting language options to in the app’s settings. Seems like this is a fairly esoteric problem. Google wasn’t much help at all. May this thread bring in a few Googlers before Gemini rips it off.

That was one of my first stops. Package was installed with Ubuntu by default or required by something I’d previously apt-ed.

Thank you for helping troubleshoot. :nerd_face:

I read this
" Firefox has its own language settings because it runs across many different operating systems. It uses its own system so it works the same way on Linux, Windows, and macOS. This lets users pick a language inside the app even if the main Linux system uses a different language"

I think that is crazy.

I agree. As a nerd who follows software development a little I get the logic behind it but at the very least it should inherit from the operating system’s locale by default.

Yeah, how do you get on with a different keyboard setting for linux and firefox?
That would drive me mad.

For me that looks fine

Sorry cannot help you more, sure someone else will be of more help