Working with template translations
Define a template and use it to send multi-language messages
You can localize your messages by translating them into the language your audience uses through Falu's message templates. This way, you can ensure that your content is relevant and accounts for nuances, particularities, attitudes, and values.
Think about it: If you are targeting the Tanzanian market with an SMS marketing advert urging the public to visit Kenya's Mount Kenya, and your sale price is listed in Kenya Shillings, you have guaranteed their lack of interest.
- Template translations are currently only available through the API. You, therefore, need to create or update a template through the API to add its language translations.
- You can add a translation to any ISO-recognized language by including its three-letter code in your templates.
Add translations to Falu templates
You can add language translations when creating or updating message templates.
Add translations when creating a template
Create your template as follows:
Add translations to an existing template
If you have an existing template with no previous language translations, you can add a translation using the PATCH call below:
On the other hand, if you want to update an existing translation in a template:
-
Check Update a message template API doc for more operations parameters to use in your API requests when patching a template.
-
Your token names must be similar in the original template and in all the translations. For example,
Hello {{name}}
in English must translate toHujambo {{name}}
in Swahili.
Sending a translated message
Once a template has all the desired translations, you can use it to send a message in any of the defined languages. To do so, make a POST call to the endpoint https://api.falu.io/v1/messages
: