First page Back Continue Last page Text

oracle adf workshop


Steps to Internationalize an Application (continued)

4. Use the bundle on your page.

a. Note that you need to set your page encoding to be a superset of all supported languages. By default JDeveloper sets the page encoding to windows-1252. To set the default to a different page encoding, perform the following steps:

Select Tools > Preferences.

Select Environment from the list at the left, if it is not already selected.

Set Encoding to the preferred default.

b. Bind all attributes that represent strings of static text on the page to the appropriate key in the resource bundle, using the variable defined in the faces-config.xml file for the <resource-bundle> element.