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

Some Dashboard elements are following browser language, not page language



    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.2, 3.7
    • Fix Version/s: None
    • Component/s: Dashboard (My home)
    • Labels:


      If you switch the language of your Moodle page (have more than one language pack installed) then some dashboard elements don't change along.

      They seem to stick with the browser language. If you change the preferred browser language, those elements will differ from that no matter what Moodle language is chosen.
      You can verify this on https://qa.moodle.net.

      Steps to replicate:

      • Open your browser's settings and set the preferred website language to something != English (in our example: German). The browser's preferred language is now german.
      • Go to https://qa.moodle.net.
      • Login as teacher.
      • Make sure that your selected Moodle language is english. You expect all UI elements to be in english now.
      • Have a look at the course overview block.
      • Open the three-dot context menu of any course.

      Expected result:

      • The context menu items are listed in English

      Actual result:

      • The context menu items are listed in German
      • See

      That apparently concerns mustache templates called from within mustache templates e.g.

      > block_myoverview/progress-bar

      > block_myoverview/course-action-menu

      called by blocks/myoverview/templates/view-summary.mustache.




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


              • Created: