Page 1 of 1

Condition based on culture string?

Posted: Thu Jan 27, 2022 11:13 am
by Artimidor
I've tried to find some sort of system variable which contains a culture string like "de", "at", "it" etc. which could be used in a condition to print or not print e.g. a language-specific picture. So far I haven't found anything in this respect. Is there any such string somewhere, which can be accessed at design time?

Thanks in advance for a pointer!

Re: Condition based on culture string?

Posted: Fri Jan 28, 2022 8:04 am
by Max Shamanov
Hello,

you can try to use the variable with expression with the following code:

Code: Select all

this.Culture
But it can only work in compile mode. Please see the attached report.

thank you.