Progress
Internationalization Guide
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. Figure 5–2 illustrates how you can change SmartFolder tab labels in the Instance Attributes dialog box to create a customized running instance of a SmartFolder:
Figure 5–2: SmartFolder Attributes Dialog Box
![]()
Figure 5–3 shows a customized running instance of a SmartFolder.
Figure 5–3: Localized SmartFolder
![]()
You can localize SmartPanel with the SmartPanel’s Attributes dialog box. For example, a graphical Navigation SmartPanel has buttons that represent the functions; First, Next, Previous, and Last. Figure 5–4 shows a graphical Navigation SmartPanel.
Figure 5–4: 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. Figure 5–5 shows the Navigation SmartPanel Attributes dialog box.
Figure 5–5: Navigation SmartPanel Attributes Dialog Box
![]()
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |