# LMS Contents Translation

{% embed url="<https://youtu.be/Aowt0pBaLtg?si=Qu2jIVUcDYqrNk1G>" %}

Translatable LMS Contents are:

* [**Lessons**](#translate-lessons)
* [**Assignments**](#translate-assignments)
* [**Quizzes**](#translate-quizzes)
* [**Courses**](#translate-a-course)
* **Course Bundles**

## Example Course Translation

Before translating a course, its contents[^1] should be translated first. We will translate one existing course as an example. Here is the example course, **Web Coding and Apache Basics**:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FE1nL6e6uYdnbyqQxbA4p%2Fimage.png?alt=media&#x26;token=0081213d-d950-43ff-a1c3-cfafd3511f8f" alt=""><figcaption></figcaption></figure>

We will translate its lessons first, then the assignments.

{% hint style="success" %}
First, make sure you[ **have translated**](https://docs.stylemixthemes.com/masterstudy-lms/additional-features/polylang-integration/..#translating-lms-pages) all the **LMS Pages.**
{% endhint %}

### Translate Lessons

{% stepper %}
{% step %}
Follow **WP Dashboard > MS LMS > Lessons.** On this page, click on the ➕ icon in the :flag\_es:**Spanish** column:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FmrNxvfKEJuAXYDN2MNEl%2Fimage.png?alt=media&#x26;token=8bbe799e-b165-4c56-8d71-957cb58d27e7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This action creates a new lesson with empty content and assigns this lesson as the Spanish duplicate of the selected lesson.
{% endhint %}
{% endstep %}

{% step %}
&#x20;Write down the **title** of the lesson in Spanish and click on the **Publish** button:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FmRNsenfBEuyRvhYE2eEQ%2Fimage.png?alt=media&#x26;token=e7b7f401-c014-48ae-9580-173246c457df" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click on the **Edit with Course Builder** to edit the lesson content:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FiveDrxEZi2CmznV6LmXn%2Fimage.png?alt=media&#x26;token=4ce1b739-5dea-4b46-b795-053331d8b77a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Provide the translation of the lesson duration, a short description, and the lesson content. In our example, it's Spanish. Then click on the **Save** (*Guarder* in Spanish) button:&#x20;

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FRBKHooIe3cqkasIawqID%2Fimage.png?alt=media&#x26;token=1e2cb4cb-2b0f-41ae-b836-3952dd3e069e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Media content (videos, audios, etc) can not be translated and replaced. The same media will be used for all languages. Only text-based content can be translated.
{% endhint %}
{% endstep %}
{% endstepper %}

{% tabs %}
{% tab title="English (Original)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FKP6K7xq1FDsLFJkf2DHN%2Fimage.png?alt=media&#x26;token=d9c0371f-599b-4d0c-8421-ac6ef43c674d" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Spanish (Translated)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fo8skQlBvLRsLlc8TKugE%2Fimage.png?alt=media&#x26;token=3e30fda8-a88b-4b18-825e-c83bff40061c" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Translate Assignments

{% stepper %}
{% step %}
Follow **WP Dashboard > MS LMS > Assignments.** On this page, click on the ➕ icon in the :flag\_es:**Spanish** column:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FB3TkpChXGocJr8cFwhYB%2Fimage.png?alt=media&#x26;token=9fbe6cec-6cdb-4e7d-a886-51d3245b9ff1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Provide the **title** of the Assignment and click on the **Publish** button:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2F9opi0ECCipPhVnZbgQo8%2Fimage.png?alt=media&#x26;token=769ca884-0b9d-4477-aef1-0c8703519296" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Edit the Assignment with Course Builder:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FgklknjuF4GrMrLSUg5r8%2Fimage.png?alt=media&#x26;token=d2ee4aac-30b5-41cd-9f6c-5af010cbe3ee" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Provide the translation of the **Assignment Content** and **Save** the changes:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FRtejocgPZHhBYwNQ3fVS%2Fimage.png?alt=media&#x26;token=ee5c6850-4930-44af-86cd-363523228a7c" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% tabs %}
{% tab title="English (Original)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FtjM3LglIsKpC3dORiTZb%2Fimage.png?alt=media&#x26;token=78475086-3f5a-4cce-be83-ce8d5630b32b" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Spanish (Translated)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FxPaW37YT7QquxcvrCbgh%2Fimage.png?alt=media&#x26;token=ed4949b3-f04f-4a6b-87da-0cc8275ecefa" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Translate Quizzes

{% hint style="info" %}
Quizzes in MasterStudy LMS are a **collection of questions**. But questions and their answers are linked to each other, and this complex connection makes the **questions untranslatable**, unlike other LMS content. However, you can translate the quiz title.

As a solution, a new quiz with its questions in Spanish can be created from zero for the course inside of the Course Builder.
{% endhint %}

{% stepper %}
{% step %}
First, we should have an existing translated course. In the curriculum of the translated course, you can create a new quiz:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FcYvew5xFGyIuCM4KikIR%2Fimage.png?alt=media&#x26;token=47b7f670-e422-4e54-bab9-b3f0d1e3bc05" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the questions with answers, and save the changes:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2F3M8Ov4OKfHDT9wkPoFy0%2Fimage.png?alt=media&#x26;token=70fc3047-bdd7-4692-a9e1-cb4ad9dc79a0" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

Here is the result:

{% tabs %}
{% tab title="English (Original)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FMqr48UQxj41Zh8Wl00ci%2Fimage.png?alt=media&#x26;token=b7dc1b26-21fe-46a2-b49a-9882df350426" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Spanish (Translated)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FOHSpIXXYTHy6R0tGhtb8%2Fimage.png?alt=media&#x26;token=0a7e5ea3-a76f-48e7-a462-ce2ccc68c453" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

However, if you prefer to translate the quiz only, leaving the question, you can follow these steps:

{% stepper %}
{% step %}
Follow **WP Dashboard > MS LMS > Quizzes.** On this page, click on the ➕ icon in the :flag\_es:**Spanish** column:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FBnvvMXNV0RwEQSu9pJR8%2Fimage.png?alt=media&#x26;token=f627bc95-e500-498e-b627-cdb0de43dff3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Provide the **title** of the **Quiz** and click on the **Publish** button:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2F92HMwLOffNdGKFT4dmpL%2Fimage.png?alt=media&#x26;token=f4d06e87-162a-4181-b637-c9086d775d6d" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Translate a Course

After translating the Lessons and Assignments, you can translate the course itself.

{% stepper %}
{% step %}
Follow **WP Dashboard > MS LMS > Courses.** On this page, click on the ➕ icon in the :flag\_es:**Spanish** column:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FvrEm81yXz9COHskzPMQl%2Fimage.png?alt=media&#x26;token=8f0148b6-fb9c-42f7-8e57-eb6011be6cf1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Provide the course title and click on **Publish**:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FuB6IpSULHaah8X3zIwby%2Fimage.png?alt=media&#x26;token=5aa237e7-393d-46ca-ad6a-e62b5828d809" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Edit the Course with Course Builder:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fljrk1tApZ2dHULfxr1Fo%2Fimage.png?alt=media&#x26;token=1e8a6199-2459-433e-9c86-ef254b63252d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The new course comes with an empty curriculum. We have to create new sections and import the translated lessons. So, first create sections:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FoqRL5NxevIc9W0iLqOw8%2Fimage.png?alt=media&#x26;token=b512ee31-b005-4db9-b146-361241583db8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
To import the lessons, click on the Search Materials, then choose the translated versions of the [**Lessons** ](#translate-lessons)and [**Assignments**](#translate-assignments), then click on the **Import** button. You can use the search field or filtering to find the lessons:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FWSOY4FZMDK72DbBswbFb%2Fimage.png?alt=media&#x26;token=46c706f5-ada8-4c6c-8a41-3c3d911d24c8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For the quizzes, it is recommended to create them right here in the course builder.
{% endhint %}
{% endstep %}

{% step %}
Once you are finished with the Curriculum, move to the Settings (*Ajustes* in Spanish) tab:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Flq0KwJowyeSWGg4rR2gj%2Fimage.png?alt=media&#x26;token=19272869-d2a3-4129-99e8-b625ff36b94e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
All of the course settings except for **text-based info** are already inherited from the original course. Therefore, here you have to provide the translation for the **Course Description** and the **Course Preview Description**:

{% hint style="info" %}
Make sure you select the course category.&#x20;
{% endhint %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Ftebzv18SCGv2mWUlT0dQ%2Fimage.png?alt=media&#x26;token=92f59588-c923-4e45-b0f1-b373400bba79" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
In the **Certificates** tab of the [**Course Settings**](#user-content-fn-2)[^2]**,** you can attach any certificate to the course.\
Certificate translation is not required—in fact, there's no need to translate an existing certificate. Instead, simply[ **create**](https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/certificate-builder) a version of the certificate in the target language and assign it here. You can attach different certificates for the same course, each in a different language.
{% endhint %}
{% endstep %}

{% step %}

### Great,  now you can view the course:

{% tabs %}
{% tab title="English (Original)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fq1POsqDt1SqipcZd4Nob%2Fimage.png?alt=media&#x26;token=98df4d2d-d2e7-43ea-ae46-9b1df6d58a67" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Spanish (Translated)" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FpddGoF8zm6dcLWglx8Jx%2Fimage.png?alt=media&#x26;token=4ebf8868-0eec-45fc-a559-325b13585982" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
{% endstep %}
{% endstepper %}

***

Besides LMS Contents, you can translate the rest of your website (header, footer, other theme elements) and add a **Language switcher** accordingly. To learn more about the Polylang features, kindly refer to this manual:

{% embed url="<https://polylang.pro/doc/>" %}
Link to Polylang Documentation
{% endembed %}

[^1]: Lessons, Assignments, Quizzes

[^2]: Course Builder > Settings
