Localize the portlet in liferay
1.Add the below property in Portlet.xml file
<resource-bundle>content.Language</resource-bundle>
Before <portlet-info> parameter
2.Create a folder (content)under src/
3.Create Language.properties file and add key value pair for all required constants of a portlet
Configurations save=Save Configurations
javax.portlet.description=Calendar
javax.portlet.title=Calendar
You can run the build Languages target by right click Language. Properties file to create list of Language property files under the content folder.
On successful build you can get the below output.
If you enjoyed this post, please spend a few seconds to share..
| Tweet |
| 



0 comments:
Post a Comment