Fórum

Portlet title is not getting translated

thumbnail
Juhi Kumari, modificado 12 Anos atrás.

Portlet title is not getting translated

Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi,
I am using liferay language display customization to display my website in different locales. Everything is translating fine in different
except portlet title. I don't know what is wrong with this?? I am using liferay6.0.6CE.
If any idea please share!!

Regards
Juhi
thumbnail
srikanth a, modificado 12 Anos atrás.

RE: Portlet title is not getting translated

Regular Member Postagens: 144 Data de Entrada: 21/02/11 Postagens Recentes
Hi,
Kindly give your portlet titles also in language.propeties. It will work.

regards
Sri
thumbnail
Juhi Kumari, modificado 12 Anos atrás.

RE: Portlet title is not getting translated

Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi srikanth,

Thanks for your reply. I already gave
javax.portlet.title.test-portlet=Test Portlet
in Language.properties as well as Language_ar.properties and
Language_en.properties. But still its not working, don't know why??


Regards
Juhi
Hashim Raza, modificado 11 Anos atrás.

RE: Portlet title is not getting translated

New Member Postagens: 14 Data de Entrada: 26/06/12 Postagens Recentes
Juhi Kumari:
Hi srikanth,

Thanks for your reply. I already gave
javax.portlet.title.test-portlet=Test Portlet
in Language.properties as well as Language_ar.properties and
Language_en.properties. But still its not working, don't know why??


Regards
Juhi



Hi Juhi,

Sorry for graving this old thread, I wanted to know that did you make it work? Did you make portlet title change when language was changed?

Thanks and kind regards,

Hashim
thumbnail
Dhrutika Parekh, modificado 11 Anos atrás.

RE: Portlet title is not getting translated

Expert Postagens: 435 Data de Entrada: 09/02/09 Postagens Recentes
Hi Juhi,

Please refer this link previously answered by me.: http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/14839403

It should solve your problem.

Regards,
Dhrutika
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Portlet title is not getting translated

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
If you're using Liferay IDE, just select to generate language files and just add entries into the generated properties file.
Hashim Raza, modificado 11 Anos atrás.

RE: Portlet title is not getting translated

New Member Postagens: 14 Data de Entrada: 26/06/12 Postagens Recentes
Hi Hitoshi,

Thanks for your reply.

Unfortunately I'm not using Liferay IDE. And I have multiple portlets in same WAR. So should i make a Language Hook now? and add these properties:

javax.portlet.title.Messages_WAR_prototype=HASHIM
javax.portlet.title.Knowledge_WAR_prototype=RAZA


to my properties file?

Thanks and kind regards,

Hashim
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Portlet title is not getting translated

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Well, no. Read the Amit's post in the following thread.
http://www.liferay.com/community/forums/-/message_boards/message/15412548