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

Every 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 the
LocalizationDictionary
belongs.
TIP: If the
LocalizationDictionary
is in the same NetLogic project, you do not need to specify the
NamespaceIndex
in the construction of a
LocalizedText
.
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
Have questions or feedback about this documentation? Please submit your feedback here.