Language selection of form through URL parameters does not seems to work.

  • samanavitas
    Asked on September 8, 2015 at 4:44 AM

    Hello!

     

    I want to show german language of form on http://form.jotformeu.com/52254652515352?language=de, but form is not shown in German, but in default language - despite extra url parameter. If I select different language via flag and then select German it works properly.

     

    I checked all the forms for settings about saving state and all such things are off. 

  • Ashwin JotForm Support
    Replied on September 8, 2015 at 5:55 AM

    Hello samanavitas,

    I did check your form and it seems to display the form correctly based on language selection. If the language is passed on correctly in the URL parameter, form will be displayed in correct language.

    Here are your form direct URL with correct URL parameters:

    http://form.jotformeu.com/52254652515352?language=de-DE

    http://form.jotformeu.com/52254652515352?language=sl

    http://form.jotformeu.com/52254652515352?language=en

     

    Do try out the above URLs and get back to us if you have any trouble.

    Thank you!

  • samanavitas
    Replied on September 9, 2015 at 7:25 AM

    de-DE was the key! Thanks :)

     

    Tomaž

  • Ashwin JotForm Support
    Replied on September 9, 2015 at 12:50 PM

    Hello samanavitas,

    You are welcome.

    Do get back to us if you have any questions.

    Thank you!

  • samanavitas
    Replied on October 12, 2015 at 4:45 PM

    With wpml we have languages en for english and de for german. So having de-DE in jotform does not help for auto-selection.

  • Welvin Support Team Lead
    Replied on October 12, 2015 at 7:28 PM

    WPML changes the language based on the localization or .mo file. Maybe, you should add your form there? I'm not a pro, but I used this plugin a year ago for WordPress websites. I'm not sure if adding the form URL is possible. I'm hoping I could check it.

    Thanks

  • samanavitas
    Replied on October 17, 2015 at 1:30 PM

    Extra functionality is needed. Why would Jotform be limited to just one variable name? Or why would not be possible to pass extra parameters to scripts in several ways?

     

    I am beginning to wonder whether Jotform is the right tool for this.

  • jonathan
    Replied on October 17, 2015 at 9:50 PM

    Hi Tomaž,

    Please provide us more details to check the actual issue.

    I checked again the form using pre-selected language on its URL, and they seem to be working as intended.

    http://form.jotformeu.com/52254652515352?language=de-DE

    http://form.jotformeu.com/52254652515352?language=sl

    http://form.jotformeu.com/52254652515352?language=en

     Guide us were the feature was not working and we will check on it.

     

    Thanks.

  • samanavitas
    Replied on November 10, 2015 at 7:03 AM

    See our Wordpress page at http://www.sama-navitas.si/kontakt-za-it/?lang=de. There is jotform included, but due to jotform NOT recognizing language from wpml extra url parameter and not providing option for embedding form in set language, you see jotform form in default language first and you need to manually change the flag next to form to proper language. But even if for jotform lang url parameter  would be equal to language, it would still not work for german language, because wpml only uses "de" while jotform wants "de-DE".

  • victor
    Replied on November 10, 2015 at 10:21 AM

    Than you for the additional information. If I understand correctly, you would like to display the form in the language that the user selected to display your web page.

    You can try creating a new variable that capture the language and change the JavaScript in your iFrame adding the language selected

    Language selection of form through URL parameters does not seems to work Screenshot 20

    <script type='text/javascript'src='//form.jotformeu.com/jsform/52254737978369?language={language desired}'></script>

    This should display the form in the same language as the page.

    Please let us know if this helps.