Downloaded source code for multilingual for does not include other language

  • Trees_admin
    Asked on April 1, 2025 at 4:13 PM

    Hello,

    After downloading source for a multilingual form and installing it on my website, I cant get it to display the alternate language version of the form.

    I created a simple test form:
    https://form.jotform.com/250905784726062

    It supports 2 languages:
    english (pri) and Spanish(espanol)

    I downloaded the source code as a zip. The zip included a single HTML file and several javascript files.

    I installed it here: 
    https://treegiveaway.org/treehub/mlformtest/Basic_Multilingual_Form.html

    As you can see, the language selector is not rendered. I cant get it to display the Spanish version

    I saw this Jotform help page: 

    https://www.jotform.com/answers/3090420-when-downloading-the-source-code-it-is-only-downloading-it-in-the-default-form-language

    I tried adding the language param:

    https://treegiveaway.org/treehub/mlformtest/Basic_Multilingual_Form.html?language=es

    and tried editing the HTML as suggested: in call to FormTranslation.init() I changed "primaryLanguage":"en" to "primaryLanguage":"es"

    I changed my browser settings so Spanish is the primary language.

    Nothing worked.

    So I searched all the HTML and js files from the source zip and no Spanish words appear in the code.

    Am I doing something wrong?

    Thanks!

  • Lorenz JotForm Support
    Replied on April 1, 2025 at 11:58 PM

    Hi Trees_Admin,

    Thanks for reaching out to Jotform Support. I'll need a bit of time to look into this, and I'll be back with an update.

    Thanks for your patience and understanding, we appreciate it.

  • Lorenz JotForm Support
    Replied on April 2, 2025 at 1:34 AM

    Hi Trees_Admin,

    I checked your website, and I don't see the language dropdown as well. Are you also using WordPress for your website? There might be conflicts or compatibility issues between your website's code and the source code's scripts. If you have installed and activated any plugins that works similar with Jotform's multi-language feature, I would suggest you temporarily deactivate it, to see if it'll fix the issue.

    Additionally, you can re-embed the form using iFrame to prevent such conflicts. Let me walk you through on how to get the iFrame embed code:

    1. In Form Builder, in the orange navigation bar at the top, click on the Publish tab. 

    2. In the menu on the left side of the page, click on Embed.

    3. Then, select iFrame from the options and click on Copy Code.

    Downloaded source code for multilingual for does not include other language Image 1 Screenshot 20

    Give it a try and let us know how it goes.

Your Answer