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

Multilingual HTML Block Title

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5, 3.3.2, 3.4
    • Fix Version/s: 3.2.6, 3.3.3
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60437-multilang-html-block-titles

      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

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              lucaboesch Luca Bösch
              Peer reviewer:
              Mark Nelson
              Integrator:
              Damyon Wiese
              Tester:
              Mihail Geshoski
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17