Set culture with expression containing variable
Posted: Wed Sep 20, 2023 12:15 pm
I'm trying to change the culture with an expression. The expression only contains a variable: {V_Taal}. According to the documentation, it should be possible to set the culture with an expression. The variable's expression is:
Switch(main.Taal == "585be0fd-cf31-4b88-a003-cb7114b0bf84", "en-GB", main.Taal == "54d9b25e-eaf0-4af6-8fa3-5ce181588e61", "nl-NL")
When I print the variable to the report, it shows the correct value. However, the report doesn't translate the text. Attached is a sample report.
Can it be achieved? Any help would be appreciated![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Version I'm using is Stimulsoft Designer 2023.3.4
Switch(main.Taal == "585be0fd-cf31-4b88-a003-cb7114b0bf84", "en-GB", main.Taal == "54d9b25e-eaf0-4af6-8fa3-5ce181588e61", "nl-NL")
When I print the variable to the report, it shows the correct value. However, the report doesn't translate the text. Attached is a sample report.
Can it be achieved? Any help would be appreciated
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Version I'm using is Stimulsoft Designer 2023.3.4