2 Replies Latest reply on Jun 28, 2007 7:56 PM by Daniel Young

    Seam2 LocaleSelector - no longer shows default-locale

    Daniel Young Novice

      Hi again,

      With the following config in my faces-config.xml:

       <locale-config>
       <default-locale>en-AU</default-locale>
       <supported-locale>zh-CN</supported-locale>
       <supported-locale>es-BO</supported-locale>
       </locale-config>
      


      The Seam LocaleSelector using "getSupportedLocales()" as of Seam2 now only shows the chinese and spanish, not australian. It shows the supported locales but does not include the default locale.

      Is this due to a change in the LocaleSelector, or is it a JSF1.2/RI thing that only the <supported-locale> elements are returned by this API call?

      thanks,
      Daniel.