DEV Community

Cover image for Arabic and RTL Moodle Sites: Setup and Theme Testing Guide
Abd Elaziz El7or for Magic Moodle

Posted on Originally published at magicmoodle.alarabi.dev

Arabic and RTL Moodle Sites: Setup and Theme Testing Guide

Running Moodle in Arabic, Hebrew, Persian or Urdu means more than translating strings: every screen has
to read right to left. Moodle handles the language side; how good the right-to-left (RTL) layout looks depends a lot on
your theme. Here is a practical setup and testing routine.

Step 1: install the language pack

A standard Moodle install includes only English. Go to Site administration > General > Language packs,
select the languages you need and click "Install selected language pack". Some packs are "child" packs that only
contain modified strings, so their parent pack must be installed too. Installed packs are updated by a scheduled task
(Language packs).

Step 2: choose your language settings

Under Site administration > General > Language settings (Language settings):

  • Default language: used for new accounts (changing it doesn't change existing users).
  • Language autodetect: by default Moodle uses the browser's language; turn it off to force the site language.
  • Language menu: show or hide it, and limit it with "Languages on language menu" (comma-separated codes).

Users can also set Preferences > Preferred language, and teachers can force a language for a course in its
settings.

Step 3: test the theme in RTL, screen by screen

Switch your own preferred language to Arabic and walk through the site as an admin, a teacher and a student. Check:

Area What to look for
Header and menus Logo, menu order and dropdowns open on the correct side.
Dashboard and blocks Block order, icons and progress bars read right to left.
Course pages Course index, section headings and activity icons are aligned correctly.
Forms and editors Labels, help icons and the text editor's direction; mixed Arabic and English text.
Quizzes Answer options, numbering and feedback.
Messages and notifications Conversation layout and timestamps.
Mobile The same pages on a phone, where layout problems show first.
PDF downloads Moodle's language settings note that Arabic and Hebrew courses may need suitable PDF fonts (Language settings).

Step 4: fonts and mixed-language content

  • Choose a font that renders Arabic clearly at small sizes and test it in headings and body text.
  • Courses often mix Arabic text with English terms, code or numbers; check that these stay readable in both directions.
  • Keep screenshots and images free of text where possible, or prepare RTL versions.

Where Magico fits

Magico includes full RTL support for languages such as Arabic and Hebrew: the dashboard,
home page, messages and course editing screens adapt to right to left. These screenshots show the same site in Arabic.

Magico home page in Arabic with a right-to-left layout

The Magico home page in Arabic.

Magico dashboard in Arabic with right-to-left navigation and blocks

The dashboard in Arabic, with blocks and navigation mirrored.

Compatible with Moodle 3.x – 5.x. Please confirm your exact Moodle version with support before purchase. Whatever theme you use, run the checklist above on a copy of your site before launch.

Top comments (0)