IMessageSource interface.
All messages source used by MessageFormat must be of IMessageSource. It defines a set of operations to add and retrive messages from the message source. In addition, message source can load a particular catalogue.
Located in /I18N/core/IMessageSource.php (line 32)
Add a untranslated message to the source. Need to call save() to save the messages to source.
Returns a list of catalogue as key and all it variants as value.
Delete a particular message from the specified catalogue.
Get the culture identifier for the source.
Load the translation table for this particular catalogue.
The translation should be loaded in the following order.
Get the translation table. This includes all the loaded sections.
It must return a 2 level array of translation strings.
- array('catalogue+variant' =>
- array('source string' => 'target string', ...)
- ...),
- ...);
Save the list of untranslated blocks to the translation source.
If the translation was not found, you should add those strings to the translation source via the append() method.
Set the culture for this particular message source.
Update the translation.
Documentation generated on Sun, 04 Jun 2006 18:58:26 -0400 by phpDocumentor 1.3.0RC4