|
|
|
Internationalizing
Tiles
It is possible to load different Tiles according
to the user's Locale
You can use all I18N capatibilities of Struts
to internationalize your Tiles. But Tiles additionally
provides a way to select a Tile according to
the Java Locale (language and country) using
definitions and definitions files/factories.
you can have one definition file per Locale,
the appropriate definition is loaded according
to the current Locale
– tiles-definitions-en.xml
– tiles-definitions-de.xml
Each factory is linked to (loaded from) a definition
file. The default load mechanism allows files
starting with the same name, but ending with
a Locale suffix, as with Java *.properties files.
|
|