[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LResources' (#lcl)

TAbstractTranslator

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

Abstract base class for translators used in the LCL.

Declaration

Source position: lresources.pp line 105

type TAbstractTranslator = class(TObject)

public

  procedure TranslateStringProperty(); virtual; abstract;

  

Specifies a method used to translate a String property.

end;

Inheritance

TAbstractTranslator

  

Abstract base class for translators used in the LCL.

|

TObject

Description

TAbstractTranslator is a class which specifies the base class string and property translators used in the Lazarus Component Library (LCL). It defines an abstract virtual method used to translate string properties when they are read from a Lazarus Resource Stream (LRS).

Do not create instances of TAbstractTranslator; use one of the descendent class like TUpdateTranslator, TDefaultTranslator, or TPOTranslator.

See also

TUpdateTranslator

  

Performs string translations for persistent objects.

TDefaultTranslator

  

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

TPOTranslator

  

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


Version 3.2 Generated 2024-02-25 Home