[
https://issues.jboss.org/browse/SEAMINTL-29?page=com.atlassian.jira.plugi...
]
Ken Finnigan commented on SEAMINTL-29:
--------------------------------------
This is certainly a bug that there is no connection between the bundle messages retrieval
and the locale of the user. The suggested solution to make the Bundles class Session
instead of Application scoped while a good thought, it is not recommended to store large
amounts of data within the Session.
The ideal solution is to retain the Application scoped nature of Bundles while also
allowing you to retrieve a bundle based on the current users locale
bundles messages doesnt return proper values
--------------------------------------------
Key: SEAMINTL-29
URL:
https://issues.jboss.org/browse/SEAMINTL-29
Project: Seam International
Issue Type: Bug
Components: Locales
Reporter: Sebastian Sachtleben
Priority: Critical
Attachments: seam-i18n-problem.zip, seam-i18n.zip
#{bundles.messages.MyKey} doesnt return the correct properties file after firing locale
event and changed the locale of user. @Inject @Client Locale locale returns proper value
after changing locale but bundles messages returns values from jdk locale. I will add non
working example and I working example with helper class later once the repository is up
again.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira