Properties files

When defining a user preference in the DefaultPreferences.xml file a corresponding entry should also be made in an accompanying DefaultPreferences_<locale>.properties file. where, <locale> represents the intended locale of the properties. This file specifies the display name that will be displayed when accessing the user preferences in the web client user preferences editor. The ability to localize the display name for each of the user preferences is possible by creating a DefaultPreferences_<locale>.properties file for each supported user locale. See Localizing Display Names for more details on localizing user preferences display names.

A DefaultPreferences_<locale>.properties file should be created if it does not already exist. The DefaultPreferences_<locale>.properties should be placed in the EJBServer\components\<component_name>\userpreferences directory with the corresponding DefaultPreferences.xml.An entry for the user preference defined in the previous example would be:

sample.pref=Sample Preference Display Name:

DefaultPreferences_<locale>.properties files in multiple components will be merged using the same SERVER_COMPONENT_ORDER merge rules that apply to DefaultPreferences.xml files.