Sophie, 

just use getDisplayLanguage(Locale.US), for example 
Locale.FR.getDisplayLanguage(Locale.US) should return
French. 

Frank Felix

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

> Sent: Wednesday, May 31, 2006 11:20 AM
> To: 'MyFaces Discussion'
> Subject: Locale
> 
> 
> Hi!
> 
> I got into troubles with the method getDisplayLanguage
from 
> java.util.locale.
> 
> The result of this method in my program is that my
available 
> languages are displayed in French (anglais, français). I 
> suppose because my Windows is in French. But is there a
way 
> to return the English version of these languages for
example 
> (English, French)?
> 
> Thanks in advance
> Best
> Sophie
> 

Reply via email to