NOTE: This is outdated information that applies only to Tapestry 4. For current information on localization in Tapestry see http://tapestry.apache.org/localization.html.

To set an application default Locale, override the engine method setLocale like this:

public final void setLocale(Locale locale)
  {
     if (getLocale() == null)
        super.setLocale(new Locale(defaultLanguage, defaultCountry));
     else
        super.setLocale(locale);
  }

DefaultLocale (last edited 2011-01-02 01:43:23 by BobHarner)