WPML lets you translate the texts that appear in your Gravity Forms to other languages in your site. Once translated, the form displays in the correct language on the front-end automatically.
|Default language form||Secondary language form|
- Getting started
- Translating Gravity Forms
- Updating form translations
- Content submitted into translated forms
- Deleting form translations
- Known issues with Gravity Forms
- Getting help
If you own a website and are working with a developer, please ask for the developer’s assistance in managing these settings.
WPML allows you to translate all your form fields including Standard Fields, Advanced Fields, Post Fields, and Pricing Fields. You can translate Gravity Forms:
- By assigning the translation task to a local translator. Learn more about assigning translation jobs to local translators using WPML’s Translation Management.
- By sending the form to be translated by a professional translation service. Learn more about setting up and sending your content to professional translation services.
- Yourself, as a translation administrator.
We highly recommend using WPML’s Advanced Translation Editor (ATE) to translate your website content along with your form’s textual elements as it facilitates the translation process by providing features like machine translation, a glossary, translation memory, spell checker, HTML-less editing, and more.
You can activate the Advanced Translation Editor by navigation to WPML → Settings, under the How to translate posts and pages section, choose Use WPML’s Advanced Translation Editor option for New content.
Make sure to set the No-Conflict Mode to Off under Forms → Settings. Turning on the this option might cause issues such as not being able to translate the form using the admin bar language switcher.
This is a simple form that we created using Gravity forms.
Save your form, then hover over the language switcher. Here, you can specify which language the form is in, and you can send the form for translation.
Clicking Send to translation opens Translation Management and filters the available content to show only Gravity Form content.
You can also access this list by going to WPML → Translation Management and selecting Gravity Form from the dropdown menu.
Select the form that you want to translate and choose the Translate option corresponding to the languages you want to translate your form into. Then, click Add selected content to translation basket.
Go to the Translation Basket tab and click the Send all items for translation button.
Navigate to WPML → Translations and click the Take and translate button corresponding to the from translation job. This opens the Advanced Translation Editor.
Click the Translate automatically button to load the machine translation. Review the translation and make sure it is accurate.
Click Finish then Complete to publish the translation.
You can also translate the confirmation and notification messages in the Advanced Translation Editor as illustrated in the screenshot below:
This is how the translated form looks on the front-end:
You might need to update the default language form by adding, deleting, or updating the content of some fields. Of course, this will require updating the translation.
Certain types of fields in Gravity Forms include multiple choices that users select. This includes the Drop Down, Multi Select, Radio Buttons, and Checkboxes fields.
Please note that changing the choices’ position for form fields that have already been translated can make those fields lose their translations. In this case, you need to translate these fields again.
In our example, we will add an Address field to our form. To update the translation of a form or add translation to new content that you added to the form follow the steps below:
- Navigate to WPML → Translations. The spinning arrows icon indicates that the translation needs to be updated. Click on the Edit button to update the translation.
- In the Advanced Translation Editor, translate the content of the new field(s) and click Finish then Complete to update the translation.
Please note that the Gravity Forms plugin does not detect a language of contents submitted by its forms. When you submit content into a translated form, that content will still be created in the default language.
You can use Gravity Forms hooks and filters to write your own application logic and set the language of the submitted content after Gravity Forms creates it.
To delete a form’s translations, go to WPML → Packages and choose Gravity Forms from the dropdown menu. Select and delete the package that matches the name of the relevant form.
If you choose to translate the form again later and don’t see the form in WPML → Translation Management, simply re-save the form.
In case you need help translating your site built using Gravity Forms and WPML, visit WPML’s support forum.