The previous guide in our working with Internationalization series covered working with the multilingual setting, we will now show you how to copy a language tree. In Concrete5 the Internationalization Add-on provides additional functionality, such as the language switcher, and a tool that can copy a language tree.
For instance, if you have several pages in one language and want to copy the page structure over to mimic the english site, this tool can help you easily accomplish this. In this tutorial we will show you how to copy a language tree using the Internationalization Add-on in Concrete5.
When you copy a language tree, it will not translate the pages, *it only copies the structure. You can then easily go to the page and translate it, Google Translate is a helpful tool for accomplishing this.
Copying a Language Tree in Concrete5:
- Make sure you have installed the Internationalization Add-On, setup your primary language, and setup the Multilingual Content already.
- Login to your Concrete5 Dashboard.
- Click the Dashboard button on top.
- Beneath the Multilingual heading, select the Setup option. The Multilingual Content Setup menu will come up.
My English site has subpages that have not been created in other languages, so I will copy the page tree to the Spanish version of the site. It will only copy pages over that do not already exist.
- Under the Copy Language Tree, to the right of the Copy From option, select the page tree you want to copy. In my tests, I am copying from English to Spanish, so I selected English.
- Click the drop-down box to the right of To, and select where you want the page tree to be copied. I selected Spanish.
- Click the gray Copy Tree button to copy the pages over. You will see a notification stating "Multilingual tree copied."
Now when you view the full sitemap, you will see the pages duplicated.
Congratulations, now you know how to copy a language tree, using the Internationalization Add-On in Concrete5. In the next guide we will show you how to create a multilingual sitemap.