Looking for a specific demo page in Stratus? Check out the Visual Library

Okay
  Print

Helpful Links

Errors and troubleshooting

If you see the Illegal offset error, go to Appearance / Theme Options / Top Navigation and save changes. No other action is required. 

Default home page cannot be seen. You must create a translation in all languages in order to use it as a default Front page.

Menu is removed - Same as above, you must create a menu for both English and french in order for the default menu to show.

Polylang Setup in Bellevue

  1. Install and Activate Polylang
  2. Go to settings / languages / Choose a language / Save changes, in my example I’ll use English Canadian or en_CA
  3. Add as many languages as you need for your website. In my example I’ll be using French Canadian fr_CA
  4. Your languages page should look something like this Screenshot
  5. Media Library - If you don’t need your media library translated (most people don't) please deactivate this under Settings / Languages / Settings / Media - choose Deactivate. Screenshot
  6. Assign default language to existing content
    • If you are translating existing content from a previous website or if you have used the DEMO IMPORT then you will need to specify a language for all the existing content.
    • 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.
    • Set the default language for all content using the bulk mode.
      • DO THIS FIRST > Custom Post Types under Dashboard / Bellevue
        • Accordions
        • Brands
        • FAQ’s
        • Featured
        • Pricing Plans
        • Sliders
        • Teams
        • Thumbnail Sliders
        • Tours
        • Service Blocks & Showcase
      • DO THIS SECOND > Rooms
      • DO THIS THIRD > Posts
      • DO THIS LAST > Pages

Adding a switcher

Quickest way to add a switcher is as a widget. Appearance / Widgets / Drag and drop the Language switcher into the primary sidebar.

There are also other settings as well here: https://polylang.wordpress.com/documentation/frequently-asked-questions/the-language-switcher/

Translating a Page

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.

or

This will create a new page, then you can choose a title, click inside the content editor and then click publish.

Once this is done, Polylang should copy over all meta boxes and content from the original translation of that page. If not you may need to move some content over manually.

You may notice that some content is missing, this is because you may need to create translations of those custom post types.

Example: The Explore page had three service blocks, What to do , what to see and where to eat. When I translate this page those service blocks won’t show in the French version until they are created and added to the correct group.

English Version live view:

English Version edit view (Service block meta box) Selected by Group ‘Explore - What to do’.

French Version live view

French Version edit view (Service block meta box) Selected by Group ‘Explore - What to do’.

To remedy - Go into Dashboard / Bellevue / Service Blocks and find those service blocks and translate them into the new language and also make sure they are part of the same group ‘Explore - What to do’. Use the plus symbol again.

French Version live view after adding the Service Block Translation.