Hi Volker,

thanks for your answer. I've changed the default locale in my controller
for the theme and language hard to Locale.ENGLISH and now everything
works as expected.

Best regards,
Carsten 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Volker Weber
Sent: Monday, June 11, 2007 6:19 PM
To: MyFaces Discussion
Subject: Re: [Tobago] Default language

Hi Carsten,

tobago gets the prefered language from the accept_languages header of
the request.
And takes the best match of supported languages.
The default-locale is the fallback if none accept_language is supported.

So you need to switch your browsers settings to prefer 'en'.


Regards,
    Volker


2007/6/11, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>:
>
>
>
> 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>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

Reply via email to