Polylang Integration

The integration of Polylang with MasterStudy LMS allows you to create and manage multilingual content within the LMS. It supports the translation of courses, lessons, assignments, and other components, helping you deliver content in multiple languages.

What's the difference between Loco Translate, WPML and Polylang?

Loco Translate, Polylang, and WPML are all tools designed to help translate WordPress websites, and MasterStudy has been integrated with all of them, but they serve different purposes.

  • Loco Translate is mainly used for translating theme and plugin strings directly within the WordPress dashboard. It focuses on localization rather than creating a multilingual site, making it ideal for translating static text like button labels or error messages.

  • Polylang, on the other hand, is a full-featured multilingual plugin that allows you to create separate versions of your posts, pages, and custom post types (like courses in MasterStudy LMS) for each language. It gives you manual control over translations and is a great choice for building multilingual websites.

  • WPML is another multilingual plugin, but it's a premium solution offering a more advanced feature set, including automated translations, multilingual SEO, and compatibility with a wide range of themes and plugins. It’s particularly well-suited for complex or professional websites that require robust translation workflows.

In summary, Loco Translate is for localizing site elements, while Polylang and WPML are for managing full multilingual content—Polylang being more lightweight and free, and WPML offering more automation and support at a cost.

Feature
Loco Translate
Polylang
WPML

Translates content

Translates theme/plugin strings

Multilingual support

Automated translation

❌ (with addon)

Free version available

❌ (paid only)

Ease of use

Simple

Moderate

Advanced

Polylang Installation and Setup Wizard

The free version of Polylang can be installed from the WordPress repository.

1

Follow WP Dashboard > Plugins > Add New Plugin and search for Polylang. Install and activate it:

2

After the plugin is activated, the quick setup wizard opens. On the first Languages step, you have to add the languages that you will use on your website, including the primary language. As an example, English 🇺🇸 and Spanish 🇪🇸 have been added as languages. Once you are done, proceed by clicking the Continue button:

If you skip the Setup Wizard accidentally, you can access it later by following WP Dashboard > Languages > Setup.

3

In the second step, you can enable the media translation option. You must activate media translation if you want to translate the title, the alternative text, the caption, or the description of the media.

It's optional and does not affect your LMS content. So you can enable or disable the setting according to your needs

4

On the Content tab, you have to choose your website's primary (default) language. In my case, English is the primary language. All of the existing content on your website will be assigned to the chosen language:

5

You will be notified about your homepage and its primary language during this step. Just check the information and proceed by clicking the Continue button:

6

This step concludes the setup wizard of Polylang. You can go back to the Dashboard.

You can get more information about Polylang from their official documentation:

Setup Polylang

Settings of Polylang can be accessed via WP Dashboard > Languages. It consists of three tabs:

  • Languages - on this tab, new languages can be added, or existing ones can be modified

  • Translations - core string translations can be done here

  • Settings - the tab includes the core settings of the Polylang plugin

  • Setup - opens the setup wizard to do the quick setup


For Polylang Pro Users:

If you are using the Pro version of Polylang, make sure to set the custom URL for the courses page. It can be done from the Translations tab - change the slug for courses in other languages and save the changes:

WP Dashboard > Languages > Translation > Courses

Translating LMS Pages

Before translating , it's crucial to create translations of the LMS Pages. Let's see how to translate them as an example of the User Account page.

1

Follow WP Dashboard > Pages > All Pages and click on the ➕ icon in the Spanish column to create a Spanish duplicate of the page:

WP Dashborad > Pages > All Pages - Highlighted LMS Pages

All pages labelled with 'MasterStudy' should have their translations into the target language. In our example, it's Spanish.

2

Write the title of the page. It's crucial to generate the URL of this page in Spanish. Then publish the page:

3

That's all. Here is the result:

Repeat the same process to translate the rest of the pages. MasterStudy comes with the translation of the

Now you can go and translate your LMS Contents.

Last updated

Was this helpful?