掲示板

change the language of a portlet (jsp)

thumbnail
11年前 に sujay paul によって更新されました。

change the language of a portlet (jsp)

Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
is it possible to change the language of a portlet (jsp)?
Please help.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: change the language of a portlet (jsp)

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Do you want to use something beside jsp? There are several language portlets such as php portlet to program in php.
thumbnail
11年前 に sujay paul によって更新されました。

RE: change the language of a portlet (jsp)

Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
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
11年前 に Hitoshi Ozawa によって更新されました。

RE: change the language of a portlet (jsp) (回答)

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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
11年前 に sujay paul によって更新されました。

RE: change the language of a portlet (jsp)

Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
Thanks a lot.

It works.