Closed
Bug 1203024
Opened 9 years ago
Closed 5 years ago
Automatic language detection for the spell checker from user input
Categories
(Core :: Spelling checker, enhancement)
Core
Spelling checker
Tracking
()
People
(Reporter: jorgk-bmo, Unassigned)
Details
(Keywords: parity-safari)
This bugs serves as the continuation of the discussion that started here:
https://groups.google.com/d/msg/mozilla.dev.platform/Et02D8Mk2d0/7u7bkvTyLQAJ
and has been continued in private messages.
Basically the suggestion is to detect the language as one types into an editor text field (textarea or <div contenteditable>.
I would suggest the following user interface for that:
In Firefox in about:preferences#content we currently have:
Languages
Choose your preferred language for displaying pages
Underneath I suggest to add:
Spell Checking
[ ] Spell check based on the website's language (default)
[ ] Detect automatically
[ ] Always use ___ (dropdown to select)
Note: An all cases a site specific language can be chosen.
The option "Always use" is what was asked for in bug 1073840. We might as well implement this at the same time.
On "Languages" in the context menu I would add two items under the list of languages so the user doesn't have to visit the preferences:
[ ] Detect automatically
[ ] Always use selected language.
It goes without saying that "Detect automatically" and "Always use" will only be offered, if the there is more than one dictionary installed.
One note of caution: The French dictionaries come in a pack (fr-modern, fr-classic, fr-reform and fr-classic/reform - with few differences), so the automatic mechanism would have a hard time to detect the correct one. If would switch between them while the user continues typing. The same is true for various versions of English. If the user starts typing: "My favourite (en-GB/en-AU) color (en-US) is green" than the automatic detection might switch between dictionaries, which might be a little annoying.
Updated•8 years ago
|
Whiteboard: safari-parity
Comment 1•8 years ago
|
||
Regarding the French variants, couldn't a user "hide" some variants, or perhaps one could be selected as default answer for when the language guesser says "French"? Typically guessers don't do too good a job on very closely related languages, but they're still very useful for e.g. French vs English, so one could push the finer details of the problem into the UI.
I see https://dxr.mozilla.org/mozilla-central/source/browser/components/translation/LanguageDetector.jsm mentioned in the original thread, so it seems like the groundwork is in place already.
Comment 2•7 years ago
|
||
I failed to convince many of my friends living in France to try out Firefox again because of the lack of language detection for spellchecking. Some of them writes in 4 different languages on a daily basis.
Comment 3•7 years ago
|
||
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-safari
Whiteboard: safari-parity
This is the only feature I am missing since my transition from Chromium to Firefox. I write in six languages and often switch between them. Here are problems that I face daily:
- switching languages/dictionaries every time via the context menu is inconvenient;
- even if I don't need spell checking I still have to set the correct language to get rid of overly red underlined text (which is incorrectly attributed to be written in another language);
IIRC there used to be an extension for language detection and automatic dictionary switching, but it stopped working after the recent big API change. Would be nice if someone could dis-/confirm it.
Since it impacts TB it is a major caveat in comparision to other email clients. Multi-lingual environments are common usecase at this day and age.
Reporter | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•