Embedding a form in different languages

  • Profile Image
    andreasun79
    Asked on June 23, 2014 at 05:42 PM

    Hello!

    I see that you offer the feature to have a form in multiple languages. 
    Lets say we have our form in English and German languages. 

    On our website, when the customer click on English language, the form should appear in English language and when he clicks on German lanaguage, the same form should appear in German language. 

    Can I insert the form in different langauges as an iframe? If yes, how can I do that?

    Thank yoU!

    Andreas

  • Profile Image
    NeilVicente
    Answered on June 23, 2014 at 06:33 PM

    Yes, you can do that. Simply append ?language=[language_code] to the end of the form URL in the iFrame embed codes.

    For example, if the URL in the iFrame code is http://form.jotformpro.com/form/41737123803955 and you want to embed it in German, simply add ?language=de such as

    http://form.jotformpro.com/form/41737123803955?language=de

    For a complete list of language codes, check this out: http://www.w3schools.com/tags/ref_language_codes.asp

  • Profile Image
    klumme
    Answered on June 28, 2014 at 11:10 AM

    Apparently this doesn't work for the JavaScript embed?

    Also, in this case it would be useful with an option for hiding the language selector.

    Regards
    Kristian

  • Profile Image
    Welvin
    Answered on June 28, 2014 at 11:22 AM

    Hi Kristian,

    We advise to use the iFrame method: http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code.

    For Example, this form from your account: http://www.jotformeu.com/form/40223828880355. The following are the iFrame embed codes:

    For German: http://pastiebin.com/53aedd48c53fd

    For English: http://pastiebin.com/53aeddbeeab54

     

    You'll noticed in the iFrame codes, the language code is appended. Let us know if you have any further questions.

    Thanks