MessageSource_gettext class.
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.
Located in /I18N/core/MessageSource_gettext.php (line 42)
MessageSource | --MessageSource_gettext
Message data filename extension.
Separator between culture name and source.
PO data filename extension
Inherited from MessageSource
MessageSource::$cache
MessageSource::$culture
MessageSource::$messages
MessageSource::$source
MessageSource::$untranslated
Returns a list of catalogue as key and all it variants as value.
Delete a particular message from the specified catalogue.
Get all the variants of a particular catalogue.
Returns a list of catalogue and its culture ID. This takes care of directory structures.
E.g. array('messages','en_AU')
Get the last modified unix-time for this particular catalogue+variant.
Just use the file modified time.
Get the MO file for a specific message catalogue and cultural vairant.
Determin if the MO file source is valid.
Load the messages from a MO file.
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.
Update the translation.
Inherited From MessageSource
MessageSource::append()
MessageSource::factory()
MessageSource::getCache()
MessageSource::getCatalogueList()
MessageSource::getCulture()
MessageSource::getLastModified()
MessageSource::getSource()
MessageSource::isValidSource()
MessageSource::load()
MessageSource::loadData()
MessageSource::read()
MessageSource::setCache()
MessageSource::setCulture()
Documentation generated on Sun, 04 Jun 2006 18:58:29 -0400 by phpDocumentor 1.3.0RC4