0 Replies Latest reply on Aug 11, 2009 11:18 PM by Israel Fonseca

    Locale Selection

    Israel Fonseca Apprentice
      I'm getting some problems with the locale switching. I put this as the reference told:

      <h:selectOneMenu value="#{localeSelector.localeString}">

          <f:selectItems value="#{localeSelector.supportedLocales}"/>


      <h:commandButton action="#{localeSelector.select}"


      And it's not working. I have the bundles set, and the components.xml well configured too:

             <international:locale-config default-locale="en_US">


      it's always using the pt_BR bundle. (The default in my region/browsers, since i'm Brazilian), but i want the English one to be default, or at least be able to be selected.

      Any ideas?

      Thks in advance,