0 Replies Latest reply on Jan 17, 2007 9:23 AM by Denis Marzadro

    change locale for user logged or not

    Denis Marzadro Novice

      Hi, i am using the boudle of portal 2.4.0 and faces based portlets
      I am looking for a way to be able to change locale in both situation: 1. when a user is logged 2. when users are not logged.

      I saw i could write my LocaleInterceptor too but i don't if it can cover all my need and above all where to configure system to use it. (any suggestions)

      For logged user i solved extending MyFacesGenericPortlet class and overriding method getResourceBundle looking for the user preferred locale stored in my database before to use the default one. It works but i'm not sure if i am doing something bad