451058192 | Posts: 80

French/English email template

0 votes

How can I embed a button labelled "version française" within the email template so users can click on the button and see the French version of the templates.

Currently for the account.invitation email we've placed both the English and French into one template but would prefer the user to be able to select the French version if they need to.  If I could get the HTML code so I can upgrade the templates would be very very helpful.


Duo_Liang | Posts: 3776

Reply to: French/English email template

0 votes

Hi Lori,

 

To add collapsible text, accordion or toggle components is actually much more complex than developing with normal web pages, this is because mail clients prevent most of the Javascript codes, and provide different and very limited support for CSS styles. That's why you can see your email template required hundreds lines of codes to ensure it can be effectively rendered across clients. So come back to the topic, I do have found some similar guides and sample codes out there:

https://freshinbox.com/blog/interactive-tabs-for-email/   (how to create tabs for email)

https://codepen.io/M_J_Robbins/pen/RNWOmB           (an example to show/hide texts)

You can pass these resources to your developer, but as stated above, these examples may not work for the email clients your senders are using and required more thorough tests.

 

Duo

 


451058192 | Posts: 80

Reply to:

0 votes

Hi when you store the templates are there URLs assigned to them?  I have created the ability for a user to click an embedded button link to change the email template but I need to be able to launch the French email template.


Duo_Liang | Posts: 3776

Reply to: French/English email template

0 votes

Hi Lori,

 

Unfortunately, the email templates are only stored in database and not exposed as public URLs. Furthermore, the "$LINK_URL" placeholder you used in the template will only be calculated when the email get sent, so you probably have to host a static page without the link and ask the sender to come back to the original email and click the registration link there.

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off