Special SALE! Use Discount Code "WIN17" to Get 15% Off of your purchase! Offer ends in
Documentation > Advanced

Setting up a Multilingual Site with Polylang

Backing Up the theme Settings

533

Installing Polylang

  1. Download and install Polylang activate it.
  2. Go to Settings > Languages to add your desired languages
  3. From the Languages tab, Select your desired language from drop-down below “Add new Language”Add-new-language
  4. After you finish adding the languages, switch to the Settings tab and set the default language.Default-Language
  5. (optional) If you want to keep your URL simple and don’t want the language to append after URL, check the tick beside “The language is set from content” from URL Modifications
  6. Click on “Save Changes
  7. Now click on the ‘Strings Translations’ tab
  8. From here you can translate site title, description, widget title, date and time format.
  9. After making your changes click on “Save Changes”

 

Setting up Multi Language Menu

After installing Polylang, you need to assign the menu for the default language and create new menus for the languages you’ve just added.

  1. Go to Appearance -> Menus (You’ll find that additional theme locations are added per language.)
  2. Create new menu for second language and assign
  3. If you want you can add a language switcher, so the users can toggle between languages.Menu---Language-Switcher
  4. Check the box beside “Language Switcher” from the left Pane and add it to both of the menu.
  5. Click on “Save Menu”

 

Adding Multilingual Content

Post & Page

Adding content in different languages is easy in Polylang. Let’s get familiar with the process by creating a new page.

  1. Go to Pages and select a page
  2. On the edit screen, you will notice the new languages meta box.Language-Metabox
  3. Your default language content will be automatically be selected
  4. To add content on another language Just click on the + icon (add new) and add in your multilingual content.
  5. Click on Publish

 

Widget

  1. Go to Appearance -> Customize -> Widgets or Frontpage -> Frontpage Widgets
  2. Click on a widget
  3. At the bottom you’ll find a “Language Switcher” drop-downWidget-Language-Switcher
  4. Select your language and add content
  5. Click on “Save & Publish

 

Further Readings:

  1. Polylang Documentation
  2. Still lost with polylang multi languages
  3. How to Easily Create a Multilingual WordPress Site
  4. Setting up a MultiLingual WordPress Site with Polylang