Multi-lingual Content

Filters ::: filter_multilangsecond
Maintained by Vanyo Georgiev
This filter is a more flexible version of multilang filter. One of three possible choices can be selected by the filter admin setting: HTML syntax, Non HTML syntax or Both. If the non html syntax is chosen language block looks like: {mlang en}English{mlang}{mlang bg}Bulgarian{mlang}. In case of Html syntax, language block is a sequence of identical html tags with lang="XX" attributes span or div or any other.

Multi-lingual Content 1.0

Moodle 2.3, 2.4, 2.5, 2.6
Released: Thursday, 5 December 2013, 12:25 AM
This filter is a more flexible version of multilang filter.
It has an admin setting filter_multilangsecond_mode.
If this setting is set to true non html syntax can be used for multilang blocks like

{mlang en}English{mlang}{mlang bg}Bulgarian{mlang}

Otherwise language block is a serie of identical html tags with lang="XX" atributes:

<h1 lang="en">Heading in English</h1>
<h1 lang="bg">Heading in Bulgarian</h1>

or

<p lang="en" style="...">Paragraph in English</p>
<p lang="bg" class="...">Paragraph in Bulgarian</p>
<p lang="ro">Paragraph in Romanian</p>

The old syntax with <lang> tags is valid too.

Version information

Version build number
2013101400
Version release name
1.0
Can be updated to
1.1, 1.2 (2014033100)
Maturity
Alpha
MD5 Sum
f3f11a735b8a60582b576fd1bd179d8d
Supported software
Moodle 2.3, Moodle 2.4, Moodle 2.5, Moodle 2.6

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation