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

⌈⌋ branch:  PageTranslate

Artifact [e0a784edc6]

Artifact e0a784edc6866ef9c7cc4ec5108cd107b0ddb389:

  • File pythonpath/Makefile — part of check-in [538f6d5a54] at 2022-10-21 20:42:22 on branch trunk — freeze requests (user: mario size: 542)

# The pythonpath/ directory can be packaged alongside, to inject new python
# packages into LibreOffices` python bundle. Which really just makes sense
# for the Windows package, because distro-packaged Office setups utilize the
# system python path.

	#pip install translate -t ./ --upgrade --no-compile
	pip3 install deep-translator requests==2.25.1 -t ./ --upgrade --no-compile
	# freeze requests at 2.25 (last Python2.7-compatible)
	pip2 install requests==2.25.1 langdetect six -t ./ --upgrade --no-compile

	rm -r *.dist-info