Hi all
What is the best way to exclude a current site culture from a Language Repeater? Currently, I have a conditional statement wrapped around the transformation on the repeater, which does work, but I'm using the repeater for multiple sites with multiple languages, so need to specify which culture on which language to exclude.
I want to be able to write something that's much cleaner and cause less maintenance hassle.
Thanks Kurt
Use a macro in the where condition. CultureName <> '{%LocalizationContext.CurrentCulture.CultureName|(identity)GlobalAdministrator%}'(my field names may be wrong, don't have a copy in front of me to validate).
CultureName <> '{%LocalizationContext.CurrentCulture.CultureName|(identity)GlobalAdministrator%}'
Have you can tried Culture code and Combine with default culture options. Here is the documentation
Please, sign in to be able to submit a new answer.