Blog
How to turn an EPUB into a bilingual book, paragraph by paragraph
You have a novel as an EPUB, say in French, and you want English next to each paragraph. This is the whole job, step by step, including the parts that go wrong. We make a tool that does it for you, so we say where that is the easier route and where it is not.
Before you start
The EPUB must be DRM-free. Books bought in the Kindle store, and many from Kobo or Apple, are locked to the shop’s app and no tool can open them. Project Gutenberg, Wikisource and Standard Ebooks give you open files. A bilingual copy is for your own reading: publishing it needs the rights to the book.
The steps
- Unpack the book. An EPUB is a zip of chapter files (XHTML), styles and images.
- Split each chapter into paragraphs. This is the unit you will translate and pair.
- Translate paragraph by paragraph, not the whole book in one block. Each translation stays attached to its source paragraph.
- Pair them. Put each original paragraph and its translation together, in two columns or one under the other.
- Rebuild the EPUB, keeping chapters, headings and the table of contents, then check that it opens on your reader.
Where it goes wrong
The hard part is keeping the pairs aligned. Dialogue, footnotes, italics, scene breaks and a heading that is one line in the original and two in the translation are what break a pairing. Two columns also fail on a phone, where each column is a sliver; there, stack the paragraphs instead.
By hand, or the shortcut
By hand, the usual route is Calibre with a translation plugin that can keep the original alongside, plus an engine you choose. It is free to set up, but you do the setup and pay for the engine yourself. Our guide to translating an EPUB for free lists each option and its catch.
On DuoText you upload the file, see a free preview, and get the original beside its translation, rebuilt paragraph by paragraph, in 68 languages. You can download an EPUB for Kobo and Apple Books, or AZW3 and MOBI for Kindle. The translation is a machine translation, not a polished literary one. See what it costs.
Questions
Can I make a bilingual EPUB from an EPUB I already have?
Yes, if the file is DRM-free. Unpack it, translate it paragraph by paragraph, pair each original paragraph with its translation and rebuild the EPUB. You can do that with tools such as Calibre and a translation plugin, or have a service do it for you.
Should the translation go beside the original or under it?
Side by side works on a computer or a tablet. On a phone or an e-ink reader the screen is too narrow, so the original paragraph followed by its translation reads better.
Why not translate the whole book in one go?
Because the original and the translation then cannot be paired. Translating paragraph by paragraph keeps every line next to its source, so you can check any sentence that reads oddly.
Will a Kindle open the result?
A Kindle does not open an EPUB copied over USB. Use Send to Kindle, or convert to AZW3 or MOBI. Kobo, PocketBook, Tolino and Nook read EPUB directly.
Is it legal to translate a book I own?
For your own reading, generally yes. Publishing or sharing the translation needs the rights to the book.