- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- NetLogic tutorial
- Object and variable references
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