Setting default locale

If you want to set default locale for application, add this definition of LocaleResolver to spring context configuration:

  2. localeResolver(SessionLocaleResolver) {
  3. defaultLocale = new Locale('pl')
  4. Locale.setDefault (defaultLocale)
  5. }

No Comments yet

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds. Valid XHTML and CSS.