InformationModel.SetTranslation(localizedText)
Updates a translation associated with an existing key, based on the argument properties.
void SetTranslation(LocalizedTextlocalizedText);
Arguments
- localizedText(LocalizedText)
- A C# object with theTextId,Text, andLocaleIdproperties 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