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

TDefaultTranslator

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

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

Declaration

Source position: lcltranslator.pas line 58

type TDefaultTranslator = 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

TDefaultTranslator

  

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

|

TUpdateTranslator

  

Performs string translations for persistent objects.

|

TAbstractTranslator

  

Abstract base class for translators used in the LCL.

|

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

TUpdateTranslator

  

Performs string translations for persistent objects.

TPOTranslator

  

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


Version 3.2 Generated 2024-02-25 Home