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.5.2

Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: Παρασκευή, 18 Απριλίου 2025, 3:06 AM

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.5.2] - 2025.04.17

Changed

[2.0.5.1] - 2024.12.12

Fixed

  • [#56] Updated Basque translations for latest changes (I forgot to do it in 2.0.5)

[2.0.5] - 2024.11.27

Added

  • [#42] [#25] Added a setting to configure the parent languages behaviour (see README.md for additional details on the setting).

[2.0.4] - 2024.10.18

Fixed

  • [#54] Fixed exceptions thrown when using Moodle 4.1 in some sites (thanks to Michael Milette!)

[2.0.3] - 2024.10.12

Fixed

  • moodle-plugin-ci validate now passes successfully.

[2.0.2] - 2024-10-08

Added

  • [#49] Add support to Moodle 4.5
  • Added Moodle 4.4 and 4.5 to the CI test matrix

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
2025041701
Version release name
2.0.5.2
Maturity
Σταθερή έκδοση
MD5 Sum
460d5b102e50d9b4a7f94f929924210a
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
2.0.5.2

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