# How to lock the language of a MoodleExam page or quiz

In some case, you might need to force the language of your MoodleExam page (for instance, to prevent issues with numerical questions). To do so, you have 2 options :

### 1- Locking the language of the whole MoodleExam page

First, you can force the language of the full exam page.

1\. Go to the **Settings** tab of your MoodleExam page.

2\. Then, in the "Appearance" section, in "**Force language**", select the language you need.

[![Capture d’écran 2024-05-22 à 16.26.00.png](https://wiki.unil.ch/cse/uploads/images/gallery/2024-05/scaled-1680-/CogfZTmQa0vqUuQY-capture-decran-2024-05-22-a-16-26-00.png)](https://wiki.unil.ch/cse/uploads/images/gallery/2024-05/CogfZTmQa0vqUuQY-capture-decran-2024-05-22-a-16-26-00.png)

3\. Save by clicking on the **Save and display** button at the bottom of the page.

### 2- Locking the language of the activity (Quiz)

1\. Go to the **Settings** tab of your Quiz.

[![Capture d’écran 2024-05-22 à 16.21.37.png](https://wiki.unil.ch/cse/uploads/images/gallery/2024-05/scaled-1680-/NGRruqajF1v7rsFa-capture-decran-2024-05-22-a-16-21-37.png)](https://wiki.unil.ch/cse/uploads/images/gallery/2024-05/NGRruqajF1v7rsFa-capture-decran-2024-05-22-a-16-21-37.png)

2\. Then, in the "Common module settings" section, in "**Force language**", select the language you need.

[![Capture d’écran 2024-05-22 à 16.21.48.png](https://wiki.unil.ch/cse/uploads/images/gallery/2024-05/scaled-1680-/9RZHdLHIGfHto11A-capture-decran-2024-05-22-a-16-21-48.png)](https://wiki.unil.ch/cse/uploads/images/gallery/2024-05/9RZHdLHIGfHto11A-capture-decran-2024-05-22-a-16-21-48.png)

3\. **Save** at the bottom of the page.