[TYPO3-mvc] Query Matching and Multilanguage

Stefano Cecere scecere at krur.com
Mon Oct 15 15:05:08 CEST 2012


Matthias.. yes i struggled with that bug also, last month with 4.7.4 and 
every latest.

somewhere in core list i read that somebody would really like to improve 
Extbase & Repository to support well multilanguage..
right now something is missing!

ciao

On 15/10/12 15:00, Matthias Krappitz wrote:
>> Are you sure that $GLOBALS['TSFE']->sys_language_uid is set according
>> with correct language?
>> Extbase uses Querysettings function setRespectSysLanguage to define
>> that record should be fetched according with sys_languge_uid.
>> Then, if it's set, Extbase adds
>> "tx_myextension_domain_model_whatever.sys_language_uid IN (' .
>> $GLOBALS['TSFE']->sys_language_uid .',-1) ...".
>> Remember to check if you set
>> $GLOBALS['TCA'][$tableName]['ctrl']['languageField'].
>
> I'm absolutely sure about $GLOBALS['TSFE']->sys_language_uid being set
> right. Also all of my tables have been generated by
> EXT:extension_builder, so their TCA should be correct. I use TYPO3 4.7.4.
>
>
>
>


-- 

-- --- ----- -------

Stefano Cecere
KRUR studio - http://krur.com


More information about the TYPO3-project-typo3v4mvc mailing list