[Overview][Classes][Procedures and functions][Index] Reference for unit 'LCLTranslator' (#lcl)

TPOTranslator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

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

Declaration

Source position: lcltranslator.pas line 70

type TPOTranslator = class(TUpdateTranslator)

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure TranslateStringProperty(); override;

  

Gets the translated value for the specified property.

end;

Inheritance

TPOTranslator

  

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

|

TUpdateTranslator

  

Performs string translations for persistent objects.

|

TAbstractTranslator

  

Abstract base class for translators used in the LCL.

|

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

TUpdateTranslator

  

Performs string translations for persistent objects.

TDefaultTranslator

  

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


Version 3.2 Generated 2024-02-25 Home