French conditionals in email

Options
In Email Campaigns, I'm trying to render conditinal content based on participant type name.


Snippet of code:


<!--CONDITIONAL CONTENT FOR Dare Your Co-Workers-->

[[?

[[?[[S48:3426:part-type]]::Dare Your Co-Workers::T::]]

[[?[[S48:3427:part-type]]::Dare Your Co-Workers::T::]]

[[?[[S48:3428:part-type]]::Dare Your Co-Workers::T::]]

::T::

Profitez bien du temps que vous passerez demain à créer de nouveaux souvenirs avec vos collègues! Cette occasion unique que VOUS avez créée vous permettra de vous rapprocher et de bien vous amuser, le tout en appuyant la Fondation. Avec un engagement comme le vôtre, votre activité prendra bientôt vie et la Fondation des maladies du cœur et de l’AVC parviendra ainsi à créer plus de survivants. Nous vous remercions du fond du cœur.

::<!--else do nothing-->]]


My English emails render beautifuly, but my French emails are not working. I've used both the English and French participant type names, but neither is working. When I register via the French version of the site, my locale is set accordingly and my part type name is in English. Argh! Any ideas?
Tagged:

Comments

  • Why not use the part-type-id rather than the name via part-type?
  • Brian Mucha:

    Why not use the part-type-id rather than the name via part-type?

    I agree -- using part-type-id is a much better solution in general, since then your code won't break if the participation type name is changed.

Categories