hello,
i would like to change the language of ckfinder dynamicly using a session variable ($_session['lang'])
how can i configure it to make this possible
thanks a lot waiting for your help
i would like to change the language of ckfinder dynamicly using a session variable ($_session['lang'])
how can i configure it to make this possible
thanks a lot waiting for your help
Re: changing the language dynamicly
you can set AutoDetectLanguage to false, rename ckfinder.html to ckfinder.php, replace "ckfinder.html" with "ckfinder.php" in ckfinder.js and/or in core/ckfinder_phpX.php and then use PHP code to set DefaultLanguage using session variable.
An alternative would be to set in .htaccess to execute PHP code also in HTML files, this way you could avoid renaming ckfinder.hmtl file (but this approach also has some drawbacks).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+