Translations Data Type

Represents the translation of a document into a single locale.

Properties
name data type description
links array of object A collection of links provided with the translations.
extensions array of object Any provided extensions
textFlowTargets array of TextFlowTarget The text flow targets (i.e. translated text)
revision number Revision number for the translations

Example

{
  "links" : [ { }, { } ],
  "extensions" : [ { }, { } ],
  "textFlowTargets" : [ {
    "resId" : "...",
    "state" : "Translated",
    "sourceHash" : "...",
    "extensions" : [ { }, { } ],
    "revision" : 12345,
    "textFlowRevision" : 12345,
    "description" : "...",
    "contents" : [ "An english string to translate", "A plural english string to translate" ]
  }, {
    "resId" : "...",
    "state" : "Rejected",
    "sourceHash" : "...",
    "extensions" : [ { }, { } ],
    "revision" : 12345,
    "textFlowRevision" : 12345,
    "description" : "...",
    "contents" : [ "A plural english string to translate", "An english string to translate" ]
  } ],
  "revision" : 12345
}