Skip to main content

Translate Klaviyo & Brevo emails

Display reward names in different languages using available variables.

Farah Bahoui avatar
Written by Farah Bahoui
Updated this week

Introduction

In order to provide a smooth, customized user experience, it is often necessary to translate elements such as reward or mission names into several languages. This guide will help you use the available translation variables to display correctly localized content according to the needs of your platform and your users.


Show translations

1. Use a specific language

If you wish to display the name of a reward in a specific language, you can do so by directly calling the variable associated with that language. For example, for Norwegian:

{{ event.reward_name_i18n.no }}

This method is useful if you need to display content in a predefined language, regardless of the user's language setting.

2. Display automatically according to user language

To automatically adapt the language to the user's preferred language, you can use a dynamic method. This method consults the user's language settings and displays the appropriate translation:

{{ event.reward_name_i18n[person|lookup:'locale_language'] }}

This ensures that users see reward names in their preferred language.


Klaviyo

Emails concerned

Email type

Trigger

Variable to use

Points earned email

points_earned

event.mission_name_i18n

Reward claimed or birthday reward email

reward_redeemed / birthday_gift

event.reward_name_i18n

Reward reminder email

reward_reminder

event.reward_name_i18n

Unused reward email

reward_unused

event.reward_name_i18n


Brevo

Emails concerned

Email type

Trigger

Variable to use

Points earned email

points_earned

params.mission_name_i18n

Reward claimed or birthday reward email

reward_redeemed / birthday_gift

params.reward_name_i18n

Reward reminder email

reward_reminder

params.reward_name_i18n

Unused reward email

reward_unused

params.reward_name_i18n

Did this answer your question?