How can I set the default language of forms to Persi and make the language selector work?

  • tanvarz
    Asked on May 9, 2015 at 2:49 AM

    Hi,
    My default language in a form is Persian (Farsi).

    The default language in the URL of the form work correctly and form language show in Persian, but after embed form in my own page, the form language show in English, also the language selection menu on form not working.

    My form URL (Work Correctly):
    http://form.jotformeu.com/form/51274793046358

    My own page (URL of the web page that has this form):
    http://www.tanvarz.ir/product/591/%D9%85%D8%B4%D8%A7%D9%88%D8%B1%D9%87-%D9%88-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%D8%AA%D9%85%D8%B1%DB%8C%D9%86%DB%8C-%D8%A8%D8%AF%D9%86%D8%B3%D8%A7%D8%B2%DB%8C


    Could you help me?
    Thank you

     

    Jotform Thread 566950 Screenshot
  • Mike_G JotForm Support
    Replied on May 9, 2015 at 11:17 AM

    I'm sorry for any inconvenience this have caused. But, could you try embedding the form using iFrame Code.

    How can I set the default language of forms to Persi and make the language selector work? Image 1 Screenshot 30

    How can I set the default language of forms to Persi and make the language selector work? Image 2 Screenshot 41

    After inspecting your web page, I found out that you used the embed script to embed the form on your web page. But somehow, I have managed to replicate your web page and embed the form I have cloned base on your form and was able to make the default language to Persi and make the language selector to work accordingly. There might be a conflict between your web page's code and the original embed script. But, by using the iFrame code, the conflict is, somehow, resolved.

    Let us know if this helps. Thank you.

  • tanvarz
    Replied on May 9, 2015 at 11:37 AM

    Dear Mike_G,

    Thank you very very much for your helps.

    The iFrame code work correctly. But I didn't used that, because I worried about SEO. Is this negative effect in SEO?

    Also what is different between your method (copy only <iFrame> section without <Script> section) and copy all code (iFrame With script section)?

     

    Thank you again

     

  • Mike_G JotForm Support
    Replied on May 9, 2015 at 1:16 PM

    The iFrame code work correctly. But I didn't used that, because I worried about SEO. Is this negative effect in SEO?

    It would not create any negative impact, SEO wise. However, if you need to make sure of that, what I can advise for you to do is hire some SEO company to have it checked.

    Also what is different between your method (copy only <iFrame> section without <Script> section) and copy all code (iFrame With script section)?

    The <script> section sets default attribute to the <iframe> code which might conflict with the <script> in your web page. So, when you eliminate that part, embedding the <iframe> code will not create any conflict.

    You might also want to check this guide: Getting-the-Form-iFrame-Code

  • tanvarz
    Replied on May 9, 2015 at 1:24 PM

    Thanks again Mike_G