Your Moodle version

Activities: E-Lang

Maintained by Picture of Christophe Demko Christophe Demko
A moodle module for learning foreign languages

This activity module allows the creation of exercises for learning foreign languages. An exercise is mainly composed of 2 files: a video file and a subtitles file. The subtitles file use either the .srt or .vtt syntax. In this file, text between square/curly brackets have to be guessed by the student (square brackets will propose an help button to the student).

For testing: install the module and use video files here (mp4 for Safari and Internet Explorer, webm or ogv or mp4 for Google Chrome and webm and ogv  for Firefox) (See for attributions) and this file for the subtitles.

Unfortunately, only Google Chrome >= 31, Firefox >= 35, Internet Explorer >= 10 and Safari >= 7.1 browsers support the HTML5 features used in this module.

A demo site is available here.


Screenshot #0
Screenshot #1


Picture of Christophe Demko
Christophe Demko (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Christophe Demko
    Fri, Apr 3, 2015, 2:38 AM
    The first stable version 1.0.0 is available.
  • Picture of Justin Hunt
    Sat, Apr 4, 2015, 8:20 PM
    Christophe, this looks great. Really useful

    Are there some sample subtitle files we can see to get an idea on how to build our own?
  • Picture of Christophe Demko
    Sun, Apr 5, 2015, 12:27 AM
    @Justin, there is an example here or you can download the examples which are in the demo site simply log in as a teacher, edit the activities and download the subtitle files. Or you can use Subtitle Edit (windows), Gnome Subtitle (linux) or Kolibri (mac) as it is said in the wiki (for the moment only in french, but english is coming soon). And finally you can have a look to or which are the two formats supported by this plugin.
  • Picture of Justin Hunt
    Sun, Apr 5, 2015, 7:07 AM
    Wonderful! Thanks a lot.
  • Picture of Christophe Demko
    Fri, Apr 10, 2015, 4:54 AM
    The english documentation for the mod_elang activity module has been created.
  • Picture of Luke McKee
    Sun, Apr 12, 2015, 4:28 AM
    This plugin looks great. I have two ideas for feature requests I'll put on your bug tracker. Right now I'm writing an awk script that will fix up youtube multiline srt/vtt files to work in elang. I'll share on the forums later. The other idea is to add another type of bracket maybe a and a for adding text for a popup hint (e.g. definition from a dictionary). If you combine your plugin with youtube-dl installed on the server, you could use json to get the webm/mp4 video files for the player to load direct from youtube, and implement the subtitle fix up script I'm working on in php instead of awk. It could mark all unique words over a certain length for guessing. Then the user need only provide a youtube link and a parameter for words great than x characters should be guessed. Why not throw in a subtitle editor and it will be perfect. ;)
  • Picture of Luke McKee
    Sun, Apr 12, 2015, 4:29 AM
    you can't put two [ (right and left square or curley brackets in comments here FYI. They came out as "a" in the comment above.
  • Picture of Christophe Demko
    Tue, Apr 21, 2015, 5:03 PM
    @Luke, thanks for these proposals.
    - Concerning the issue for multiline srt/vtt files, it will be solved in the next version by using the library.
    - For the popup hint, it's a good idea
    - For the random guess, I have to think about it. The main idea of the plugin was to give to the foreign languages teacher a tool for proposing exercises to student. These exercices are linked to his courses. I don't think random could be a good idea.
  • Picture of Ralf Erlebach
    Sat, Jun 6, 2015, 4:19 AM
    For those, who try to install the current version of this module (2015040200) on MOODLE 2.6.x:

    You might have to change line 45 in mod/elang/view.php
    if (version_compare($version, '2.6') < 0)
    if (version_compare($version, '2.7') < 0)
    in order to get it running. wink
  • Picture of Christophe Demko
    Mon, Jun 8, 2015, 2:49 AM
    Thanks for the report. It has been corrected in the sources.
  • Picture of Christophe Demko
    Fri, Jun 12, 2015, 5:57 AM
    A new version rc1-1.1.0 has been published. It allows report for the teacher and backup/restore process.
  • Picture of Frankle Lee 李智高
    Fri, Jun 12, 2015, 11:30 AM
    @Christophe Demko Good to know that! It is very helpful for teachers. By the way, I would like to know if it's ok to seperate the student list by group, because I have a course of 4000 students. Not a good idea to list all of them at one time.
    And also, I updated it on my Moodle 2.6, as a teacher I can see the practice setion in the last version, but now I could only see the student list. Is this right? and I switch my role to student and it work fine.
  • Picture of Christophe Demko
    Fri, Jun 12, 2015, 3:23 PM

    1. I've added a select box in the report view to select the group. It will be in the next version (published soon as it is currently a release candidate).

    2. "I updated it on my Moodle 2.6, as a teacher I can see the practice setion in the last version, but now I could only see the student list. Is this right?": yes, you have to take a student role to see the practice view. As a teacher, you see now the report.
  • Picture of Christophe Demko
    Mon, Jun 15, 2015, 2:26 AM
    A new version rc2-1.0.0 has been published.

    New features:

    1. Group selection for the report view
    2. Encoding detection (thanks to Ralf Erlebach)
    3. Client side view enhanced

    Issued fixed:

    1. Correct output when a single page is present in pagination
    2. Description of language in UTF-8 for correct filenames
    3. Adapt onclick behavior to student/teacher when clicking on the course module

  • Picture of Christophe Demko
    Wed, Jun 17, 2015, 6:28 PM
    The new version 1.1.0 is now stable

    See for changes
1 2
Please login to post comments