Multiple languages web problems - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Multiple languages web problems (/showthread.php?tid=16998) |
Multiple languages web problems - El Forum - 03-23-2009 [eluser]Unknown[/eluser] Hello forum, first of all, excure my english here is my problem: My web is multilanguaje ES (spanish) EN (english), ES by default the web languaje is in a session var call 'idioma' every navigation step in the web is ina session var call 'url' so if i change my languaje session i could reload the same page to change the languaje i change my session var from for exmaple ES to EN or EN to ES and redirect to 'url' session var This system works OK if my url have no parameters the problem is for example when my url is like 'controller/function/param1' the redirection dont work and insted of redirect me to my session var url = 'controller/function/param1' the redirection is to an unkown direction like 'controller/funtion/fonts/sifr.swf' why dont rtedirect me to the session var 'url' who have the actual web position and add to the url this parameters?? please could you help me, is for a job work here some code Code: class Welcome extends Controller when my url is like welcome/home ... when a link call welcome/cambiar_idioma all its ok but when my url i slike welcome/home/10 ... when a link call welcome/cambiar_idioma ... the session var 'url' is changed in my Welcome constructor and i dont know why ???? |