If the user is authenticated and has a preferred locale then this one is chosen. Otherwhise the locale used is the
one determined by the incoming HttpServletRequest provided by the servlet container.
todo add cookie or session based locales
author: Julien Viet version: $Revision: 8786 $