Appending URL parameters for language translation is not working

  • webdev99
    Asked on June 26, 2017 at 7:40 PM
    I originally reached out to support about this same problem using a different account. Can you add this account to that list? Also are there any updates about when this might be completed?
  • Support_Management Jotform Support
    Replied on June 26, 2017 at 7:55 PM

    The previous thread you replied to doesn't have any updates yet but I saw it assigned to one of our Developers.

    Now, I've escalated this thread so our Developers will see the number of users affected by this. And although I won't be able to give you any timeframe, rest assured, we'll keep you apprised on this same thread when there's an update.

  • NeilVicente
    Replied on July 11, 2017 at 3:13 PM

    Hi there,

    This bug is now fixed.

    Please let us know if you're still having issues.

    Regards,

     

  • webdev99
    Replied on July 17, 2017 at 3:50 PM

    Hi, we are very happy that you guys fixed this! The only thing is that it takes a second to switch from the default language (English) to another specified language. The user sees the English form for a split second.... and then the form in their native language.

    Can this be made more seamless?

     

  • Support_Management Jotform Support
    Replied on July 17, 2017 at 4:17 PM

    I see what you mean. I'm not sure if this is something that can be changed because from how I see it, the form has to load the entire form first before it can translate it. Thus, explaining why you're seeing the default language first for a second before it gets translated.

  • webdev99
    Replied on August 18, 2017 at 2:59 PM

    Hi can you please tell me how the language parameter gets passed to the form? What is the name of the parameter... and what value should we provide?

     

    We tried ?language=fr among other things... and it doesn't appear to be working.

  • Support_Management Jotform Support
    Replied on August 18, 2017 at 3:33 PM

    The URL parameter needs to be used on the Form URL itself and not through the embed source URL.

    Form URL: https://form.jotform.us/71355782499168?language=fr

    Embed URL: https://form.jotform.us/jsform/71355782499168?language=fr

  • webdev99
    Replied on August 22, 2017 at 4:56 PM

    So this won't work for embedded URL's?

  • Mike
    Replied on August 22, 2017 at 6:11 PM

    It should work for iFrame embedded forms.

    If you need it for JS embedded forms, we can raise a ticket to our developers.

  • webdev99
    Replied on August 22, 2017 at 7:27 PM

    Thanks for the response. I see it does work with the iFrame embed. Are there any differences/limitations in the direct iFrame embed vs the script embed method?

  • Mike
    Replied on August 22, 2017 at 8:59 PM

    There are no big differences, iFrames are usually completely fine to use. The script embed is actually generating the iFrame on the fly, so the methods are similar.

  • webdev99
    Replied on September 7, 2017 at 4:43 PM

    Hi I was wondering if you you guys could add this capability for script embeds. I'd imagine it woulnd't be hard to do to have the script src tag pass along the parameters to the iframe src tag. I'm guessing they're getting stripped.

    Iframe embedds have not been working well for us. We have some issues with the height of the iFrame not getting set correctly.

  • Support_Management Jotform Support
    Replied on September 7, 2017 at 5:15 PM

    I moved your last post to a separate thread so we can pitch this in as a Feature Request.

    https://www.jotform.com/answers/1242356 

    I'll be replying to that thread shortly.