The XLIFF file filter by default imports files with the following extensions:
Tag Content Visualized
The tag content of the source XLIFF file can be visualized via Edit - Expand Tags and edited via F2 in Memsource Editor and Web Editor.
If selected, data from the <note> element will be displayed in Context window, so that linguists can view them next to each segment.
Saving Confirmed Segments to TM
By selecting the option Save confirmed segments to TM on import, all segments that get imported to Memsource as confirmed, will be saved to the project's translation memory in the write mode.
Context in xliff has to be in trans unit in elements context-group / context with attribute context-type.
<trans-unit id="130"> <context-group> <context context-type="context">Context of the segment</context> </context-group> </trans-unit>
Interpreting Linebreak Tags
The option interpret linebreak/pagebreak tags will cause XLIFF linebreak and pagebreak tags create a new segment.
Import Segment Rules
Adding rules to this section will change the default import settings.
Rules can be combined, added using the available form or manually. Custom XLIFF states are supported. Separating arguments by comma creates the AND logical relationship, while a new line creates the OR logical relationship.
By default (if no rules are added), all XLIFF trans-units will get imported into Memsource. Memsource will always segment <source> but not <seg-source>, unless the user turns off segmentation completely (in that case nothing will get segmented). The status of all segments in Memsource after import will be not confirmed and not locked.
Custom Import Settings
- Do not import segment when
- Set segment confirmed when
- Set segment locked when
Export Attributes Mapping
Adding rules to this section will change the default export settings.
Rules can be combined, added using the form or manually. Custom XLIFF states are supported.
By default (if no rules are added), all XLIFF trans-units in the exported target file will look identical to the source except that the target will be translated. To change the XLIFF states e.g. from new to translated in the exported target XLIFF file, Memsource segment statuses can be mapped to XLIFF states.
Custom Export Settings
Map to specific target XLIFF attributes based on MemSource segment statuses:
- Confirmed and locked
- Confirmed and not locked
- Not confirmed and locked
If a source XLIFF trans-unit segments into two or more segments in Memsource, all of these segments will have the attributes of the first segment once exported into target XLIFF trans-unit.
Maximum Target Length
Attribute maxwidth in XLIFF 1.2 can be used to specify maximum target length for translation, but under specific conditions:
- maxwidth must be in trans-unit element (not in group)
- size must be specified in size-unit="char" or size-unit="percent"
- there is only one segment in trans-unit element (warning will be displayed if there is more segments in trans-unit element