[Gridsphere-users] Title of portlet language in portlet.xml

Jason Novotny novotny at gridsphere.org
Wed Mar 26 10:58:09 PDT 2008


Hi,

    I believe that feature worked for GS2.X but not for 3...

One thing you can do is to use

RenderResponse#setTitle(String title)

method in your portlet to set the title based on the locale

Jason

Edrick wrote:
> Can I set a portlet title for another language in the portlet.xml file of my
> proyect?
>
> I tried to change this:
>          <title>Transaction Logs</title>
> to this: 
>          <title xml:lang="en">Transaction Logs</title>
>          <title xml:lang="es">Registro de Transacciones</title>
> but it doesn't work. I don't want to have all the portlet titles in english
> if I'm using another language. Can it be done in any other way? 
>   



More information about the Gridsphere-users mailing list