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"}
Problem with using translations in stimulsoft reports.
-
- Posts: 7122
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with using translations in stimulsoft reports.
Hello,
You can use the Switch() function:
{Switch(AddressType == "billing", "Factuuradres", AddressType == "post", "Postadres", ...)}
Thank you.
You can use the Switch() function:
{Switch(AddressType == "billing", "Factuuradres", AddressType == "post", "Postadres", ...)}
Thank you.