Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Multi-lingual Content filter.

Multi-lingual Content filter

From MoodleDocs
Revision as of 15:18, 11 December 2013 by German Valero (talk | contribs) (tidy up)

Overview

multilangsecond project is a Moodle filter. It is a more flexible version of multilang filter. It has an admin setting filter_multilangsecond_mode. If this setting is set to 'Yes' non html syntax can be used for multilang blocks like

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

Heading in English


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

Heading in Bulgarian

Otherwise

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

<p lang="en" style="...">Paragraph in English</p>

Paragraph in English

<p lang="bg" class="...">Paragraph in Bulgarian</p>

Paragraph in Bulgarian

<p lang="ro">Paragraph in Romanian</p>

Paragraph in Romanian


Old syntax use

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

See also