# LMS Contents Translation

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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FlJ05oZX1PYCYBY4JNgKB%2Fimage.png?alt=media&#x26;token=d17ba6f4-54dd-4647-998b-a1f8005b24cb" 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-theme-documentation/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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FYNH9DyxO4y8FBO7gPzpz%2Fimage.png?alt=media&#x26;token=9615aac8-9cfd-43ac-a017-5d5c68dca6b5" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FsLC63HDYFLPGA474PPoX%2Fimage.png?alt=media&#x26;token=3d85fb2b-259e-497f-acad-dc9292bbe91e" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FXmAoGFqZ14PXq0XmysmO%2Fimage.png?alt=media&#x26;token=303ac60c-ea9a-43a8-85a7-bbc472e11582" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Provide the translation of the lesson duration, 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FIcEfe2bx68WlqvoE3zwX%2Fimage.png?alt=media&#x26;token=eaf6730f-bb2c-468b-b854-9b88d6a249c6" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FKSohbc9Qs6EfpT73aiQx%2Fimage.png?alt=media&#x26;token=43ca3019-21e6-4d38-b3a1-ee7966304255" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FGppksZw4vY0fge0fy5FQ%2Fimage.png?alt=media&#x26;token=e7a71322-3f69-4716-a935-7d7dd37795b0" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FM1YbZ7iAsU2JR1YA9mWV%2Fimage.png?alt=media&#x26;token=ecc9bc94-37df-43a1-92db-d627bddc5a7c" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FoHTeJaUyitjSrDxho2jJ%2Fimage.png?alt=media&#x26;token=4667bb4d-2bad-4935-8cec-4bc823c6ccfa" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FzbHNDNi4yTdylrOAm7QG%2Fimage.png?alt=media&#x26;token=c907957d-8d58-4036-85d7-f65df79a8cb8" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2Fbs5NzQl6kEDpFZR3IQ00%2Fimage.png?alt=media&#x26;token=e589e61f-1c30-4508-966c-0f553ea355e9" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FrG5sQtpwEtfraCnGN2F6%2Fimage.png?alt=media&#x26;token=52edc751-0a83-4706-b70e-87656bd6f2d2" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FJadsuOW9zSiIsF95xGQP%2Fimage.png?alt=media&#x26;token=4008f05e-2a94-4809-a862-60f157cd244c" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FxH0cD7Ba2u8vsUNTzAYG%2Fimage.png?alt=media&#x26;token=e51e2c2f-57ed-412e-a363-d83750e3b1e5" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FgsEk2uyjncCA1qq11i6f%2Fimage.png?alt=media&#x26;token=82272784-7468-4cdc-9679-7124b34806e7" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

Here is the result:

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2F0GVBCSt7pl0oVyBdN0KM%2Fimage.png?alt=media&#x26;token=1f713613-27e6-4944-862e-7d7147fab541" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2F7TFPM0px9bYQci2t48Pz%2Fimage.png?alt=media&#x26;token=770054b6-f59a-4d43-8ef6-9a765c1e6f5b" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FfZDFecx5IBgpaNp0FWsV%2Fimage.png?alt=media&#x26;token=48f8985e-5149-46ca-859a-ebce102223d9" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FrDAQ6yV66RF8omcK0PBC%2Fimage.png?alt=media&#x26;token=7b508f6d-2017-4225-a242-a5a5c20ee9bc" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FDG9KEYWor6hgiWJ8yHdk%2Fimage.png?alt=media&#x26;token=24900ab5-abde-4a72-a462-b2a8cd5f6aa9" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FWCNHoM4wnfRtAu4eGnfM%2Fimage.png?alt=media&#x26;token=14fa8227-13f4-4ccd-9a3c-335a534f605b" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2Fr2YZVQfnOayH42MJecv9%2Fimage.png?alt=media&#x26;token=73706023-5476-4c7f-95e8-dbc70130202f" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FpJTUhmZ6pGhsP2yShqMH%2Fimage.png?alt=media&#x26;token=b34cfde4-2f0d-4d75-973d-52ee7b175c92" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FaYJzFKjK9pbbV2O2EbZO%2Fimage.png?alt=media&#x26;token=df11712b-5e2b-44e9-bd9b-7ab6a9f986c2" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FXjH2Q92yJVfNfaUkllKQ%2Fimage.png?alt=media&#x26;token=00175a96-4f25-4b46-a786-eb321b7da5ad" 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FVIJIwq3eweZnm3h7cZjH%2Fimage.png?alt=media&#x26;token=8e65b5da-f94e-4c44-84b7-22fd32176cc0" 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-theme-documentation/masterstudy-lms-pro-addons/certificate-builder#creating-a-certificate) 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://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2F5bcvJRTgxqAJp0JJ3l1x%2Fimage.png?alt=media&#x26;token=29419065-c0c1-4b29-a5aa-478fd0adf308" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2Ffh4h9CNAtl8T6QQaPjKS%2Fimage.png?alt=media&#x26;token=601cb681-4795-4492-a852-2404466d0ef1" 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
