TPOTranslator.Create constructor
Constructor for the class instance.
Declaration
constructor Create(POFileName: string)
constructor Create(aPOFile: TPOFile)Arguments
POFileName | .po file name to use for translated string values. |
aPOFile | .po file (TPOFile) to use for translated string values. |
Description
Create is the overloaded constructor for the class instance. Both
variants call the inherited constructor to initialize the class instance. The
overloaded variants allow use of a file name or a
TPOFile instance
in the class. TPOTranslator contains an internal TPOFile member which is used
to access the translated string values.
POFileName is the file name which contains the translated values
for strings. A
TPOFile instance is created for the specified file
name.
aPOFile is the
TPOFile class instance which contains the
translated values for strings.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
