Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubts regarding <locale-config> tag in JSF.  RSS feed

 
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
Boost this thread!