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

⌈⌋ branch:  PageTranslate


Artifact [1728ed8001]

Artifact 1728ed8001a839f6604af9c11f33467e5ac9e29d:

  • File Makefile — part of check-in [3f3f41295e] at 2021-02-08 05:48:23 on branch trunk — Add langdetect as dependency/bundle (used by mymemory) (user: mario size: 624)

all:	xhp oxt install

install:
	unopkg remove vnd.include-once.pagetranslate
	unopkg add --log-file log.txt -s pagetranslate.oxt

oxt:
	version  --read pagetranslate.py  --incr  --write pagetranslate.py  --write description.xml
	zip pagetranslate.oxt -r META-INF pagetranslate.py *xcu *xcs *xdl *desc* icons pythonpath/ help

aoo:	oxt
	/opt/openoffice4/program/unopkg add pagetranslate.oxt
	/opt/openoffice4/program/soffice -writer
	
lo7:
	/opt/libreoffice7.1/program/unopkg add pagetranslate.oxt
	/opt/libreoffice7.1/program/soffice --writer

xhp:
	make -C help/en/vnd.include-once.pagetranslate/

pip:
	make -C pythonpath