<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - "creatine" is detected as a Romanian word"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139185#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - "creatine" is detected as a Romanian word"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139185">bug 139185</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>Looking into the code, OP seems to have guessed right.
The menu items are created in EditView::ExecuteSpellPopup
(editeng/source/editeng/editview.cxx). It uses a language guesser, implemented
in lingucomponent/source/languageguessing/guesslang.cxx.
When used for a single word, EditView::CheckLanguage tries four languages:
* The default document language from "Tools/Options - Language Settings -
Languages: Western";
* The one from "Tools/Options - Language Settings - Languages: User interface";
* The one from "Tools/Options - Language Settings - Languages: Locale setting";
* en-US.
If they have active dictionaries, then first of them is used further.
When checking paragraph text, the language guesser uses libexttextcat [1] to
perform a "fingerprint-based" guessing. It looks highly unreliable, based on
the evidence...
I suppose it is the same as (part of) <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Other: language selection is inconsistent and depends on position and selection in Writer UI"
href="show_bug.cgi?id=66051">tdf#66051</a>. Personally I would just drop
it.
[1] <a href="https://wiki.documentfoundation.org/Libexttextcat">https://wiki.documentfoundation.org/Libexttextcat</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>