How do I add the correct translation to my email?
In this article, we explained how to use the same survey for different languages. In the following article, we will explain to you how you can automatically add the correct translated form to your email. We will continue with the given example under ‘URL parameter’, in the aforementioned article.
Step 1: Translations
In your feedback form, under ‘Build’ > ‘Form’, you can add translations. In this article, we will be using the URL Parameter.
When selecting this option an input appears where the parameter that holds the language value can be entered.
When you then press the ‘ADD LANGUAGE’ button it will ask for the parameter value that should be matched.
Step 2: HTML Snippet code
Once you have added the URL parameter for your translation, open your HTML snippet code.
Here you will find links to your public landing page:
<a target="_blank" href="https://demo.mopinion.com/survey/public/take-survey/9342be39153ccf31a85b1a1470523e1996da292a?thumbs_9341=positive" style="width:94px;height:73px;display:block;text-decoration:none;outline:none;">
Step 3: Edit link
You should add ‘& + your URL parameter with its value’, in our case, ‘&lang=nl_nl’:
<a target="_blank" href="https://demo.mopinion.com/survey/public/take-survey/9342be39153ccf31a85b1a1470523e1996da292a?thumbs_9341=positive&lang=nl_nl" style="width:94px;height:73px;display:block;text-decoration:none;outline:none;">
You should do this for all links in your HTML snippet. The amount of links given depends on the score element you are using.
Note: All links refer to the forms with, in our example, dutch translations. Depending on the email or marketing tool, you can manually edit the translation of the snippet to the language of your email. You could also add this as a variable with the help of a marketing tool. How to do this, will depend on the program you are using.
Note: it is not possible to automatically translate the title of the element in the email widget. You have to do this manually.