Declaration:
<? interface I18NMessageDictionary ?>
Description: This is the interface to message dictionaries. A message dictionary is an abstraction of a message translation facility. This interface declares just a single method, I18NMessageDictionary::translateMessage that will fetch localized message by its ID and target language/dialect code. Note that the dialect code is required; if the message for this dialect is not found, this will look up the Official dialect for the message translation. This package ships with the I18NMessageFile class that is an implementation of this interface and allows you to keep the translation infomation in ini-like files. Example Given the following message file:
and the code:
Authors:
Methods:
|
|