This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts regarding <locale-config> tag in JSF.

 
Prabhat Gupta
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic