You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Pradeep Reddy <pr...@live.com> on 2008/12/01 06:41:08 UTC

Localization Portlet Title

Hello All,

I am trying to localize the portlet title, So I am adding the following content in the portlet.xml.


<portlet-info>
   <title xml:lang="en_US">Account pradeep CreatorPortlet</title>
   <title xml:lang="zh_TW">调度</title>
   <short-title>AccountCreatorPortlet</short-title>
 </portlet-info>


But it always taking the Chinese title for the portlet. I observed by changing the order of the languages, the last declared <title> language is showing up in the portlet title.

I way to fix this is by using the properties files, but I am not using them.

Please help me out in this regard,

Pradeep