Multi-lingual Content filter: Difference between revisions
(tidy up) |
(tidy up) |
||
Line 5: | Line 5: | ||
Otherwise language block is a serie of identical html tags with lang="XX" atributes: | Otherwise language block is a serie of identical html tags with lang="XX" atributes: | ||
< h1 lang="en">Heading in English</h1 > | |||
'''Please note that there should not be a space between '<' and 'hl', nor between 'hl' and '>' (but the documentation writer does not know how make it show properly) :( :(''' | |||
<h1 lang="en">Heading in English</h1> | <h1 lang="en">Heading in English</h1> | ||
h1 lang="bg">Heading in Bulgarian</h1 | < h1 lang="bg">Heading in Bulgarian</h1 > | ||
'''Please note that there should not be a space between '<' and 'hl', nor between 'hl' and '>' (but the documentation writer does not know how make it show properly) :( :(''' | |||
<h1 lang="bg">Heading in Bulgarian</h1> | <h1 lang="bg">Heading in Bulgarian</h1> | ||
Revision as of 15:08, 11 December 2013
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
Please note that there should not be a space between '<' and 'hl', nor between 'hl' and '>' (but the documentation writer does not know how make it show properly) :( :(
Heading in English
< h1 lang="bg">Heading in Bulgarian
Please note that there should not be a space between '<' and 'hl', nor between 'hl' and '>' (but the documentation writer does not know how make it show properly) :( :(
Heading in Bulgarian
or
Paragraph in English
Paragraph in Bulgarian
Paragraph in Romanian
The old syntax with <lang> tags is valid too.