Campaigns in Multiple Languages

Braze allows you to send messages in different languages from our Dashboard. When composing a campaign, our language templating feature enables you to easily create one message that appears in different languages depending on the user’s phone settings.

Here’s how you can set up a message in multiple languages:

Step 1: Feature Opt-In

Click on the “Add Languages” button when composing your campaign.

Add Languages

Step 2: Select Languages

Select the languages that your message will be in. The selections offered in the dropdown menu will be all of the languages that your users currently have. Braze automatically tracks the language in users’ device settings and includes this information in each user’s profile. After you select your languages, the snippet textbox will alter to feature a template that you can copy and paste into the content of your message. This template uses conditional logic to handle multiple languages in a single campaign.

Select Languages

Step 3: Select Fields

Select the fields that you want to appear in different languages. These fields will differ depending on the message channel:

  • Email: Subject and body
  • Android Push: Message, Title, Summary Text, Sound, and Custom URL
  • iOS Push: Message, Sound, and Custom URL
  • In-App Message: Message
  • Windows Universal Push: Text 1, Text 2, Text 3, and Image Name In addition, a warning will display if you have already entered content in any of the selected fields. You can choose to replace existing content with the templated text, or insert the templated text after the existing text.

Select Fields

Step 4: Insert Fields

Using the buttons at the bottom of the dialogue, choose how you wish to insert the templated text into the message composer. Or, copy and paste the template into the desired location.

Step 5: Add Language Variations

After your templated text is inserted into the desired fields, type in different variations for each language. For each field where there is templating, you should enter the variations after bracketed segment of templating. The variation should correspond to the language code referenced in the brackets before it. For instance, in the message’s body, this might look like:

1
2
3
4
5
6
7
{% if ${language} == 'en' %}
Hello!
{% elsif ${language} == 'fr' %}
Bonjour!
{% else %}
Hello!
{% endif %}

In the title of an Android push, this might look like:

1
{% if ${language} == 'en' %}Hello!{% elsif ${language} == 'fr' %}Bonjour!{% else %}Hello!{% endif %}

The text you enter after {% else %} will display to users who:

  • Have a language that was not selected in Step 2.
  • Have a language that is not supported by Braze. Braze supports all of the languages represented by ISO 639-1 two letter codes.
  • Have a device where the language is undetectable. (This is highly unlikely). A best practice is to enter text here that you think your users are most likely to understand. To ensure smooth delivery, you should always enter content after {% else %}.

Anything entered outside of the template block will behave like normal content and display for all users.

Type Variations

Step 6: Preview Message

Click the Personalized Preview button and enter a user’s ID or email to see how the message would appear to that individual, depending on his or her language. In addition, you’ll be able to see how your entire message looks as a whole and decide whether to add languages to more fields than the ones you had previously chosen.

Preview Message

Step 7: Finish Campaign

Continue through the remaining steps of message creation. This includes finishing composing the message (for instance, editing Advanced Settings).

WAS THIS PAGE HELPFUL?
New Stuff!