Text filters

One of the tasks of the organizational resilience project is the standardization of language--in other words, ensuring there is standardization of common terms and definitions across the project. There was some discussion as to whether Moodle could be used to filter text and check for the appearance of specified terms. As a proof of concept, we can finish this chapter by having some fun with text filters. The idea discussed is that we are able to use Moodle to filter text displayed on a page to (potentially) replace words and phrases as they are harmonized across the resilience project. Let's demonstrate how this can be done by creating a Swedish Chef text filter. The code we will be using is based on the ezborktranslator--see ...

Get Moodle 3.x Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.