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 https://github.com/patrickallaert/ezpublish-legacy-php7/blob/master/lib/ezi18n/classes/ezborktranslator.php.

For details on how filters...