question: try to get user locale from the session , if possible . implementation note : this method has explicit support for tapestry 3 , struts 1.x and spring jsf check the browser meta tag `` accept languages '' to choose what language to display . concode_field_sep String STRUTS_LOCALE_KEY concode_elem_sep String JSTL_LOCALE_KEY concode_elem_sep String[] LOCALE_TEST_ATTRIBUTES concode_elem_sep String SPRING_LOCALE_KEY concode_elem_sep String[] USER_TEST_ATTRIBUTES concode_field_sep Object guessUserFromSession concode_elem_sep long getUsedTimeForSession concode_elem_sep long getInactiveTimeForSession concode_elem_sep long getTTLForSession
target: Locale function ( final Session arg0 ) { return guessLocaleFromSession ( arg0 . getSession ( ) ) ; }