Excluding cultures from Language Repeater

Kurt Muller asked on July 5, 2018 10:31

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

Correct Answer

Brenden Kehren answered on July 5, 2018 13:22

Use a macro in the where condition. CultureName <> '{%LocalizationContext.CurrentCulture.CultureName%}'(my field names may be wrong, don't have a copy in front of me to validate).

0 votesVote for this answer Unmark Correct answer

Recent Answers


Peter Mogilnitski answered on July 5, 2018 12:58 (last edited on July 5, 2018 13:01)

Have you can tried Culture code and Combine with default culture options. Here is the documentation

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.