Problem is that navigation portlet is in one context and *-object.xml that defines the page and what resource bundle to use is in another.
In my opinion resource files involved with pages defined in *-object.xml should be as close as possible to war that actually defines it. So resource files should be prereffably in same ear/war making is possible to make easy single file deployment of entire portal. But resource files are then not visible to navigational portlet this way. Putting files into servers classpath could be one solution. I tried this one but it seems that i need to restart server to make changes in resources effective. I don't know is there way to make it reloadable. But generally this would force me to do at least 2 files and maybe some additional configuration to jboss to make it possible to hot-deploy new resources. I still think that following something like jetspeed2 is doing is better solution so that language resources are deployed where page is defined. I don't see how this is harder for 3rd party translator to do than fiddling with resource files. It is as easy to add translation to *-object.xml file. And I don't see it as issue because in my experience it is quite rare to even use 3rd party translations in small to medium scale projects. I see that making deployment easy is more important because everybody must do it to make portlets available in the first place. BTW there are more pressing issues than this what comes to localization of page names - it seems that at least scandinavian characters in page name causes all links on page to fail with 404. So even single language pages in finnish language are not working yet ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927732#3927732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927732 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user