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

H5P does not use the correct language

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as admin
      2. Navigate to Server > Tasks > Scheduled tasks in site administration
      3. Ensure the Download available H5P content types from h5p.org task has run (so we have some content types) - if not, press Run now and execute it [*]
      4. Navigate to Language > Language packs in site administration
      5. Install the German (kids) / de_kids language pack
      6. Press Content bank from navigation
      7. Press Add > Drag text
      8. Confirm editing form is all English
      9. Press Cancel
      10. Switch language to Deutsch (de)
      11. Press Hinzufügen > Drag Text
      12. Confirm editing form is all German
      13. Press Abbrechen (Cancel)
      14. Repeat steps 10-13 while switching to each of the following languages
        • Deutsch (Du) (de_du)
        • Deutsch (kids) (de_kids)

      [*] Note regarding executing the scheduled task, see MDL-72138 - if the "Run now" option isn't present, manually visit the following URL to execute it:

      $WWWROOT/admin/tool/task/schedule_task.php?task=core\task\h5p_get_content_types_task
      

      Show
      Login as admin Navigate to Server > Tasks > Scheduled tasks in site administration Ensure the Download available H5P content types from h5p.org task has run (so we have some content types) - if not, press Run now and execute it [*] Navigate to Language > Language packs in site administration Install the German (kids) / de_kids language pack Press Content bank from navigation Press Add > Drag text Confirm editing form is all English Press Cancel Switch language to Deutsch (de) Press Hinzufügen > Drag Text Confirm editing form is all German Press Abbrechen (Cancel) Repeat steps 10-13 while switching to each of the following languages Deutsch (Du) (de_du) Deutsch (kids) (de_kids) [*] Note regarding executing the scheduled task, see MDL-72138 - if the "Run now" option isn't present, manually visit the following URL to execute it: $WWWROOT/admin/tool/task/schedule_task.php?task=core\task\h5p_get_content_types_task
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE
    • Fixed Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE
    • Pull 3.10 Branch:
      MDL-71050-310
    • Pull 3.11 Branch:
      MDL-71050-311
    • Pull Master Branch:

      Description

      Hi,
      Moodle uses different languages. Some of them are german child languages like de_du, de_kids, de_comm, de_wp, de_ch, bar, dsb. All these lang packages depend on the german parent language de.

      There is a bug in H5P because a lot of H5P libraries are translated into german (de) but the translated strings are not shown when the user's language is set to the german child language de_kids or another.

      Best regards, Ralf

        Attachments

        1. 310_Page_de_du.png
          310_Page_de_du.png
          67 kB
        2. 310_Page_de_kids.png
          310_Page_de_kids.png
          66 kB
        3. 310_Page_de.png
          310_Page_de.png
          66 kB
        4. 310_Page_en.png
          310_Page_en.png
          57 kB
        5. 311_Page_de_du.png
          311_Page_de_du.png
          66 kB
        6. 311_Page_de_kids.png
          311_Page_de_kids.png
          66 kB
        7. 311_Page_de.png
          311_Page_de.png
          66 kB
        8. 311_Page_en.png
          311_Page_en.png
          57 kB
        9. h5p-lang-de_kids.png
          h5p-lang-de_kids.png
          274 kB
        10. h5p-lang-de.png
          h5p-lang-de.png
          285 kB
        11. master_page1_de_du.png
          master_page1_de_du.png
          90 kB
        12. master_page1_de_kids.png
          master_page1_de_kids.png
          73 kB
        13. master_page1_de.png
          master_page1_de.png
          90 kB
        14. master_page1_en.png
          master_page1_en.png
          87 kB
        15. master_page2_de_du.png
          master_page2_de_du.png
          94 kB
        16. master_page2_de_kids.png
          master_page2_de_kids.png
          75 kB
        17. master_page2_de.png
          master_page2_de.png
          83 kB
        18. master_page2_en.png
          master_page2_en.png
          75 kB

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              krause Ralf Krause
              Peer reviewer:
              Víctor Déniz Falcón Víctor Déniz Falcón
              Integrator:
              Adrian Greeve Adrian Greeve
              Tester:
              Sujith Haridasan Sujith Haridasan
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Sep/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 20 minutes
                  4h 20m