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

Site News forum name is not translated on index.php

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.1.1, 2.2
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Language
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      Replicate:
      1. Enable multi-lang filter

      • Go to "Site administration -> Plugins -> Filters -> Manage filters"
      • Enable "Multi-Language Content"
      • Set "Apply to" to "Content and headings"

      2. Edit the Site News forum and change the forum name to:
      <span lang="en" class="multilang">Site News</span><span lang="fr_ca" class="multilang">Nouvelles</span>

      3. Save the changes and view index.php.
      4. The forum title should display as "Site News" or "Nouvelles" (depending on Language set)

      Make sure forum title is not "Site NewsNouvelles".

      Show
      Replicate: 1. Enable multi-lang filter Go to "Site administration -> Plugins -> Filters -> Manage filters" Enable "Multi-Language Content" Set "Apply to" to "Content and headings" 2. Edit the Site News forum and change the forum name to: <span lang="en" class="multilang">Site News</span><span lang="fr_ca" class="multilang">Nouvelles</span> 3. Save the changes and view index.php. 4. The forum title should display as "Site News" or "Nouvelles" (depending on Language set) Make sure forum title is not "Site NewsNouvelles".
    • Workaround:
      Hide

      Apply attached patch

      Show
      Apply attached patch
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-28489_master

      Description

      When viewing the front page of a Moodle site, the Site News header does not get translated based on the user's selected language.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Oct/11