How to change the language and timezone in Moodle

Category: Moodle

After you install Moodle with Softaculous, the site keeps the language picked in the installer and a timezone that rarely matches where your students are. That matters more than it looks: assignment due dates, calendar events, and access logs are all displayed from the configured timezone. In this guide you will change the default language and the timezone from the admin area of Moodle installed in a subfolder such as /moodle/, and make clear what each user can adjust on their own.

Before you start

  1. Log in to Moodle with an account that has the administrator role; language and location settings are not available to teachers.
  2. Have your Moodle URL ready, for example https://yourdomain.com/moodle/.
  3. Decide which language you want as the default and the exact timezone, for example America/Mexico_City.
  4. If you already have courses with due dates, tell your teachers: the displayed times will change, even though the deadlines stay at the same real moment.

What each setting changes

  • Default language: the language seen by logged-out visitors and by users who never chose one.
  • Language menu: adds a selector at the top so each person can switch the interface language without editing their profile.
  • Default timezone: the basis Moodle uses to calculate and display due dates, the calendar, and logs.
  • Force timezone: if you let each user pick their own, everyone sees times in their own zone; if you choose a fixed zone, everyone sees exactly the same time.

Steps

Change the default site language

  1. Go to Site administration from the top menu.
  2. Open the General tab and go to Language → Language settings.
  3. In Default language, pick the language you want for the whole site. If the one you need is missing, install it first with the steps in the next section.
  4. Tick Display language menu if you want users to switch language from the top selector.
  5. In Languages on language menu, type the codes separated by commas, for example en,es_mx. Leave it empty and Moodle lists every installed pack.

Default language field in Moodle Language settings

  1. Scroll to the bottom of the page and click Save changes.

Install a language pack

  1. Go to Site administration → General → Language → Language packs.
  2. In the Available language packs list, select the one you need, for example Español - México (es_mx).
  3. Click Install selected language pack(s) and wait for it to appear in the installed list.

Install selected language pack button in Moodle

  1. If Moodle reports that it cannot write to the language folder, the pack was not installed: the Moodle data directory needs write permission. Check from cPanel File Manager that the moodledata folder exists, or open a support ticket so the folder can be reviewed.

Note: es is international Spanish and es_mx is Mexican Spanish. Install the one you plan to use and type that same code in Languages on language menu.

Change the site timezone

  1. Go back to Site administration → General → Location → Location settings.
  2. In Default timezone, choose your zone, for example America/Mexico_City.
  3. In Force timezone, keep Users can choose their own timezone if your students are spread across zones, or pick a specific zone so everyone sees the same time wherever they are.
  4. In Default country, choose the country you want prefilled for new user profiles.

Force timezone field in Moodle Location settings

  1. Click Save changes.

Set the language and timezone for your account

  1. Open your user menu in the top right corner and go to Preferences.
  2. Click Preferred language, choose the language you want to work in, and save the change.

Preferred language link in Moodle Preferences

  1. Return to Preferences, open Edit profile, and find the Timezone field.
  2. Pick your timezone or leave Server timezone to inherit the site setting, then click Update profile.

Timezone field while editing a Moodle profile

Final verification

  1. Open your Moodle in a private browser window, logged out, and confirm the front page shows the new language.
  2. If you enabled the language menu, switch languages from the selector and check that the interface follows.
  3. Open the Calendar and verify that the time shown matches your local clock.
  4. Open an assignment with a due date and check that the deadline reads as you expect.
  5. Ask a teacher to log in and tell you what they see; if the language differs, that is their personal preference, not the site setting.

Common errors

  • The language you want is not in the list: the pack is not installed. Install it from Language → Language packs and reopen Language settings.
  • You changed the language but still see the old one: your personal preference overrides the site language. Change it in Preferences → Preferred language, or check the result in a private window.
  • You see text mixed in two languages: some strings are untranslated in the pack, or old cache is still served. Purge caches from Site administration → Development → Purge caches and reload.
  • Due dates look like they moved: they did not move, they are being displayed in a different zone. If everyone must see the same time, set a fixed zone in Force timezone.
  • The language selector does not appear: Display language menu is off, or Languages on language menu holds a single code. With only one pack installed, the menu has nothing to offer either.

Still need help?

If this guide didn’t solve your issue, our team can help you via ticket.