LibreOffice plugin to pipe whole Writer documents through Google Translate, that ought to keep most of the page formatting.

⌈⌋ branch:  PageTranslate


Update of "options"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: bb9e36ddb8ecb90e3c6bf64242997c5c15251531
Page Name:options
Date: 2020-06-07 13:38:38
Original User: mario
Mimetype:text/x-markdown
Parent: 41c489ea55301436dc9d4842c3e8862619a41252 (diff)
Next 3b219c0df2e84101cf66300f5c03dc8369999073
Content

The settings page allows to define a few operation parameters.

Primarily which service to use:

Google Translate is the default

DeepL web interface (kinda works, but only allows a few short paragraphs to be translated / then blocks further requests / "http error 429")

DeepL per API (as of yet untested)

API key (also for Microsoft Translator)

Microsoft Translator (requires an authorization key, and a pip install translate system package)

MyMemory (should have an email address in the "API key" field, also requires pip install translate)

Email (optional, but recommended)

Command line tool allows to send each text paragraph to a local application. To use it, set the command in the "API key" field again. For example:

Command


Where {text} is a placeholder for the current text section. (Automatically escaped.)

Additional options:

quick linebreak handling might speed up table processing with Google Translate, as it avoids sending each newline-split sentence separately.

super slsow mode iterates over paragraph segments, to keep more inline formatting - but seriously harms mid-sentence translations. Not very useful in practice.

also iterate over TextFrames handles floating textframes / subdocuments.

debug mode will fill up the /tmp/pagetranslate-libreoffice.txt file quicker