Translate & Fit is a tool for Adobe Illustrator. It exports the text of a document as XLIFF for a translation tool, imports the translated XLIFF into the same document, then lists the frames that overflow and fits them within limits you set.

What it does

  • Each paragraph is one translation unit. Bold, italic, color and size changes inside a paragraph travel as tags such as <g id="1">two years</g>, which the translator keeps around the matching words.
  • Threaded text frames are exported as one story, so a sentence that runs from one frame into the next stays in one unit.
  • Before it writes any text, import checks the XLIFF against the export and the current document: missing or unknown tags, paragraphs missing from the XLIFF, paragraphs edited after the export, and fonts that are not installed. If a check fails, it lists each problem with its paragraph and does not import.
  • Check overset lists the frames that overflow after import.
  • Fit tightens tracking first, then horizontal scale, then font size, and stops as soon as the text fits. A frame that cannot fit within your limits is put back as it was and listed.

What to know before you run it

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

Trial

The trial is a separate build and comes with a sample document, so you can run export, import and Fit from start to finish. Export, Check overset and pseudo-translation are unrestricted. Import and Fit have per-document limits. Pseudo-translation makes the text of your own XLIFF longer by a percentage you choose and keeps the tags, which shows how your layout responds before any real translation exists.

Requirements

  • Adobe Illustrator 2026 or later for the script version. The panel version supports Illustrator 2026.
  • Windows. macOS has not been tested, so try the free trial on your Mac before buying.
  • The document must be saved before you export, and the fonts for the translated text must be installed

Tutorial

Related articles

Custom work and support

If the tool comes close to what your job needs but stops short, I take paid work to adjust it or to write a separate script for your files. See Work with me.

To report a bug or ask a question, email hi@linguist-coder.com.