WPML allows you to translate pages built with Divi. You simply need to create your page with Divi and then use WPML to translate the texts in your design.
|Divi Page in original content||Divi Page translated to French|
Divi is a smart and flexible multipurpose theme, it comes with an easy to use page builder and a handful of pre-made layouts that will help you create the website that suits your needs. If you are willing to have a multilingual site, Divi’s integration with WPML will allow you to translate all the theme elements effortlessly.
What you will need
- The Divi theme (version 3.0 or above).
- A recent version of WPML (version 3.6.2 or above), including the String Translation, Translation Management and Media translation add-ons.
- WPML’s Getting Started Guide will help you in setting up WPML in a few minutes. You will want to refer later to some of its subtopics, such as Theme and Plugin Localization and String Translation. We recommend that you keep this guide open while following this tutorial.
- Please visit our main page about translating pages created using page builders. You will learn more about the setup, the technical requirements and the translation workflow.
- Divi’s documentation will provide you with all the information needed to set it up and using its different features.
- Getting started
- Translating a page built with the Divi Builder (backend)
- Translating a page built with the Visual Divi Builder (frontend)
- Translating Divi Predefined Layouts
- Updating a page and its translation
- Translating other pages, posts, custom post types, and taxonomies
- Translating Divi’s theme text and other strings
- Translating Divi’s theme options
- Translating Divi’s custom layouts
- Translating Divi’s menus
- List of the Divi Modules currently translatable by WPML
- Translating content from Divi adds-on
- Getting help – WPML Forum
- Get WPML
- Activate the Translation Editor :
- Set up WPML from WPML > Languages. See our WPML Getting Started Guide for complete reference. The initial, simple three-step setup is self-explanatory, asking you to choose your default language, a set of active languages, and a language selector. (For starters, choose the footer language selector; you can change this later.)
- Install and activate the core WPML plugins (WPML Multilingual CMS, WPML String Translation, WPML Translation Management) first, followed by other WPML plugins that may depend on them.
- Install the Divi theme and activate it.
Go to WPML -> Translation Management -> Multilingual Content Setup tab -> Check the box use the translation editor -> Save
Translating a page built with the Divi Builder (backend)
WPML allows you translate content in three ways. You can translate yourself, send content to your own translators or send jobs to a translation service.
Watch a short overview of translating and updating pages built with Divi in the following video:
Scenario 1: You do the translation yourself.
- Publish the page you just created with Divi. After publishing, the Language box will be displayed.
- Click the plus button for the language you wish to translate into.
You can find these plus buttons in the Language box when editing your Divi page (in the back end), or on a listing page:
|The plus located in the Language box when editing my Divi page.||The plus located under the flag in Pages -> All pages|
By clicking on one of these plus, you open WPML’s Translation Editor. Use it to translate the contents of your page and tick the box when the translation is complete as shown below:
When you’ve already translated, the plus icon changes to a pencil icon. Click on the pencil if you need to modify your translation.
Scenario 2: You want to send the pages to a translator.
You need to go to the WPML -> Translation Management page and select the content to translate (pages or posts).
Then, click to add the selected items to Translation basket.
Finally, on the Translation basket tab, you need to select translators that will translate the content.
The translators will be notified and they will translate on the WPML -> Translations page. The content will appear back in WordPress.
Translating a page built with the Divi Visual Builder (frontend)
In this part we will see how to switch from Divi Visual Builder to WPML Translation Editor.
- Create a Page and select Use Visual Builder
- Design your page and Save it.
- Publish your page
- Exit the Visual Builder
- Click on Edit Page, you will be redirected to your WordPress dashboard to do the translation
- Click on the plus in the Language box
- WPML Translation Editor will open
- Fill in the fields and mark them as complete until you get 100% . Save and Close.
- In the front-end you see your Accordion translated:
|Accordion in English||Accordion in French|
Translating the Divi Predefined Layouts
- On your WordPress dashboard click on Pages, then Add New.
- Click on Use The Divi Builder button.
- Click on Load From Library.
- Scroll down and click on the “Load” button next to “Homepage Corporate” , you can choose any layout you prefer.
- Click on publish.
- Now, the Language box is displayed, your homepage is ready to be translated:
- To translate, you need to click on the plus icon. You can find these plus buttons in 2 locations:
– In the Language box when editing your Divi page (in the back end)
– On the listing pages in “all pages”.
The plus located in the Language box when editing my Divi page. The plus located under the flag in Pages -> All pages
- Click on the plus of your choice, it will open WPML Translation Editor:
On the left you see the Divi Modules in the original language. On the right column, write down the translation in French and tick Translation is complete when you are done for each Module.
Good to know: You can also send Divi Predefined Layouts to a translator as we explained in the previous part.
Updating a page and its translation
In this part we will see how to update your translation if you decide to modify the content of your page.
Scenario: I have added a new Module to my page and I need to translate it.
- Add a new Divi Module to your page. For this example it will be a Header Module.
- Click on Update.
- In the Language box you see an arrow, not a plus anymore. The translation needs to be updated as you just added some new content to your English page. Click on the arrow to update the translation in French.
- You see WPML Translation Editor with new fields to fill in. Also note that the translation is back to 92%
- Translate and mark all the translations as complete until you reach 100%. Save and Close.
Important note about the new content added with Divi Visual Builder:
When you leave the Visual Builder to go to WPML Translation Editor, always click on the Update button of the page you just edited. This action will upload the new content to translate in the WPML Translation Editor.
Translating pages, posts, post categories, custom post types and custom taxonomies
In a similar manner, you can translate all other pages and posts, including the custom post types “Projects”. For example, here is how to translate a post :
- Navigate to “Posts” and click on the plus icon.
2.The Translation Editor will open again:
WPML Translation Editor scree when you translate a post, including the category
Translating post categories
- Navigating to Posts -> Categories, as an example we will create a category and name it “En-Category” and click on the Add New Category button.
- Click on the category that we have created.
- Click on the add link to add the translation of the category.
4. Fill the Name, Slug and Description fields with the category translation and click on the Add New Category button.
Translating custom post types (Project) and Project categories
The custom post type “Project” can be translated using the same steps followed to translate the regular post. Also, the post project categories can be translated in the same manner as we translated the regular post categories.
Translating custom taxonomies
- Go to WPML > Taxonomy Translation
- Select Project Categories from the Select the taxonomy to translate drop-down menu.
- Click on the translate button to add the custom taxonomy translation by filling the required fields and then click on the “OK” button, as shown below.
Translating Divi’s theme text and other strings
To translate the theme strings, you will need to scan it for strings. This will register the strings for translation on the string translation screen. (Read more about Theme and Plugin Localization.)
This can be done by following the steps below:
- Go to WPML > Theme and plugin localization.
- Choose the Translate the theme and plugins using WPML’s String Translation option and click the “Save” button.
3. Click on the Scan the theme for strings button. This will register the theme texts for translation on the string translation screen. Check the illustration below.
4. Now you can navigate to WPML -> String translation
Strings can be filtered by:
- Select which strings to display (Translation complete, Translation needed, Waiting for translator).
- Select a specific text domain.
- Search for a specific string by typing it in the search for: field and click the search button.
- Click on translations and add your translated text. Then choose the Translation is complete option and click Save.
Note that translating the theme options can be achieved by choosing admin_texts_et_divi string domain on the string translation screen.
Translating Divi’s theme options
Theme options can be translated using the string translation page. For example if we want to translate the Homepage custom title available in Divi’s SEO theme options.
Navigate to the String Translation page and choose the string domain admin_texts_theme_Divi, find your Homepage custom title and add the translated content then click on the Save button as shown below.
Translating Divi’s custom layouts
With Divi you can create your own layouts and save them to be used in different pages or posts. Check Divi’s documentation of Saving and Loading Custom Layouts. These layouts can be translated using WPML, you can even have different layouts for your languages. Follow these steps to create, save, translate and load your custom layouts:
- On your WordPress dashboard navigate to Divi > Divi Library and click on the add new button. Ensure that the main language switched in your WordPress dashboard is set to be your default language.
- Fill in the layout name and choose the Template Type: to be Layout
The Translation Editor will open again with the Layout you just created:
WPML Translation EditorWhen loading these layout templates to your pages, you can load the English layout to your English pages and the French Layouts to the French pages. This can be done by:
- adding a new page > Click on the Use Divi Builder button > Click in Load From Library tab.
- Click on the the Add From Library tab and click on the Load button to load the English layout.
The same steps can be followed to add the translated layout to your secondary language(s) page(s).
Translating Divi’s menus
With WPML, you can easily synchronize between your languages’ menus. For more information, please check our full menus translation tutorial.
List of the Divi Modules currently translatable by WPML
By “Divi Modules”, we include the ones located in the Divi Predefined Layouts and in the Full Width Sections.
The following textual elements in the Divi Modules are supported by WPML and will automatically be displayed in the Translator Editor:
- Audio Player
- Bar counterBlog
- Circle Counter
- Contact Form
- Countdown Timer
- Email Optin
- Filterable Portfolio
- Number Counter
- Post Navigation
- Post Slider
- Post Title
- Pricing Table
- Social Media Follow
- Video Slider
Translating content coming from Divi add-ons
Divi has many useful add-ons and plugins that enhance its usability. While we are constantly working on expanding the support and the compatibility for these add-ons, not all of them are yet integrated with WPML.
In case of you run into a non-translatable add-on, we provide you with a workaround to manually integrate it with WPML. Follow the simple instructions provided on our page about integrating page builders that use shortcodes, with WPML.
Getting help from our technical support
We have many supporters ready to help you in our WPML forum 6 days a week. They are trained on integrating WPML with Divi page builder.
You don’t have WPML yet?
You can test WPML for 30 days and see if you like it.
If you are not happy with our plugin, we refund you without any questions in the 30 days.