In this section, you will use the internationalization feature to create JSF portlets to run in multiple languages. You will include the text constants and error messages into a properties file used by the JSF components and the business logic.
However, in order to simply illustrate the concept, you will only implement a few constants. Since you already have a properties file created by the portlet project wizard, you will use this same file to include the key-value pairs for this internationalization scenario.
Execute the following steps:
Open the calculator.nl.CalculatorPortletResource.properties file. Include these lines at the end of the file, then save and close it:
page_comment=* Created using ...