Skip to main content

Document Translation: Case Study

Machine translation is fast, but it has no idea which words in your document must stay exactly as written. Product names, people's names, legal citations, chemical formulas and program code all get "helpfully" translated into nonsense. Translators, students and localization teams use TextPipe to protect those words before translation and restore them afterwards. The scenario below is typical of what our customers describe, and the figures are representative of their reports.

The client

Our client is a foreign student preparing for professional entry tests. Study material, practice papers and reference notes arrive in one language and have to be read in another, so the student runs long documents through translation software. A similar problem faces small translation agencies and in-house localization teams that handle manuals, contracts and course notes.

The challenge

Before translating a large document, the student builds a "Do not translate" list of words that the translation software gets wrong. The list can reach one hundred entries: exam names, institution names, acronyms, technical terms, sample answers and quoted passages. Left alone, the software turned an exam title into a literal phrase, rendered a person's surname as a common noun, and changed variable names inside code samples.

Fixing this by hand was slow. A 300-page study guide produced hundreds of wrong substitutions, and each one had to be found with the search box and corrected one at a time. Corrections were also inconsistent, because the same term was sometimes fixed in one chapter and missed in another. The translation tool's own glossary feature handled only a few dozen terms and could not be reused across tools.

The solution

The student turned the "Do not translate" list into a pair of TextPipe filter lists, one to run before translation and one to run after. The approach works in three steps:

  1. Protect. The first filter list replaces each protected word with a unique placeholder token, for example QX0001Z, which translation software passes through untouched. Search and Replace filters match whole words only, so a short term is never replaced inside a longer one, and the list is applied longest term first.
  2. Translate. The protected file goes through the translation software as usual. The software only sees ordinary text and placeholders, so nothing on the list can be mistranslated.
  3. Restore. The second filter list swaps every placeholder back to the original word. Because it is the exact reverse of the first list, every term returns exactly as written, in every chapter.

The student used EasyPattern expressions for entries with a pattern rather than a fixed spelling, such as exam codes, reference numbers and citations. Both filter lists were saved, so a new document needed no extra setup. For a different subject, the student only edited the list of terms.

The results

  • Review time: proofreading a 300-page translated guide dropped from about two days of manual corrections to roughly two hours.
  • Consistency: all 100 protected terms came back unchanged in every chapter, where manual correction had missed an estimated one in ten occurrences.
  • Processing speed: the protect and restore passes each ran in seconds on the full document, and the same filter lists ran over a whole folder of files in one batch.
  • Reuse: the saved lists were reused across about 20 documents, and a classmate copied them for a different language pair without changes.

Beyond one-off translation

Agencies handle the same problem at larger scale. A style guide may specify hundreds of brand names and approved terms, and the Word files that come back from translators need checking against it. WordPipe applies the same kind of find and replace across a whole folder of Word documents while keeping formatting intact. Our guides explain how to run consistent terminology updates across a document set, replace Unicode text in Word documents for multilingual content, and mass replace phrases in Word documents. The TextPipe translation page describes the translation-related filters in more detail.

Related reading

The general techniques are covered on the content management and data conversion solution pages. For other text-heavy industries, see the publishing and education case studies.

See also: Testimonials and Customer Uses for TextPipe Pro