Help › Export and ownership

Import translations

BuiltLast updated

On this page

You can import translations from a file. A translation agency can work on an export and send the file back.

Formats you can read#

JSON, XLIFF 1.2, XLIFF 2.x, PO, POT, CSV and TMX 1.4. Read-only importers also exist for Android strings.xml, WebExtension messages.json and simple key-value JSON. Those three need a file in your source language as a reference, so the importer knows which text each key stands for.

How strings are matched#

  1. By the key in the file, if it is one of ours.
  2. Otherwise by the text itself. The importer works out the key from the source text, in three spellings of the escapes.

What is checked#

Imported translations get a state from the file where it has one, otherwise they are saved as manual.

Try first#

Use the dry run. It reads the file and tells you what would change without changing anything. With the command-line tool: rl import fr.xlf --lang fr --dry-run.

Safe by design#

The importer does not follow external entities in XML, limits file size, count, length and depth, accepts only valid text encoding, and removes control characters.

Known gaps#