13. Internationalization

Table of Contents

Locale
The px_preferred_locale Session Attribute
The Request Interceptor
Time Zone
The px_preferred_time_zone Session Attribute
The Request Interceptor
Labels
Locale-Dependent Files
Browser and Locale-Dependent URI
Locating Browser and Locale Dependent Resources in Java
Messages
Themes
Use the Theme with Smaller Fonts
Use the Theme with Larger Fonts
Use the Theme that Depends on Locale
Use Your Own Theme
The Theme Provider

This chapter describes how to make ZK applications flexible enough to run in any locale.

First of all, ZK enables developers to embed Java codes and EL expressions any way you like. You could use any Internationalization method you want, such as java.util.ResourceBundle.

However, ZK has some built-in support of internationalization that you might find them useful.