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

Multilingual glossary entries showing up on the chosen Moodle UI/concept language corresponding combination only, allowing for extended multilinguality

XMLWordPrintable

    • MOODLE_29_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE
    • MOODLE_500_STABLE
    • MDL-51119-main
    • Hide

      Covered by automatic tests.

       

      -------------------------

      For manual test:

      1. Install Moodle in English.
      2. Install language packs for French and Spanish.
      3. Enable the Multi-language content filter applied to Content and headings and the Glossary auto-linking to Content
      4. Create a course.
      5. Turn editing on.
      6. Add a glossary activity named "MDL-51119 test <span class="multilang" lang="en">glossary</span><span class="multilang" lang="fr">glossaire</span><span class="multilang" lang="es">glossario</span>".
      7. Add an entry.
      8. Add the following concept:
        <span class="multilang" lang="en">English</span><span class="multilang" lang="fr">Anglais</span><span class="multilang" lang="es">inglés</span>
      9. Add the following definition on Source code mode:
        <span class="multilang" lang="en">Relating to England, its people, or the language spoken there.</span><span class="multilang" lang="fr">Relatif à l'Angleterre, à son peuple ou à la langue parlée là-bas.</span><span class="multilang" lang="es">Relacionado con Inglaterra, su gente o el idioma hablado allí.</span>
      10. Check the 'This entry should be automatically linked' setting
      11. Click Save Changes.
      12. Add the following concept:
        <span class="multilang" lang="en">Spanish</span><span class="multilang" lang="fr">Espagnole</span><span class="multilang" lang="es">Castellano</span>
      13. Add the following definition on Source code mode:
        <span class="multilang" lang="en">Relating to Spain, its people, or the language spoken there.</span><span class="multilang" lang="fr">Relatif à l'Espagne, à son peuple ou à la langue parlée là-bas.</span><span class="multilang" lang="es">Relacionado con España, su gente o el idioma hablado allí.</span>
      14. Check the 'This entry should be automatically linked' setting
      15. Click Save Changes.
      16. Add a new Text and media element on the course with the following content on Source code mode:
        <p>This is a text with the multilang syntax on the <span class="multilang" lang="en">English</span><span class="multilang" lang="fr">Anglais</span><span class="multilang" lang="es">Inglés</span> word that should be auto-linked.</p>
        <p>This are plain text words that should also be auto-linked: English, Anglais, Inglés.</p>
      17. Click Save Changes.

      Glossary entries should be properly sorted, searched and autolinked in any language. You should only see the concept term and the definition of the term in the language corresponding to the current UI language.

      Show
      Covered by automatic tests.   ------------------------- For manual test: Install Moodle in English. Install language packs for French and Spanish . Enable the Multi-language content filter applied to Content and headings and the Glossary auto-linking to Content Create a course. Turn editing on. Add a glossary activity named " MDL-51119 test <span class="multilang" lang="en">glossary</span><span class="multilang" lang="fr">glossaire</span><span class="multilang" lang="es">glossario</span>". Add an entry. Add the following concept: <span class="multilang" lang="en">English</span><span class="multilang" lang="fr">Anglais</span><span class="multilang" lang="es">inglés</span> Add the following definition on Source code mode: <span class="multilang" lang="en">Relating to England, its people, or the language spoken there.</span><span class="multilang" lang="fr">Relatif à l'Angleterre, à son peuple ou à la langue parlée là-bas.</span><span class="multilang" lang="es">Relacionado con Inglaterra, su gente o el idioma hablado allí.</span> Check the 'This entry should be automatically linked' setting Click Save Changes . Add the following concept: <span class="multilang" lang="en">Spanish</span><span class="multilang" lang="fr">Espagnole</span><span class="multilang" lang="es">Castellano</span> Add the following definition on Source code mode: <span class="multilang" lang="en">Relating to Spain, its people, or the language spoken there.</span><span class="multilang" lang="fr">Relatif à l'Espagne, à son peuple ou à la langue parlée là-bas.</span><span class="multilang" lang="es">Relacionado con España, su gente o el idioma hablado allí.</span> Check the 'This entry should be automatically linked' setting Click Save Changes . Add a new Text and media element on the course with the following content on Source code mode: <p>This is a text with the multilang syntax on the <span class="multilang" lang="en">English</span><span class="multilang" lang="fr">Anglais</span><span class="multilang" lang="es">Inglés</span> word that should be auto-linked.</p> <p>This are plain text words that should also be auto-linked: English, Anglais, Inglés.</p> Click Save Changes . Glossary entries should be properly sorted, searched and autolinked in any language. You should only see the concept term and the definition of the term in the language corresponding to the current UI language.
    • Hide

      Code verified against automated checks.

      Checked MDL-51119 using repository: https://github.com/lucaboesch/moodle.git

      More information about this report

      Built on: Mon Dec 30 09:56:34 AM UTC 2024

      Show
      Code verified against automated checks. Checked MDL-51119 using repository: https://github.com/lucaboesch/moodle.git main (0 errors / 0 warnings) [branch: MDL-51119-main | CI Job ] More information about this report Built on: Mon Dec 30 09:56:34 AM UTC 2024
    • Show
      Launching automatic jobs for branch MDL-51119 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17796/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60610/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60611/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60612/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60613/ App tests (stable app version) / complete) Built on: Mon Dec 30 09:52:36 AM UTC 2024

      The glossary doesn't support the multilang filter.

      It should look like this:

            lucaboesch Luca Bösch
            sebby Sebastien M.
            Iñigo Zendegi Urzelai Iñigo Zendegi Urzelai
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 9 minutes
                3h 9m

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