Hi
I checked out the jboss portal from the cvs and to test the resource bundle for
Chinese language.
the testing portlet used is the CMSPortlet because it only need to get the
title string from the resource bundle.
To do this, i add the Resource_zh.properties file and also i modified the
portlet.xml so that the CMSPortlet has zh supported. I also logged the message
when the browser (firefox) request the first page of the portal. The problem
is that the title of the CMSPortlet become "??" when it is shown on the portlet
window.
I even hardcode the title to Chinese characters by using
resp.setTitle("\u7684\u5c40"); And just doesn't work.
I even add method public void setLocale(Locale locale) to the
RenderRequestImpl.java
and then call resp.setLocale(req.getLocale()) ; in the CMSPortlet class. the
result is the same.
I think it is important for Jboss portal support multilanguage at the very
begining. Any suggestions?
Thanks
Yang
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870926#3870926
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870926
-------------------------------------------------------
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