Skip Navigation
Originally written
January 20, 2020
Updated
February 3, 2020

WPForms is a plugin for adding any kind of contact forms to your WordPress site. In this guide, you will learn how to make your WPForms multilingual using WPML.

Default language formSecondary language form

Content

Getting started

If you are a developer, ensure that the WPForms plugin is activated.

To get started, make sure that the following plugins are activated: WPML Multilingual CMS, WPML String Translation, WPML Translation Management, and the WPForms Multilingual add-on plugin.

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

WPML’s Getting Started Guide helps you set up WPML in a few minutes. Later, you will want to refer to some of its subtopics, such as Translation Management. We recommend that you keep this guide open while following this tutorial.

WPML translation tools

WPML offers two translation editors you can use for translating your site’s content:

Besides translating your site content yourself, you can also:

Creating and translating your forms

To translate your forms, use the following steps:

  1. Create the form in the default language.
  2. Translate the form.
  3. Insert the form shortcode into a post, page, or widget – in the default language.
  4. Translate the post, page, or widget that holds the form.

Create the default language form

To create the default language form, go to WPFormsAdd New. In this example, we used the “Simple Contact Form” template. Of course, you can use a blank template and build your form from scratch.

Adding the default language form

You can customize the form by editing the fields’ label names and adding more form fields. Additionally, you can customize the notification message and confirmation email. Once done, click the Save button. For more details, check out WPForms guide on creating forms.

Customizing the default language form

Translate the form

To translate your form, follow these steps:

    1. Go to the WPMLTranslation Management page.
    2. In the Select items for translation section, select WPForms from the Element type drop-down menu and then click the Filter button.
    3. Use the checkboxes to select the form that you want to translate.
    4. In the Select translation options section, choose the Translate option corresponding to the language(s) you want to translate your forms into.
    5. Click the Add selected content to translation basket button. In this example, we will translate the contact form into Spanish.
Adding the form to the translation basket
  1. Now, navigate to the Translation Basket tab and click the Send all items for translation button.
  2. You can take a translation job by going to WPMLTranslations page. There, click the Take and translate button.
Taking the translation job

This opens the translation editor page. We recommend using WPML’s advanced translation editor.

    1. Click the Translate automatically button to let the editor translate contents using machine translation.
    2. Make sure that you copy the merge tags to the secondary language translation fields as translating these tags might result in breaking the form functionality in the secondary language. Once done, click the Finish button and then the Complete button to publish the translation.
Translating form content using the advanced translation editor

You can translate all parts of your forms including the field labels, submit button text, the confirmation message, and the notification email.

You can also translate sub-label texts such as “First” and “Last” by following the steps below:

    1. Navigate to WPMLString Translation and search for the sub-label text that you want to translate.
    2. Click on the translations link and fill in the translated text. Once done, click the Save button.
Translating sub-label texts from the String Translation screen

Insert the form into the content

After creating and translating your form it is time to add its shortcode into a page, post, or a widget. In our example, we created a new page in English and used the WPForms block to add our form.

Adding the form to the default language page

Translate content with the embedded form

Finally, translate the page, post, or widget that includes your form. You can do that by clicking the plus icon corresponding to the language you want to translate your page into the Language box.

Translating the form page

On the translation editor page, make sure to translate the page content only and not the form shortcode. Make sure that you copy the form shortcode into the secondary language translation field. WPML will automatically display the form in the correct language.

Getting help from our support

We have supporters in our forum who are ready six days a week to help you. They are trained in how to use WPML with WPForms.

If you are setting up the site and WPML yourself, please use our Technical support forum.