Sign in Join
FPDoc Onlineexperiment

TDefaultTranslator class

In unit LCLTranslator

Performs string translations using a .mo file (Machine Object).

Declaration

pascal
TDefaultTranslator = class(TUpdateTranslator)

Inheritance

  1. TDefaultTranslator
  2. TUpdateTranslator
  3. TAbstractTranslator
  4. TObject

Description

TDefaultTranslator is a TUpdateTranslator descendant used to translate string properties using the values defined in a .mo ( Machine Object) file. A .mo file is the binary format used for translation resources created for the GNU gettext program. TDefaultTranslator implements the abstract TranslateStringProperty method defined in the ancestor class.

Use TPOTranslator to translate string properties using the .po (Portable Object) file format.

See also

Methods

CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
TranslateStringPropertypublicGets the translated value for the specified property.

Inherited

From TUpdateTranslator (1)

UpdateTranslation

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.