Using source code embed will the JotForm Multi-Language tool still work

  • quintagyo
    Asked on December 11, 2014 at 4:29 PM
    My other question is: my website is bilingual, with the Spanish version in the main public_html directory, and the English version in a subfolder /en/. Is the calendar going to continue to show up in English for the forms that are on the English webpages? In other words, will the calendarview.js file be used instead, giving the English site users labels in Spanish?
  • David JotForm Support
    Replied on December 11, 2014 at 5:41 PM

    Hi,

    As long as the translation is done in your form before you embed the source code, the form should attempt to match the browser language.  At a bare minimum you can enable the selection of which language you would like the form to be in within the form:

    http://www.jotform.com/blog/91-Create-Multilingual-Forms-for-a-Global-Audience

    Let us know if you have any further questions and we will be happy to help.

  • quintagyo
    Replied on December 11, 2014 at 5:58 PM

    Hi David,

    Thanks for the response. I'm not sure if my concern is completely clear since it was rethreaded from another question. So, just to be sure, please allow me to give a little more information.

    I'm actually going to have two different forms, one in Spanish and the other in English, and they are completely independent. One will be embedded in a page on the English site, which will be in a subdirectory. The other form will be in a page on the Spanish site, which will be in the principal directory. Will the revised calendarview.js in Spanish that I will put in the principal directory have any impact on what the form in the English page will display from the subdirectory?

    Thanks

  • David JotForm Support
    Replied on December 11, 2014 at 6:30 PM

    I believe I under what you are talking about now.  If both forms are pointing to the same Javascript file for the calendar settings then yes, the English calendar will be in Spanish.  If they are in separate directories with the English one pointing to an unmodified version of the file, then you should be OK.  You would need two different versions of the calendarview.js in different directories.  Though depending on your file structure this should work.

  • quintagyo
    Replied on December 11, 2014 at 9:26 PM

    Thanks for the clarification. Once I've uploaded my website, I'll check to be sure that the appropriate calendar is showing up in each.

    Regards

  • abajan Jotform Support
    Replied on December 12, 2014 at 3:24 AM

    We look forward to hearing how it turns out. Please keep us updated.

    Thanks