What is Comment Metadata?

If you look at the sdlxliff schema it has "cmt-meta-defs" under "doc-info":

  <xsd:element name="doc-info">
    <xsd:complexType>
      <xsd:all>
        <xsd:element minOccurs="0" maxOccurs="1" ref="sdl:rep-defs" />
        <xsd:element minOccurs="0" maxOccurs="1" ref="sdl:cmt-defs" />
        <xsd:element minOccurs="0" maxOccurs="1" ref="sdl:cmt-meta-defs" /> <---------- This one
        <xsd:element minOccurs="0" maxOccurs="1" ref="sdl:rev-defs" />
      </xsd:all>
    </xsd:complexType>
  </xsd:element>

 

However, I have never seen this element in an actual sdlxliff file.

Aslo the SDL SDK has "MetaData" member of IComment:

Icon representing an HTML file with angle brackets and the letters 'HTM' at the top.

Question, how do you add metadata to a comment in Trados? And what is this metada used for?



Generated Image Alt-Text
[edited by: RWS Community AI at 7:33 AM (GMT 0) on 15 Nov 2024]
Parents
  • IComment is inherited from IMetaDataContainer interface which expose the appropriate methods to retrieve, set and remove the metadata. The main reason why you would use this feature is if you want to save additional info together with the comment which you don't want to be displayed to the user. For example you might want your plugin to also save the IP address of the machine from where the comment was added. This is not relevant for the translator but might be useful inside your app. You can find a discussion here about storing metadata at segment level which might also help to understand how you can use this feature. The only difference is that in your case is stored at a comment level.

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

Reply
  • IComment is inherited from IMetaDataContainer interface which expose the appropriate methods to retrieve, set and remove the metadata. The main reason why you would use this feature is if you want to save additional info together with the comment which you don't want to be displayed to the user. For example you might want your plugin to also save the IP address of the machine from where the comment was added. This is not relevant for the translator but might be useful inside your app. You can find a discussion here about storing metadata at segment level which might also help to understand how you can use this feature. The only difference is that in your case is stored at a comment level.

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

Children