Hi Willie,
We use GnuGetText and ReportBuilder 14.08 in Delphi 2007/XE3/XE7. Our reports are now datamodule descendants instead of forms but that is a fairly recent change and it worked fine prior to that. So in datamodule/formcreate we have: gnugettext.TranslateComponent(Self); And our GnuGetText initialisation for ReportBuilder is: //Report Builder TP_GlobalIgnoreClassProperty(TppField,'FieldName'); TP_GlobalIgnoreClassProperty(TppField,'FieldAlias'); TP_GlobalIgnoreClassProperty(TppPrintable,'DataField'); TP_GlobalIgnoreClassProperty(TppPrintable,'DataPipelineName'); TP_GlobalIgnoreClassProperty(TppPrintable,'UserName'); TP_GlobalIgnoreClassProperty(TppReport,'ArchiveFileName'); TP_GlobalIgnoreClassProperty(TppReport,'TextFileName'); TP_GlobalIgnoreClassProperty(TppCustomReport,'DataPipelineName'); TP_GlobalIgnoreClassProperty(TppCommunicator,'UserName'); TP_GlobalIgnoreClassProperty(TppGroup,'UserName'); TP_GlobalIgnoreClassProperty(TppGroup,'BreakName'); TP_GlobalIgnoreClassProperty(TppCustomText,'Username'); TP_GlobalIgnoreClassProperty(TppMasterFieldLink,'MasterFieldName'); TP_GlobalIgnoreClassProperty(TppMasterFieldLink,'DetailFieldName'); TP_GlobalIgnoreClassProperty(TppRichText,'RichText'); I don’t guarantee this is correct – for example arguably UserName should be translated but we don’t currently use the user designer so we don’t care what the display names of components are. I can guarantee that we don’t get any AVs using 14.08 though. I don’t think we’ve tried ReportBuilder 15, we did try 16 briefly but we haven’t upgraded to it and its just possible we didn’t play with it enough to notice AVs. Cheers, David. From: delphi-boun...@listserver.123.net.nz [mailto:delphi-boun...@listserver.123.net.nz] On Behalf Of Willie Sent: Monday, 29 June 2015 9:46 a.m. To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] dxGetTex and Report Builder. Hi, I’m doing some translation work using dxgettext, mostly it is working OK but I’m running into issues with ReportBuilder (Delphi XE2 RB 15.04) where I am getting an access violation when running the TranslateComponent() method on the formcreate of the form that has the RB report. The issue seems to arise at the very end of the method where it is “freeandnil”ing the stringlists, specifically the donelist. I assume it’s just a matter of adding the correct “ignore” reference for dxgettext but I can’t work out what exactly to ignore. Has anyone got this working, i.e. used dxgettext and ReportBuilder? TIA Willie
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@listserver.123.net.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@listserver.123.net.nz with Subject: unsubscribe