Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > Self-Promotions by Authors and Publishers

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2026, 12:07 PM   #1
Haagendazs
Junior Member
Haagendazs began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2026
Device: Kindle Paperwhite 2021
Post EPUB Translator

I've been working on a Windows tool for translating EPUB e-books using the OpenAI API and wanted to share it here since this community knows EPUBs better than anyone.

What it does: Reads an EPUB, translates the text chapter by chapter using GPT-4.1 or similar models, preserves HTML structure, rebuilds NCX/NAV table of contents, and outputs a valid EPUB that opens correctly in Calibre.
Technical details for those who care: It parses each XHTML file with BeautifulSoup, walks the DOM to find translatable text nodes, masks URLs/acronyms/Roman numerals before sending to the API, restores them after, promotes class-hinted headings to h1 where needed, and injects Kindle-compatible CSS. Drop-cap spans are merged with their following text before translation to preserve word context.
Cost: ~$4–6 per novel via your own OpenAI API key. One-time app purchase.

https://hauzirek.gumroad.com/l/epub-translator
Haagendazs is offline   Reply With Quote
Reply

Tags
epub, epub transitions, epub translator, translate


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Translator is displayed instead of Author Zaz Editor 2 02-03-2023 06:24 PM
offline translator aldazo KOReader 11 07-06-2020 08:03 PM
DeepL.com translator. (ACX) dtp Kindle Developer's Corner 6 05-08-2018 02:00 PM
Glo Automatic translator acex Kobo Reader 0 08-23-2013 03:43 PM


All times are GMT -4. The time now is 01:34 AM.


MobileRead.com is a privately owned, operated and funded community.