ReportBuilder

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
kkgian
Posts: 7
Joined: Fri May 16, 2003 8:32 am

ReportBuilder

Post by kkgian »

How to translate string constant in ReportBuilder?
I have not much problem with Variables for RB cause there are all listed in the type declaration of the main form (TForm1) as siComp reads all in. But not for strings in calc events.
eg.

Code: Select all

procedure ppLabel1OnGetText(var Text; String);
begin
  Text:= Text + ' How to translate?';
end;
Please advice.
gaivans
Posts: 71
Joined: Fri Nov 29, 2002 4:10 pm

Post by gaivans »

Hello,

The siLang Expert can find and add to translation data any strings. From your example it is not clear which unit contains the above procedure. But anyway look the Expert's menu "File|Source". It has two subitems "With form..." and "Without form...".

If your procedure is located in a unit which has no .dfm choose "Without form...". You will be prompted to specify the unit to scan for hard-coded strings and the form with TsiLang component which will store found strings.
Best regards,
Serghei Gaivan
Post Reply