Text Container Data Type

This class contains string contents for a single translatable message. It maps between the JAXB/JSON representation of content/ contents (in separate elements, for backwards-compatibility) and the server model (which represents contents as an ArrayList to support plural forms). This class is the superclass for TextFlow and TextFlowTarget.

Subtypes
TextFlowTarget, Text Flow
Properties
name data type description
content string The (non-plural) string contents associated with this TextFlow/TextFlowTarget. NB: If this message has plural forms, this field will be empty.
contents array of string The plural string contents associated with this TextFlow/TextFlowTarget. NB: If this message has no plural forms, this field will be empty.

Example

{
  "contents" : [ "An english string to translate", "A plural english string to translate" ]
}