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

Multilingual Tags Block Title

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.2, 3.4, 3.5
    • Fix Version/s: 3.3.4, 3.4.1
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      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 "
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60439-master

      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

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18