Resources

Importing Content to a Translation Memory

Data can be imported into a Memsource translation memory. To do this, open the Translation Memories page, select your TM, and click on the Import button.

Supported file types:

  1. TMX - a standard exchange format supported by most CAT tools.
  2. MXLIFF - a special Memsource bilingual XLIFF.
  3. XLS - a specially formatted Excel file.
  4. SDL WorldServer XLIFF - available only for import, not for export.

Import Options

Once you click the Import button, you'll see a File field that you can use to drag and drop files to and a Browse button. You'll also see three checkboxes: Remove tags, Strict locale matching, and Ignore not confirmed segments.

TM_import

Remove tags will remove all of the tags that were imported from TMX files. However, the special Memsource tags ({1} or <2}) in XLSX and MXLIFF files will be preserved.

Strict locale matching will prevent the importing of a language if it has a different locale than the project. For instance, a file with an "EN_US" designation will not be imported into a TM with an "EN" designation.

Selecting Ignore not confirmed segments (MXLIFF) applies only to import of MXLIFF and it will ensure that segments that were not confirmed in the MXLIFF file will not be imported into the TM.

Adding, Skipping, and Overwriting Segments:

When importing content into a TM that already contains segments, these segments will either be added as new segments, overwrite existing segments, or skipped altogether. If a segment has the same source, target, and context as a pre-existing segment, the new segment will be skipped and not added to the Memsource TM. If the new segment has the same source and context, but with a different target than another segment, the new segment will overwrite the pre-existing segment. All other segments will simply be added to the translation memory.

TM Import Errors

At times, you may receive an error during a TM import. By far, the most frequent reasons for import errors are non-corresponding languages, illegal characters, or other similar irregularities in the file which you attempted to import. There is also a limit to a size of the file (1GB). Please check your file to ensure the languages in your TM match with the languages in your project and that the formatting for each language is set up correctly.

TM_import_error_message

TMX Import

In order to successfully use a TMX file, it has to match the source language of the translation memory and at least one of its target languages. When a TMX file includes multiple target languages, only those present in the translation memory will be imported. The TMX file version should be 1.4 or 1.4b, although Memsource should be able to import other versions as well.

SDL TMX Import

Using a TMX that has been exported from SDL Trados is supported in Memsource, but only certain attributes will be imported into your Memsouce TM. Please also note that the following changes will occur:

  • "creationdate" will be converted to "created_at"
  • "creationid" will be converted to "created_by"
  • "changedate" will be converted to "modified_at"
  • "changeid" will be converted to "modified_by"

Important: The attributes "created_by" and "modified_by" are connected to the Memsource Users database, and only Memsource Usernames are supported. If a given username does not correspond with a Memsource Username, the field will be imported to the TM as empty.

Worldserver TMX Import

A TMX created in Worldserver is also supported in Memsource with limited attributes. In addition, the following changes will occur:

  • "creationdate" will be converted to "created_at"
  • "changedate" will be converted to "modified_at"
  • "x-idiom-source-ipath" will be converted to "file"

Note: A segment's context in the WS TMX is coded and therefore can be deduced only to some extent.

MXLIFF Import

MXLIFF files can be imported into the translation memory via the Import button as noted above. However, this import feature has been designed primarily for emergency situations. For example, when it is not possible to upload the MXLIFF back to the job directly via the Upload button in the project or via the Memsource Editor.

XLS Import

Excel files (XLS and XLSX) can be directly imported into the translation memory. Excel files should be formatted as lists of plain segments without tags and with the language code at the top of each column.

Make sure the languages listed in the XLS correspond to the languages in the Memsource translation memory into which you plan to import the Excel file. Use only supported language codes to identify the languages in your Excel file.

TM_xls_import

The duplicates within an XLSX file will be removed. Please note that segments translated in Memsource are saved to the TM with context. Identical segments will not be deduplicated unless they also have the same context.