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 form||Secondary language form|
- Getting started
- WPML translation tools
- Creating and translating your forms
- Getting help from our support
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 offers two translation editors you can use for translating your site’s content:
- WPML classic translation editor (CTE).
- WPML advanced translation editor (ATE) offers automatic translation, a glossary, spell checker, and more!
Besides translating your site content yourself, you can also:
- Send your content for translation to a professional translation service.
- Create your own team of local translators from the Translation Roles tab in Translation Management and assign translation jobs to them.
To translate your forms, use the following steps:
- Create the form in the default language.
- Translate the form.
- Insert the form shortcode into a post, page, or widget – in the default language.
- Translate the post, page, or widget that holds the form.
To create the default language form, go to WPForms → Add 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.
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.
To translate your form, follow these steps:
- Go to the WPML → Translation Management page.
- In the Select items for translation section, select WPForms from the Element type drop-down menu and then click the Filter button.
- Use the checkboxes to select the form that you want to translate.
- In the Select translation options section, choose the Translate option corresponding to the language(s) you want to translate your forms into.
- Click the Add selected content to translation basket button. In this example, we will translate the contact form into Spanish.
- Now, navigate to the Translation Basket tab and click the Send all items for translation button.
- You can take a translation job by going to WPML → Translations page. There, click the Take and translate button.
This opens the translation editor page. We recommend using WPML’s advanced translation editor.
- Click the Translate automatically button to let the editor translate contents using machine translation.
- 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.
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:
- Navigate to WPML → String Translation and search for the sub-label text that you want to translate.
- Click on the translations link and fill in the translated text. Once done, click the Save button.
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.
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.
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.
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.