Monday, November 18, 2013

Portlet localization in Liferay

There is no question that Liferay portal supports localization.
But how the localization support for Portlet deployed in Liferay When locale changed?

To support localization for our own developed portlet.
1. Produce different resource bundle for different languages.
    a) By default, Portlet developed with Liferay Plugin SDK comes with a resource bundle named as
    b) duplicate, then rename it to suit other locale. eg,

    c) replace all the bundle keys with new bundle description.

2. add the new resource bundle into liferay-hook.xml


No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...