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

User list actions does not maintain the course language

XMLWordPrintable

    • MOODLE_24_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • wip-MDL-41317-master
    • Hide
      1. Create a course with language and/or theme different from site default
      2. Open Participants page, select several users and select "send message"
      3. Make sure the page is displayed with course language/theme
      4. Try sending a bulk message to site participants (as a user with appropriate permission but not admin), make sure there are no errors there
      Show
      Create a course with language and/or theme different from site default Open Participants page, select several users and select "send message" Make sure the page is displayed with course language/theme Try sending a bulk message to site participants (as a user with appropriate permission but not admin), make sure there are no errors there
    • BACKEND Sprint 4

      Steps to reproduce:

      • Set a course language to English.
      • Set a user language to Portuguese (or any other language).
      • Assign this user as a teacher for this course.
      • In the course select the user list .
      • Choose any action.could it be "Send a message to selected users".
      • The message screen will have the user language and not the course language.

      We add these two lines in the user/action_redir.php file and now the course language is presented .

      //CUSTOM CODE.
      $courselang = $DB->get_field('course','lang',array('id'=>$id));
      $SESSION->lang = $courselang;

            marina Marina Glancy
            amrigo Angelo Rigo
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.