[Libreoffice-bugs] [Bug 118647] MacOS: Some system dictionaries are missing
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 10 06:31:38 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118647
Tor Lillqvist <tml at iki.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|MacOS: system dictionaries |MacOS: Some system
|are missing |dictionaries are missing
--- Comment #1 from Tor Lillqvist <tml at iki.fi> ---
Caused by 69c8e9a0607e9a197dfff8139f2ca14c2538da8a (and the corresponding
cherry-pick to the 6.1 branch). The languages with system dictionaries are (for
me, on 10.13.5) as follows. This is a list from adding debug output to
MacSpellChecker::getLocales() in
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm:
lang:'en' country:'GB'
lang:'en' country:''
lang:'en' country:'AU'
lang:'en' country:'IN'
lang:'en' country:'SG'
lang:'en' country:'CA'
lang:'en' country:'JP'
lang:'sv' country:''
lang:'fi' country:''
lang:'da' country:''
lang:'de' country:''
lang:'es' country:''
lang:'fr' country:''
lang:'it' country:''
lang:'nl' country:''
lang:'nb' country:''
lang:'pl' country:''
lang:'pt' country:'BR'
lang:'pt' country:'PT'
lang:'tr' country:''
lang:'ru' country:''
lang:'ko' country:''
In the Character dialogue I do see the marker indicating that a spelling
dictionary is present for languages in the above list that have a non-empty
country in the above list. For instance "English (India)". And the "fr"
apparently gets interpreted by LO as "French (France)". But indeed no German is
there.
If I add a similar check for plain "de" as there already is for "en", then
"German (Germany)" does get the spell check marker.
> else if (lang == "de" && country.isEmpty())
> country = "DE";
I guess the equivalent would need to be done for all the languages in the list
without a country. or then just expand each such language without territory to
all the combinations that LO knows. Will do the latter.
--
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/20180710/d0d95c08/attachment.html>
More information about the Libreoffice-bugs
mailing list