Skip to content

Latest commit

 

History

History
123 lines (100 loc) · 3.82 KB

File metadata and controls

123 lines (100 loc) · 3.82 KB

Here is the complete guide to installing the language pack


Step 1: Install the Sinhala /Tamil Language Pack in Moodle

Install via Moodle Web Interface (Recommended)

  1. Login as Admin to your Moodle site.

  2. Go to Site administration > Language > Language packs.

  3. Find Sinhala (si) Tamil (ta_lk) in the available language list.

  4. Select it and click Install selected language pack.

  5. Once installed, go to Site administration > Language > Language settings.

  6. Set Default language to Sinhala (si) or Tamil (ta_lk).

  7. Click Save changes.

  8. Change the Language

image

image


Step 2: Allow Sinhala/Tamil Text Input

Since Moodle does not translate typed text, you need a Sinhala/Tamil keyboard.

Enable Sinhala/Tamil Keyboard on Your Computer

For Windows

  1. Open Settings > Time & Language > Language & Region.
  2. Click Add a language, search for Sinhala/Tamil, and install it.
  3. Select Keyboard options → Choose Sinhala Wijesekara or Sinhala Phonetic.
  4. Switch between English/Sinhala using Alt + Shift or Win + Space.

For Ubuntu/Linux

  1. Install Sinhala keyboard:
    sudo apt install ibus-m17n
  2. Go to Settings > Region & Language.
  3. Click + Add Input Source, search for Sinhala, and select it.
  4. Switch languages with Super (Windows key) + Space.

For macOS

  1. Open System Preferences > Keyboard > Input Sources.
  2. Click +, choose Sinhala/Tamil, and select a layout.
  3. Switch between languages using Command + Space.

Step 3: Clear Moodle Cache

To apply changes, purge caches:

  • Go to Site administration > Development > Purge caches.
  • Click Purge all caches.

Troubleshoot options

If 504 error occurs (in the testbed environment), restart services:

rc-service nginx restart
rc-service php-fpm82 restart

Manual Installation (If the server has no internet)

  1. Download the Sinhala language pack manually from:
    👉 https://download.moodle.org/langpack/4.3/
    (Select si.zip for Sinhala)

Verify Sinhala Text Rendering in Moodle

If Sinhala text does not display correctly:

  1. Use Google Input Tools

  2. Use Online Sinhala Transliteration Tools

  3. Install Sinhala Unicode Fonts

    • For Alpine Linux:
      apk add fonts-noto
    • For Windows/macOS:
      Download Sinhala fonts from UCSC.