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

Multilanguage filter does not work in pages for badges

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.5.3
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      For testing you need site and course badges enabled.

      1. Enable multi-lang filters for headings and content.

      2. Make sure that your web site full name uses multi-lang filter (e.g. <span lang="en" class="multilang">XXXXXXX</span><span lang="de" class="multilang">YYYYYYY</span>).

      3. Go to "My badges" page (under "My profile" section).

      4. Make sure that the first "My badges..." section on the page has heading "My badges from XXXXXX" (and not "My badges from XXXXXXYYYYYY").

      5. Create a course with milti-lang setting in its full name. Similar to site name.

      5. Go to Course "Badges > Manage Badges" page.

      6. Make sure that page title is "COURSENAME: Manage badges" and course name is properly displayed only in one language.

      Show
      For testing you need site and course badges enabled. 1. Enable multi-lang filters for headings and content. 2. Make sure that your web site full name uses multi-lang filter (e.g. <span lang="en" class="multilang">XXXXXXX</span><span lang="de" class="multilang">YYYYYYY</span>). 3. Go to "My badges" page (under "My profile" section). 4. Make sure that the first "My badges..." section on the page has heading "My badges from XXXXXX" (and not "My badges from XXXXXXYYYYYY"). 5. Create a course with milti-lang setting in its full name. Similar to site name. 5. Go to Course "Badges > Manage Badges" page. 6. Make sure that page title is "COURSENAME: Manage badges" and course name is properly displayed only in one language.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-41659_master

      Description

      I use multilanguage filter to show the full site name in English ('My site') and in Bulgarian ('Моят сайт'), but in all pages of badges module the full site name is shown without filtering the current language as 'My siteМоят сайт'.

      For example on My badges page I see a title:

      'My badges from My siteМоят сайт web site' - in English or
      'Моите значки от сайт My siteМоят сайт' - in Bulgarian

      instead of

      'My badges from My site web site' - in English or
      'Моите значки от сайт Моят сайт' - in Bulgarian

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/13