## Activities: E-Lang

mod_elang
Maintained by Christophe Demko
A moodle module for learning foreign languages
1k
80
4

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 http://framatube.org/media/presentation-des-licences-creative-commons-avec-cc (mp4 for Safari and Internet Explorer, webm or ogv or mp4 for Google Chrome and webm and ogv  for Firefox) (See http://creativecommons.org/videos/creative-commons-kiwi for attributions) and this file http://download.chdemko.com/moodle/mod_elang/Creative_Commons_Kiwi-guess.fr.srt 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.

### Contributors

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

### Comments

Show comments
• Fri, Apr 3, 2015, 2:38 AM
The first stable version 1.0.0 is available.
• 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?
• Sun, Apr 5, 2015, 12:27 AM
@Justin, there is an example here http://download.chdemko.com/moodle/mod_elang/Creative_Commons_Kiwi-guess.fr.srt or you can download the examples which are in the demo site e-lang.chdemko.com: 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 https://github.com/e-lang/moodle-mod_elang/wiki (for the moment only in french, but english is coming soon). And finally you can have a look to http://en.wikipedia.org/wiki/SubRip or http://en.wikipedia.org/wiki/WebVTT which are the two formats supported by this plugin.
• Sun, Apr 5, 2015, 7:07 AM
Wonderful! Thanks a lot.
• Fri, Apr 10, 2015, 4:54 AM
The english documentation https://github.com/e-lang/moodle-mod_elang/wiki/Homepage for the mod_elang activity module has been created.
• 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. ;)
• 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.
• 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 https://github.com/captioning/captioning 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.
• 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
from
if (version_compare($version, '2.6') < 0) to if (version_compare($version, '2.7') < 0)
in order to get it running.
• Mon, Jun 8, 2015, 2:49 AM
Thanks for the report. It has been corrected in the sources.
• 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.
• 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.
• Fri, Jun 12, 2015, 3:23 PM
@Frankle,

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.
• 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

Ch.D
• Wed, Jun 17, 2015, 6:28 PM
The new version 1.1.0 is now stable

See https://raw.githubusercontent.com/e-lang/moodle-mod_elang/master/ChangeLog for changes
Please login to post comments