It is possible to add additional XML attributes that are respected when the translation is being completed in the Straker Translations Workbench. The following attributes should be added to the <data> node.
Value | Description |
---|---|
content_context | Context in which the content will be utilised. |
content_context_url | A URL to a web based resource where the content will be utilised. |
content_character_limit | A character limit percentage for the length of the return string. If ‘0’ then there the return string must be no longer than the source text. If the value is ’10’ then the return string can be within 10% of the source text length. |
content_id | A content ID that the source text is stored within on the remote resource. |
translate | True or false. If the data node set false, that data node is not translated. |
Example
<data name="unique_identifier" content_context="" content_context_url=""> <value>Welcome to the Straker Translations API</value> </data>
Comments
0 comments
Article is closed for comments.