Whole-Book Translation with Million-Token Context: What It Can Do and Where Its Limits Lie

    Long-context models make it possible to translate an entire book in fewer passes, but they do not eliminate consistency problems. This article explains why short-context chunking causes style drift and entity inconsistencies, what longer context can and cannot fix, and how to choose between whole-book input and segmented translation. It then outlines a practical workflow: build the glossary and style guide first, maintain per-chapter style snapshots, combine automated checks with human review, and use back-translation as an initial screening method with clear limits.

    Why Short Contexts Produce Inconsistency

    With a 32K or 128K window, an entire book usually has to be split into chunks and translated chunk by chunk. When the model translates Chapter 20, it cannot see how a character is addressed in Chapter 3, nor can it see the author’s rhetorical habits. This leads to two types of problems.

    The first is style drift. The first half may be archaic and literal, while the second half becomes colloquial and free. The result reads as if two different translators worked on the book.

    The second is entity inconsistency. The same person or place name may be translated differently in different chapters, leading readers to think they are different characters or locations.

    What Long Context Can and Cannot Solve

    Longer input lets the model reference more preceding text at once. Names and terminology that appeared earlier can be directly reused later, which directly helps unify translations.

    There are three caveats.

    First, the model does not use all positions in a long input evenly. In the 2023 paper “Lost in the Middle,” Liu et al. found that language models recall information in the middle of long inputs noticeably worse than information at the beginning and end. If an entire book is fed in at once, terms in middle chapters may not be followed.

    Second, cost increases with input length. Every request reprocesses the entire input, so repeated revisions quickly raise both cost and waiting time. There are three ways to reduce cost. Use provider-supported prompt caching for fixed prefixes such as the glossary and style guide. Use batch endpoints for non-real-time tasks. Retranslate only changed paragraphs incrementally instead of rerunning the whole book each time.

    Third, a model’s nominal context limit is not the same as its effective limit. The actual usable length must be determined by testing your own manuscript. A simple test is to place the same term at the beginning, middle, and end of the input, then observe how consistently the model follows it at different positions.

    Whole-Book Input or Segmentation

    The decision depends on the length of the book, the budget, consistency requirements, and whether repeated retranslation is needed.

    If the whole book fits within the model’s effective window, the budget allows it, and only one final draft is needed, you can input the glossary and style guide together with the full text. Otherwise, segment by chapter, attaching the glossary and a snapshot of preceding chapters to each segment.

    There is no universal answer for segment size. The following values are only starting points: 2,000 to 4,000 tokens per segment, with 1 to 2 segments of overlap between adjacent segments, and chapter boundaries preferred as split points. Actual values should be adjusted for the model used, the source language, and reserved output space. Translation length usually differs from the source text, so the output budget should be reserved based on the measured ratio in the target language. The best segment size must be measured on your own manuscript; there is no fixed optimum.

    Step 1: Build the Glossary and Style Guide First

    Before formal translation, extract high-frequency person names, place names, and proper nouns from the whole book. Decide their translations one by one and record variant spellings in the source. For formatting markers such as italics, book-title marks, and quotation marks, agree on the target representation in advance rather than letting the model infer it.

    Below is an example prompt structure:

    1. [Role]
    2. You are a translator with experience in literary translation, responsible for translating an English novel into Chinese.
    3. [Glossary]
    4. Person: Elizabeth Bennet → 伊丽莎白·班内特 (consistent throughout the book; do not use other translations)
    5. Place: Longbourn → 朗博恩
    6. [Style Guide]
    7. 1. Maintain a nineteenth-century narrative register; avoid internet slang.
    8. 2. Use double quotation marks for dialogue; consistently convert source italics to Chinese kaiti.
    9. 3. For new proper nouns not in the glossary, list them under "New Terms," recording only candidate translations. Do not decide on a formal translation yourself.
    10. [Previous Style Snapshot]
    11. (paste the snapshot from the previous chapter here)
    12. [Source Text to Translate]
    13. (paste the body text for this segment here)

    Item 3 is critical. New translations produced by the model are only candidates. They can be written into the glossary only after human confirmation. Otherwise, unvetted translations will spread into later chapters and create new inconsistencies.

    Step 2: Use Style Snapshots for Long-Range Consistency

    After each chapter is translated, ask the model to output a short style snapshot. When translating the next chapter, input the snapshot together with the glossary. The snapshot format can be fixed as follows:

    1. Chapter: Chapter N
    2. New person and place names:
    3. New terms and translations:
    4. Tone and sentence patterns: (e.g., sentence length, register, dialect traces)
    5. Open questions:

    Keep the snapshot within 300 to 500 characters. As snapshots grow longer with each chapter, they take up effective context and worsen the problem of middle information being ignored.

    When a snapshot exceeds the length limit, compress it in this order: first delete examples and quotations, then merge tone descriptions, and touch terminology last. Person and place names, term translations, and open questions must be retained. After an open question is confirmed by a human, remove it from the snapshot. The next chapter should inherit only the compressed snapshot; full snapshots from earlier chapters should no longer be input.

    Step 3: Automated Checks Plus Human Review

    After translation, run mechanical checks with scripts. For example, use rules to extract glossary names from the source text, then check whether the translation contains variant names outside the glossary. These checks are low-cost and can catch many obvious errors.

    Human review should focus on semantic issues, including whether forms of address match character relationships, whether foreshadowing and callbacks are consistent with earlier text, whether numbers and units are accurate, and whether chapter title formatting is consistent.

    The Role and Limits of Back-Translation

    Translating the Chinese target text back into the source language and comparing it with the original can reveal omissions and passages with large meaning shifts. This method is inexpensive and suitable for initial screening.

    Its limits are also clear. The model may make the same mistake in both directions; in that case, the back-translation looks fluent but hides the mistranslation. Back-translation also cannot prove factual correctness. Therefore, back-translation should be used only as an initial screening method.

    The following sampling ratios can serve as a baseline: back-translate all chapters for initial screening; have bilingual readers spot-check about 10% of chapters; for key chapters involving plot turns and first appearances of characters, raise the spot-check ratio to more than 30%.

    These figures are suggested baselines and should be adjusted by budget and risk. When the translation is intended for high-risk scenarios such as publication, legal, or medical use, the spot-check ratio should be increased.