Page Tree
Software Knowledgebases
This section presents various types of dictionaries that can be created and used in FactoryStudio:
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 Page:
Table of Contents | ||||
---|---|---|---|---|
|
In this Section:
Page Tree | ||
---|---|---|
|
You can localize the text in your application in as many languages as needed. To do this, create a dictionary for each language.
Info |
---|
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:
Page Tree | ||
---|---|---|
|