Translation Prepаration

The easiest way of translating the theme is by using the Loco Translate plugin. Loco Translate is a free plugin and can be installed from the default repository of WordPress.

Static strings are available in the MasterStudy theme, as well as in such plugins as STM Configurations, MasterStudy LMS, and MasterStudy LMS Pro. Therefore, in this manual, we will consider how to translate strings and keep translations up to date in these plugins.

Also, it is possible to translate any other plugin with the help of Loco Translate.

Install Loco Translate

To install the plugin, go to Dashboard and find the Plugins section from the left menu and choose Add New.

On the opened page, you need to search Loco Translate, install, and activate it.

Create MasterStudy Theme Translate File

Go to Loco Translate > Themes and choose MasterStudy. Here you can create your own language to translate the not editable content of the theme. Create a language by clicking New language.

Important!

It is required to store the translation file in “../wp-content/languages/themes/” folder to keep translation during the theme updates.

After clicking the Start Translation button, you will be directed to the Loco Translate editor where you can start translating the theme strings.

Update MasterStudy Theme Translate File

We are improving the MasterStudy theme in every update with new features and options. Some of them display on the front-end of the website. Therefore, it needs to update the language and translation files to translate the new strings in the theme.

The first thing to do is to update the main language file, where all the theme strings are stored. Go to the Dashboard > Loco Translate > Themes > MasterStudy and choose Edit template.

This is NOT a translation file. Manual editing of source strings is not recommended.

Click on the Sync button to merge new strings from the source code to the main language file.

Click on the Save button to save the new strings.

Go to the list of the translation files for updating the needed translations. Select your translation file and click on the Sync button and Save changes.

Create STM Configurations Translate File

STM Configurations plugin is a core plugin that contains theme settings, widgets, and elements.

To translate the plugin strings you need to address to Loco Translate once more. However, at this time Dashboard > Loco Translate > Plugins.

Afterward, choose STM Configurations from the list of plugins.

The process of translation is very similar to the theme.

Create a new language in order to translate the static strings available in the plugin.

Select a language from the list, specify the file location and click Start translating button which redirects you to the Loco Translate editor where you can start translating the plugin strings.

Important!

It is required to store the translation file in “../wp-content/languages/plugins/” folder to keep translation during the theme updates.

Update STM Configurations Translate File

Go to your Dashboard > Loco Translate > Plugins > STM Configurations and choose Edit template.

This is NOT a translation file. Manual editing of source strings is not recommended.

Click on the Sync button to merge new strings from the source code to the main language file.

Click on the Save button to save the new strings and go to the list of the translation files.

Create MasterStudy LMS Translate File

Go to Dashboard > Loco Translate > Plugins and select MasterStudy LMS - WordPress Course Plugin from the list of plugins to create a language file.

Afterward, add New language, choose the needed language from the list, specify the file location and click Start translating button to go to the Loco Translate editor where you can start translating the plugin strings.

Important!

It is required to store the translation file in “../wp-content/languages/plugins/” folder to keep translation during the theme updates.

Update MasterStudy LMS Translate File

To make the translations appear on your page, you have to update the translation file. Go to your Dashboard > Loco Translate > Plugins > MasterStudy LMS - WordPress Course Plugin and choose Edit template.

This is NOT a translation file. Manual editing of source strings is not recommended.

Click on the Sync button to merge new strings from the source code to the main language file.

Click on the Save button to save the new strings and go to the list of the translation files.

Select your translation file and click on the Sync button and Save changes.

Create MasterStudy LMS PRO Translate File

Create your language as the previous plugin. Go to Dashboard > Loco Translate > Plugins and select MasterStudy LMS Learning Management Systems PRO from the list of plugins.

Afterward, add New language, choose your language from the list, choose the file location and click Start translating button. It will create a translation file and redirects to the Loco Translate editor where you can start translating the theme strings.

Important!

It is required to store the translation file in “../wp-content/languages/plugins/” folder to keep translation during the theme updates.

Update MasterStudy LMS PRO Translate File

To ensure that your translation template is updated, you need to synchronize it. Go to your Dashboard > Loco Translate > Plugins > MasterStudy LMS Learning Management Systems PRO and choose Edit template.

This is NOT a translation file. Manual editing of source strings is not recommended.

Click on the Sync button to merge new strings from the source code to the main language file.

Click on the Save button to save the new strings and go to the list of the translation files.

Select your translation file and click on the Sync button and Save changes.

Please contact our support team if for some reason the translations do not work even though you have done all according to the manual.

Last updated