What problem does it solve?
AI-assisted EPUB translation toolkit automates extraction of translatable text from EPUB files while preserving code blocks, enabling clean translation without altering code and preserving navigation references.
Core Features & Use Cases
- Export: extract text from EPUB leaf blocks (<p>, <h1>..., <li>) into a structured JSON with code placeholders.
- Translate: support progressive batch translation via a JSON workflow with progress tracking and safe code placeholder handling.
- Build: inject translations back into the EPUB while preserving inline elements, NCX navigation, and encoding normalization for a valid EPUB.
- Use Case: translating software documentation or technical ebooks that include embedded code blocks and cross-references.
Quick Start
Run the export phase to generate translations.json, batch translate using the provided scripts, and then run the build phase to produce the translated EPUB.