[Libreoffice-bugs] [Bug 104197] Spell Checker in Calc defaults to US even though locale is en-gb

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 10 19:04:42 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=104197

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|medium                      |low

--- Comment #3 from Justin L <jluth at mail.com> ---
The most proper place to "set" the language for a specific document is the
default style - font tab.

I'm not familiar with Calc/spelling code, but from what I can see, spell
checking works on a per sentence basis, picking up the language from the
character/paragraph/cell properties.  In Calc, this would general mean that
each cell is checked independently, and most likely the language is defined in
the default style.

When you "change" the language in the spelling dialog, it changes it for that
one word, and then (assuming it is no longer considered to be a spelling error)
moves to the next sentence where it again switches to the "default style"
language for that sentence.

Writer acts similarly. Switching the dictionary language using the spell
checker jumps over that word and moves to the next error. The difference is
that in Writer, the character language property for the misspelled word is
actually changed.  That doesn't seem to happen in Calc.

So to deal specifically with OP's complaints.
1.) LO has a separate property to set the default language (likely defaulting
to your OS system locale, and unaffected by changes made to LibreOffice's
locale setting.) I would not consider this a bug - just something the user
needs to learn.
2.) Hopefully my description above explains why this happened. Although I agree
that in the Calc context, this doesn't fit as well, I wouldn't consider it to
be a bug either.

The only bug I see here is that Calc doesn't permanently change the language
properties of the "misspelled" word when the spelling dialog changes it - I
would consider that to be pretty minor in Calc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170510/6a0ee838/attachment.html>


More information about the Libreoffice-bugs mailing list