Skip Navigation
June 10, 2021

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

To get started, make sure that the following plugins are activated:

If you own a website and are working with a developer, please ask for the developer’s assistance in managing these settings.

Using WPML and Gravity Forms

WPML allows you to translate all your form fields including Standard Fields, Advanced Fields, Post Fields, and Pricing Fields.

You can translate Gravity Forms:

We highly recommend using WPML’s Advanced Translation Editor to translate your website content along with your form’s textual elements. This is because it facilitates the translation process by providing the following features:

  • Machine translation
  • A glossary
  • Translation memory
  • Spell checker
  • HTML-less editing

To activate the Advanced Translation Editor:

  1. Go to WPMLSettings.
  2. Scroll to the How to translate posts and pages section.
  3. Choose Use WPML’s Advanced Translation Editor option for New content.
  4. Click Save.
Activating WPML’s Advanced Translation Editor

In the Gravity Forms plugin Settings, make sure to set the No-Conflict Mode to Off. Turning on this option prevents you from being able to translate the form using the admin bar language switcher.

Turning off Gravity Forms “No Conflict Mode”

Translating Gravity Forms

This is a simple form that we created using Gravity Forms.

An example of a simple form

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.

Sending the form for translation from the language switcher

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 WPMLTranslation Management and selecting Gravity Form from the dropdown menu.

Viewing the filtered list of Gravity Forms on the Translation Dashboard

To send the form for translation:

  1. Select the form that you want to translate.
  2. Choose the Translation options corresponding to the languages you want to translate your form into.
  3. Click Add selected content to translation basket.
Sending the forms you want to translate to the Translation Basket

Go to the Translation Basket tab, choose your translator, and click the Send all items for translation button.

Sending all items for translation from the Translation Basket

Navigate to WPMLTranslations and click the Translate button corresponding to the form translation job. This opens the Advanced Translation Editor.

Taking the translation job

Click the Translate automatically button to load the machine translation or add your own translations. Review the translation and make sure it is accurate.

When translating the form make sure that you copy any default language (English) Merge Tags such as {all_fields} and {form_title} to the translation. Translating the merge tags might break the secondary language form.

Copying the form’s merge tags

Click 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:

Translating confirmation messages and notifications

This is how the translated form looks on the front-end:

The translated contact form on the front-end

Updating Form Translations

You might need to update the default language form by adding, deleting, or updating the content of some fields. If you do this, then you must update the translated versions.

Certain types of fields in Gravity Forms include multiple choices that users select. This includes the Drop Down, Multi Select, Radio Button, and Checkbox 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 added an Address field to our form. To update the translation of a form or translate new content that you added to the form, follow the steps below:

  1. Navigate to WPMLTranslations.
  2. The spinning arrows icon indicates that the translation needs to be updated. Click on the Edit button to update the translation.
Updating the form translation
  1. In the Advanced Translation Editor, translate the new field(s), and click Complete to update the translation.
Translating the new field content

Content Submitted into Translated Forms

Please note that the Gravity Forms plugin does not detect a language of contents submitted in a form. 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.

Deleting Form Translations

To delete a form’s translations, go to WPMLPackages and choose Gravity Forms from the dropdown menu. Select and delete the package that matches the name of the relevant form.

Deleting form translations

If you want to translate the form again later and don’t see it in WPMLTranslation Management, simply re-save the form.

Known Issues

There are no known compatibility issues between this plugin and WPML.

Getting Help

In case you need help translating your site built using Gravity Forms and WPML, visit WPML’s support forum.