Localizations

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Localizations

Available: from version 12.6.0

The NuGet package Beckhoff.TwinCAT.HMI.Plastic.Localizations can be installed in the TwinCAT HMI project via the NuGet package management system.

It includes an English (en-US) and a German (de-DE) language file with language symbols that may be relevant for plastic user interfaces.

To use the language symbols from the package, the following text must be inserted into the property of a control (e.g. Text):

“%l%Control::TcHmi.Controls.Plastic.Tc3_PlasticLocalizations::Language%/l%”

In this sample, the string references the language key Language. The English translation is "Language" and the German "Sprache".

To display the list of all available language symbols or to change the translations of the languages English and German or to add further languages, the language files can be imported in the TwinCAT HMI project. To do this, the following steps must be performed:

1. Right-click on the folder Localization in the TwinCAT HMI project and add a new item.
2. Select the Import Localization option in the window that opens and then click the Add button.
3. In the TwinCAT HMI Wizard window open the Control tab, select the control with the name "Tc3_PlasticLocalizations" via the checkbox and confirm it by clicking the OK button. (If desired, only one of the two available languages can be selected)
4. The selected language files appear in the folder "Localizations" and can be edited using the localization editor.