Page 1 of 1

Problem with using translations in stimulsoft reports.

Posted: Mon Mar 10, 2025 7:48 am
by kobe
i have a problem with using translations in stimulsoft reports.
There is a textfield that shows a different value depending on the condition. Could someone tell me how to setup a translation key for each possible value in the textfield? normally i add the key to the globalised name property but since there are more options for a single textfield this doesn't work. This is the condition i use: {AddressType == "billing" ? "Factuuradres" : AddressType == "post" ? "Postadres" : "Bezoekadres"}

Re: Problem with using translations in stimulsoft reports.

Posted: Tue Mar 11, 2025 9:39 am
by Lech Kulikowski
Hello,

You can use the Switch() function:
{Switch(AddressType == "billing", "Factuuradres", AddressType == "post", "Postadres", ...)}

Thank you.