I am studying some sources on how to internationalize software, and in the example I have the software has a unit with constant strings (captions, etc), something like:
unit Resources;
interface
resourcestring
CompanyName = '***';
implementation
end.
And another one with the 'IDs' for each string and then call via:
System.SysUtils{$ELSE}SysUtils{$ENDIF}.LoadStr(ID)
The project has a RES file, something like StrConsts.res, which it calls in the program's directive:
{$R StrConsts.res}
The res has only one StringTable, with all the IDs and referring strings, what I wanted to know is how to generate the res file from the resourcestring unit.