Adding flags

Adding flags

When we add translations to a survey, we will need to add flag icons so users are able to change languages. For example, if visiting Italy and you get sent a survey in Italian but you're English, you will be able to change the language to English so you are able to fill it out.

To add flags to the survey:

  1. Go to 'Properties' on the right hand side and make sure this is on the Survey (not a page).
  2. Scroll down to 'Language Picker' and start adding the languages and flags. 
  3. Add a new field:
    1. In 'Value' add the code which will always be {"surveyLanguage":"xx", "flagIcon":"xx"}
    2. The 'Text' should be the language in that language i.e. Italian would be Italiano.
The language code can be found in the survey JSON once translations have been added. For example, this is the code for Italy:


The flag icon code can be found here: https://flagicons.lipis.dev/. For example, Italy's is 'it'.

For this example, this is how things would read/look

On DS language picker:
Value - {"surveyLanguage":"it", "flagIcon":"it"}
Text - italiano
Survey:


    • Related Articles

    • Adding Star L&T Visits

      Please see how to video here for process on adding Star visits for the L&T round.
    • NSO - Adding new shops

      New shops will be received into the Client Support desk. Each email will have an NSO form attached with all the relevant information we need. We need to open the NSO tracker spreadsheet which lives in the SharePoint > Z drive > Pret A Manger > NSO - ...
    • Adding a New User

      1. Create new user in Hive> Users. 2. Add communication delay if set at user level. 3. Tick ‘Hide reports until end of period?’ if they should have delayed Hub visibility until the end of each period. 4. Send welcome email.
    • Adding a New Branch

      1. Create new branch in Hive> Branches. 2. Create any new users needed and send Hub welcome email. 3. Update existing users. 4. Add visits if the opening date is in a period where visits have already been added. - Add visits in any periods that have ...
    • Adding a review source

      1. Go to https://reviews.hgem.com/ 2. Open the client account. 3. Find the branch in Settings> Locations. 4. In Review Sources, request for the relevant source to be added in the text box and ‘Submit’. - Include the URL to the review source page for ...