An IDML file (InDesign Markup Language) is the open XML version of an InDesign document, introduced with InDesign CS4. It is a ZIP package of XML files describing the document’s spreads, stories, styles and resources; fonts and linked images are not stored inside it. Smartcat processes IDML and INX, and it also takes Adobe’s binary .indd file itself: it converts the .indd to IDML, translates it and returns an .indd.
IDML translation means extracting the text from each story while leaving that structure untouched. Smartcat turns story text into translatable segments with inline formatting protected as tags, applies your glossary and translation memory, and writes the translation back into the same package. One thing does not change automatically: geometry. Text frames keep their original size, so longer languages can overset.
To save an IDML yourself, Adobe’s InDesign help on saving documents says to choose File › Save and pick “InDesign CS4 or later (IDML)” as the format. IDML files open in supported earlier versions of InDesign, though some newer features may not be preserved in the conversion.