Deepl Translator

Local plugins ::: local_deepler
Maintained by portraitBruno Baudry
Deepler is a local moodle plugin that provides a content translation page for courses and automatic machine translation using the ©Deepl Translation api (Pro or Free).

Deepl Translator v1.0.2

Moodle 4.2, 4.3, 4.4
Released: %A 11/02/2024DHH 2HHDD %B %Y, %H:%M

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.2] 2024-11-01

Added

  • LaTeX syntax escaping including :
    • Admin default.
    • Enabler at page level.

Fixed

  • Complex text (with code and mixed quotes) were breaking the HTML attributes.

Todo see issue list

[1.0.1] 2024-07-09

Added

  • Admin settings to allow sub languages codes to be treated as their main

Fixed

  • minor bugs

Todo

  • Mustache the page header.
  • More tests.
  • Add glossary interface.
  • Add user mapping to API key.
  • Refactor API with ©Deepl PHP libs.
  • Insert usage control (per user).
  • Purge vendor's library of duplicates from Moodle's core vendor.
  • Recurvise subcontent parsing (wikis ...)

[1.0.0] 2024-05-07

Added

  • UI display of activity icons and blocks

Improvements

  • Add modal waiting UI when saving huge courses with multiple activities.
  • Don't show the menu entry at all if no API key is present.

Fixed

  • Topics (Section) names are overidden when they hold a non blank summary.
  • Sub pages activities/resoures was not listed.

Todo

  • Mustache the page header.
  • More tests.
  • Add glossary interface.
  • Add user mapping to API key.
  • Refactor API with ©Deepl PHP libs.
  • Insert usage control (per user).
  • Purge vendor's library of duplicates from Moodle's core vendor.
  • Recurvise subcontent parsing (wikis ...)

[0.9.9] 2024-04-16

Added

  • Row selection and main buttons made sticky.
    • Added floating "Save all" button.
  • Word and char calc is now in JS to be reset upon filtering.
  • Character count is compared to your ©Deepl's account limt allowed for the API key.
  • Source and target languages, available in your Moodle instance, are compared to ©Deepl's API available languages.
  • Tour guide (to be installed in your Moodle instance for user training).
  • Different source selector. For content already in mixed languages.

Removed

  • Word and char count in php.

Improvements

  • Simplified bootstraps.

Todo

  • Mustache the page header.
  • More tests.
  • Add glossary interface.
  • Add user mapping to API key.
  • Refactor API with ©Deepl PHP libs.
  • Insert usage control (per user).
  • Purage vendor's library of duplicates from Moodle's core vendor.

[0.9.5] - 2024-01-22

Fork

https://github.com/jamfire/moodle-local_deepler

Added

  • Source lang can be any of the avaiblable lang.
  • deepl api advanced setting.
    • Formality, Glossary id, tags handling (HTML/XML, Non splitting/Splitting/Tags to ignore), context
  • Image display in preview
    • also highlights alt text when non loaded image tags in editors (@@PLUGINFILE@@).
  • User preferred editors can now be plaintext, Atto, Tiny and Marklar.
  • Course activities are now ordered as per course layout and grouped by modules/sections.

Removed

Auto translation is removed. Hence, when calling the ©Deepl API, transaltion must be reviewed before storing it into DB.

Improvements

  • Several UI improvements
    • Update status
    • Api call stages
  • Test coverage
  • Rewrote JS code to ES2005

Todo

  • Abstract translation API calls to use other providers
  • rewrite module templating with mustache for better flexibility

Version information

Version build number
2024110100
Version release name
v1.0.2
Maturity
Alpha
MD5 Sum
c7073605c2d4fac93cc3adf27e7510fd
Supported software
Moodle 4.2, Moodle 4.3, Moodle 4.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.0.2

Default installation instructions for plugins of the type Local plugins

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.