Moodle Plugins directory: ezXlate : API for external translation pipelines | Moodle.org
ezXlate : API for external translation pipelines
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.
This plugin is designed for organisations that need to automate large-scale translation workflows and seamlessly integrate Moodle content with EzGlobe and other external translation systems.
Comments