Translate an InDesign file and keep the formatting
Why formatting breaks when you translate an InDesign document, and how to use DeepL inside InDesign so fonts, colours and sizes stay as you set them.
Most complaints about translating InDesign files are not about the translation. They are about what happens to the layout afterwards: headings that lost their colour, a bold phrase that is now regular, a paragraph that fell back to the default font. This article explains why that happens and how to avoid it.
Why formatting gets lost
A text frame in InDesign is not one block of text. It is a run of small pieces, each with its own font, size, colour and style. A heading with one word in orange is at least three pieces.
When you copy that text out, translate it and paste it back, you paste one piece. InDesign applies a single set of attributes to all of it, and the orange word is gone. The translated sentence may also put that word in a different position, so there is no simple rule for putting the colour back.
The same thing happens with character styles, with tracking and baseline shifts, and with every table cell.
What "keeping the formatting" has to mean
A tool that keeps formatting has to do three things:
- Read the text together with its attributes, not as plain text.
- Translate it.
- Write the translation back into the same frame and apply the fonts, colours and sizes again.
That only works from inside InDesign, where the attributes are available. It is the reason a plugin can do what a website cannot.
Using DeepL inside InDesign
If you or your team already use DeepL, you can keep using it. LangoAi Translator DeepL for InDesign runs in a panel inside InDesign and sends the text to DeepL with your own DeepL API key.
The steps:
- Open your document.
- Open the LangoAi panel and enter your DeepL API key. It is saved for next time.
- Choose the target language.
- Translate the whole document, or select text and translate only the selection.
The text is replaced in place. Fonts, colours, sizes and text formatting are kept.
Work on a copy first
Translation replaces the text in the document you have open. Before you start, save a copy with the language in the file name. You keep the original untouched and you get one file per language, which is how a printer will want them anyway.
After the translation
Keeping the formatting does not mean the page is finished. A translated sentence is rarely the same length as the original, and the layout was designed around the original.
- Overset text. A frame that cannot hold its text shows a red plus sign. Make the frame larger, tighten the copy, or reduce the size slightly.
- Headlines. A headline that fitted on one line may now need two. Check every page opener.
- Hyphenation. Set the text language in the Character panel so words break correctly.
- Characters. Make sure the typeface has every character the new language needs.
A short checklist
- Save a copy of the document per language.
- Translate the whole document, then page through it once.
- Fix overset frames and headlines.
- Set the text language for hyphenation.
- Ask a reader of the language to check anything going to print.
LangoAi Translator DeepL for InDesign needs InDesign 18.5 or later and is available on Adobe Exchange.
