[TYPO3-mvc] Re: TYPO3 language switch in action

Daniel Nemanic daniel.nemanic at googlemail.com
Fri Sep 8 11:24:25 CEST 2017


Sorry, but this doesn't work.

I can't change the language.
I also tried this:

$GLOBALS['TSFE']->config['config']['language'] = de;
$GLOBALS['TSFE']->sys_language_uid = 1;
$GLOBALS['TSFE']->sys_language_content = 1;
$GLOBALS['TSFE']->sys_language_isocode = de;
$GLOBALS['TSFE']->config['config']['sys_language_uid'] = 1;

en is my first language
de is my second language


More information about the TYPO3-project-typo3v4mvc mailing list