3 Replies Latest reply on Jun 29, 2007 4:03 PM by Gavin King

    resourcebundles using variant

    Eric Mittelhammer Newbie

      I am trying to load resourcebundles using variants with seam 1.2.1. I have set my locale programatically using localeSelector.setLocale to en_US_VARIANT1, and have verified it in the resulting view by using:

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

      I have files:
      in WEB-INF/classes

      when I try to output a message, it uses the message found in messages_en_US.properties - it seems that the variant is ignored. Is it not the default behavior of a resourcebundle to load the variant first? Is this possible with seam (or JSF, if that is the underlying mechanism)?