Hi,
I changed the locale entries in my faces-config.xml as follows, but the default
language is still german and not english:
<application>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>en</supported-locale>
<supported-locale>de</supported-locale>
</locale-config>
</application>
And there are three entries in my language configuration menu, two for english
and one for german. Maybe there's a bug?
Best regards,
Carsten Manshusen
-----Original Message-----
From: Zdeněk Sochor [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 5:24 PM
To: MyFaces Discussion
Subject: Re: [Tobago] Default language
Hi,
Default locale has to be in supported locales list to be selectable.
With regards,
Zdenek
[EMAIL PROTECTED] napsal(a):
>
> How can I change the default language of my Tobago application to
> english? My locale entries in the faces-config.xml looks like this:
>
> <application>
> <locale-config>
> <default-locale>en</default-locale>
>
<supported-locale>en</supported-locale>
>
> <supported-locale>de</supported-locale>
> </locale-config>
> </application>
>
> When I start my application, always the german locale will be used as
> default for the property file.
>
> Best regards,
> Carsten Manshusen
>