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

⌈⌋ ⎇ branch:  PageTranslate


Artifact [89033ec4e1]

Artifact 89033ec4e1d888fad04f87b24520d0ea81f83e72:

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

import translationbackends as tb

def pons(params):
    params["lang"] = "it"
    t = tb.PonsWeb(**params)
    assert t.translate("umlauf") == "circolazione"