Skip to content

Locales in messages

After adding locales to your workspace, you can target users in different languages all within a single in-app message.

Prerequisites

To edit and manage multi-language support, you must have the “Manage Multi-Language Settings” user permission. To add the locale to a message, you’ll need permissions for editing campaigns.

Using locales

To use locales in your messaging, compose an in-app message campaign or Canvas. Select either the drag-and-drop editor or the traditional editor, then follow the steps based on your editor.

  1. Add translation tags {% translation %} and {% endtranslation %} to wrap all text and image or link URLs to be translated.
  2. Add an ID tag to each translation tag. An example is: {% translation id_1 %}

Traditional editor with translation IDs.

  1. After adding the tags, save your message as a draft.
  2. Select Manage languages and add your locales for the message using the dropdown.

"Manage languages" modal with one selected locale.

  1. Select Download template to download the translation template as a CSV file. Then, fill in the translations in the CSV file.

An example of a translation CSV file.

  1. Select Upload translations to upload the CSV file with the completed translations.
  1. Add translation tags {% translation %} and {% endtranslation %} to wrap all text and image or link URLs to be translated.
  2. Add an ID tag to each translation tag. An example is: {% translation id_1 %}

Drag-and-drop editor with two translation IDs.

  1. After adding the tags, save your message as a draft, and then open the editor again.
  2. In the Build panel, select Multi-language and add your locales for the message using the dropdown.
  3. Select Download template to download the translation template as a CSV file.

"Multi-language" panel with button to download the template.

  1. Fill in the translations in the CSV file. If you’ve copied and pasted the translation tags directly from Step 1, you may need to remove <code> from the Translation tags column of the CSV file.
  2. Select Upload translations to upload the CSV file with the completed translations.

"Multi-language" panel with buttons to download the template and upload translations.

Any changes to the IDs or locales in the CSV file will not automatically update in your message. To update the translations, update the CSV file and re-upload the file.

Preview your locales

In the Preview message as user dropdown within the Test tab, select Custom user and enter different languages to preview the message to check if your message translates as expected.

Frequently asked questions

Can I make a change to the translated copy in one of my locales?

Yes. First, make the edit in the CSV, then upload the file again to make a change to the translated copy.

Can I nest translation tags?

No.

Can I add HTML styling in the translation tags?

Yes, but be sure to check that the HTML styling is not translated with the content.

What validations or extra checks does Braze do?

HOW HELPFUL WAS THIS PAGE?
New Stuff!