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

⌈⌋ ⎇ branch:  PageTranslate


Check-in [538f6d5a54]

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

Overview
Comment:freeze requests
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 538f6d5a5460f3e4106b92e62593116c158369dc
User & Date: mario 2022-10-21 20:42:22
Context
2022-10-21
20:42
omit # check-in: cc353ff2fc user: mario tags: trunk
20:42
freeze requests check-in: 538f6d5a54 user: mario tags: trunk
20:41
fix spliterate empty/premature segmenting check-in: cad291ded0 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pythonpath/Makefile.

1
2
3
4
5
6
7
8
9
10
11
12


# 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.


all:
	#pip install translate -t ./ --upgrade --no-compile
	pip3 install deep-translator -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











|



>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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.


all:
	#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

clean:
	rm -r *.dist-info