View Single Post
Old 12-05-2021, 10:06 AM   #47
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
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.
Would it possible for you to build a Sigil plugin with this utility?
RbnJrg is offline   Reply With Quote