What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to integrate the language feature with Wordpress multilanguage installation?Asked by aegeetreasurer on November 12, 2013 at 04:22 PM
I am embedding JotForms in my multi language Wordpress installation.
Since there is now the option to use multiple languages in the same form (Kudos!) , I'd like to use this feature :)
Instead of showing a language picker directly in the form, I'd like to have the form's language controlled by wordpress.
I tried this using e.g. a "?lang=de" parameter in the embed code, but this did not seem to be evaluated by the form. It always defaults to English.
Is there another way to accomplish this?
Hello, thanks for posting your inquiry here on the forum.
But I still believe this can be done using the form source code.
thanks for your response. I am using this plugin for multi language support: http://wordpress.org/plugins/qtranslate/
It provides tabs for each language version of a page which can be filled separately.
http://www.qianqin.de/qtranslate/ decribes the three modes that can be used to control the language setting.
Before JotForm supported multi languages, I created a form for each language and then just embedded them in their respecitive (language specific) page in wordpress.
Now it could work the same way, the only difference is that instead of two different forms, I would just embed the same form twice but with different (lang) parameters.
Imo it would be easier and more stable to evaluate this parameter somehow instead of intermingling with the plugin's JS but I am not an expert on this ;)
Thanks for the reply and explainging about the plugin.
It seems that you can take advantage of the URL parameter after all. I will see what I can do with the form's source code to get the URL parameter and test it on my own Wordpress. I will get back to you as soon as I have updates with the script.
Hello,I apologize for the delayed response. I just finished making the scripts and successfully implemented the auto switcher that you can use with your qTranslate Wordpress plugin
*iframe Wordpress plugin by webvitaly
*qTranslate Wordpress plugin by Qian Qin
Download the formTranslationChanger.js here in this link. I also created an Installation.rtf file in which you can use for reference inside the ZIP archive.
Please view this video to further guide you on the installation and to show you how it works.
If you need further assistance, please do not hesitate to ask.