Embed: Script embed code doesn't recognize the language parameter

  • ServiceDegura
    Gefragt am 2. September 2023 um 12:10

    Ich habe ein Problem mit einem JavaScript-Skript auf Ihrer Plattform. Das Skript soll die Sprache des Browsers ermitteln und dann entsprechend die Sprache des Textes ändern. Dazu habe ich den folgenden Parameter in das Skript eingefügt:

    <script type="text/javascript" src="https://form.jotform.com/jsform/232323979481060?language=en"></script>

    Dieser Parameter wird jedoch nicht korrekt übernommen. Wenn ich beispielsweise die URL mit dem Parameter language=en aufrufe, wird der Text trotzdem in der Standardsprache angezeigt.

    Erwartetes Ergebnis:

    Das Jotform Formular sollte in englischer Sprache angezeigt werden.

    Tatsächliches Ergebnis:

    Der Text wird in der Standardsprache angezeigt.

    Sonstiges:

    Ich habe bereits versucht, das Problem selbst zu beheben, aber ich konnte keine Lösung finden. Ich hoffe, Sie können mir bei diesem Problem helfen.

    Vielen Dank für Ihre Unterstützung.

    Mit freundlichen Grüßen,

    Jannik Schmid

  • Billy Jotform Support
    Geantwortet am 3. September 2023 um 01:57

    Hi ServiceDegura,

    Thanks for reaching out to Jotform Support. Unfortunately, our German Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in German, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Allow me some time to look into your question and will reach out again as soon as I have an update.

    We appreciate your patience and understanding.

  • Billy Jotform Support
    Geantwortet am 3. September 2023 um 03:09

    Hi Jannik,

    Thanks for patiently waiting. I had the same problem using the script embed code but not with the iframe. Check the screencast below:

    Embed: Script embed code doesnt recognize the language parameter Image 1 Screenshot 20

    Would this work for you? I've also reached out to our relevant team to see why the script embed code doesn't recognize the language parameter. You'll hear from us again soon.

  • Billy Jotform Support
    Geantwortet am 5. September 2023 um 00:51

    Hello Jannik,

    Thanks for patiently waiting. Have you tried the iframe embed yet? Our relevant team also had the same problem when they used the script embed and set the language in the URL parameter. Can you try their suggestion below?

    https://yourwebsite.com/your_form.html/language?en


    Can you also provide us with the URL where your website is embedded so we can investigate further?