A very powerful feature in MX-Frame is runtime localization of content strings. This feature gives the user, with appropriate privileges, possibility to translate strings on the fly. The changes are visible throughout the system immediately.
It is possible to localize all navigation elements; pages and menus. In a grid it is possible to localize column names. Localization can be made for all languages defined in the system. To learn how to add new languages see chapter Languages.
To access runtime localization, right click the desired control, navigation or grid, and select Localize... option. The Runtime Localization window pops up. The window is consisted of two parts. One, the left one, contains all elements for localization and the other, right one, contains basic property description and available languages.
Elements
This section contains all elements available for localization. Elements are displayed in the list below. Several commands are available for working with elements.
Command | Description |
---|---|
View | Defines the appearance of elements available for localization. If Tree option is selected, elements are organized in a tree list. If Flat is selected, all strings are displayed in a single level. |
Preview | If Preview command is clicked, all strings already localized, but not yet visible, are displayed to the user. Using this command user can see the final result of the localization. |
Clear | If Clear command is clicked all elements, in the list below, are removed. Only elements are removed. Previously created localization is not changed. |
Languages
In this section it is possible to define strings for each language. Strings are determined for the element currently selected in the list in Elements section. Several properties are available for each element.
Property | Description |
---|---|
Property | Defines the type of the element which is being localized at the moment. |
Localizable | Defines whether the element can be localized or not. Whether the element is localized is defined in design time. |
Active Text | Defines the default, currently displayed text. This text is specified in design time. |
In order to localize the selected element, enter appropriate string in the field beside the language. Repeat this for every language available. The changes are stored immediately and are available throughout the entire system. User can see the localization by clicking Preview command in Elements section.