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

Multilingual Tags Block Title

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.2, 3.4, 3.5
    • 3.3.4, 3.4.1
    • Blocks
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-60439-master
    • Hide
      1. Navigate to Site administration / Plugins / Filters / Manage filters
      2. Enable the Multi-Language Content filter and apply it to "Content and headings".
      3. Go to Site administration / Language / Language packs and install the Japanese (ja) language pack.
      4. Go to your course
      5. Turn editing on
      6. Put in a new Tags block
      7. Configure the Tags block
      8. Set title to

        Title <span lang="en" class="multilang">EN</span><span lang="ja" class="multilang">JA</span>

      9. Add a tag to a activity or resource in your course.
      10. Turn editing off
      11. Check the title of the Tags block
        • Confirm that you only see "Title EN"
      12. Switch the site's language to the Japanese language.
      13. Check the title of the Tags block
        • Confirm that you only see "Title JA"
      Show
      Navigate to Site administration / Plugins / Filters / Manage filters Enable the Multi-Language Content filter and apply it to "Content and headings". Go to Site administration / Language / Language packs and install the Japanese (ja) language pack. Go to your course Turn editing on Put in a new Tags block Configure the Tags block Set title to Title <span lang="en" class="multilang">EN</span><span lang="ja" class="multilang">JA</span> Add a tag to a activity or resource in your course. Turn editing off Check the title of the Tags block Confirm that you only see " Title EN " Switch the site's language to the Japanese language. Check the title of the Tags block Confirm that you only see " Title JA "

    Description

      The title of the Tags 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 Tags block
      • Configure the Tags block
      • Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span>
      • Add a tag to a activity or resource in your course.

      Attachments

        1. MDL-60439_English language.png
          51 kB
          Rayna Mae Jayco
        2. MDL-60439_Japanese language.png
          54 kB
          Rayna Mae Jayco

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              lucaboesch Luca Bösch
              Ankit Agarwal Ankit Agarwal
              David Monllaó David Monllaó
              Rayna Mae Jayco Rayna Mae Jayco
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jan/18