- Manuale introduttivo
- Utilizzo del software
- OPC UA
- Oggetti grafici e di layout
- Sessioni e impostazioni locali
- Sviluppo di soluzioni
- Sviluppo di progetti con C#
- NetLogic
- Metodi ed eventi in C#
- Riferimento API C#
- Esempi di applicazione
- Esercitazione dell'interfaccia utente
- Esercitazione sui collegamenti dinamici
- Esercitazione sui logger
- Esercitazione sugli allarmi
- Esercitazione sulle NetLogic
- Riferimento su oggetti e variabili
API to manage translations
Use C# APIs to read or write the translated strings inside the
LocalizationDictionary
objects.The APIs are supplied by the
InformationModel
static class.LocalizedText class
LocalizedText
classEvery API has an instance of the
LocalizedText
C# class among its own arguments, which identifies a key/line or specific string translated in a LocalizationDictionary
. It contains the following properties:
- NamespaceIndex(int)
- Identifier of the namespace of the project to which theLocalizationDictionarybelongs.SUGGERIMENTO: If theLocalizationDictionaryis in the same NetLogic project, you do not need to specify theNamespaceIndexin the construction of aLocalizedText.
- TextId(string)
- A key with which the translations of a string can be associated.
- LocaleId(string)
- A locale ID. For example:en-US.
- Text(string)
- A translated string.
Fornire un feedback