Firefox in Linux. Linux locale is en_IE - IRELAND. Spell check language is English ( US ) but should be English ( British )
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: bryanmceleney, Unassigned)
Details
Attachments
(1 file)
|
52.03 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
PRETTY_NAME="Ubuntu 20.04.3 LTS". Firefox 96 in Linux. OS Locale setting is LANG=en_IE.UTF-8.
My son wants to do English homework online. He is Irish and we use British English here in Ireland not US English. Son wants to use the word "colour" ( correct British spelling ), in the Seesaw web app textarea input, you can see the screenshot.
Actual results:
Spell check corrects "colour" to "color"
Expected results:
Correct spelling in Ireland is the British English "colour"
Comment 1•4 years ago
|
||
Not a localization bug for en-GB.
I expect this to be an issue in your distribution. Is a British English dictionary installed in the system, or is there only an en-US one?
Also, check the Internationalization settings in about:support (towards the end of the page): which locales are there?
| Reporter | ||
Comment 2•4 years ago
|
||
I right click the textarea and am offered only English ( United States ) in the "languages" drop menu with option to install other packs, so it seems only US installed.
internationalisation settings:
Application Settings
Requested Locales ["en-IE"]
Available Locales ["en-GB","en-CA","en-US"]
App Locales ["en-US","en-GB","en-CA"]
Regional Preferences ["en-IE"]
Default Locale "en-US"
Operating System
System Locales ["en-IE"]
Regional Preferences ["en-IE"]
Comment 3•4 years ago
|
||
Given this configuration (requested locale en-IE), I would expect your app to use en-US text? For example, in Settings->General, do you have Fonts and Colors or Fonts and Colours?
With that said, dictionaries are independent from the language of the browser:
- If en-GB dictionary is installed on your system, on Linux, it will also be available in Firefox.
- If not, you can install an add-on from here (just for Firefox): https://addons.mozilla.org/firefox/addon/british-english-dictionary-2/
| Reporter | ||
Comment 4•4 years ago
|
||
Yes, I have the "Fonts and Colors", but it's definitely wrong to map en-IE to en-US, you can walk in to any public library here to know this. This seems to happen a lot on with personal computers in Ireland in general.
Sorry for my ignorance of the subject but is there a standards organisation that determines that mapping?
Comment 5•4 years ago
|
||
Yes, I have the "Fonts and Colors", but it's definitely wrong to map en-IE to en-US, you can walk in to any public library here to know this. This seems to happen a lot on with personal computers in Ireland in general.
There is no mapping. Linux installs the en-US version, which only has the en-US dictionary built-in.
If you didn't install the en-GB language pack yourself, given there's also en-CA, that 's installed system-wide by the Linux distribution. They should have provided a corresponding dictionary as well.
Everything seems to be working by design:
- Your distribution provided an en-US build with the en-US dictionary. That's the standard behavior on Linux.
- You have additional language packs installed, which allow you to change the UI language (not the dictionary!). Those are seemingly provided by the Linux distribution.
- You don't have an en-GB dictionary installed. You need to either install it as an add-on (link I provided before), or in the Linux system via package manager.
Comment 6•4 years ago
|
||
Additional note: to change the UI language, in Setting->General->Language and Appearance you need to select British English, given you already have the language pack installed.
| Reporter | ||
Comment 7•4 years ago
|
||
OK. I'd better finish, thank you. My final stupid question: if I had all the dictionaries installed as required, firefox would have selected GB or US for my locale?
Comment 8•4 years ago
|
||
(In reply to Bryan McEleney from comment #7)
OK. I'd better finish, thank you. My final stupid question: if I had all the dictionaries installed as required, firefox would have selected GB or US for my locale?
It wouldn't have changed the behavior for the UI language. The language selected for the dictionary is independent (as you noted, you right click in the field to select which one to use).
To be fairly honest, the automatic language selection for dictionaries is far from great in Firefox. So, I would go as far as suggesting to only have the en-GB dictionary to avoid issues.
Description
•