Spellchecker should respect lang attribute of each control (textarea,input, etc)
Categories
(Core :: Spelling checker, defect)
Tracking
()
People
(Reporter: subscrg, Unassigned)
References
Details
(Whiteboard: DUPEME)
Attachments
(1 file)
Reporter | ||
Updated•10 years ago
|
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Reporter | ||
Comment 4•10 years ago
|
||
Reporter | ||
Comment 5•10 years ago
|
||
Comment 7•10 years ago
|
||
Comment 9•10 years ago
|
||
Reporter | ||
Comment 10•10 years ago
|
||
Reporter | ||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•5 years ago
|
||
(In reply to Jérémie Bouillon from comment #7)
Yes, it's a very old issue that usually generate a whole lot amount of talk,
and little to no action. This behavior was reported, what was it, 8, 9 years
ago?Still, here we go again: there is absolutely no reason why Firefox should
not follow the XML/HTML guidelines established by a web page, including here
the language attribute, unless explicitly overridden by the user.In this (very good) example above, each textarea should “load” the proper
dictionary as stated by its attribute.Is no lang attribute is set, use the parent one, and if there still is no
lang attribute, use the parent's parent one and so on.<html lang="it">
…
<textarea>
The textarea is in Italian.<html lang="it">
…
<div lang="fr">
<div>
<textarea>
The textarea is in French.<html lang="it">
…
<div lang="fr">
<div lang="en">
<textarea>
The textarea is in English.This behavior is a natural first step, completely logical.
Then later on when this is fixed people can add an Option or write an
Extension to alter this for their own specific needs, but this general
behavior is still natural and expected and the most easily understood by
anyone, geek or general public.
Now on FF v74.0, has this been implemented?
Comment 14•5 years ago
|
||
Sure. Try attachment 8660290 [details] from bug 697981.
Comment 15•5 years ago
|
||
thank you for the link to that test page, but I still need to select the Language. It is not auto selected when clicking on the field. This illustrates what I see: https://www.filmfix.com/images/lang.jpg
Comment 16•5 years ago
|
||
I don't understand the comment. In the example, you have three text areas, English, Spanish, French, and clicking into the text areas, the dictionary switches to that language. Of course you need to have the dictionaries installed.
The same is true for the three contenteditable fields below, sadly there all three fields are re-checked on the language that is chosen upon click, that's bug 1209220.
I think you have a content preference set for the language on that page, which then overrides the individual languages. I've just selected German for https://bug697981.bmoattachments.org/attachment.cgi?id=8660290 and now the entire page is "messed up" and everything is checked in German and the individual language is lost. Open the page on a new FF profile and you will see it working.
Description
•