aspose file tools*
The moose likes JSF and the fly likes Doubts regarding <locale-config> tag in JSF. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Doubts regarding <locale-config> tag in JSF." Watch "Doubts regarding <locale-config> tag in JSF." New topic
Author

Doubts regarding <locale-config> tag in JSF.

Prabhat Gupta
Ranch Hand

Joined: Jan 22, 2008
Posts: 135
Hi All,
I am very much confused the way system choose the appropriate locale from faces-config.

Suppose for example i have a code

<locale-config>
<default-locale>en</default-locale>
<supported-locale>en_US</supported-locale>
<supported-locale>zh_CN</supported-locale>
</locale-config>

and three message file with appropriate name. I want to know the way by which the application decides appropriate locale .Does ordering of <supported-locale> play in role? Does the system local language or regional location affect anything?

Thanks in advance .

Regards,
Prabhat
 
 
subject: Doubts regarding <locale-config> tag in JSF.