This topic provides guidelines to keep in mind when you set up your property files.
Property files need to be on the class path
During development, place your properties files in the WEB-INF/work/source directory so that you can change them and have the WebSphere® Portlet Factory servlet pick up those changes without having to be restarted.Property files must have the same root name
In English locales, the java.util.PropertiesResourceBundle class uses ISO 8859-1 encoding
The property files for each resource bundle must share the same root name and are differentiated by the language and country code suffixes. For example, a resource bundle, UILabels, might consist of the following properties files:
Used for default locale.UILabels_fr_FR.properties
Used for a locale that defines French as the language and France as the country.UILabels_fr_CA.properties
Used for a locale that defines French as the language and Canada as the country.
By default this encoding is used for reading files in English locales. If the locale is different, this might not be the case. While this encoding scheme includes many European characters, it does not include all. For example, the Euro currency character is not included.
In order to display a Euro character (or any other character not contained in the ISO 8859-1 set) correctly in WebSphere Portlet Factory Designer, you must use the appropriate Unicode escape sequence in the properties file. (In the case of the Euro, that sequence is \\u20AC.)
Parent topic: Localized Resource builder: wpf7