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

⌈⌋ ⎇ branch:  PageTranslate


Artifact [6d5d91d855]

Artifact 6d5d91d855afd90a48748031e86aa33a8a1dd795:

  • File test/duck.py — part of check-in [00e5bb6299] at 2022-10-22 22:17:32 on branch trunk — compact via fixture (user: mario size: 141)

import translationbackends as tb

def frog(params):
    t = tb.DuckDuckGo(**params)
    assert t.translate("Frosch tanzt") == "Frog dances"