hook up language detection and spell check according to result
Categories
(Thunderbird :: Message Compose Window, enhancement)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Unassigned)
Details
We can easily detect the language of what's written. We can then spell check according to that language, and not mark everything as wrong... The correct language header of the email and it's content should also be applied.
https://searchfox.org/comm-central/search?q=LanguageDetector.jsm&path=
var { LanguageDetector } =
ChromeUtils.import("resource:///modules/translation/LanguageDetector.jsm");
var text = "Ok, använd rätt språk!";
var r = LanguageDetector.detectLanguage(text).then((data) => {
alert(JSON.stringify(data));
})
Comment 1•3 years ago
|
||
I am sometimes mixing several languages in the same email. This approach here would still mark those emails as all wrong.
Therefore, instead of detecting languages, bug 1402822 asks to allow several languages at once. As a user, I would download the dictionaries of the languages that I can speak and write, and the spellchecker would allow all of them.
Comment 2•3 years ago
|
||
That said, if this proposal here can be implemented quickly, I would be grateful. It's still a step ahead.
Comment 3•3 years ago
|
||
We've duped previous suggestions like this to Bug 69687, so I'm going to do that here as well.
Description
•