Try OpenEdge Now
skip to main content
Internationalizing Applications
Preparing the User Interface : Designing with the AppBuilder : Localizing SmartObject instances
 

Localizing SmartObject instances

An option to creating localized SmartObject masters is to customize a running instance of a generic SmartObject. SmartObjects have an Instance Attribute dialog box that allows you to specify attributes in a run-time instance of the object without modifying the master object itself. Some of these attributes allow you to meet local requirements that translation does not address, without having to create a new master object for every location. For example, you might create one SmartFolder with German labels and another customer folder with Spanish labels.
The following figure illustrates how you can change SmartFolder tab labels in the SmartFolder Properties dialog box to create a customized running instance of a SmartFolder.
Figure 8. SmartFolder Properties dialog box
The following figure shows a customized running instance of a SmartFolder.
Figure 9. Localized SmartFolder
You can localize a SmartPanel with the Navigation SmartPanel Properties dialog box. For example, a graphical Navigation SmartPanel has buttons that represent the functions; First, Next, Previous, and Last. The following figure shows a graphical Navigation SmartPanel.
Figure 10. Graphical Navigation SmartPanel
A user who reads text from right to left expects the button on the far right to execute the "First" function, then "Next," "Previous," and "Last" ("Last" being the button on the far left). You can change the direction in which the buttons display from the Instance Attribute dialog box. If a user reads text from right to left, you can make the navigation buttons display from right to left. The following figure shows the Navigation SmartPanel Properties dialog box.
Figure 11. Navigation SmartPanel Properties dialog box