[TYPO3-dev] dynamic form with eID, how to make it multi language?

Sebastian Gebhard sebastian.gebhard at gmail.com
Mon Nov 30 15:18:20 CET 2009


Henjo Hoeksma schrieb:
> Any clue on how to attach the language variable to this as well?
I don't know what your javascript looks like or what it's about, but when creating the page with the 
JS aplication you could set a JS variable similar to this:

$content = '<script type="text/javascript">var TYPO3_lang= "' . t3lib_div::_GP('L') . '";</script>';

Then you have to append '&L='+TYPO3_lang to your AJAX query. How this is done depends of course on 
your js.

Hope I helped you a bit




More information about the TYPO3-dev mailing list