# Translation Prepаration

The easiest way of translating the theme is by using the [Loco Translate](https://wordpress.org/plugins/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.

{% hint style="success" %}
Also, it is possible to translate any other plugin with the help of **Loco Translate**.
{% endhint %}

## Install Loco Translate

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZl6jY1rdhRbRh2aU76%2F-MZl9rE4W6JUvkW_Jqa8%2F2.png?alt=media\&token=0c78d4db-9290-47c7-a759-d5a280fd2745)

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_M16SAp39gh1_Lz7pl%2F-M_M2M86kD6e7ZtdF_G9%2F18w.png?alt=media\&token=da2ff1d7-aa97-489f-957d-c39c4cd658cd)

## 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**.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZv0YdFTxzVn3n0RzgW%2F-MZvCdDaayKYlYgVc0kY%2F51%20new.png?alt=media\&token=a45648ed-38c5-442e-a539-deaeb992ff2f)

{% hint style="danger" %}
**Important!**&#x20;

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_QGdjUzaWawYD3gHQ_%2F-M_QH_axQ3LIrE_tk_uA%2F114.png?alt=media\&token=fbeedc52-7804-4469-b4d0-fc07f4bc8865)

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.**

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZv0YdFTxzVn3n0RzgW%2F-MZvGRXFMJ91PzIj0f8i%2F55.png?alt=media\&token=b10a87d5-3309-4125-b86c-cdc8525855e9)

{% hint style="warning" %}
This is NOT a translation file. Manual editing of source strings is not recommended.
{% endhint %}

Click on the **Sync** button to merge new strings from the source code to the main language file.&#x20;

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_Maax4DaiRJO0nMxMo%2F-M_Miin-jI9xgfx0Uy5R%2F101.png?alt=media\&token=5a3d6cc3-547c-4f69-bd3f-7eea0cef5b03)

Click on the **Save** button to save the new strings.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_Maax4DaiRJO0nMxMo%2F-M_Minu6nMjdtK-7pH1y%2F102.png?alt=media\&token=bd72917e-99d4-44a2-bcda-79306595cc67)

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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U38ZkAVCn-A-w1w2D%2F-M_U8vyxHlF6dNKgEi7L%2F115.png?alt=media\&token=9d826c33-a78b-4803-845e-bb270d2eb6b1)

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U38ZkAVCn-A-w1w2D%2F-M_U91gbdbOrjyv51egT%2F116.png?alt=media\&token=0bf20450-5d2c-4a41-8c42-3e6ecd7f463f)

## Create STM Configurations Translate File

**STM Configurations plugin** is a core plugin that contains theme settings, widgets, and elements.&#x20;

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZlQGPxba2VIvArD6G3%2F-MZlX_y85UYrDBLwwWV-%2F20.png?alt=media\&token=92d78ec3-b34e-44ab-8b88-b441754d64ae)

Afterward, choose **STM Configurations** from the list of plugins.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZlQGPxba2VIvArD6G3%2F-MZlffTUEy47WH3lmO-g%2F24.png?alt=media\&token=722d3d19-5491-44a5-b912-89342ed49550)

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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZlQGPxba2VIvArD6G3%2F-MZlhUPA_oaasW9ZQ-m7%2F25.png?alt=media\&token=927ecc60-9d30-4e90-8ca5-c706738fa7c1)

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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U97wD7B98_0MZv_Zy%2F-M_UDnsY4NCPHwFdsnyC%2F117.png?alt=media\&token=4877d84d-5552-4847-9290-e1c6beef86d9)

{% hint style="danger" %}
**Important!**&#x20;

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

## Update STM Configurations Translate File

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2L1NRuu_qdSob2Vq5%2F-M_2MgP3lKRy-HoIBeMb%2F84.png?alt=media\&token=1e54646b-413c-4af4-ab13-b648bf79d75a)

{% hint style="warning" %}
This is NOT a translation file. Manual editing of source strings is not recommended.
{% endhint %}

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2L1NRuu_qdSob2Vq5%2F-M_2NZ7p4xgsEXrxUOSN%2F85.png?alt=media\&token=905996d8-9283-4f5b-9d19-8f8b209d7f2e)

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2L1NRuu_qdSob2Vq5%2F-M_2Nvk8kY9P2g37Pymf%2F83.png?alt=media\&token=11f1ccf4-29dd-426a-91ce-012cb8da3e35)

## 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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZqbsjAsgUEQhbR8EAW%2F-MZqlPPNeWKJ_2vEEfNw%2F16.png?alt=media\&token=4ad7f146-b292-4d39-9685-a51c1a77ad47)

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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U97wD7B98_0MZv_Zy%2F-M_UGPUComxIqmLhfR9J%2F118.png?alt=media\&token=a4da14ee-6db2-4b87-a176-5bf424dbce36)

{% hint style="danger" %}
**Important!**&#x20;

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

## 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.**

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZltUJ-bt272whDzmXJ%2F-MZly9VuKILJSLaelNR4%2F31.png?alt=media\&token=1aa4a6a9-63e4-44ba-94f5-bbdd04110f7c)

{% hint style="warning" %}
This is NOT a translation file. Manual editing of source strings is not recommended.
{% endhint %}

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2R58Uz922IHP3PQgJ%2F-M_2T6ZCl4cuj-fmsP1C%2F90.png?alt=media\&token=4199435b-015b-484f-8ccd-164f26af9b7f)

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2R58Uz922IHP3PQgJ%2F-M_2TEzTHNeR2374IeNM%2F91.png?alt=media\&token=90b0abfc-fdf3-454c-bf55-34f60033f8e9)

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U97wD7B98_0MZv_Zy%2F-M_UNwzjT2-FvkmqGzRJ%2F124.png?alt=media\&token=3a439d60-79f3-4e82-92d8-56083637e1ad)

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_P5Hk0MkDnkm5t9Xvx%2F-M_PKHlnIkCyvCGONcVY%2F109.png?alt=media\&token=6bc8f01d-342b-44ce-866a-9aaa96bdeef1)

## 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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-Md_Ym_m6ZPjzpSsu1up%2F-Md_cUfGaFd1Cij-L-_T%2Fimage.png?alt=media\&token=d12c6dc5-1f84-4e2e-b751-19605ae54a47)

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.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U97wD7B98_0MZv_Zy%2F-M_UJohWb8UWlcY1axvC%2F121.png?alt=media\&token=1852f394-7ddd-4e8a-9cda-5560577d683d)

{% hint style="danger" %}
**Important!**&#x20;

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

## 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.**

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MZvJO7ko000aiNdixFo%2F-MZvTQ9RVgyRdBVzz66T%2F59.png?alt=media\&token=55a67049-6605-4e66-8a27-dbd4192ae965)

{% hint style="warning" %}
This is NOT a translation file. Manual editing of source strings is not recommended.
{% endhint %}

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2cSmo8PPlvqXf4gyq%2F-M_2e1ug8w865BldDDWC%2F95.png?alt=media\&token=42fd19f6-acf6-4240-baae-17dfdb0114b0)

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_2cSmo8PPlvqXf4gyq%2F-M_2e7nyPZ-UURQ3x5ox%2F96.png?alt=media\&token=1d4684df-9af4-4d16-9819-70dd1a500d30)

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

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U97wD7B98_0MZv_Zy%2F-M_UN-Kj-lR1LRpMjcQH%2F122.png?alt=media\&token=bb8f797b-b24d-4706-aa70-c1d9d6aa0f9d)

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-M_U97wD7B98_0MZv_Zy%2F-M_UN83ZifViIejNH7XG%2F123.png?alt=media\&token=5d27558b-43d4-401b-b3ff-23175c25ffd9)

{% hint style="info" %}
Please contact our [support team](https://support.stylemixthemes.com/tickets/new) if for some reason the translations do not work even though you have done all according to the manual.
{% endhint %}
