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
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