juliocamarero/liferay-portal — pull request #519 by epgarcia (2012-08-21 10:43:16+00:00)
Title: LPS-28904 Support title and description translation for multi-portlet plugins

At liferay-portal we use the same resource bundle Language for all portlets. Titles and descriptions can be defined for each portlet by using the following non-standard key scheme:

javax.portlet.title.
javax.portlet.description.

For liferay-plugins containing more than one portlet, we should add one resource bundle Language for each in order to provide specific title and description translations (standard procedure), since the above described non-standard solution was not supported in this case. Currently, Liferay plugins use only one resource bundle Language and their titles and descriptions are not translatable.

Through this commit, the same non-standard key scheme can be used for plugin portlets. Example:

javax.portlet.title.1_WAR_tasksportlet=Tasks
javax.portlet.title.2_WAR_tasksportlet=Upcoming Tasks