Fórum

change the language of a portlet (jsp)

thumbnail
sujay paul, modificado 11 Anos atrás.

change the language of a portlet (jsp)

Regular Member Postagens: 164 Data de Entrada: 28/10/11 Postagens Recentes
is it possible to change the language of a portlet (jsp)?
Please help.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: change the language of a portlet (jsp)

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Do you want to use something beside jsp? There are several language portlets such as php portlet to program in php.
thumbnail
sujay paul, modificado 11 Anos atrás.

RE: change the language of a portlet (jsp)

Regular Member Postagens: 164 Data de Entrada: 28/10/11 Postagens Recentes
I have create a portlet in english using struts 2.
If i change the language to Assamese then the content of the portlet should change to Assamese .
I can do it using web content but i want to do it using portlet.
how can i do it?
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: change the language of a portlet (jsp) (Resposta)

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Have you checked the following page? You just have to take out all messages and place them in a property file.

https://blogs.oracle.com/mahipal/entry/how_to_i18n_and_l10n
thumbnail
sujay paul, modificado 11 Anos atrás.

RE: change the language of a portlet (jsp)

Regular Member Postagens: 164 Data de Entrada: 28/10/11 Postagens Recentes
Thanks a lot.

It works.