Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3265

Can't change H5P strings language after the package has been downloaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.9.3
    • 3.9.2
    • H5P
    • Hide

      This issue only needs to be tested in 1 device.

      1. In web as teacher, create an H5P (activity or not, it doesn't matter) and configure it to display "Embed button" and "Copyright button". In "Master > MM Dev Testing > H5P" there is a label already configured like this, the second one (Cloudberries slides).
      2. In the app, configure the app to use English language.
      3. Download the H5P file and then play it. Check that you see a bar at the bottom with the options "Right of use" and "Embed".
      4. Leave the page so the package is unloaded (e.g. go back one page).
      5. Now change the app language to Spanish.
      6. Open the package again. It'll take a bit to load because it needs to re-create the index file.
      7. Check that the options in the bottom bar are now displayed in Spanish language (e.g. "Derechos de uso").
      Show
      This issue only needs to be tested in 1 device. In web as teacher, create an H5P (activity or not, it doesn't matter) and configure it to display "Embed button" and "Copyright button". In "Master > MM Dev Testing > H5P" there is a label already configured like this, the second one (Cloudberries slides). In the app, configure the app to use English language. Download the H5P file and then play it. Check that you see a bar at the bottom with the options "Right of use" and "Embed". Leave the page so the package is unloaded (e.g. go back one page). Now change the app language to Spanish. Open the package again. It'll take a bit to load because it needs to re-create the index file. Check that the options in the bottom bar are now displayed in Spanish language (e.g. "Derechos de uso").
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.3

    Description

      The language strings to use in an H5P package are defined when the package is downloaded. This means that if the user changes the language after the package has been downloaded, the language will still be the old one.

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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