Class Translation
Translation class.
Provides translation using a static MessageFormatter.
Method Summary |
MessageFormat
|
Get the static formatter from this component.
|
void
|
Initialize the TTranslate translation components
|
void
|
Save untranslated messages to the catalogue.
|
Methods Inherited From TComponent |
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
Method Details |
formatter
public MessageFormat formatter |
(mixed $catalogue ) |
Get the static formatter from this component.
Input |
mixed | $catalogue | |
Output |
MessageFormat
| formattter. |
Exception |
|
init
public void init |
(mixed $catalogue ) |
Initialize the TTranslate translation components
Input |
mixed | $catalogue | |
Output |
Exception |
|
saveMessages
public void saveMessages |
() |
Save untranslated messages to the catalogue.
|
|