Polylang - Getting Started
Helpful Links
Polylang Setup
- Install via WP Dash / Plugins / Add new or Download from the WordPress Plugin Repo
- Go to WP Dash / languages / Choose a language / Save changes, in my example I’ll use English Canadian or en_CA
- Add as many languages as you need for your website. In my example I’ll be using French Canadian fr_CA
- Your languages page should look something like this Screenshot
- Media Library - If you don’t need your media library translated (most people don't) please deactivate this under WP Dash / Languages / Settings / Media - choose Deactivate.Screenshot
- Assign default language to existing content.
- If you are translating existing content from a previous website or if you have used the Theme Setup Guide then you will need to specify a language for all the existing content.
- Set the default language for all content using the bulk mode.
- DO THIS FIRST > WP Dash / Tours OR WP Dash / Rooms OR WP Dash / Portfolio
- DO THIS SECOND > WP Dash / Posts
- DO THIS LAST > WP Dash / Pages
- Please use this guide: https://polylang.pro/doc/assign-a-language-to-an-existing-content/
- I’ve found the quickest way to the bulk edit mode.
Translating a Page
If you are starting out with a blank page you can click on the + icon under All Pages / to create a translation or open the page you wish to translate for editing and click on the flag you wish to create a translation for.
If you are translating a page that already has content, use the Duplicate feature on WP Dash / Pages / All Pages / to create a duplicate of your page.
Once the page has been duplicated, open it up for editing, give it a title and set it's language. You can connect this page to it's translated version by using the text filed next to the flag under Languages. Start typing and it will give you a list of pages you can attach it to.
You can being to translate this page.
If the duplicate function does not work for you there are a few plugins that will duplicate the content.
The same steps can be done for Rooms.