Localization of HTML Templates

Localization of HTML templates ia automatic. When Tapestry reads a template, it looks for a localized version of it. In this example, in addition to the English language Localization.html, three additional files were created: Localization_de.html, Localization_fr.html and Localization_it.html.

Tapestry tracks the locale for each user using either an HTTP Cookie, or the HttpSession. It makes sure that all templates for all components on the page use the best available template; it does a standard search.