Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80606

switching languages in H5P Moodle core throws PHP warning


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.3, 4.3.1, 4.3.2, 4.3.3
    • H5P

      This has been reported on the French-speaking forum at https://moodle.org/mod/forum/discuss.php?d=454286#p1825279

      After much investigation it seems that the problem is due to the fact that the get_editor_translations() in script MYMOODLE\h5p\classes\editor.php. does not work because all the languages strings (other than English) contain a number of strings which are only used if the OER H5P function is activated in Moodle, which is currently NOT the case! And also because a number of those strings contain embedded curled brackets which break the function.

      It would be useful to make clear if the Moodle core H5P activity is going to support the H5P OER or not. In the meantime I am suggesting a simple patch to provisionally remove the PHP error.

            Unassigned Unassigned
            rezeau Joseph Rézeau
            8 Vote for this issue
            5 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.