Multi-Language Content (v2)

Filters ::: filter_multilang2
Maintained by Iñaki Arenaza, Iñigo Zendegi Urzelai, Kepa Urzelai
This filter is a greatly simplified multi-language filter. It uses very simple non-HTML tags to mark multi-language blocks. Namely {mlang XX} {mlang} pairs, where XX is the Moodle short name for the language pack (i.e., en, fr, eu, es, es_mx, etc.) It uses the same tags as the filter_multilangsecond plugin (to be compatible with it), but there is one difference between the two. This filter allows standalone {mlang} tags that don't require adjoining alternative language tags. This makes the filter more flexible at the cost of potentially producing empty sets of tags.

Multi-Language Content (v2) 2.0.1

Moodle 3.11, 4.0, 4.1, 4.2, 4.3, 4.4
Released: jeudi 1 février 2024, 19:22

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

2.0.1 - 2024-01-30

Added

  • This CHANGELOG.
  • Moodle 4.3 to the CI test matrix.

Fixed

  • #45 Exception: Return value must be of type string, null returned

2.0.0 - 2022-12-17

Added

  • Early checks for "text" that cannot be filtered or is not worth filtering (e.g., non-strings, or empty strings).
  • #35 Addded GitHub Actions and information in README.md, contributed by Luca Bösch.

Changed

  • #32 [BREAKING CHANGE] Updated the unit test machinery to be compatible with Moodle 3.11 and later. The new machinery is incompatible with Moodle 3.10 and later, making this a breaking change.

Fixed

  • Fixed some Moodle Code Checker and Documentation Checker warnings.

Security

  • #39 MDL-77525 apply multilang2 before text formatting and cleaning

Version information

Version build number
2024013101
Version release name
2.0.1
Maturity
Version stable
MD5 Sum
c3914ac0c475daa3a65310f9c182dd38
Supported software
Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
2.0.1

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