I have this in my faces-config.xml:
<application>
<locale-config>
<default-locale>en_US</default-locale>
<supported-locale>en</supported-locale>
<supported-locale>es</supported-locale>
<supported-locale>de</supported-locale>
</locale-config>
<message-bundle>messages</message-bundle>
</application>
And this in my web.xml:
<locale-encoding-mapping-list>
<locale-encoding-mapping>
<locale>en_US</locale>
<locale>en</locale>
<locale>es</locale>
<locale>de</locale>
</locale-encoding-mapping>
</locale-encoding-mapping-list>
and it does not default to United States, it is still alphabetical
No one?
-----Oorspronkelijk bericht-----
Van: Mark Breman [mailto:[EMAIL PROTECTED]]
Verzonden: maandag 30 oktober 2006 13:23
Aan: [email protected]
Onderwerp: t:selectOneCountry and i18n question.
Hi everyone,
I'm trying to get the t:selectOneCountry component to display a list of countries in my native language (dutch).
The taglib docs say that this component uses the java.util.Locale (and getCountry) API. The dutch locale (nl_NL) is fully supported by JDK 1.5 and I have set my browser-language to nl.
In my web.xml I have configured
< locale-config >
< default-locale > nl </ default-locale >
< supported-locale > nl </ supported-locale >
< supported-locale > en </ supported-locale >
</ locale-config >
I'm using Tomcat 5.5.17.
I'm keep on getting a list of countries in english, not in dutch. Only my local country in the list is displayed in dutch (i.e. 'Nederland ' instead of 'Netherlands ')?!?
Does anyone know what I'm doing wrong here?
Any help appreciated.
Thanx.
-Mark-
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

