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

⌈⌋ branch:  PageTranslate


Check-in [3f3f41295e]

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

Overview
Comment:Add langdetect as dependency/bundle (used by mymemory)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3f3f41295e805c0daf2a94bffda2637dce457bfd
User & Date: mario 2021-02-08 05:48:23
Context
2021-02-08
05:57
Minor reshuffling in config dialog (and get rid of parenthesis) check-in: 1bb59b3af8 user: mario tags: trunk
05:48
Add langdetect as dependency/bundle (used by mymemory) check-in: 3f3f41295e user: mario tags: trunk
05:47
new dialogs for excpetion display and manual language selection check-in: 8224584b9f user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	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/libreofficedev7.0/program/unopkg add pagetranslate.oxt
	/opt/libreofficedev7.0/program/soffice -writer

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

pip:
	make -C pythonpath







|
|






9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	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

Changes to pythonpath/Makefile.

1
2
3
4
5
6
7
8
9
# 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:
	pip3 install requests translate six -t ./ --upgrade --no-compile








|

1
2
3
4
5
6
7
8
9
# 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:
	pip3 install requests langdetect translate six -t ./ --upgrade --no-compile