Zimlets Messages Properties Files XML API
Zimlets Messages Properties Files XML API
The messages properties file consists of a set of Java properties that represent the localizable messages used by the Zimlet. Additional property files should be provided for each desired locale. These files follow the following standard localization convention for property files as follows:
messages_xx_YY.properties
Where xx is the language and YY is the locale. As an example, the properties file for the English language would be named messages_en.properties, and the properties file for the British locale would be named messages_en_GB.properties.
The properties files form a hierarchy such that subsequent nodes in the hierarchy need only override messages that need to be changed for the given language or locale.
Message properties may be accessed within the Zimlet definition file as follows: ${msg.propertyName}. For example, message property _username _would be accessed as follows: ${msg.username}