Skip to main content
Solved

translate {% unsubscribe %} to french without any conflict

  • April 30, 2021
  • 6 replies
  • 1184 views

Forum|alt.badge.img+3

Hi, 

how can I translate  {% unsubscribe %} to french without any conflict in the footer of a french email.

Thank you

Best answer by David To

Hello @Samar Mazloum,

You can translate the {% unsubscribe %} syntax and have it display as your desired phrasing by using the following syntax {% unsubscribe 'PHRASE_TO_DISPLAY' %} while replacing the PHRASE_TO_DISPLAY portion of the syntax.

Similarly, this can be accomplished for both the Manage Preference and the Web View tag as highlighted in the Guide to Template Tags and Variable Syntax article with examples of each. 

Hope this helps!

-David

6 replies

David To
Klaviyo Employee
Forum|alt.badge.img+60
  • Klaviyo Employee
  • 2455 replies
  • Answer
  • May 1, 2021

Hello @Samar Mazloum,

You can translate the {% unsubscribe %} syntax and have it display as your desired phrasing by using the following syntax {% unsubscribe 'PHRASE_TO_DISPLAY' %} while replacing the PHRASE_TO_DISPLAY portion of the syntax.

Similarly, this can be accomplished for both the Manage Preference and the Web View tag as highlighted in the Guide to Template Tags and Variable Syntax article with examples of each. 

Hope this helps!

-David


Forum|alt.badge.img+6
  • Contributor I
  • 7 replies
  • July 1, 2022

Hi David, 

Can you help with this please. When I type in {% unsubscribe ‘afmelden’ %}, it comes out like this in email form: What am I doing wrong? 

 


alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • July 1, 2022

Hi there @CourtneyAcosta,

That is odd behavior. Can you confirm with a screenshot how you have written the syntax for it? Here is a related article as well.


Forum|alt.badge.img+6
  • Contributor I
  • 7 replies
  • July 4, 2022

 


Forum|alt.badge.img+6
  • Contributor I
  • 7 replies
  • July 4, 2022

Hi Alex,

Thanks for reaching out. I read that article that you sent as well and also tried this version: {% unsubscribe ‘afmelden’ %}, but that didn’t work either. I didn’t quite understand the “needing more control” part, so hopefully you can help explain. Please help b/c we send out email campaigns in a few different languages. 


alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • July 5, 2022

Hi @CourtneyAcosta,

The case could be a syntax issue. I would suggest you replace {% unsubscribe %} with {% unsubscribe_link %} let me know if that worked.

 

Thanks,

Alex