Resources

Translation Unit Metadata

A translation unit (TU) is a source and a target segment saved together into a translation memory. Whenever a segment/TU is saved, the pre-defined attributes are automatically added to the source and/or target of the TU in the translation memory.

Memsource TU Metadata

Here is a list of attributes with o note, it the attribute is saved with the target segment or source segment:

  • Created (date/time) - target segment
  • Created by - target segment. Only Memsource Usernames are supported.
  • Last modified (date/time) - target segment
  • Last modified by - target segment. Only Memsource Usernames are supported.
  • Project - target segment
  • Client - target segment. This is the Client set in the project when the translation was created.
  • Domain - target segment. This is the Domain set in the project when the translation was created.
  • Subdomain - target segment. This is the Subdomain set in the project when the translation was created.
  • File - target segments. This is the name of the file where the translation was created.
  • Context - source segment. This is the Previous segment, Next segment or Segment key, depending on the File Import Settings when the job was created.

Note: The attributes of the translation memory (Domain, Client, Business Unit, etc.) have no effect on the translation unit metadata.

Excel Format

For importing and exporting the content of a translation memory using the Excel format, the following metadata is supported: 

  • ID - Memsource internal ID
  • {source language code} - for example 'en' or 'en_us'
  • prev - text of the previous segment
  • next - text of the following segment
  • seg_key - text of the context key
  • mdata - metadata of Memsource tags
  • {target language code} - en or en_us
  • created_by - Memsource Username
  • created_at - in format 2017.07.07 14:39:52,000
  • modified_by - Memsource Username
  • modified_at - in format 2017.07.07 14:39:52,000
  • client - Memsource ID (number)
  • project - Memsource ID (number)
  • domain - Memsource ID (number)
  • subdomain - Memsource ID (number)
  • note - text (external use only, not visible in Memsource)
  • reviewed - true/false (external use only, not visible in Memsource) 
  • aligned - true/false (external use only, not visible in Memsource) 
  • filename - the name of the original file (test.docx)
  • mdata - metadata of Memsource tags 

Note: The order of the columns reflects the attributes of the source segment and the attributes of the target segment.

TMX Format

For importing and exporting the content of a translation memory using the TMX format, the following metadata is supported: 

Properties in the source TUV element:

<prop type="context_prev">Text of the previous segment</prop>
<prop type="context_next">Text of the following segment</prop>
<prop type="x-context_seg_key">Context Key</prop>*

*For context based on a segment key

Properties in target TUV element:

<prop type="created_at">1322746823589</prop>
<prop type="created_by">Some name</prop>
<prop type="modified_at">1323854662890</prop>
<prop type="modified_by">Some name</prop>
<prop type="project">Project name</prop>
<prop type="client">Client name</prop>
<prop type="domain">Domain name</prop>
<prop type="filename">File name</prop>