Dictionary.Translation

Syntax

Translation: Object;

Description

The Translation property determines available translation for an MDM dictionary.

Comments

Use the setTranslation method to set the property value, and the getTranslation method to get the property value. Property value cannot be set from JSON.

The "tr" parameter (object that contains translation settings in metadata format) is used on calling the setTranslation method. The getTranslation method has the lcid parameter, that is language code.

This property contains a JSON object with the following fields: id - translation ID, isDefault - indicates if this translation is used by default, k - language code.

Example

The example of use is given on the page with description of the Attribute.Translation property.

See also:

Dictionary