File Import Settings

XLIFF 1.2 and 2.0 (XML Localization Interchange File Format)

Tag content of source file can be visualized in the Editor by clicking Expand Tags under the Tool menu and edited by clicking F2.

File Types

  • .XLF

  • .XLIFF

  • 2.0 Only

    Files with the file header <xliff version="2.0">

Import Options

  • Import <note>

    Data from the <note> element will be displayed in the Context window.

    Only a <note> in a <unit> is supported (according to XLIFF 2.0 standards).

  • Save Confirmed Segments to TM on import

    Segments imported as Confirmed are saved to the project translation memory in Write mode.

  • Segment XLIFF

    Standard segmentation is applied. If not selected, one element will be one segment. This may result in multiple sentences per segment.

  • Interpret linebreak/pagebreak tags

    XLIFF linebreak and pagebreak tags create new segments.

  • Preserve whitespaces

  • Copy source to empty target if segment is not imported

  • 2.0 Only Represent text with attribute "translate=no" as non-translatable tags

  • 1.2 Only Context note

    Context must be in either trans unit in elements context-group or context with context-type attributes.

  • 2.0 Only Context key

    The context must be in the unit element or unit descendants. The base node (context node) for the XPath evaluation is the unit element. The default XPath is: @id.

Import Segment Rules

Adding rules changes the default import settings. Rules can be combined or added and can be applied using the available form or manually. Custom XLIFF states are supported. Separating arguments by a comma creates the AND logical relationship, while a new line creates the OR logical relationship. Xpath can also be used in rules.

By default , all XLIFF trans-units are imported. If segmentation is performed, <source> is segmented and <seg-source> is not. The status of all segments after import is not confirmed nor locked.

Custom Import Settings

  • Do not import segment when

  • Set segment confirmed when

  • Set segment locked when

Export Attributes Mapping

Adding rules changes the default import settings. Rules can be combined or added and can be applied using the available form or manually. Custom XLIFF states are supported.

By default, all XLIFF trans-units in the exported target file will look identical to the source excepting that the target will be translated. To change the XLIFF states, segment statuses can be mapped to XLIFF states.


New to Translated in the exported target XLIFF file.

Custom Export Settings

Specific target attributes can be mapped based on the following Memsource segment statuses:

  • Confirmed and locked

  • Confirmed and not locked

  • Not confirmed and locked

  • Not confirmed and not locked

Maximum Target Length

When a unit is divided into more segments, all segments will have the same maximum length property. This will be equal to the maximum for the unit.

In this case, the following warning is returned after import:

A unit is split to more segments, the maximum length limit will be checked for each segment separately.


The attribute maxwidth can be used to specify maximum target length for translation in these conditions:

  • Maxwidth must be in a trans-unit element (not in a group).

  • Size must be specified in size-unit="char" or size-unit="percent".

  • There is only one segment in the trans-unit element.

    A warning is displayed if there are more segments in the trans-unit element.


The maximum target length feature is supported only if:

  • The file element contains slr:profiles with generalProfile="xliff:codepoints"

  • Unit in the file contains the sizeRestriction attribute.

The maximum value is then set as the maximum length property of the segment.

Application Specific Settings

Wordpress XLIFF

When importing WordPress XLIFF files generated by the WPML plugin, select the WordPress XLIFF file type when creating the job.

The Wordpress filter uses the HTML subfilter, so HTML Import Settings can be applied. If more customization is required than available in HTML Import Settings, XML format should be used.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question you can leave a public comment below or Submit a request to our Support team.
Thank you for your feedback.



Article is closed for comments.