User Tools

Site Tools


dealing_with_multiple_languages_in_your_recipient_group

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous 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] (current)
lucy
Line 28: Line 28:
  
  
-===== Configuration =====+===== Configuration ​of campaigns with multiple languages using recipient groups ​===== 
  
 **Introduction**:​ If you create a campaign and want your employees to get the correct language, you won't need to create a separate scenario for each language. LUCY has the ability to dynamically send the correct language template to the recipient, if you have defined the language for each employee in the recipient settings. **Introduction**:​ If you create a campaign and want your employees to get the correct language, you won't need to create a separate scenario for each language. LUCY has the ability to dynamically send the correct language template to the recipient, if you have defined the language for each employee in the recipient settings.
Line 47: Line 48:
  
 {{ landing_page_language.png?​600 }} {{ landing_page_language.png?​600 }}
 +
 +
 +===== 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?​600 }}
 +
 +{{ dwropdownlanguage2.png?​600 }}
 +
 +You can add more languages within the source code (1). Each text in a separate language needs its own div tag (example: <div translate="​fr"​ for the french translation of the text):
 +
 +{{ dwropdownlanguage3.png?​600 }}
 +
 +Next, please open the q0.html file and you can see the following strings there:
 +
 +{{:​dropdowntemp_1.png?​600|}}
 +
 +For the paragraph, the translate attribute is entered. If this attribute = "​en"​ - English is implied, similarly for other languages.
 +
 +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 ("​[translate]"​). not ("​[translate = '"​ + lang + "'​]"​). remove ();**
 +
 +For example:
 +
 +{{:​dropdown_2.png?​600|}}
 +
 +
 +
 +You can create other templates using the same technology. As an alternative,​ we can create a multi-language dropdown template from any existing template in LUCY. Please contact support@lucysecurity.com for pricing.
 +
  
  
dealing_with_multiple_languages_in_your_recipient_group.1558026992.txt.gz · Last modified: 2019/07/25 12:50 (external edit)