## 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 68)

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 76)

Save untranslated messages to the catalogue.

- static:
- access: public

void saveMessages ()

#### Inherited Methods

Inherited From TComponent

> TComponent::attachEventHandler()
> TComponent::canGetProperty()
> TComponent::canSetProperty()
> 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 Mon, 01 May 2006 23:04:28 -0400 by phpDocumentor 1.3.0RC4