[TYPO3-mvc] Problems with multi language extension

Kevin Ulrich Moschallski km at 3digit.de
Wed May 26 18:08:07 CEST 2010


Hi,

i have problems with my extbase extension when i try to use more than one language.

When i add &L=1 to my url my extension does only show entries with this sys_language_id, so far so good. But when i redirect or use a link in fluid to another controller the &L parameter is removed from the url. So the new view from the new controller is always in the default language. When i add the &L parameter in the new view again, everything is fine. I tried to use addQueryString="1" in the fluid template but this didn't work as excepted.

Here is my link in fluid:

<f:link.action action="step1" pageUid="{settings.singlePid}" arguments="{quiz:quiz}"><f:translate key="tx_3dgquiz_domain_model_quiz.start" /></f:link.action>

and my redirect in the controller:

$this->redirect('show', NULL, NULL, array('quiz' => $quiz));

I hope somebody could give me a hint how to preserve the language parameter.

Thanks for help in advance.

Regards,

Kevin Moschallski


More information about the TYPO3-project-typo3v4mvc mailing list