Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2.2
-
MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-58171-report-role-format_text -
-
Description
In report/participation/ role names are not passing format_string and therefore are not localized.
FULL STEPS
You got to have at least two of this language packs installed, the Multilang 2 plugin (https://moodle.org/plugins/filter_multilang2) installed and set Multi-Language Content (v2) filter to "on" for content and headings.
Have a role having a custom full name with language tags (i.e. "{mlang de}Teilnehmer/in{mlang}{mlang fr}Participant/e{mlang}{mlang en}Student{mlang}{mlang it}Studente{mlang}{mlang es}Estudiante{mlang}") and call report/participation/ in a course.
WHAT YOU EXPECTED
In the title you get to see "43 Teilnehmer/in" when page language is set to de.
WHAT ACTUALLY HAPPENS
You get to see "43 {mlang de}Teilnehmer/in{mlang}{mlang fr}Participant/e{mlang}{mlang en}Student{mlang}{mlang it}Studente{mlang}{mlang es}Estudiante{mlang}".
Attachments
Issue Links
- has been marked as being related by
-
MDL-58180 In function stats_get_report_options role names are not passing format_string
-
- Closed
-