(This is basically an expanded version of the argument in comment 80,
which I'm agreeing with but have one more use case.)

Multi-language spell checking could be good as a user default but there
are two use cases where it is problematic, both of which are 'page-
defined':

1) Language teaching. The user is English but is learning French. We
want to enable the French spellchecker (that doesn't accept English
words) in a text field which is defined for French language entry even
though their default language is English. As far as possible, this
should work without them having to configure anything. I realise that
probably won't work because they'll have to at least install the
dictionary, but...

2) Multi-lingual content entry. The user may be English or French and
ordinarily would prefer a spellchecker dictionary that accepts both, but
on this occasion is entering content for a multilingual website. The
form contains two text areas, one for English and one for French. The
English one should show French spellings as errors and the French one
should show English spellings as errors. Again this should work without
them having to configure anything.

If there is concern about pages that are incorrectly defined, then one
possible heuristic to spot 'the page designer really means it' cases
would be to see if the lang or xml:lang attribute is explicitly defined
on the textarea (or other spellcheck-required) tag itself rather than a
higher-up tag.

In other words, say the page has lang="en" due to some broken authoring
tool, but the user's preferred language is French (or French + English +
Spanish, in the new wonderful multi-spellchecker world) then perhaps the
user preference should always override the page language. But if there
is a specific <textarea lang="en"> on the page then it should default to
the page-specified language (English only on this case), allowing the
user a right-click override.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/303269

Title:
  Automatically select language for spell check based on user input

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/303269/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to