InformationModel.SetTranslation(localizedText)

Updates a translation associated with an existing key, based on the argument properties.
void SetTranslation(LocalizedText
localizedText
);

Arguments

localizedText
(LocalizedText)
A C# object with the
TextId
,
Text
, and
LocaleId
properties that identify the key and related translation to be updated.

Example

The following example shows an API that writes the
New translation
string for the
en-US
locale associated with the
Key1
key.
var localizedText = new LocalizedText("Key1", "New translation", "en-US"); InformationModel.SetTranslation(localizedText);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.