[TYPO3-mvc] Displaying localized records?

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Tue Dec 13 11:33:01 CET 2011


Hi Mario

Extbase uses the default Language Overlay Functions provided by TYPO3. You can find the code in 
Tx_Extbase_Persistence_Storage_Typo3DbBackend::doLanguageAndWorkspaceOverlay()
Therefore the query is indeed 'correct' with «IN (0,-1)». But this hides all records that are not present in the default language/all.
(Same problem as known from recordOverlay of Content Elements)

If you want to add objects that exist only in «not default-language» you probably have to create the statement and
map the results by yourself.

Tim


More information about the TYPO3-project-typo3v4mvc mailing list