Ninja Forms is an intuitive drag-and-drop form builder for WordPress. Learn how to use WPML to create multilingual forms using Ninja Forms.
Form in the default language
- Getting Started
- Creating and Translating Your Forms
- Updating Form Translations
- Known Issues
- Getting Help From Our Support
Start by installing and activating the following:
- The Ninja Forms plugin
- WPML core plugin and WPML String Translation add-on
- The Ninja Forms Multilingual add-on plugin
If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through all the translation options you can use.
One of these options is Translate Everything – the quickest way to translate and the easiest way to keep your content up to date. This feature automatically translates pages, posts, custom post types, custom fields, taxonomies, WooCommerce products, and more as you add and edit content.
Using Translate Everything with Ninja Forms will speed up the workflow of translating your forms.
These are the main steps to follow for translating your forms:
- Create the form in the default language.
- Translate the form.
- Insert a Ninja Forms block into a post, page, or widget and select the form you want to use from the dropdown.
- Translate the post, page, or widget that holds the form.
To create the default language form, go to Ninja Forms → Add New. In this example, we will use the “Contact Us” form template. Of course, you can use a blank template and build your form from scratch.
To translate your form go to the WPML → Translation Management page and follow these steps:
- In the Select items for translation section, select Ninja Forms from the Element type drop-down menu then click the Filter button.
- Use the checkboxes to select the forms 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 Translate selected content button. If you’re not the only translator in the site, this button is called Add selected content to translation basket. In this case, after clicking it, go to the Translation Basket tab, select the translator and send the basket for translation.
- Now, go to WPML → Translations and click the Translate button for the job related to your Ninja form. If you’re not the only translator in the site, this button is called Take and translate.
For the time being, you can’t set your secondary language forms to have a different date format for the date field nor a different currency.
After creating and translating your form it is time to add it to a page, post, or widget. In our example, we created a new page in English and used the Ninja Forms block to add our form.
Finally, translate the page, post, or widget that includes your form. You can do this by clicking the plus icon corresponding to the language you want to translate your page into in the Language box.
If you change the form in the default language you need to update its translations as well.
To update the translation of a form, follow these steps:
- Navigate to WPML → Translations.
- Translation status shows that the form translation needs updating. Click the Edit button in the form’s row.
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:
- Ninja Forms – When using Multi Step Forms add-on, step titles are not available for translation
- [Ninja Forms] Repeater Fields not available in the translation editor
You can also search all known issues including previously resolved issues for this plugin.
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 Ninja Forms.
If you are setting up the site and WPML yourself, please use our Technical support forum.