<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SIDEBAR: Research/Reference sidebar deck"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=98372#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SIDEBAR: Research/Reference sidebar deck"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=98372">bug 98372</a>
              from <span class="vcard"><a class="email" href="mailto:keithcu@gmail.com" title="Keith Curtis <keithcu@gmail.com>"> <span class="fn">Keith Curtis</span></a>
</span></b>
        <pre>I've tweaked the Wiktionary code to work with some more languages, but
eventually it would need to handle langids. I see a useful C++ routine:
<a href="https://docs.libreoffice.org/setup_native/html/sellang_8cxx_source.html">https://docs.libreoffice.org/setup_native/html/sellang_8cxx_source.html</a> Is that
information available via UNO?

I discovered that Wiktionary links show up as local URLs, and wasn't able to
fix this via the API, so I changed it on the client side. It's not rocket
science to get data from Wiktionary. Let's add this and other online features
asap.

It turns out to be 1 line of code (using a PIP package) to have Google
translate a string of text and I added that to the file. I also got Azure
translation working. It's not 1 line, but it's not bad. I'll go through this:
<a href="https://en.wikipedia.org/wiki/Comparison_of_machine_translation_applications">https://en.wikipedia.org/wiki/Comparison_of_machine_translation_applications</a>
and find another FOSS one to talk to.

It seems like LibreOffice could hook up to a number of online services, and
have a dialog box which let you configure what is enabled via the right-click
menu. The Azure API needs a key, for example.</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>