In today’s tutorial, I will be going to show you step-by-step on how to clone content for Polylang translation.
If you’re using a free version of Polylang, you can’t duplicate content or title from the original post across translation.
With this method, you can clone pages such as saving it as a new draft for further editing. This is a time saver when you are using page builders and you want to duplicate layouts for other languages. Awesome, right?
To address that issue, we need to install a simple but powerful plugin that allows you to duplicate or clone content from the original post without any knowledge of coding.
Having said, this Duplicate Post plugin works smoothly with some page builders. It is one of the most popular plugins in the WordPress plugin directory with more than 1+ Million Active Installations.
Without any further ado, let’s go ahead and let’s clone pages.
Let’s assumed that you already have Polylang installed on your site to translate and divide pages in different languages. So, In order to add a translation, we need to duplicate the page or the content for every language.
I set English as my default language and I added Greek as my example for this tutorial.
As you can see in the example image below, the page “26 Postures” is copied in two versions which are Greek and English.
To create a new page, the first thing you need to do is login into your WordPress admin dashboard. After that, navigate to Pages > Add New.
In this tutorial, I named the page “New Page”.
Next, add some content and you need to specify that this is an English copy of the page template in the sidebar section.
Once the “New Page” page is published, we need to duplicate the page.
To duplicate the page, just simply find the “New page” that you’ve created earlier. Hover it with mouse and click the “clone” to clone the page template.
Once cloned, navigate your mouse into the page and click the edit link to edit the content.
Next, edit and translate the text into Greek version then you need to specify this content is for the Greek version.
After that, find the English copy of the page in the “Translations” section and hit the blue publish button.
When you visit the page section, you will see that the page and now divided into two different languages. Easy, right?
As I mentioned above, this plugin will clone the page template from page builders like Divi or Elementor. By means of that, you don’t need to create or import templates, just simply click the clone page then you are done!Don’t forget to add a Polylang language switcher into the front-end of your website, so that your visitors can switch base on the language they want.
You may want to take a look at our guide on how to setup WooCoomerce bookings to sell bookable products on your WordPress site.
That’s it! Congratulation! You’ve successfully clone page template of your site.