Opened 16 years ago

Closed 16 years ago

#260 closed defect (fixed)

Setting language with initial request parameter mb_lang fails

Reported by: mschulz Owned by: mapbender_dev@…
Priority: minor Milestone: 2.5 release
Component: i18n Version: 2.5 rc5
Keywords: Cc:

Description

It is not possible to start a i18n enabled gui with a certain language by requesting sth. like: http://localhost/mapbender/frames/login.php?name=test&password=test&mb_lang=en&mb_user_myGui=gui (http://www.mapbender.org/Translation_module) because mb_lang is not added to the session vars in conf/session.conf.

You have to add this line to session.conf:

$_SESSION["mb_lang"] = $_REQUEST["mb_lang"];

Change History (1)

comment:1 by christoph, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.