Zimlets Messages Properties Files WP

Revision as of 12:59, 24 March 2015 by Jorge de la Cruz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:


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}

Verified Against: Date Created: 7/16/2009
Article ID: https://wiki.zimbra.com/index.php?title=Zimlets_Messages_Properties_Files_WP Date Modified: 2015-03-24

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search