# Translated files & XLIFF

> What you get back at delivery, how to tell a download is current, and how XLIFF import and export fit around external tools.

Canonical: https://docs.lionrapid.com/files/translated-files/

Delivery is where translated rows turn back into documents. This page describes the files you download, and the XLIFF paths in and out of a project for working with other translation tools.

## Creating translated files

On the hub’s **Delivery** tab (project managers and admins), select **Create translated files**. Every file is rebuilt for every target language in two stages, shown on the file card as **Rebuilding layout** and **Generating output**. When a rebuild finishes its file appears under **Your files**, with **Download**, and **Download all** fetches every file. The same list is in the **Create files** section of the [Deliver dialog](https://docs.lionrapid.com/delivery/finishing-a-project/#deliver).

Rebuilding is repeatable: **Re-create the files** builds them again from the rows as they are now. A file whose rows were edited after it was created is marked **Rows changed since: re-create to include them**, so you can tell a current file from a stale one. Downloading or rebuilding never requires re-opening a completed project.

Two things can block delivery:

- **Unpaid assignments** — files cannot be created or downloaded until accepted offers are settled. See [Delivery & payments](https://docs.lionrapid.com/delivery/).
- **Open QA issues** at error or critical severity are flagged before delivery. See [QA & entities](https://docs.lionrapid.com/editor/qa-and-entities/).

## What you download

| Property | Behaviour                                                                                                     |
| -------- | ------------------------------------------------------------------------------------------------------------- |
| Format   | Same as the source file: `.docx` in, `.docx` out; `.pdf` in, `.pdf` out                                       |
| Name     | The source name with the target language appended, for example `report_fin.docx`                              |
| Scope    | One file per source file and target language, downloaded individually                                         |
| Content  | The original document with translated text in place; see [what gets translated](https://docs.lionrapid.com/files/what-gets-translated/) |

A row that is still empty in a target is delivered with its **source text**, so an unfinished file is complete but partly untranslated rather than full of gaps. Check the editor’s progress counts before delivering.

## XLIFF

XLIFF is the exchange format between translation tools. A project supports it in two ways.

### Importing pre-existing translations

Any source document can carry a companion XLIFF that already holds translations, for example from a previous vendor or an external CAT tool. Use the **Import XLIFF** icon on the file’s row in the project dialog’s [Files & languages](https://docs.lionrapid.com/project-creation/#files--languages) section.

- Accepted: XLIFF 1.2, 2.0, 2.1 and 2.2, plus `.sdlxliff` and `.mqxliff`.
- The XLIFF’s segmentation is used for the file, so the rows in the editor match the translation units, not the platform’s own sentence split.
- Translation units are matched to the document **in order**. The XLIFF should have been produced from the same version of the document, with the units in document order; a reordered or partial XLIFF lines up wrongly.
- Rows that arrive with a translation skip machine translation; empty units are machine-translated as usual.

### Exporting

**Export as XLIFF** on the Delivery tab downloads the whole project as a ZIP of **XLIFF 1.2** files, one per source file and target language, named like `report_eng-fin.xlf`. Use it to hand a project to an external tool or reviewer; bring the result back with the import above.

Translation memories have their own TMX export on the [Resources page](https://docs.lionrapid.com/resources/translation-memories/).

## Related

- [The project hub](https://docs.lionrapid.com/projects/project-hub/#delivery) — the Delivery tab
- [Delivery & payments](https://docs.lionrapid.com/delivery/)
- [PDF documents](https://docs.lionrapid.com/files/pdf-documents/) — the fixed-layout case
