Sign in Join
FPDoc Onlineexperiment

TMOFile class

In unit GetText

Class providing access to a .mo file.

Declaration

pascal
TMOFile = class

Description

TMOFile is a class providing easy access to a .mo file. It can be used to translate any of the strings that reside in the .mo file. The internal structure of the .mo is completely hidden.

Methods

CreatepublicCreate a new instance of the TMOFile class.
DestroypublicRemoves the TMOFile instance from memory.
TranslatepublicTranslate a string.

Fields

StringCountprotected
HashTableSizeprotected
HashTableprotected
OrigTableprotected
TranslTableprotected
OrigStringsprotected
TranslStringsprotected

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.