## Class Translation

Description

Translation class.

Provides translation using a static MessageFormatter.

- version: v1.0, last update on Tue Dec 28 11:54:48 EST 2004
- author: Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>

Located in /I18N/Translation.php (line 28)

    TComponent
       |
       --Translation

Variable Summary
MessageFormat $formatter
Method Summary
MessageFormat formatter ()
void init ()
void saveMessages ()
Variables
MessageFormat $formatter (line 34)

The string formatter. This is a class static variable.

- static:
- access: protected

Methods
formatter (line 72)

Get the static formatter from this component.

- return: formattter.
- static:
- access: public
- see: localize()

MessageFormat formatter ()
init (line 39)

Initialize the TTranslate translation components

- static:
- access: public

void init ()
saveMessages (line 80)

Save untranslated messages to the catalogue.

- static:
- access: public

void saveMessages ()

#### Inherited 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()

Documentation generated on Sun, 14 Jan 2007 21:44:02 -0500 by phpDocumentor 1.3.0RC4