mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
can be both the hypen and the underscore characters. Everything is converted to Moodle's (lowercase with hypen) langs. And the filter returns the full text if some exception happens (bad build lang tags). Actually it was returning an empty string on error. Should we be a stricter allowing only the correct langs????