I have french & english customers

Sebastien Mignot's Avatar

Sebastien Mignot

Sep 12, 2012 @ 12:28 PM

Hi,

I need to be able to send the cheddar getter emails in the appropriate language to my clients.

I wanted to edit the mail templates to do so, but I couldn't find anyway to set the lang of my users and get this variable in the email templates. The best I could come up with was to duplicate all my plans into plan_fr & plan_en, put my clients on the corresponding plan, put "fr" or "en" as the "description" of those plans (which means I can't use description anymore), and edit my template email by doing
{if $plan.description eq 'fr'} Bonjour.... {else} Hello....

This is not a good solution (I would like at least to have a lang variable for a user that I can set, instead of duplicating all the plans) ; is there another one that I didn't see ? Or could you add such a variable to the api, even if we have to edit the template manually to take it into account (of course if you translate the templates according to it it's even better :)

Thank's for your help,
Regards,
Sébastien Mignot

  1. Support Staff 1 Posted by Marc Guyer on Sep 12, 2012 @ 07:25 PM

    Marc Guyer's Avatar

    Hi Sébastien -- You could use the Customer Meta Data for this purpose.

  2. Dean closed this discussion on Jan 23, 2013 @ 04:38 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac