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/05/16 19:16] – lucy | dealing_with_multiple_languages_in_your_recipient_group [2019/08/08 14:54] – lucy | ||
---|---|---|---|
Line 28: | Line 28: | ||
- | ===== Configuration ===== | + | ===== Configuration |
**Introduction**: | **Introduction**: | ||
Line 47: | Line 48: | ||
{{ 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