Multilanguage Forms: Use "?language=" paramater to set default language in Form Embed Script.

  • Profile Image
    klevas
    Asked on March 06, 2016 at 05:04 PM

    Hello, has these bug been fixed? I cannot seem to be able to embed with secondary language or dropdown=hidden.

    However, it works in iFrame

  • Profile Image
    Mike_G
    Answered on March 06, 2016 at 05:20 PM

    To my understanding, you would like to make sure that when your form loads it will load in the language you prefer, is that correct?

    I believe you can already set a default language in the Multi-Language Form Options.

    You can also view the instruction on how to in this guide, How-to-make-your-forms-multilingual

    And if you don't want the drop-down to change the language of your form to show on your form, you can add the CSS code below.

    .language-dd{

    display: none !important;

    }

    How-to-Inject-Custom-CSS-Codes

    Now, when you embed your form, it should load in the language you have set as default.

    If this is not what you mean, please feel free to contact us again with more details. Thank you.

  • Profile Image
    klevas
    Answered on March 07, 2016 at 08:31 AM

    Hi. thanks for your answer, however this is not what I am after.

    Default form language won't work, since I want to load a different language for each version of the site. English site > loads English form, Russian site > loads Russian.

     

    Please read my previous comments from back 2014, they explain in more detail what I am trying to achieve. 

     

    Thanks for CSS to hide drop-down thought, another workaround.

  • Profile Image
    Mike_G
    Answered on March 07, 2016 at 12:59 PM

    I see, thank you for the clarification. Unfortunately, adding "?language=ru", for example, only works if you embed your form using the iframe code and not on the embed script. I believe it would only work if "?language=" parameter would be placed on the website's URL.

    How about enabling the Detect Language, would that help?

     

    I'm still going to forward this to our developers so they will be aware that it is still not working. 

    You will be notified via this thread for updates if there are any. 

    Thank you.

  • Profile Image
    NicholasWestley
    Answered on March 09, 2016 at 08:57 PM

    Hi,

    If you are using the embed method you can add the url variables to the url of the page that the form is embedded in.  Like this:

    http://nicholaswestley.com/jotform/index.html?language=ru&dropdown=hidden
    http://nicholaswestley.com/jotform/index.html?language=zh&dropdown=hidden

    Is there a reason why this will not work for your site?


    Thanks a lot,

    Nicholas