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

Multilingual HTML Block Title

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.2.6, 3.3.3
    • 3.2.5, 3.3.2, 3.4
    • Blocks
    • MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-60437-multilang-html-block-titles
    • Hide
      1. Enable the multilang filter and set it to apply to 'Content and headings'.
      2. Install the Russian language pack (ru).
      3. Create a course.
      4. Visit the course.
      5. Turn editing on.
      6. Add a new HTML block.
      7. Configure (New HTML block) block.
      8. Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span>
      9. Switch the language between English and Russian and ensure the title changes.
      Show
      Enable the multilang filter and set it to apply to 'Content and headings'. Install the Russian language pack (ru). Create a course. Visit the course. Turn editing on. Add a new HTML block. Configure (New HTML block) block. Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span> Switch the language between English and Russian and ensure the title changes.

    Description

      The title of the HTML Block is not multilingual: the language filter doesn't work there.

      To reproduce:

      • Make sure you have multilang filter on and concerning language packs installed, course language not set in your course
      • Go to your course
      • Turn editing on
      • Put in a new HTML block
      • Configure (New HTML block) block
      • Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span>

      Attachments

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              lucaboesch Luca Bösch
              Mark Nelson Mark Nelson
              Damyon Wiese Damyon Wiese
              Mihail Geshoski Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Nov/17