Localization
Localization in the TcHmiBa controls is managed by the TwinCAT HMI localization system.
Localization in the project
A TcHmi project created with the TcHmiBa project template already contains localizations for German and English. They can be modified, supplemented and extended to include other languages.
Add localization
Each new language requires a new localization file in the localization folder.
The appropriate combination of language and area must then be selected.
A newly created localization file is automatically opened and initially appears empty.
Existing language entries from other languages can be shown by activating the Show missing keys option.
Localization of controls
Localizations of controls from NuGet packages can be overridden and supplemented with additional languages.
Add localization
Each new language requires a new localization file in the localization folder.
The name of the file is generated automatically and is therefore irrelevant.
For each control, select any existing localization in order to transfer the language entries.
After confirming the selection, the localization files are available in the project.
Finally, the language entries must be replaced in the new localization.
The available localizations can be shown and hidden via the right-click menu of a column.
Override localization
The localization of the control must first be imported into the folder for localizations.
The name of the file is generated automatically and is therefore irrelevant.
The localizations to be overridden must then be selected.
MgmtCtrl contains all localizations of the TcHmiBaFramework package and TcHmiBaControls package.
Localization contains all localizations from the TcHmiBaIcons package.
After confirming the selection, the localization files are available in the project.