Skip Navigation

Home » WPML Documentation » Related Projects » Gravity Forms Multilingual

Gravity Forms Multilingual – Easy Forms Translation with WPML

Gravity Forms Multilingual lets you create multi-language Gravity Forms. Just translate the texts and the form displays in the correct language on the front-end of your WordPress website.

A Simple and Powerful Way to Build Multilingual Gravity Forms

Easy Workflow

Edit a single Gravity form to send it for translation from the language switcher in the top-admin bar. To send multiple forms for translation, just navigate to WPML’s Translation Management Dashboard.

Flexible Translation

Translate Gravity Forms by yourself, with the help of professional translators. Or, send them for automatic translation from the Translation Management Dashboard.

No Extra Steps

Simply insert translated forms into pages using the Gravity Forms block. WPML displays the form in the correct language on the front-end.

On This Page:

Getting Started

Start by installing and activating the following plugins:

If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through different translation options you can use.

Before translating your forms, make sure that the No-Conflict Mode setting is turned off on the Forms Settings page. When this option is enabled you cannot translate the form using the language switcher in the top admin bar.

Turning off Gravity Forms “No Conflict Mode”

Creating and Translating Gravity Forms

To translate your Gravity Forms with WPML, you need to follow a 4-step process:

  1. Create the form and the confirmations and notifications for it in your default language
  2. Translate the form
  3. Translate the sub-labels
  4. Insert the form into a post or page and translate the post or page

Creating the Default Language Form

To create the default language form, go to Forms → New Form. You can choose from a list of pre-made form templates or build your form from scratch.

From the Settings area, you can set up Confirmations and Notifications. These are simple messages or email notifications that you can automatically send to a user after they submit a form.

Accessing the Settings of your form

WPML recognizes the Confirmations and Notifications you set up for each form. After sending the form for translation, you will be able to translate these messages together with the rest of your form content. 

Translating the Form

Edit the form you want to translate and hover over the language switcher. From the drop-down menu that appears, you can send the form for translation into a secondary language.

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

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

From the Translation Management Dashboard, you can select between translating forms automatically, by yourself, or assigning them to a translator.

Automatically Translating Forms

If you have translation credits, you can choose to translate forms automatically. In both the Translate What You Choose and Translate Everything modes, you need to send forms for automatic translation from the Translation Management Dashboard.

Once you click the Start translating button, you can track the status of the automatic translations at the top of the page.

After the automatic translations are done, you or your translators can review them from WPML → Translations.

WPML translates your custom sub-labels automatically. However if your form fields includes any default sub-labels provided by Gravity Forms, you need to translate them using String Translation.

Sending the Form to Translators

From Translation Management, you can send forms to your translators or professional translation service.

After you add the forms to the translation basket, click on the Translation Basket tab. Choose a translator or translation service for your different language pairs and send your forms for translation.

Sending the forms for translation from the Translation Basket

Translating Forms By Yourself

To translate the form by yourself, select the form you want to translate and the languages you want to translate it into.

Then, select the Translate myself option and click Add to Translation Queue.

Sending the form for translation

Next, go to WPMLTranslations and click the Translate button for the job related to your form.

Starting the translation of a form

You’re taken to the Advanced Translation Editor where you can translate your form texts, main labels, and custom sub-labels. If you have automatic translation credits, the built-in automatic translation feature fills in the translations for you.

If you are translating by yourself and your default language forms include merge tags such as {all_fields} or {Name (First):1.3}, make sure to copy them to your translation. Translating the merge tags could break the secondary language form.

Translating a Gravity form using WPML’s Advanced Translation Editor

If you use any of the sub-labels provided by Gravity Forms by defualt, you need to follow the steps below and translate them in String Translation.

Translating Sub-Labels

While you can translate the form texts, labels, and custom sub-labels in the Advanced Translation Editor or using automatic translation, you need to translate the default sub-labels for fields in String Translation. Examples of sub-label texts provided by default include First, Last, for the Name field, and Enter Email and Confirm Field for the Email field. 

To do this:

  1. Go to WPML → Theme and plugins localization. In the Strings in the plugins section, select Gravity Forms and click the Scan selected plugins for strings button.
  2. Once scanning is complete, go to WPML → String Translation. Use the In domain drop-down menu to search for strings in the gravityforms domain. You can also use the search bar to find the exact strings you want to translate.
Searching for the additional form texts to translate in String Translation
  1. Click the plus icon next to the string you want to translate and hit enter to save it.
Translating the custom labels of form fields in String Translation

Using Translated Forms In Pages

After translating all your form content, you can insert the form into any post or page using the Gravity Forms block.

Then, simply make sure to translate that post or page as well. You can do this by clicking the plus icon from the Language tab in the right sidebar.

Clicking the plus icon to translate the page with the form

When users visit the page in the secondary language, WPML will automatically display the form in the correct language. 

After submitting the form in the secondary language, your users will also see the translated confirmation message and receive the translated notification email in their language

Updating Form Translations

If you update the default language form by adding, deleting, or updating any of the content, you will need to update the translated versions.

Certain types of fields in Gravity Forms include multiple choices that users select, like Drop Downs and Radio Buttons. Changing the position of options in multiple-choice fields that have already been translated may result in those fields losing their translations. In this case, you need to translate these fields again.

To update the translation of a form or translate new content that you added to the form, follow these steps:

  1. Navigate to WPMLTranslations.
  2. The Status indicates that the translation needs an update. Click on the Edit button to update the translation.
Updating a form’s translation
  1. In the Advanced Translation Editor, review the automatic translations for the new field(s). If you don’t have translation credits, you’ll need to add the translations by yourself. Click Complete to update the translation.

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

WPML works fine with this plugin, but sometimes there could be minor issues we're working on. This is expected as both plugins provide frequent updates.

Current unresolved issues:

You can also search all known issues including previously resolved issues for this plugin.

Getting Help

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

WPML Documentation
November 27, 2023