Well, it means the property file is correctly read by Seam.
File an issue in JIRA with a reproducible example so we can take a look.
OK. It's solved now. Shane Bryzak helped a lot on this:
You don't have an entry in components.xml for your resource bundle. After adding the following entry your custom login message works:
<core:resource-loader> <core:bundle-names> <value>com.test.resources.test_messages</value> </core:bundle-names> </core:resource-loader>
This is documented in the internationalization chapter of the reference docs.
After I got this working, I noticed that the security message is displayed twice in a
<h:messages layout="table" showDetail="true" />
I thought I could get rid of this specifying a detailed message adding this line:
to my ressource bundle. But this doesn't work as expected. I have inspected the code in Identity.login(), FacesSecurityEvents.addLoginSuccessfulMessage() and FacesMessages and think that _detail is completely irrelevant. Is that right?