Hi Ronald,
I will try it next week (currently, I have no access to that system). This
could be the source of the problem.
Thanks!
Kind regards,
Dennis
R. Müller <[EMAIL PROTECTED]> wrote:
Hi Dennis,
i think you have to provide all supported locales in your faces-conig :
Probably the english one is the default locale, if there is no such
config.
<faces-config>
<application>
<locale-config>
<default-locale>de</default-locale>
<supported-locale>de</supported-locale>
<supported-locale>en</supported-locale>
<supported-locale>ru</supported-locale>
</locale-config>
<message-bundle>errors</message-bundle>
</application>
[...]
</faces-config>
regards
Ronald
Dennis Klemann wrote:
Hi there,
I recently implemented a website using JSF and MyFaces. Almost
everything works fine now. The one thing that doesn't:
The messages that appear when e.g. a required text field hasn't been
filled all come from the "en" message bundle, although the browser has
another language setting (e.g. "de"). For now, I renamed the "de"
message bundle to "en", but I see it as a temporary solution only.
Shouldn't the language setting depend on the browser preferences? Or
is there another way to choose the language?
I've posted this problem to the JIRA, but got forwarded to this
mailing list:
http://issues.apache.org/jira/browse/MYFACES-1380
Kind regard,
Dennis