View Single Post
Old 05-04-2021, 04:56 PM   #43
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Nicolay77 View Post
Hello, I made a quick ePub translator script in Python.

It uses Google Translate API (requires credentials in PATH).

Link is here: https://github.com/Poyeyo/epub-translate

It can translate all text, or it can output both original and translation as parallel texts.

As described in the readme, the resulting file needs to be fixed in Calibre e-book editor or other tool. But the fixes are quick and take almost no time.

Attached is one resulting file with parallel texts.
Very nice. But one thing. You have not specified what versions of Python this runs with.
JSWolf is offline   Reply With Quote