Skip to content

TranslateUnitResourceStrings

Translate the resource strings of a unit.

Declaration

Source position: gettext.pp line 84

procedure TranslateUnitResourceStrings(const AUnitName: AnsiString; 
                                      AFile: TMOFile);
procedure TranslateUnitResourceStrings(const AUnitName: AnsiString; 
                                      const AFilename: AnsiString);

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

Name Description
TranslateResourceStrings Translate the resource strings of the application.
TMOFile Class providing access to a .mo file.