# 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="/files/uiTIku61r4MoIHKVIy1j" alt=""><figcaption></figcaption></figure>

We will translate its lessons first, then the assignments.

{% hint style="success" %}
First, make sure you[ **have translated**](/masterstudy-theme-documentation/additional-features/polylang-integration.md#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="/files/N9UdwB3puKv9lmU982qD" 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="/files/uzcCSss12NxkktT1jtcs" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/FEIOLE7Djh0xkrmEPTm1" 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="/files/melDkmHRoUYkRZn0Ozix" 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="/files/6lq1hwHeffHKuQpgmj3O" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="/files/kDukzInYfSo6wL8NQ3Ge" 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="/files/xddybvzxWwHpymwSAtrb" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/dGB4r9XfqtMcIBWwlRys" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/xeI2nT9lTSwQJ0dWB6iC" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/61SYBXmSvhMgypstIkqx" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

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

<figure><img src="/files/zBPoJQ8Jrnu9GO0tqlKy" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="/files/QJ9c0VE5CI4Vu57uUqRI" 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="/files/nqUd4rGnmysVBo8IXw55" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/hWu7SO36X1QRSeweIypR" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

Here is the result:

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

<figure><img src="/files/HorCZf5vbpUD54jDyqNb" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="/files/EFfpzt0x5Gcufpd5KKBJ" 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="/files/IuFai5yBvUBl0HRiREbw" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/WpLOpWDdptC6ctZmg21N" 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="/files/Wmi4yAUboXDhZjohmyFF" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/cSrmJOLEvVg9XkY1Hkpb" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/cu84iWNSzVyBBZCnHQCx" 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="/files/JJh8HuAGMJ0jsXXzRYOk" 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="/files/serhRkEHU3l2vUgjQ27F" 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="/files/Gtm3n8EZFvX83Cam6Hqx" 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="/files/hxOfkI20HLnyQ6PtA6X0" 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**](/masterstudy-theme-documentation/masterstudy-lms-pro-addons/certificate-builder.md#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="/files/frdq1z7nkneHCIke7tuF" alt=""><figcaption></figcaption></figure>
{% endtab %}

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

<figure><img src="/files/JNug44CMgCQra5bZ9hJS" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stylemixthemes.com/masterstudy-theme-documentation/additional-features/polylang-integration/lms-contents-translation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
