Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 9 Localizing Forms : Editing Exported Resource Bundles

Editing Exported Resource Bundles
To Localize a Form
1.
With the form resource selected in the project panel, select Form>Export Resource Bundle from the TIBCO Designer menu. A dialog displays for specifying a file system folder. Exporting the resource bundle creates a properties file that contains localizable form attributes.
2.
A file named form_name.properties, where form_name is the name of the Form resource, is created in the specified location.
3.
The syntax is property=value, so only string values on the right side of the equation should be modified.
4.
Convert the file to Unicode/ASCII format by running native2ascii, a utility provided by JDK. For more information on this utility, see your JDK documentation.
Specify the properties file as input to the utility. It is recommended to rename the output file according to locale, such as MyForm_ja.properties.
5.
With the form resource selected in the project panel, select Form>Import Resource Bundle from the TIBCO Designer menu.
6.
The imported resource bundle is represented by a new Locale Properties resource in the ResourceBundle folder for the form. After import, locale-specific properties can be modified. For instructions, see Editing Resource Bundles in TIBCO Designer.
When the form is displayed in a browser at runtime, the localized version displays whether the browser Language setting matches the locale and whether the associated resource bundle has been imported.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved