you need to declare the supported locale in the deployment descriptor, 
otherwise it does not know it must use you resource bundle for those language.

<supported-locale>en</supported-locale>

The code to decide which bundle to use is based on that.

If you do not specify any supported locale, then it will use 
com.blah.Blah.properties and if it does not exist, com.blah.Blah_en.properties.

Now I need to check what should return getLocale on the resource bundle, 
because the null return seems odd to me.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867529#3867529

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867529


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to