Todo List
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.
void append( string $message)
array catalogues( )
boolean delete( string $message, [string $catalogue = 'messages'])
string getCulture( )
boolean load( [string $catalogue = 'messages'])
The translation should be loaded in the following order.
array read( )
It must return a 2 level array of translation strings.
array('catalogue+variant' => array('source string' => 'target string', ...) ...), ...);
boolean save( [string $catalogue = 'messages'])
If the translation was not found, you should add those strings to the translation source via the append() method.
void setCulture( string $culture)
boolean update( string $text, string $target, string $comments, [string $catalogue = 'messages'])