Skip Navigation
Updated
March 15, 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

Contents

Getting started

To get started, make sure that the following plugins are activated: WPML Multilingual CMS, WPML String Translation, WPML Translation Management, Gravity Forms, and Gravity Forms Multilingual.

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:

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 WPMLSettings, under the How to translate posts and pages section, choose Use WPML’s Advanced Translation Editor option for New content.

Activating WPML’s Translation Editor

Make sure to set the No-Conflict Mode to Off under FormsSettings. Turning on the this option might cause issues such as not being able to translate the form using the admin bar language switcher.

Turning off No-Conflict Mode

Translating Gravity Forms

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

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
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.

Sending the form for translation from the Translation Dashboard
Sending the form for translation from the Translation Dashboard

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.
Sending the forms you want to translate to the translation basket
Sending the forms you want to translate to the translation basket

Go to the Translation Basket tab and click the Send all items for translation button.

Going to the translation basket tab to send all items for translation

Navigate to WPMLTranslations and click the Take and translate button corresponding to the from translation job. This opens the Advanced Translation Editor.

Taking the translation job

Click the Translate automatically button to load the machine translation. Review the translation and make sure it is accurate.

Translating the form content

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:

Translating confirmation and notification messages

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. Of course, this will require updating the translation.

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:

  1. Navigate to WPMLTranslations. 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

  2. In the Advanced Translation Editor, translate the content of the new field(s) and click Finish then 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 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.

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
Deleting form translations

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

Known issues

Right now, 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.