This article takes you through the process of setting up the Braze Connector.
Please note that this Connector is a paid product. For pricing information, please reach out to your Smartling Customer Success Manager.
Connecting Braze to Smartling
- Log into Smartling.
- Create a Braze Connector project type in your Smartling Account.
- Ensure all required target languages are added to the project
- From within this project, click Settings > Braze Settings
- Click Connect to Braze
- Insert your Braze API URL
- E.g.:
https://rest.iad-01.braze.com
-
You need to use your Braze login URL to find API URL in the endpoints table.
- E.g.:
- Insert your Braze API Key
- In Braze, go to the Developer Console and click Create New API Key
- API Key should have all permissions for Templates and Content Blocks
- API Key should also have the following permissions for Campaigns:
campaigns.list
campaigns.details
campaigns.translations.get
campaigns.translations.update
- API Key should also have the following permissions for Canvas:
canvas.list
canvas.details
canvas.translations.get
canvas.translations.update
- In Braze, go to the Developer Console and click Create New API Key
- Insert a Language Attribute:
- This is the liquid variable or custom attribute that you use in your scripts. This attribute appears in code snippets, as referenced in our documentation for Translating Blocks.
- For example, see the language attribute in bold in the following email code snippet:
{% if {{custom_attribute.${preferred_language}}} == 'ENGLISH' %} This is an example code snippet for emails in Braze. {%else%} Fallback HELLO {%endif%}
- Insert the Source Language of your script as a locale code
- This is the locale code of the source language contained in single quotations in your scripts.
- For example, see the language attribute in bold in the following email code snippet:
{% if {{custom_attribute.${preferred_language}}} == 'ENGLISH' %} This is an example code snippet for emails in Braze. {%else%} Fallback HELLO {%endif%}
- Choose how you want your translated emails delivered to Braze by the Connector:
- One Email for All Languages: the Connector delivers all languages in the same email as the source.
- One Email per Language: the Connector creates a new email for each language in Braze.
- (Optional) Verify your credentials by clicking Test Connection
- Click Save Connection
Tip: Your Braze account is now connected to Smartling.
Braze Connector Configuration
When you have successfully completed connecting Braze to Smartling, the Braze Setting page has the following configurations
General
You can configure the behavior of the connector when updates are made to your previously translated content.
- From within your Smartling Braze Project, click on Project Settings > Braze Settings.
- Click the "Automation of Prior Requests for Translation" dropdown to select your desired behavior.
- Click Save.
Automation of Prior Requests for Translation
This setting controls how you want Smartling to monitor changes to content that has already been translated in Smartling. Smartling will not detect net new content, only updates to content that have been submitted for translation in the past.
Options include:
-
Automatically request translation (formerly "Auto"): The Braze Connector will detect changes to source content every 3 hours.
- Any changes detected to the source content will be submitted to Smartling for translation, batched into a Job and sit in awaiting authorization. However, if auto-authorize is enabled under Smartling Settings, the updated content will be batched into a Job and automatically authorized for translation.
-
Flag changed content (formerly "Manual"): The Braze Connector will detect changes to source content every 3 hours, but will not automatically submit content changes for translation.
- A user can manually select the changed assets that should be re-translated, and Request Translation from the Actions dropdown.
- Disabled (default and recommended): The Braze Connector will not detect changes to source content or automatically submit new changes.
3 hours is the recommended shortest time duration between checks. Talk to your Solutions Architect about changing the frequency to longer wave periods using cron.
Language Configuration
In the Language Configuration section, you will see the number of target languages in your Smartling project. The first time you open this page, you will find a blank field to the left of each of the Smartling target languages. You must insert a name for each target language in each field and save to complete language mapping.
Any language left blank will not appear in the dropdown list of target languages, when you Request Translation of content.
Each time you add a new language to the project, you must map that language in the connector settings.
- From within your Smartling Braze Project, click on Project Settings > Braze Settings.
- Insert the name of the language as you want it displayed in your translated file name in Braze.
- This field is completely customizable
- Click Save to save each mapping
Smartling Settings
Talk to your Customer Success Manager or Solutions Architect about options on auto-authorization, file retrievable formats, and file versioning.