How to set Multi-language by Polylang

Polylang is a good multilingual plug-in. The good news is that it offers a free version that meets most of the needs of multilingual sites. But there isn’t the page duplication function for the free version.

Install Polylang

  • Go to Plugins > Add New
  • Enter Polylang to search it
  • Click Install Now
  • Activate the Polylang

Configure

After activating the Polylang plugin, It automatically enters the setup wizard.

  • Add the languages(2 or more), click Continue
  • Activate “Allow Polylang translate media”, click Continue
  • Select a language for the current content(post, page, etc), Set the homepage, click Continue

Translate Pages

You will translate the pages, please go to Pages(Posts/Portfolio), click “+” for the page what needs to be translated. There free version Polyland has not supported the page duplication for the WordPress default block editor(there is in the page duplication feature in the pro version). You need to manually add the page again. But it will duplicate the content of BM Content builder, please don’t edit the content of BM content builder directly. You should clone modules or use the “insert template” to get the new modules, remove the origin modules. Refer to the video tutorials:

Translate menu

You could check the official documentation.

Translate strings

1. Dynamic strings set in Theme Options(Art Theme > Theme Options > General Settings: Descriptions).

Please go to Languages > Strings translations, translate the strings(copyright, social name, etc). Refer to the video tutorials:

2. The strings(like in the 404 page) hardcoded in PHP files are not handled by the Strings translations list table. These strings are stored in .po/.mo files. It automatically supports the default .po/.mo of French, German, Spanish, Dutch, Japanese, and Chinese. You could add other languages(or edit the existed .po/.mo files). Please use the Loco Translate plugin(read more).

Language switcher

To show the Language switcher, please go to Appearance > Menu, please activate the Language switcher option panel:

The Language switcher will be shown, please add it to the menu:

Was this article helpful?

Related Articles