Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-190

Problem with language when invoking OM from Moodle module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: Moodle-Plugin
    • Labels:
      None
    • Environment:
      Openmeetings_1_9_1_r4707, Moodle 2.2

      Description

      When entering openmeetings room from Moodle module, language used in OM room is always english. Changing language in OM module settings does not change anything.
      Even changing function from view.php from:

      $iframe_d = "http://".$CFG->openmeetings_red5host . ":" . $CFG->openmeetings_red5port .
      "/".$CFG->openmeetings_webappname."/?" .
      "secureHash=" . $returnVal .
      "&scopeRoomId=" . $scope_room_id .
      //"&swf=maindebug.swf8.swf" .
      "&language=" . $openmeetings->language .
      "&picture=" . $USER->picture .
      "&user_id=". $USER->id .
      "&moodleRoom=1" .
      "&wwwroot=". $CFG->wwwroot;

      to:

      $iframe_d = "http://".$CFG->openmeetings_red5host . ":" . $CFG->openmeetings_red5port .
      "/".$CFG->openmeetings_webappname."/?" .
      "secureHash=" . $returnVal .
      "&scopeRoomId=" . $scope_room_id .
      //"&swf=maindebug.swf8.swf" .
      "&language=" . '25' . //HERE IS 25 AS NUMBER FOR POLISH LANGUAGE
      "&picture=" . $USER->picture .
      "&user_id=". $USER->id .
      "&moodleRoom=1" .
      "&wwwroot=". $CFG->wwwroot;

      ..does not affect anything.

        Attachments

          Activity

            People

            • Assignee:
              solomax Maxim Solodovnik
              Reporter:
              plasteq Lukasz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: