[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'gettext' (#fcl)

TMOFile

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

Class providing access to a .mofile.

Declaration

Source position: gettext.pp line 55

type TMOFile = class

public

  procedure Create();

  

Create a new instance of the TMOFileclass.

  destructor Destroy; override;

  

Removes the TMOFileinstance from memory

  function Translate();

  

Translate a string

end;

Inheritance

TMOFile

  

Class providing access to a .mofile.

|

TObject

Description

TMOFileis a class providing easy access to a .mofile. It can be used to translate any of the strings that reside in the .mofile. The internal structure of the .mois completely hidden.