Resource bundles are available to facilitate displaying portlet titles in different local languages.
After you add a Portlet Adapter builder to a model, and rebuild the portlet war, the necessary resources are generated and available for you to establish localization of portlet titles.
Locate the generated resource bundles for a particular portlet in the following location.
Copy the existing resource bundle, and create duplicates for each language to be supported.
For example, you can start with a resource bundle named siebelperson.properties. Copy this file so that the name of the translated resource bundle for English would be siebelperson_en.properties and for French would be siebelperson_fr.properties.
Each resource bundle file for each language to be supported needs to have the correct language and country suffix.
Repeat the copy and edit action for the remainder of the existing portlet resource bundles for this particular project.
Add a comma separated list of additional locale codes (eg, de,fr,es,it) to the Additional Locales input of the Portlet Adapter builder call in your portlet model.
Save the changes and close the model file.
Optional: If you already deployed the portlet WAR, remove that portlet WAR.
Each portlet only gets the supported local values registered once when the portlet WAR is first deployed.
Add (or remove) resource bundles for each portlet.
You do not have to remove the portlet war again.
After you deploy the portlet WAR with the supported locales, if you add additional portlets to the project and to the portlet WAR or add updates to existing portlets, you only need to add additional locale resource bundles. You do not need any changes to the portlet deployment descriptor template.
Parent topic: Localizing applications: wpf7