How do I tell what language the visitor has used?

  • Cognisant2000
    Asked on August 4, 2015 at 5:04 PM

    I have created a multi-language form which works fine. The only problem is I cannot tell which language the visitor has used as all enquiries appear to come in the default format (English). What can I do to show me the language of the enquiry so that I can respond in the correct language?

  • jonathan
    Replied on August 4, 2015 at 8:12 PM

    Hi,

    If I understand correctly, you were referring to the submission data to be always in English even if you used other language when responding on your form http://www.jotform.com/form/80685735646

    user guide: -How-to-view-Submissions

    I made a test submission, but I can see the response still on the same language I used on the form.

    Example, I used German language on your JotForm, and I can see in the submission that it still is in German.

    How do I tell what language the visitor has used? Image 1 Screenshot 20

     

    Hope this help. Please let us know if you need further assistance.

    Thanks.

     

  • Cognisant2000
    Replied on August 5, 2015 at 4:20 AM
    Hi
    Thanks for your reply.
    Perhaps I did not ask the question clearly.
    Of course the questions are in English and the answers are what the client selects. However, unless they use the free text part to ask a question in German or French, there is no way I can tell what language they have used. All the questions are in english (not a problem) e.g. Check-in Date or Check-out Date, and the answer is a date (from the date selector) but from this I cannot obtain the infromation what language was used to fill in the form.
    What I would like is an indication of the language used somwhere on the form which is inserted automatically (not by the client) so I can tell the language used was English, Spanish, German, French, etc. This allows me to respond in correct language.
    I hope this makes better sense.
    Regards
    Ali
    Important: This e-mail is intended for the above named only and may be confidential, proprietary, and/or legally privileged. If this has come to you in error, you must take no action based on it, nor must you copy or show it to anyone. Please contact the sender and delete the material from any computer.
    --------------------------------------------
    ...
  • Sammy
    Replied on August 5, 2015 at 4:43 AM

    You can use form conditions to determine the language selected the update a hidden field with the language value selected, please see the screenshots below.

    1. Add a text field and set it to hidden, this will be used to hold the value of the language selected

    How do I tell what language the visitor has used? Image 1 Screenshot 60

    2. Add a condition for updating the field value

    How do I tell what language the visitor has used? Image 2 Screenshot 71

    3. Add the conditions evaluating the language type and update the language based on selection to the hidden field

    How do I tell what language the visitor has used? Image 3 Screenshot 82

    How do I tell what language the visitor has used? Image 4 Screenshot 93

     

    How do I tell what language the visitor has used? Image 5 Screenshot 104

     

    Here is a cloned copy of the form for your review, you can also clone it back to your account

    https://www.jotform.com/form/52161809209959

     

  • Cognisant2000
    Replied on August 5, 2015 at 8:20 AM
    Hi Sammy
    Thanks for coming back to me so quickly.
    I tried following your instructions and it doesn't quite go as your images suggest. Here is what I did:
    1. Create a Text Box called "Respond in"
    2. Select from option "Hide Field"
    3. Go to "Conditions"
    4. Select "Update from Field Value"
    Now this is were it all goes wrong!
    First Field I have to Choose from gives me the option of all fields available in the form.
    I selected "Language"
    Then English UK
    From here it is unclear what I need to do. Your form shows "English" entered in the large variable box but I cannot do this. Where/how did you enter "English" in this area?
    Regards
    Ali
    Important: This e-mail is intended for the above named only and may be confidential, proprietary, and/or legally privileged. If this has come to you in error, you must take no action based on it, nor must you copy or show it to anyone. Please contact the sender and delete the material from any computer.
    --------------------------------------------
    ...
  • Sammy
    Replied on August 5, 2015 at 8:57 AM

    Upto the language selection is okay, type the name of the language into the large input area i.e if language is UK then type English.

    You will repeat the process for each of the languages so you have conditions foe each language

    How do I tell what language the visitor has used? Image 1 Screenshot 30

    Here is a short recording of the process happening

    How do I tell what language the visitor has used? Image 2 Screenshot 41

  • Cognisant2000
    Replied on August 5, 2015 at 9:50 AM
    Hi
    That is perfect. Working fine now.
    Regards
    Ali
    Important: This e-mail is intended for the above named only and may be confidential, proprietary, and/or legally privileged. If this has come to you in error, you must take no action based on it, nor must you copy or show it to anyone. Please contact the sender and delete the material from any computer.
    --------------------------------------------
    ...