Translates

How to say it in other languages, and what words mean

Spanish

Translation Formatting Mistakes & File Formats

· 6 min read · Spanish

In this article
  1. Why File Formats Matter in Translation
  2. Common Formatting Mistakes Caused by File Formats
  3. How File Formats Affect Translation Workflows
  4. Choosing the Right File Format for Translation
  5. Common Problems with Specific File Formats
  6. How to Avoid Formatting Mistakes
  7. File Format Comparison: Which Is Best?
  8. Cost and Time Implications
  9. Safety and Accuracy in Translation Files
  10. Frequently Asked Questions

Yes, translation formatting mistakes are closely tied to file formats—most errors happen when text is translated in the wrong format or when the target file type doesn't preserve the original layout, fonts, or character encoding. Formatting issues like broken line breaks, missing bold/italics, or garbled characters are usually symptoms of a file-format mismatch, not the translation itself.

Why File Formats Matter in Translation

When you translate a document, you're not just swapping words—you're transferring content across languages while keeping the structure intact. Different file formats store text and formatting in different ways. For example, a Word document (.docx) stores text in XML with separate style definitions, while a PDF stores text as positioned glyphs with no logical flow. If you translate a PDF by copying text into a plain text editor, you lose all formatting. If you translate an HTML file and save it as plain text, you strip the tags that define headings, links, and bold text.

File formats also affect how characters are encoded. Older formats like .txt may use ASCII or ANSI encoding, which doesn't support accented characters (é, ü, ñ) or non-Latin scripts (Cyrillic, Arabic, Chinese). If you save a translated file in the wrong encoding, you'll see question marks or boxes instead of letters.

Common Formatting Mistakes Caused by File Formats

  • Line breaks and paragraph spacing: When translating from a format like PDF or InDesign, text reflows differently in the target language. If you don't adjust the layout, you get awkward breaks or overlapping text.
  • Font and size issues: Some fonts don't support certain scripts (e.g., a Latin-only font can't render Cyrillic). If the file format doesn't allow font fallback, characters appear as squares.
  • Bold, italics, and underline: In rich text formats like .docx or .rtf, these are stored as tags. If you translate in a plain text editor, you lose them entirely.
  • Tables and alignment: In spreadsheets (.xlsx) or tables in documents, translated text can be longer (e.g., German is ~30% longer than English), causing columns to overflow or wrap incorrectly.
  • Character encoding corruption: Saving a UTF-8 file as ANSI (or vice versa) mangles accented characters and non-Latin scripts.

How File Formats Affect Translation Workflows

Professional translators use CAT (Computer-Assisted Translation) tools like SDL Trados, memoQ, or Phrase, which work with specific file formats. These tools extract translatable text from the source file, store it in a bilingual format (like .xliff or .tmx), and then reinsert the translation into a copy of the original file. If the source file is in an unsupported format, the translator may have to convert it, which can introduce formatting errors.

For example, a .dwg (AutoCAD) file cannot be opened in a CAT tool directly. The translator might export text to a .txt or .docx, translate it, and then you have to manually re-enter it into the CAD file—a process that often breaks formatting. Similarly, translating a scanned PDF requires OCR (optical character recognition) to extract text, which can misread characters and lose formatting.

Choosing the Right File Format for Translation

The best file format for translation is one that preserves both text and formatting while allowing for easy editing. Here's a quick guide:

  • For documents: .docx (Word) is the safest, as it's widely supported and stores formatting in a structured way. .odt (OpenDocument) is also good but less common.
  • For websites: HTML or XML files are ideal, as they separate content from presentation (CSS). Translators can work on the text without touching the code.
  • For software: .po (gettext) or .xliff files are standard; they store strings and translations in a structured format.
  • For design files: InDesign (.indd) is best if the translator uses InDesign plugins like InCopy. Otherwise, export to .idml (InDesign Markup Language) which is more compatible.
  • Avoid: PDF (unless it's a tagged PDF), scanned images, and .pages (Apple Pages) unless you convert them.

Common Problems with Specific File Formats

PDF

PDFs are the most problematic. They store text as shapes, so editing requires special tools. Translating a PDF often involves either using a PDF editor (like Adobe Acrobat) or converting to Word first. But even then, text boxes, images, and complex layouts can shift. A common mistake is using a free online converter that produces a .docx with broken formatting—then the translator has to fix it, which costs time and money.

Excel and CSV

Spreadsheets are tricky because text length changes can break column widths and cause cell content to be cut off. Also, CSV files have no formatting at all—just plain text with delimiters. If you translate a CSV, you lose any colors, fonts, or data validation.

HTML and XML

These are usually fine, but translators must be careful not to alter tags or attributes. A common mistake is translating the content of an attribute (like alt text) without realizing it's in a tag, or accidentally translating code snippets.

Image-based formats (PNG, JPG)

If text is embedded in an image, you can't translate it without image editing software. Some CAT tools can handle this via OCR, but the output is often imperfect.

How to Avoid Formatting Mistakes

  1. Provide source files in editable formats (Word, InDesign, HTML) rather than PDFs or images.
  2. Use a translation management system that handles file conversions automatically, like Phrase or Lokalise—they can import many formats and export them back with formatting intact.
  3. Set up a style guide that specifies font, size, and text expansion rules (e.g., allow 30% extra space for German).
  4. Test the translated file in its final environment (e.g., open the HTML in a browser, the Word doc in Word) to check for layout issues.
  5. Use a translation memory to ensure consistent terminology and reduce errors.

File Format Comparison: Which Is Best?

No single format is universally best; it depends on your content type. For text-heavy documents, .docx is the most forgiving. For software strings, .po or .xliff are standard. For marketing materials with complex layouts, InDesign (or .idml) is ideal. For simple text, even a .txt file works—but you'll lose all formatting. The key is to match the format to the content's purpose and the translator's tools.

Cost and Time Implications

Formatting mistakes can increase translation costs and turnaround time. If a translator has to manually fix broken layouts, they'll charge extra (often hourly) or you'll need a DTP (desktop publishing) specialist. A poorly formatted source file can also lead to more back-and-forth, delaying your project. Investing in the right format upfront saves money in the long run.

Safety and Accuracy in Translation Files

When handling files, ensure you use secure transfer methods, especially for confidential documents. Also, always keep a backup of the original source file. For accuracy, never rely solely on machine translation for critical content—always have a human review, especially when formatting is complex.

Frequently Asked Questions

Can I translate a PDF without losing formatting?

Yes, but it's not easy. You can use a PDF editor to replace text directly, or convert to Word and reformat. For best results, use a professional translation service that has PDF editing tools and DTP capabilities.

Why do accented characters appear as question marks in my translated file?

This is an encoding issue. The file was likely saved in a character set that doesn't support those characters (e.g., ANSI instead of UTF-8). Open the file in a text editor and save it as UTF-8, or ask your translator to do so.

What is the best file format for website translation?

HTML or XML files are best, as they separate content from design. You can also use JSON or YAML for single-page apps. Avoid translating directly in a CMS that doesn't support internationalization.

Do I need to translate text in images separately?

Yes, text embedded in images is not editable. You'll need to extract it, translate it, and then re-insert it using image editing software. Some CAT tools can OCR images, but the quality varies.

How do I handle text expansion in translated files?

Plan for extra space. For example, German and French are often 30% longer than English. In design files, allow for text overflow or use auto-fit features. In spreadsheets, widen columns or use wrap text.