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.
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.