Forums

Home » Liferay Portal » English » x. Miscellaneous

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sujay Kumar Paul
change the language of a portlet (jsp)
November 8, 2012 12:29 AM
Answer

Sujay Kumar Paul

Rank: Regular Member

Posts: 165

Join Date: October 28, 2011

Recent Posts

is it possible to change the language of a portlet (jsp)?
Please help.
Hitoshi Ozawa
RE: change the language of a portlet (jsp)
November 8, 2012 6:25 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Do you want to use something beside jsp? There are several language portlets such as php portlet to program in php.
Sujay Kumar Paul
RE: change the language of a portlet (jsp)
November 8, 2012 10:41 PM
Answer

Sujay Kumar Paul

Rank: Regular Member

Posts: 165

Join Date: October 28, 2011

Recent Posts

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?
Hitoshi Ozawa
RE: change the language of a portlet (jsp)
November 9, 2012 3:01 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

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
Sujay Kumar Paul
RE: change the language of a portlet (jsp)
November 27, 2012 11:48 PM
Answer

Sujay Kumar Paul

Rank: Regular Member

Posts: 165

Join Date: October 28, 2011

Recent Posts

Thanks a lot.

It works.