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 14:58, 11 December 2013 by German Valero (talk | contribs) (tidy up)

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

{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

Heading in English

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

Heading in Bulgarian

or

Paragraph in English

Paragraph in Bulgarian

Paragraph in Romanian

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