I have french & english customers

Sebastien Mignot's Avatar

Sebastien Mignot

12 Sep, 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 12 Sep, 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 23 Jan, 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

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM