13.6. Localizing Stylesheets

WAF uses XSL stylesheets to lay out XML content that is usually produced by Bebop, but which could be produced by other sources. For more information, see Section 5.4 Bebop - Reusable Web UI Components. These stylesheets can be associated with Locales. This allows a developer to lay out a Page differently based on Locale.

Stylesheets can also contain static text. This text can be translated in another stylesheet that is associated with the appropriate Locale.

The system selects the stylesheet to use for each request by matching it to the Locale of the current request. It performs matching in the same way that ResourceBundles do, by using the Locale hierarchy.