Dictionaries are tables used by the project to add functionality o your project. There are the following types of dictionaries:
Localization: allows the creation of translated texts, to run your application in multiple languages.
Enumeration sets: connect a number with pre-defined strings.
Categories: organize your project defined categories to Tags, Symbols and other elements.
In this section... |
---|
On this page: |
---|
You can localize the text in your application in as many languages as needed. To do this, create a dictionary for each language.
To localize user interface text, be sure to select the Localizable option (Dynamics Configuration window, TextOutput options) for each display component that you need to localize. |
To create a localization dictionary:
The alarm messages can also be included in the localization if the related check-box is set.
On Info-Project-Settings, you can also define the default Culture Information that the application is using. The runtime property Client.CultureInfo allows you to change it during runtime. Some display controls may get the Culture Info directly from the Operating System, so the correct procedure is to have both the Operating System setting and the project settings with the target culture to run the application.
You can also use dictionaries to "translate" tag values to text. These dictionaries are called Enumeration Sets. For example, a device may have a value of 0 or 1 . Rather than display "0" or "1," you can display the strings "on" or "off."
To configure Enumeration sets:
You can create a dictionary of Categories in order to allow classification of engineering objects. Most configuration tables, such as Tags, Device Nodes, or Alarm Groups, have the Category column, where you can apply one or more categories to that object.
The object categories can also be accessed during runtime for filtering and other custom applications, from the Category property of the objects. A list of all categories defined in the Project is available during runtime at the property Server.Categories.
In this Section: