Todo List
MessageSource | --MessageSource_XLIFF
Using XML XLIFF format as the message source for translation. Details and example of XLIFF can be found in the following URLs.
[line 46]
[line 52]
MessageSource_XLIFF __construct( string $source)
array catalogues( )
E.g. array('messages','en_AU')
boolean delete( string $message, [string $catalogue = 'messages'])
array getCatalogueList( string $catalogue)
array getCatalogues( [mixed $dir = null], [mixed $variant = null])
int getLastModified( string $source)
Just use the file modified time.
string getSource( string $variant)
boolean isValidSource( string $source)
array &loadData( string $filename)
boolean save( [string $catalogue = 'messages'])
If the translation was not found, you should add those strings to the translation source via the append() method.
boolean update( string $text, string $target, string $comments, [string $catalogue = 'messages'])