{"id":89,"date":"2026-11-12T07:27:14","date_gmt":"2026-11-12T07:27:14","guid":{"rendered":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/"},"modified":"2026-11-16T05:55:54","modified_gmt":"2026-11-16T05:55:54","slug":"how-to-translate-an-entire-document","status":"publish","type":"post","link":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/","title":{"rendered":"How to Translate an Entire Document Without Breaking the Formatting"},"content":{"rendered":"<p class=\"wp-block-paragraph\">how to translate an entire document is one of the key topics this article covers. Below we look at how to translate an entire document and the details that matter most when choosing.<\/p>\n<h2 class=\"wp-block-heading\">What &#8220;translate the whole document&#8221; actually means \u2014 how to translate an entire document<\/h2>\n<p class=\"wp-block-paragraph\">Most people who say they translated a document are really translating fragments. They select a paragraph, paste it into a translator, copy the result back, and repeat until the file is done \u2014 or until they give up. What they end up with is a document with translated sentences dropped into it. That is a different object from a translated document.<\/p>\n<p class=\"wp-block-paragraph\">Whole-file translation treats the file as the unit of work. One job runs over the entire document under one set of rules: the same language pair, the same glossary, the same handling of names, URLs, and markup from the first page to the last. Nothing gets retyped. Nothing gets translated out of context.<\/p>\n<p class=\"wp-block-paragraph\">The unit matters because meaning is built at the sentence level, not the line or the page. Word order, agreement, and the way a clause resolves all depend on the sentence staying whole. Cut one in half at a page break or a line wrap and whatever is doing the translating has to guess at the half it can&#8217;t see. Segmenting on sentence boundaries keeps each unit intact, and it keeps inline formatting attached to the words it belongs to \u2014 the italics around a book title, the bold on a warning, the link text sitting inside a sentence.<\/p>\n<p class=\"wp-block-paragraph\">Running one pass over one file is also what holds terminology together. Chapter one settles on a rendering for a technical term; chapter thirty has to use the same one, and so does the index. Thirty separate pastes produce thirty separate decisions. A glossary applied across a single job produces one.<\/p>\n<p class=\"wp-block-paragraph\">It helps to separate the two outcomes readers actually want, because they are not equally achievable. The first is a copy you can read: the meaning is there, the argument holds, you could follow it to the end. The second is a document you can deliver \u2014 heading levels that still generate an outline, tables that are still tables, footnotes that still point at something, page numbers that still match.<\/p>\n<p class=\"wp-block-paragraph\">The first outcome is mostly a question of translation quality. The second is decided by the file format long before effort enters the picture. Some formats store their structure in a form a tool can rebuild; others store only a picture of the finished page, and no amount of care recovers what was never kept as data. That is why two documents of the same length can take wildly different routes, and why the realistic options range from a fully automated pipeline at one end to plain retyping at the other. If you want the wider map of approaches before choosing one, our <a href=\"https:\/\/bookfork.space\/blog\/2026\/11\/08\/how-to-get-a-document-translated\/\">step-by-step guide to getting a document translated without losing the layout<\/a> lays them out.<\/p>\n<h2 class=\"wp-block-heading\">Why formatting breaks: the structure layer and the visual layer<\/h2>\n<p class=\"wp-block-paragraph\">Formatting rarely collapses all at once. It breaks in one of two specific places, and knowing which one you&#8217;re looking at determines whether the file can be repaired or has to be redone.<\/p>\n<p class=\"wp-block-paragraph\">Every document carries two layers at the same time.<\/p>\n<p class=\"wp-block-paragraph\">The <strong>structure layer<\/strong> is everything the file knows about itself. A heading isn&#8217;t big bold text; it&#8217;s a paragraph carrying a style called Heading 1, which feeds the outline, which feeds the navigation pane, which feeds the table of contents, which feeds the running header at the top of the page. A table cell isn&#8217;t a position on the page; it&#8217;s a coordinate in a grid. A footnote marker is a pointer to a note stored elsewhere in the file. A cross-reference points at a bookmark, not at &#8220;page 12.&#8221; None of this is visible, and all of it can survive or fail independently of how the page looks.<\/p>\n<p class=\"wp-block-paragraph\">The <strong>visual layer<\/strong> is what you actually see: typeface, size, leading, colour, page dimensions, margins, gutters, the exact rectangle an image occupies. This layer is a rendering. It&#8217;s a set of decisions applied to the structure at output time, which is why two files with identical structure can look completely different.<\/p>\n<p class=\"wp-block-paragraph\">Translation tools fail at one layer or the other, and the two failure modes look nothing alike.<\/p>\n<p class=\"wp-block-paragraph\">Tools that read only what&#8217;s rendered \u2014 a PDF text extraction, an OCR pass, a copy-paste into a browser translator \u2014 receive a stream of characters with no memory of the relationships above. The words come back translated and correct, and everything holding the document together is gone. Headings become ordinary paragraphs, so the outline is empty and the table of contents is either missing or a set of dead entries. Tables become runs of tab-separated lines that resemble columns but can&#8217;t be sorted, resized, or read by a screen reader. Footnote markers sit as stray digits mid-sentence. A two-column page is read straight across, so the end of the left column is spliced onto the start of the right. This is structure loss, and it tends to get described as a formatting problem because that&#8217;s how it first appears.<\/p>\n<p class=\"wp-block-paragraph\">Tools that rebuild the structure instead \u2014 convert to an intermediate format, translate, regenerate \u2014 bring the headings and tables back intact, then lay the visual layer out from scratch. Because translated text rarely occupies the same amount of space as the source, everything downstream shifts. A chapter that used to end on page 40 now ends on 43. Page-number references point at the wrong page, running heads key off the wrong section, a caption that sat beneath its figure is now stranded above the next one, and a fixed-size text frame overflows into the margin. These look like translation errors. They aren&#8217;t. They&#8217;re reflow, and reflow is a different problem with a different remedy.<\/p>\n<p class=\"wp-block-paragraph\">Changing script adds a third variant to the same story. When the target language needs a font the file doesn&#8217;t carry, the layout engine substitutes one with different metrics and every line breaks in a new place. A right-to-left target mirrors the whole visual layer. That&#8217;s not damage; it&#8217;s work the visual layer has to absorb.<\/p>\n<p class=\"wp-block-paragraph\">So when you open a translated document and something is wrong, don&#8217;t start by hunting for a bug. Ask the one question that sorts every case:<\/p>\n<p class=\"wp-block-paragraph\"><strong>Did the structure survive, or only the picture?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">Testing it takes about a minute. Open the navigation pane or outline view: are the chapters listed, at the right levels, in the right order? Click a cross-reference: does it jump anywhere? Click inside a table: does a single cell highlight, or have you selected a line of text? Follow a footnote marker: does it lead to a note? If those all work, you have a reflow problem \u2014 the document is fundamentally sound and needs the visual layer adjusted in an ordinary editor. No translation tool will finish that job for you, but it&#8217;s an afternoon&#8217;s work. If the outline is empty and the cells won&#8217;t select, the structure is gone. Restyling won&#8217;t bring it back, because there&#8217;s nothing left to restyle; the document has to be retranslated from the source file.<\/p>\n<p class=\"wp-block-paragraph\">That question is worth asking before you commit to a tool, not after. Run a short test document through it first \u2014 a few pages containing a heading two levels deep, a real table, a footnote, and a cross-reference. Whatever comes back will tell you which layer the tool actually understands.<\/p>\n<h2 class=\"wp-block-heading\">Which file types survive translation \u2014 and which need converting first<\/h2>\n<p class=\"wp-block-paragraph\">The format decides more of the workload than the word count does. Some files come back with new words in the old positions and nothing else changed. Others come back structurally sound but needing a fresh layout pass. A few will never match the source no matter which tool you buy, and knowing that in advance stops you from spending an afternoon hunting for a converter that does not exist.<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Format<\/th>\n<th>Decision<\/th>\n<th>What actually happens<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>EPUB<\/td>\n<td>Translate directly<\/td>\n<td>Text lives in XHTML files with CSS and a spine, so headings, chapters and footnotes survive translation. The fragile parts are CSS boxes sized to the English string, drop caps, and text baked into images. Book Fork reads and writes EPUB natively, which is the least destructive path available.<\/td>\n<\/tr>\n<tr>\n<td>DOCX<\/td>\n<td>Translate directly<\/td>\n<td>Paragraph and character styles carry the structure; direct formatting applied run by run does not. Clear the manual bold and stray line breaks first and the file round-trips well. Tables and figure captions still shift when the target language runs long.<\/td>\n<\/tr>\n<tr>\n<td>ODT<\/td>\n<td>Translate directly, or convert to DOCX first<\/td>\n<td>Same structure model as DOCX and the ODT-to-DOCX conversion is one of the cleaner ones, so if your toolchain only speaks DOCX, convert. Check that custom paragraph styles mapped over before you trust it.<\/td>\n<\/tr>\n<tr>\n<td>HTML \/ Markdown<\/td>\n<td>Translate directly<\/td>\n<td>The most forgiving formats on this list. Markdown especially: headings, lists and links are explicit and re-render identically in any language. Watch text hiding in attributes \u2014 image <code>alt<\/code> text, link titles, meta descriptions \u2014 and never let a translator touch code blocks.<\/td>\n<\/tr>\n<tr>\n<td>Slide decks (PPTX, Keynote, Slides)<\/td>\n<td>Translate directly, then budget a design pass<\/td>\n<td>Slides fail through overflow, not structure. Every text box is a fixed-size frame on a fixed-size canvas, so a target language that runs a third longer either shrinks the type below readable size or spills off the edge. Nothing automatic fixes that.<\/td>\n<\/tr>\n<tr>\n<td>InDesign \/ IDML<\/td>\n<td>Convert to IDML, translate the stories, then a desktop-publishing pass<\/td>\n<td>IDML exposes the story flow cleanly, so translation is straightforward. The rebuild is not. Text frames, master pages, tables and anchored objects were all measured against the source language, and reflowing one paragraph can push copy across a spread.<\/td>\n<\/tr>\n<tr>\n<td>LaTeX<\/td>\n<td>Translate directly at source level<\/td>\n<td>Edit the <code>.tex<\/code> files, never the compiled PDF. Commands, math and citations stay untouched; only the prose between them changes. Recompile and the layout re-solves itself. Escape any characters the target language introduces into a command argument, and remember that labels inside TikZ diagrams or included figures will not translate.<\/td>\n<\/tr>\n<tr>\n<td>PDF with a clean text layer<\/td>\n<td>Overlay, or convert to DOCX\/EPUB for a rebuild<\/td>\n<td>You can keep the page looking almost untouched or you can get an editable document. You cannot have both from one pass. The choice and its costs get a full treatment below.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/bookfork.space\/blog\/2026\/11\/16\/translate-scanned-pdf-for-free\/\">Scanned PDF<\/a><\/td>\n<td>OCR first, then translate<\/td>\n<td>There is no text to translate until OCR runs, and OCR guesses. It merges columns, drops hyphens, misreads small caps and turns a two-column footnote block into a sentence salad. Everything downstream inherits those errors.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p class=\"wp-block-paragraph\">Treat the right-hand column as a budget rather than a verdict. Every conversion in that list has a specific cost, and the costs are not interchangeable.<\/p>\n<p class=\"wp-block-paragraph\">PDF-to-DOCX is the one people reach for first and regret most often. The converter has no idea what a paragraph is \u2014 it sees glyphs at coordinates and infers. So it rebuilds your body text reasonably well, then invents a text box for the running header, another for the page number, another for the pull quote, and sometimes one for a stray line that happened to sit slightly left of the margin. What you get is editable but cluttered, and if you translate the cluttered version you inherit the clutter. Use PDF-to-DOCX when the PDF is the only copy you have and you are prepared to clean up before translating. If a DOCX or InDesign source exists anywhere, use that instead.<\/p>\n<p class=\"wp-block-paragraph\">DOCX-to-EPUB is the opposite case: for a manuscript it is usually the cleanest route available. Word&#8217;s heading styles map onto EPUB&#8217;s structure almost one to one, chapters split where your heading levels say they should, and images travel with their captions. The thing that breaks is page furniture \u2014 running heads, page numbers, &#8220;Chapter 3 \u00b7 47&#8221; footers \u2014 which EPUB does not want in the first place. Strip it before converting rather than deleting it afterwards.<\/p>\n<p class=\"wp-block-paragraph\">Slide decks deserve their own paragraph because the failure mode is so consistent. Nothing goes wrong with the structure: your title placeholder is still a title placeholder, your bullets are still bullets. What goes wrong is that the sentence you wrote in nine words takes fourteen in the target language and the box holds nine. Auto-fit quietly drops the font to 14pt, the slide now looks different from every other slide in the deck, and you fix it by hand, slide by slide. On a forty-slide deck that is an afternoon. Plan for it before you start rather than discovering it at slide twelve.<\/p>\n<p class=\"wp-block-paragraph\">Two formats will never come back identical, and it is worth saying so plainly: scanned PDFs and slide decks. A scan has already lost its structure \u2014 what you recover through OCR is an approximation of the page, generated by a recognizer that was guessing \u2014 and no translation step repairs that. A slide deck keeps its structure perfectly and then refuses to fit the new words into it. If either of those is your source file, the honest goal is a good result, not the same result.<\/p>\n<p class=\"wp-block-paragraph\">A PDF with a clean text layer sits one step behind them. It can come back looking near-identical, but only if you accept that the reading order underneath may be wrong, or accept that the pagination moves. That trade is worth understanding in detail, because most real projects run into it.<\/p>\n<p class=\"wp-block-paragraph\">One last piece of plumbing. When a document has to pass between a translation tool, a CAT tool and the layout application, teams hand it over as XLIFF rather than as the original file. XLIFF carries source and target segments with stable IDs, so whatever receives the file knows exactly where each translated string belongs. TMX does a different job: it moves translation memory between tools, which matters when you are translating a series and want the terminology from book one applied to book three. Neither format carries layout. They solve the coordination problem, not the formatting problem \u2014 useful to know before you assume an XLIFF round-trip will preserve your design.<\/p>\n<h2 class=\"wp-block-heading\">PDFs: reflow, overlay, and the scanned-file problem<\/h2>\n<p class=\"wp-block-paragraph\">A PDF has no structure to preserve, only coordinates. Every page is a list of drawing instructions: put this glyph at this position, draw this rule here. No paragraphs, no headings, no columns \u2014 just marks that the reader&#8217;s eye assembles into meaning. That one fact explains why PDF translation splits into two strategies, and why neither of them comes free.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Overlay<\/strong> keeps the drawing instructions and swaps the text. The tool locates each run of text, translates it, and places the translated string at the same coordinates, ideally in the same font or the closest available match. At a glance the page is untouched: the logo sits where it sat, the sidebar is still a sidebar, the caption still sits under its figure.<\/p>\n<p class=\"wp-block-paragraph\">The costs are invisible until somebody tries to use the file. Text in a PDF is stored in the order the producer wrote it, not the order you read it, so a two-column page or a pull quote can copy out as interleaved nonsense. Words hyphenated across a line break stay broken. Ligatures and subsetted fonts sometimes decode to the wrong characters entirely. Running heads, footers and footnotes sit in the same stream as body text, so a screen reader announces them mid-paragraph and a search hits them at random. And once each translated line is a fixed string in a fixed box, anything longer than the original \u2014 which is most translations out of English \u2014 either overflows, shrinks, or collides with the next element. Fixing it afterwards means nudging coordinates by hand.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Reflow<\/strong> throws the coordinates away. The tool reads the text, rebuilds a document out of it \u2014 chapters, headings, paragraphs, image anchors \u2014 and re-typesets it. Translated text flows the way the new language wants to flow, and what comes back is something a person can edit, search and read aloud without fighting the file.<\/p>\n<p class=\"wp-block-paragraph\">What moves is the pagination. Page 42 of the source is page 47 now, and every internal reference written against the old numbers is wrong: the table of contents, the index, &#8220;see page 42&#8221;, &#8220;as shown opposite&#8221;, figure and table numbering, the line in a contract that says &#8220;on page 3 of 12&#8221;. Regenerating those is a real editorial task, not a formatting detail. That is the trade, stated plainly \u2014 overlay buys fidelity and spends usability; reflow buys usability and spends the page numbering. For a closer look at what each does to the file itself, see <a href=\"https:\/\/bookfork.space\/blog\/2026\/11\/08\/can-a-pdf-be-translated\/\">what actually happens when you translate a PDF<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">Before choosing between them, spend two minutes finding out which kind of PDF you have. Open it, drag across a sentence in the middle of a body page, copy it, and paste it into a plain text editor.<\/p>\n<ol class=\"wp-block-list\">\n<li>The words come back in reading order: there is a usable text layer, and both strategies are open to you.<\/li>\n<li>Nothing selects, or the selection grabs a rectangle over the whole page: the page is an image. You are looking at a scan.<\/li>\n<li>Characters come back scrambled, interleaved between columns, or full of substitutions \u2014 <em>rn<\/em> where an <em>m<\/em> should be, stray boxes and question marks: the layer is damaged or was generated by an old OCR pass, and you should treat the file as a scan anyway.<\/li>\n<\/ol>\n<p class=\"wp-block-paragraph\">Repeat on a few different page types \u2014 a dense body page, a page with a table, a footnote page, the title page. Then search for a distinctive word from the middle of the book. A layer that cannot be searched reliably cannot be relied on for translation either.<\/p>\n<p class=\"wp-block-paragraph\">A scanned PDF has no text layer at all, so nothing can translate it until OCR has run. OCR is itself a conversion from pixels to characters, and it brings its own error rate into the pipeline. Expect confusions between glyphs that look alike (1, l and I; 0 and O; 5 and S in some typefaces), dropped diacritics, hyphenated words rejoined incorrectly, and two-column pages read straight across. Small type, tight leading, tinted backgrounds and anything handwritten make it worse.<\/p>\n<p class=\"wp-block-paragraph\">OCR also only approximates the layout. It returns bounding boxes for the text it thinks it found and guesses at everything else: tables flatten into loose runs of numbers, captions merge into the paragraph above them, labels baked into a figure are simply lost. So a &#8220;scan to translated PDF&#8221; flow is really OCR, then translation, then overlay or rebuild \u2014 and the recognition errors from step one are already inside the file before step two starts. If the document matters, budget time for proofreading the OCR output, or first check whether a born-digital copy of the source still exists somewhere. It usually beats every recovery route.<\/p>\n<p class=\"wp-block-paragraph\">Which brings the section to the practical rule: stop chasing fidelity once you know what the file is for. Trying to make a translated PDF indistinguishable from the original is where most of the wasted effort goes.<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Reading copy, research, internal reference.<\/strong> Reflow. You want text that searches, copies, reads aloud and can be corrected. Regenerate the contents page, add a note that pagination differs from the source edition, and leave the index alone or rebuild it.<\/li>\n<li><strong>A visual artifact \u2014 brochure, portfolio, certificate, anything where the page itself is the deliverable.<\/strong> Overlay, and accept that the result will be harder to edit and weaker for assistive technology. If accessibility is a requirement rather than a nice-to-have, overlay is the wrong answer and a manual rebuild in the original layout program is the right one.<\/li>\n<li><strong>A document you will keep working on.<\/strong> Neither. Go back to the source file. A translated PDF is an output, not a working document, and no tool turns one back into clean, editable structure without a person tidying up afterwards.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">If you do decide to pay for fidelity, spend it where readers look first. A careful desktop-publishing pass on the cover, the contents page and the chapter openers buys more perceived quality than a week spent aligning every footnote on page 180.<\/p>\n<h2 class=\"wp-block-heading\">How a whole-document translation actually runs<\/h2>\n<p class=\"wp-block-paragraph\">A whole-document translation is less like translating a page and more like disassembling a piece of furniture, moving it, and putting it back together with the same joints. The file carries two kinds of information at once: the words, which need to change, and the structure, which must not. Every stage of the pipeline exists to keep those two apart.<\/p>\n<p class=\"wp-block-paragraph\">It runs in roughly this order.<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>Parse and map.<\/strong> The file is opened and its internal structure is read: chapters, headings, paragraph styles, tables, footnotes, image references, embedded fonts. The output is a skeleton \u2014 a model of the document with every text-bearing position identified and everything else marked as structure to be rebuilt later.<\/li>\n<li><strong>Segment.<\/strong> Continuous text is cut along sentence boundaries rather than arbitrarily. A sentence is the smallest unit a translation model can handle well, because meaning and agreement live inside it. Cutting mid-sentence produces fragments that translate poorly and rejoin worse.<\/li>\n<li><strong>Protect.<\/strong> Some spans must survive untouched: URLs, code samples, markup attributes, field codes, file paths, and brand or product names that the glossary marks as fixed. These are swapped for placeholders before translation and restored afterwards, so no model gets the chance to &#8220;helpfully&#8221; localise a URL or translate a variable name.<\/li>\n<li><strong>Translate segment by segment.<\/strong> Each segment goes to the model with the glossary applied \u2014 preferred terms enforced, forbidden terms blocked. Working segment by segment is also what makes a long job survivable: progress is recorded as segments complete, so an interrupted run resumes rather than starting over.<\/li>\n<li><strong>Reassemble.<\/strong> Translated segments are slotted back into the original skeleton, in their original order, inside their original styles. The heading that was an <em>h2<\/em> is still an <em>h2<\/em>; the table is still a table.<\/li>\n<li><strong>Review.<\/strong> Segments are checked against the source, edited where the model drifted, and approved.<\/li>\n<li><strong>Export.<\/strong> The finished file is written out in the target format.<\/li>\n<\/ol>\n<p class=\"wp-block-paragraph\">None of this is glamorous, and the failures are rarely dramatic. They are quiet, structural, and easy to miss until a reader finds them.<\/p>\n<p class=\"wp-block-paragraph\">Take a realistic case: a 240-page EPUB, twelve chapters, thirty images, and a 40-term glossary the publisher maintains for a technical series.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Parsing.<\/strong> The chapter files come apart cleanly, but the images are opaque. A caption typeset into a photograph \u2014 a diagram label, a screenshot of a menu, a chart axis \u2014 is pixels, not text. No parser can extract it, so it passes through untouched and comes back in the source language. The reader sees a translated page with an English caption sitting inside the figure. Fixing that is a separate job: either recreate the image with translated lettering, or add a text caption alongside it.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Segmentation.<\/strong> Mostly uneventful, until a sentence is split across a page break or a footnote marker. Handled well, the fragments rejoin into one sentence before translation. Handled badly, the model translates half a clause twice and the seam shows in the finished book.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Protection.<\/strong> This is where a 40-term glossary earns its keep. If &#8220;Book Fork&#8221; must stay &#8220;Book Fork&#8221;, or a product name must never be rendered in the target language, the glossary enforces it rather than hoping the model remembers. Without that step, the same term drifts between chapters \u2014 translated once, kept once, and half-transliterated somewhere else.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Reassembly.<\/strong> The most common visible damage happens here. A table header row loses its header cell semantics and gets merged into the body, so the table renders as a wall of rows with no labels. A chapter title comes back as ordinary body text because the style was attached to a span rather than the paragraph. The words are correct; the book looks wrong.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Review and export.<\/strong> Segment-level review catches terminology and tone. It does not catch a lost heading style unless someone opens the exported file \u2014 which is why the export should be inspected as a document, not just as text.<\/p>\n<p class=\"wp-block-paragraph\">Book Fork follows this pipeline: it parses EPUB and PDF input, segments on sentence boundaries, protects URLs, markup and code, applies a per-language-pair glossary, and returns finished PDF and EPUB files. Jobs are resumable by design, so completed segments are never retranslated and failures are retried individually. It is one implementation of the approach, not the only one \u2014 but the steps above are what any tool has to do to hand back a document that still looks like the one you sent.<\/p>\n<p class=\"wp-block-paragraph\"><strong>About Book Fork<\/strong>: Book Fork is an open-source, multilingual document translation product for EPUB and PDF files. It parses documents, segments text, and runs glossary-aware, resumable translation through an OpenAI-compatible model chosen by the user, returning finished PDF and EPUB files with structure, chapters, and layout intact. It is aimed at authors and publishers, translators and editors, agencies and studios, and developers. Users can bring their own OpenAI-compatible model for free or use a Book Fork-managed book for a flat $7 per book, up to 1,000 pages. Learn more at <a href=\"https:\/\/bookfork.space\/en\/\">Book Fork<\/a>.<\/p>\n<div class=\"wp-block-group ezdistro-related has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Related<\/h2>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/bookfork.space\/blog\/2026\/11\/08\/how-to-get-a-document-translated\/\" target=\"_blank\" rel=\"noopener\">the two very different jobs behind &#8220;get this document translated&#8221;<\/a><\/li>\n<li><a href=\"https:\/\/bookfork.space\/blog\/2026\/11\/08\/can-a-pdf-be-translated\/\" target=\"_blank\" rel=\"noopener\">what actually happens to a PDF when it is translated<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-document-translation"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"rastin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Book Fork Blog -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-12T07:27:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-16T05:55:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#blogposting\",\"name\":\"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog\",\"headline\":\"How to Translate an Entire Document Without Breaking the Formatting\",\"author\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/author\\\/rastin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#organization\"},\"datePublished\":\"2026-11-12T07:27:14+00:00\",\"dateModified\":\"2026-11-16T05:55:54+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#webpage\"},\"articleSection\":\"Document Translation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/category\\\/document-translation\\\/#listItem\",\"name\":\"Document Translation\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/category\\\/document-translation\\\/#listItem\",\"position\":2,\"name\":\"Document Translation\",\"item\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/category\\\/document-translation\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#listItem\",\"name\":\"How to Translate an Entire Document Without Breaking the Formatting\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#listItem\",\"position\":3,\"name\":\"How to Translate an Entire Document Without Breaking the Formatting\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/category\\\/document-translation\\\/#listItem\",\"name\":\"Document Translation\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#organization\",\"name\":\"Book Fork Blog\",\"url\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/author\\\/rastin\\\/#author\",\"url\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/author\\\/rastin\\\/\",\"name\":\"rastin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#authorImage\",\"url\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/c894b6c744198ca55c9cba25784289a7.jpg?ver=1795605602\",\"width\":96,\"height\":96,\"caption\":\"rastin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#webpage\",\"url\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/\",\"name\":\"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog\",\"description\":\"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/2026\\\/11\\\/12\\\/how-to-translate-an-entire-document\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/author\\\/rastin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/author\\\/rastin\\\/#author\"},\"datePublished\":\"2026-11-12T07:27:14+00:00\",\"dateModified\":\"2026-11-16T05:55:54+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/\",\"name\":\"Book Fork Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/bookfork.space\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog","description":"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.","canonical_url":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#blogposting","name":"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog","headline":"How to Translate an Entire Document Without Breaking the Formatting","author":{"@id":"https:\/\/bookfork.space\/blog\/author\/rastin\/#author"},"publisher":{"@id":"https:\/\/bookfork.space\/blog\/#organization"},"datePublished":"2026-11-12T07:27:14+00:00","dateModified":"2026-11-16T05:55:54+00:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#webpage"},"isPartOf":{"@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#webpage"},"articleSection":"Document Translation"},{"@type":"BreadcrumbList","@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/bookfork.space\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/category\/document-translation\/#listItem","name":"Document Translation"}},{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/category\/document-translation\/#listItem","position":2,"name":"Document Translation","item":"https:\/\/bookfork.space\/blog\/category\/document-translation\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#listItem","name":"How to Translate an Entire Document Without Breaking the Formatting"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#listItem","position":3,"name":"How to Translate an Entire Document Without Breaking the Formatting","previousItem":{"@type":"ListItem","@id":"https:\/\/bookfork.space\/blog\/category\/document-translation\/#listItem","name":"Document Translation"}}]},{"@type":"Organization","@id":"https:\/\/bookfork.space\/blog\/#organization","name":"Book Fork Blog","url":"https:\/\/bookfork.space\/blog\/"},{"@type":"Person","@id":"https:\/\/bookfork.space\/blog\/author\/rastin\/#author","url":"https:\/\/bookfork.space\/blog\/author\/rastin\/","name":"rastin","image":{"@type":"ImageObject","@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#authorImage","url":"https:\/\/bookfork.space\/blog\/wp-content\/litespeed\/avatar\/c894b6c744198ca55c9cba25784289a7.jpg?ver=1795605602","width":96,"height":96,"caption":"rastin"}},{"@type":"WebPage","@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#webpage","url":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/","name":"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog","description":"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/bookfork.space\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/#breadcrumblist"},"author":{"@id":"https:\/\/bookfork.space\/blog\/author\/rastin\/#author"},"creator":{"@id":"https:\/\/bookfork.space\/blog\/author\/rastin\/#author"},"datePublished":"2026-11-12T07:27:14+00:00","dateModified":"2026-11-16T05:55:54+00:00"},{"@type":"WebSite","@id":"https:\/\/bookfork.space\/blog\/#website","url":"https:\/\/bookfork.space\/blog\/","name":"Book Fork Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/bookfork.space\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Book Fork Blog -","og:type":"article","og:title":"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog","og:description":"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs.","og:url":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/","article:published_time":"2026-11-12T07:27:14+00:00","article:modified_time":"2026-11-16T05:55:54+00:00","twitter:card":"summary_large_image","twitter:title":"How to Translate an Entire Document Without Breaking the Formatting - Book Fork Blog","twitter:description":"Whole-file translation keeps structure and layout intact in a way pasted fragments never do. What breaks, which file types survive, and how the pipeline runs."},"aioseo_meta_data":{"post_id":"89","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-16 09:24:02","updated":"2026-11-16 09:24:02"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bookfork.space\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bookfork.space\/blog\/category\/document-translation\/\" title=\"Document Translation\">Document Translation<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Translate an Entire Document Without Breaking the Formatting\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/bookfork.space\/blog\/"},{"label":"Document Translation","link":"https:\/\/bookfork.space\/blog\/category\/document-translation\/"},{"label":"How to Translate an Entire Document Without Breaking the Formatting","link":"https:\/\/bookfork.space\/blog\/2026\/11\/12\/how-to-translate-an-entire-document\/"}],"_links":{"self":[{"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":1,"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/posts\/89\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bookfork.space\/blog\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}