How to: |
You can translate HTML pages within App Studio to display applications in different languages in the portal. A translation XML file can be an embedded file or a referenced file.
When creating an HTML page in the HTML canvas, you can use the Dynamic Language Sets group on the Properties panel for the DOCUMENT object to:
The Dynamic Language Sets group on the Properties panel for the DOCUMENT object is shown in the following image.
The Dynamic Language Sets properties are as follows:
Possible values are:
Note: When creating a locale file for the first time, the referenced file must be created as a new file.
Yes populates the page with the localized strings in the file. No writes the information in the page to the file at the time when the HTML file is saved.
You can also set Locale options by right-clicking the document and selecting Locale Sections from the right-click menu, as shown in the following image.
The following options are available:
Note: If the XML file is not written for any sections in the HTML page, selecting Update will update the XML file sections for those missing sections.
Notice that the open tab for the HTML file displays the default language in parentheses, as shown in the following image.
Notice that the open tab for the HTML file changes to the selected language, as shown in the following image.
WebFOCUS | |
Feedback |