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

Multilang filter does not work with the next/previous links when browsing the forum in "News format" (for example Site news)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.2, 2.8.7, 2.9.1
    • Fix Version/s: 2.8.8, 2.9.2
    • Component/s: Filters, Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable multilang filter (Site administration > Plugins > Filters), for both content and headings
      2. Create two forum posts in "Site news" with multilang spans in their names. Example <span class="multilang" lang="en">EN</span><span class="multilang" lang="fr">FR</span>
      3. Make sure navigation (next/prev) links are correctly displayed in the current language. See attached screenshot
      Show
      Enable multilang filter (Site administration > Plugins > Filters), for both content and headings Create two forum posts in "Site news" with multilang spans in their names. Example <span class="multilang" lang="en">EN</span><span class="multilang" lang="fr">FR</span> Make sure navigation (next/prev) links are correctly displayed in the current language. See attached screenshot
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-49618-master

      Description

      You found it!

      When browsing the site news in a Moodle instance that supports multilang contents, the labels in the links that point to the next or previous occurence, show a string with all the involved languages concatenated.

      This happens when one digs a site new due it has more characters not shown.

      It seems that the multilang filter does not work on this labels.

        Attachments

        1. prevlink.png
          prevlink.png
          240 kB
        2. Screenshots.docx
          1.14 MB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/15