Translate your forms into multiple languages using WPML and the Formidable Multilingual add-on.
Download and install
- Purchase and install the following plugins from wpml.org:
- If you haven't already done so, install and activate Formidable Forms Pro.
- In your WordPress admin, go to 'Formidable' → 'Add-Ons' and click the 'Install' button for the Multilingual add-on.
Translate a form
After the three WPML plugins and the Formidable Multilingual add-on are activated, you may follow the steps below to translate your forms.
- Go into edit a form that you would like to translate. Click on "Settings" and click the "Translate Form" button.
- Enter your translations. If you would like to prevent a translation from being used, uncheck the 'Complete' box.
- Publish your form on a page and use WPML to translate the page to any other languages you would like to use.
Set datepicker language
Follow these steps to make the datepicker field in your form use a different locale.
- Open the field settings for your date field and set the locale to something other than 'English/Western'. If your default is English, you can select 'English/UK'.
- Go to the form translation page for this form.
- You will now see the code for the locale you selected in the list of translatable strings.
- Add a code for each language you are translating to. The available codes include:
en, af, sq, ar, hy, az, eu, bs, bg, ca, zh-HK, zh-CN, zh-TW, hr, cs, da, nl, en-GB, eo, et, fo, fa, fi, fr, fr-CH, de, el, he, hu, is, id, it, ja, ko, lv, lt, ms, no, pl, pt-BR, ro, ru, sr, sr-SR, sk, sl, es, sv, ta, th, tu, uk, vi
Sending translated emails
In order to send the email for the correct language, you'll set up multiple emails. Each of these emails will be sent conditionally, based on the language submitted.
- Add a hidden field to your form. Use the language code for the default value. For example, use en for English.
- Go to the translation page for this form. Translate 'en' to the language code for each language you are using.
- Add one email action for each language on your Form Actions page. Set them up however you'd like.
- In order to prevent every email from sending, add conditional logic to each one. Please note that Conditional Logic is only available in the Pro version of Formidable Forms. The logic will look like this:
Default language always shows
If the default language is always showing after setting up and saving your translation, this is usually related to settings in WPML. It works best if the default language in the WPML settings is the same and the default language set for the string translations.
English translation not working
If you have translated your form from a default language other than English, the translations may not show up. Try the following steps to resolve the issue:
- Go to the WPML String translation page and search for one of the strings that is not translating.
- If the string says it is being translated from English, use the bulk edit options to change the default language to your site's default language.
If this does not resolve the issue, please create a ticket in the help desk for assistance.