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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dealing_with_multiple_languages_in_your_recipient_group [2019/02/26 12:39] lucydealing_with_multiple_languages_in_your_recipient_group [2019/08/08 14:54] 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.
  
-**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 template, his language attribute must be "german" and NOT "deutsch"). If you don't specify a language with the recipient, he will get the base language that was selected when adding a new scenario.+**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 template, his language attribute must be "German" and NOT "Deutsch"). If you don't specify a language with the recipient, he will get the base language that was selected when adding a new scenario.
  
 {{ language_recipients.png?600 }} {{ language_recipients.png?600 }}
Line 40: Line 41:
 {{ base_lang.png?600 }} {{ base_lang.png?600 }}
  
-**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?600 }} {{ language_sel.png?600 }}
  
-**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?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.txt · Last modified: 2021/07/06 10:09 by lucy