The personalization can also be integrated into a CMS template.
You would like to create a rule that will prevent non-German speaking recipients from receiving any messages created using a German-language CMS template. Every German-speaking recipient has the entry German in the attribute Language.
The rule is constructed as follows:
<%InsertIf expression="${((user.CustomAttribute['language']!='german'))}" id="NonGerman"%> <ec:skiprecipient/> <%/InsertIf%>