Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.7, 3.8
-
Fix Version/s: 3.7.2
-
Component/s: Dashboard (My home)
-
Testing Instructions:
-
Affected Branches:MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-64757-38_core_output_nested_template_block_string_language
Description
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:
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.
Attachments
Issue Links
- is a regression caused by
-
MDL-64348 Improve ajax template fetching
-
- Closed
-