|
Class Translation
Translation class.
Provides translation using a static MessageFormatter.
-
TComponent
-
Translation
Package: System\ I18N
Copyright:
Copyright © 2005-2014 PradoSoft
License:
http://www.pradosoft.com/license/
Author:
Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
Version:
v1.0, last update on Tue Dec 28 11:54:48 EST 2004
Located at I18N/Translation.php
Methods summary
public static
|
#
init( mixed $catalogue = 'messages' )
Initialize the TTranslate translation components
Initialize the TTranslate translation components
|
public static
MessageFormat
|
#
formatter( mixed $catalogue = 'messages' )
Get the static formatter from this component.
Get the static formatter from this component.
Returns
MessageFormat formattter.
See
localize()
|
public static
|
#
saveMessages( )
Save untranslated messages to the catalogue.
Save untranslated messages to the catalogue.
|
Methods inherited from TComponent
__call(),
__construct(),
__destruct(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
__wakeup(),
addParsedObject(),
asa(),
attachBehavior(),
attachBehaviors(),
attachClassBehavior(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
clearBehaviors(),
createdOnTemplate(),
detachBehavior(),
detachBehaviors(),
detachClassBehavior(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
evaluateStatements(),
fxAttachClassBehavior(),
fxDetachClassBehavior(),
getAutoGlobalListen(),
getBehaviorsEnabled(),
getClassHierarchy(),
getEventHandlers(),
getListeningToGlobalEvents(),
getSubProperty(),
hasEvent(),
hasEventHandler(),
hasProperty(),
isa(),
listen(),
raiseEvent(),
setSubProperty(),
unlisten()
|
Properties summary
protected static
array
|
$formatters |
array() |
#
The array of formatters. We define 1 formatter per translation catalog This
is a class static variable.
The array of formatters. We define 1 formatter per translation catalog This
is a class static variable.
|
|