I want to use my message bundle (messages_fr.properties) in a Java class with seam.
In a jsf file, all work fine like this:
#{msg.newCustom
There are a number of ways you can do it.
StatusMessages.instance().addFromResourceBundle("msg.newCustomer);
//This will add the msg.newCustomer message to the view
String msg = org.jboss.seam.international.Messages.instance().get("msg.newCustomer);
//This will put the msg.newCustomer message in variable msg