Todo List
MessageSource | --MessageSource_gettext
Using Gettext MO format as the message source for translation. The gettext classes are based on PEAR's gettext MO and PO classes.
See the MessageSource::factory() method to instantiate this class.
[line 48]
[line 60]
[line 54]
MessageSource_gettext __construct( mixed $source)
array catalogues( )
boolean delete( string $message, [string $catalogue = 'messages'])
array getCatalogueList( string $catalogue)
array getCatalogues( [mixed $dir = null], [mixed $variant = null])
E.g. array('messages','en_AU')
int getLastModified( string $source)
Just use the file modified time.
string getSource( string $variant)
boolean isValidSource( string $filename)
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'])