Zimlets Messages Properties Files XML API

Revision as of 15:02, 13 July 2015 by Jorge de la Cruz (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Zimlets Messages Properties Files XML API

   KB 2979        Last updated on 2015-07-13  




0.00
(0 votes)

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}

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



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