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.TIP: 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.
Provide Feedback