Forums Register Login

Doubts regarding <locale-config> tag in JSF.

+Pie Number of slices to send: Send
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
If you want to look young and thin, hang around old, fat people. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1121 times.
Similar Threads
JSF and internationalization
JSF 2.0 problem with customizing validation messages
How to work with t:tree component
App runs properly on one computer only!
JSF 2 - Internationalization - Message Resources
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:08:29.