Appending URL parameters for language translation is not working

  • Profile Image
    webdev99
    Asked on June 26, 2017 at 07: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?
  • Profile Image
    Jim_R
    Answered on June 26, 2017 at 07: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.

  • Profile Image
    NeilVicente
    Answered on July 11, 2017 at 03:13 PM

    Hi there,

    This bug is now fixed.

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

    Regards,

     

  • Profile Image
    webdev99
    Answered on July 17, 2017 at 03: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?

     

  • Profile Image
    Jim_R
    Answered on July 17, 2017 at 04: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.

  • Profile Image
    webdev99
    Answered on August 18, 2017 at 02: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.

  • Profile Image
    Jim_R
    Answered on August 18, 2017 at 03: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

  • Profile Image
    webdev99
    Answered on August 22, 2017 at 04:56 PM

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

  • Profile Image
    Mike
    Answered on August 22, 2017 at 06: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.

  • Profile Image
    webdev99
    Answered on August 22, 2017 at 07: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?

  • Profile Image
    Mike
    Answered on August 22, 2017 at 08: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.

  • Profile Image
    webdev99
    Answered on September 07, 2017 at 04: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.

  • Profile Image
    Jim_R
    Answered on September 07, 2017 at 05: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.