
ezXlate : API for external translation pipelines
- Moodle 4.1–5.3
- 更新 2026-10-10
The EzGlobe local_ezxlate plugin provides an API for extracting and updating translatable content in Moodle, including courses, sections, activities, questions, and tags. It enables organisations to automate large-scale translation workflows and seamlessly integrate Moodle content with EzGlobe and other external translation systems.
The EzGlobe local_ezxlate is a Moodle plugin that exposes a secure API to manage the
translation of Moodle content. It allows external translation platforms or
custom tools to:
• extract translatable texts (courses, sections, activities, question banks, tags)
• retrieve the full structure of courses and modules
• send translated texts back to Moodle
• optionally verify previous values before updating
• optionally extend database field sizes when texts exceed Moodle defaults
• update activity names in the gradebook when enabled
The plugin strictly respects Moodle capabilities and context permissions:
the API user must have the appropriate rights to read or update each item
(course, module, question, tag).
Three HTTPS endpoints are provided:
• infos.php – get plugin configuration and API capabilities
• get.php – export course structures and translatable texts
• set.php – update translated texts safely
All data is exchanged in JSON format.
A full, detailed specification of the JSON structures is provided in the plugin
documentation (GitHub wiki), including per-activity structures.
- 1.1Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1, 5.2, 5.3