Translate & Fit for Illustrator moves text from an Illustrator document into an XLIFF translation workflow, then imports the translated file back into that document. It also checks for overset frames and can reduce character settings to fit translated text within limits you choose.

Save the document before exporting. Each paragraph becomes a translation unit, and threaded text frames are exported as one story. The script writes its files next to the document, so keep the accompanying map file with the XLIFF.

Export, import, and review

  1. Run Translate & Fit from File > Scripts, choose Export XLIFF, and enter the language codes.
  2. Send the XLIFF for translation and keep the map file.
  3. When the translated XLIFF returns, import it into the same document. Check the overset list and use Select frame to visit each flagged frame.
  4. Choose Fit overset text, review every page, then save with File > Save As. The script does not save the document for you.

How inline formatting is handled

Formatting inside a paragraph, such as bold, italic, color, and size changes, is represented by tags in the XLIFF. The translator needs to keep each tag around its matching words for the import to apply the saved formatting. Fonts for the translated text must be installed.

Before importing, the script checks the XLIFF against the export and the current document. A failure involving missing or unknown tags, line breaks, paragraphs missing from the XLIFF, paragraphs edited after export, or uninstalled fonts prevents the import. The report identifies the affected paragraphs, and paragraphs with an empty translation stay as they are.

Fit translated text within set limits

Fit tightens tracking first, then reduces horizontal scale, then reduces font size. It stops when the text fits or reaches the limits you set. The defaults are tracking -20, horizontal scale 95%, and font size -0.5 pt. Each value only decreases from that character's existing setting. Text larger than the body text, such as a heading sharing a frame with body text, is left unchanged by default.

Frames are not resized and wording is not changed. If a frame cannot fit within the limits, it is restored to its original state and listed. The Fit report records before and after values for the overset frames it processes.

Check these limits before using it

  • Point text is not flagged by the overset check, so inspect translated headings and other point text by eye.
  • Text converted to outlines and text inside images is not exported. Right-to-left and vertical text have not been tested.
  • The script works on the active document and does not process a folder.
  • Illustrator cannot undo the entire script run in one step. To discard an import or Fit run, close without saving or choose File > Revert.

The included sample lets you test export, import, and Fit. Pseudo-translation can lengthen your own XLIFF while keeping its tags. In the separate trial build, export, Check overset, and pseudo-translation are unrestricted; Import and Fit have per-document limits that carry across runs. The listing specifies Adobe Illustrator 2026 or later. See the Translate & Fit for Illustrator product listing for the trial details.