help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TranslateUnitResourceStrings

Translate the resource strings of a unit.

Declaration

Source position: line 0

procedure TranslateUnitResourceStrings(

  const AUnitName: String;

  AFile: TMOFile

);

procedure TranslateUnitResourceStrings(

  const AUnitName: String;

  const AFilename: String

);

Arguments

AUnitName

  

Name of the unit whose strings should be translated.

AFile

  

TMOFile instance with translated strings.

Arguments

AUnitName

  

Name of the unit whose strings should be translated.

AFilename

  

Name of .mo file with translated strings

Description

TranslateUnitResourceStrings is identical in function to TranslateResourceStrings, but translates the strings of a single unit (AUnitName) which was used to compile the application. This can be more convenient, since the resource string files are created on a unit basis.

See also

TranslateResourceStrings

  

Translate the resource strings of the application.

TMOFile

  

Class providing access to a .mo file.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505