LetoDMS Community Forum
Passing language through PHP url - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10)
+--- Thread: Passing language through PHP url (/showthread.php?tid=437)



Passing language through PHP url - bbtkull - 02-01-2012

Hi there!

I'm trying to bypass the login screen opening directly the ~/op/op.Login.php?login=guest url, the problem is it's opened in english language by default although my .conf file is set to be spanish. The question is: Is it currently possible to set the language code with PHP vars? Something like &lang=spa or similar ...

Thanx a lot!


RE: Passing language through PHP url - steinm - 02-01-2012

(02-01-2012, 05:47 PM)bbtkull Wrote: Hi there!

I'm trying to bypass the login screen opening directly the ~/op/op.Login.php?login=guest url, the problem is it's opened in english language by default although my .conf file is set to be spanish. The question is: Is it currently possible to set the language code with PHP vars? Something like &lang=spa or similar ...

Thanx a lot!

Passing &lang=Spanish shoud do it. Just check the html code of the login page.

Uwe


RE: Passing language through PHP url - bbtkull - 02-01-2012

Great... I was trying with 'span', I was close! Smile

Thanx!