Problem with language when invoking OM from Moodle module
---------------------------------------------------------
Key: OPENMEETINGS-190
URL: https://issues.apache.org/jira/browse/OPENMEETINGS-190
Project: Openmeetings
Issue Type: Bug
Components: Moodle-Plugin
Environment: Openmeetings_1_9_1_r4707, Moodle 2.2
Reporter: Lukasz
Assignee: SebastianWagner
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira