[meta] Spellchecker fails to honour/remember user's choice of language/dictionary
Categories
(Core :: Spelling checker, defect)
Tracking
()
People
(Reporter: smjg, Unassigned)
References
(Depends on 4 open bugs)
Details
(Keywords: meta)
Attachments
(1 obsolete file)
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Reporter | ||
Comment 9•10 years ago
|
||
Reporter | ||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Reporter | ||
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Updated•10 years ago
|
Comment 16•9 years ago
|
||
Reporter | ||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Reporter | ||
Comment 19•9 years ago
|
||
Comment 20•9 years ago
|
||
Reporter | ||
Comment 21•9 years ago
|
||
Comment 22•9 years ago
|
||
Reporter | ||
Comment 23•9 years ago
|
||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Updated•9 years ago
|
Reporter | ||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Comment 28•9 years ago
|
||
Comment 29•9 years ago
|
||
Comment 30•9 years ago
|
||
Reporter | ||
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
Comment 33•9 years ago
|
||
Comment 34•9 years ago
|
||
Comment 35•9 years ago
|
||
Updated•9 years ago
|
Comment 36•9 years ago
|
||
Comment 37•9 years ago
|
||
Comment 38•9 years ago
|
||
Comment 39•5 years ago
|
||
Looks like I found a pattern — spellchecker.dictionary preference is ignored if the page <html> tag contains language code which matches the bundled dictionary.
Example:
- install en-US Firefox distributive so it contains an English dictionary
- install some custom dict, ru-EN for example — https://addons.mozilla.org/firefox/addon/russian-english-dictionary/
- create spellchecker.dictionary pref with ru-EN value
Result:
- if webpage contains <html lang="en"> Firefox will use bundled dict by default instead of spellchecker.dictionary pref
- if webpage contains <html lang="ru"> or just <html> (without language code) Firefox will use ru-EN dict
Tested on Firefox 73
Comment 40•5 years ago
|
||
This is very annoying, for example, at Github, where some of the discussions in our project are conducted in English, and some in Russian, so I need to check the spelling in different languages within the same site
Reporter | ||
Comment 41•3 years ago
|
||
The last two comments look to me like bug 1073840.
Comment 42•3 years ago
|
||
My preference for the webpage language is French. As a consequence, when I visit something like a bug tracker, the interface is sometimes in French (when available), even though in practice, the comments from the users are always written in English. So in many cases, matching the webpage language does not make sense.
So either the user's default choice should be preferred over the webpage language, or there should be an option to let the user choose whether his choice should have the precedence for not yet visited sites.
Another solution would be to autodetect the language(s) when the user enters text. That would be like bug 1203024, which had been marked as a duplicated of the much more general bug 69687 (I don't know why).
Updated•2 years ago
|
Description
•