Sign in Join
FPDoc Onlineexperiment

TPOTranslator class

In unit LCLTranslator

Performs string translations using a .po (Portable Object) file.

Declaration

pascal
TPOTranslator = class(TUpdateTranslator)

Inheritance

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

Description

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

Use TDefaultTranslator to translate string properties using the .mo (Machine 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.