dealing_with_multiple_languages_in_your_recipient_group
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dealing_with_multiple_languages_in_your_recipient_group [2019/02/26 12:39] – lucy | dealing_with_multiple_languages_in_your_recipient_group [2019/08/08 14:54] – lucy | ||
---|---|---|---|
Line 28: | Line 28: | ||
- | ===== Configuration ===== | + | ===== Configuration |
**Introduction**: | **Introduction**: | ||
- | **Step 1:** upload a recipient group, where you have the correct language associated with each recipient. The language must be specified in English within the recipient list (if you want a recipient to get a german | + | **Step 1:** upload a recipient group, where you have the correct language associated with each recipient. The language must be specified in English within the recipient list (if you want a recipient to get a German |
{{ language_recipients.png? | {{ language_recipients.png? | ||
Line 40: | Line 41: | ||
{{ base_lang.png? | {{ base_lang.png? | ||
- | **Step 3:** Within the scenario settings you now have the possibility to add further languages. Please select the additional languages for you scenario. | + | **Step 3:** Within the scenario settings you now have the possibility to add further languages. Please select the additional languages for your scenario. |
{{ language_sel.png? | {{ language_sel.png? | ||
- | **Step 4:** When you [[edit_landing_page|edit the landing page]] or [[mail_settings|edit the message template]] you will see a drop down menu appearing at the top with the additional language you added in the previous step. If the template is already available in the desired language, the according content will be appear once you to select the language. If there is no template with the desired language, you will need to create the template yourself first. | + | **Step 4:** When you [[edit_landing_page|edit the landing page]] or [[mail_settings|edit the message template]] you will see a drop-down menu appearing at the top with the additional language you added in the previous step. If the template is already available in the desired language, the according content will appear once you to select the language. If there is no template with the desired language, you will need to create the template yourself first. |
{{ landing_page_language.png? | {{ landing_page_language.png? | ||
+ | |||
+ | |||
+ | ===== Configuration of campaigns with multiple languages using dropdown menus in templates ===== | ||
+ | |||
+ | If you don't know the language of the user or allow the users to choose the language themselves, you can work with specific awareness templates. We have different examples within the awareness section that illustrates the technology: | ||
+ | |||
+ | {{ dwropdownlanguage.png? | ||
+ | |||
+ | {{ dwropdownlanguage2.png? | ||
+ | |||
+ | You can add more languages within the source code (1). Each text in a separate language needs its own div tag (example: <div translate=" | ||
+ | |||
+ | {{ dwropdownlanguage3.png? | ||
+ | |||
+ | Next, please open the q0.html file and you can see the following strings there: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | For the paragraph, the translate attribute is entered. If this attribute = " | ||
+ | |||
+ | Then please create and paste this code into the javascript (in any or separate js file): | ||
+ | |||
+ | * **var someelement = $ ('... select the element ...' | ||
+ | |||
+ | * **var lang = $ ('... choose the language ...' | ||
+ | |||
+ | * **someelement.find (" | ||
+ | |||
+ | For example: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | You can create other templates using the same technology. As an alternative, | ||
+ | |||
dealing_with_multiple_languages_in_your_recipient_group.txt · Last modified: 2021/07/06 10:09 by lucy