Issue Bug Closed

#63031Weird Translation behaviour in extbase

Philipp Wrann 11/17/14, 15:48 updated 09/19/18, 01:20

Description

I configured

sys_language_mode = content_fallback ; 1,0
sys_language_overlay = hideNonTranslated

and expected extbase to do so – hideNonTranslated

instead i found this assignment in Typo3DbBackend on line 825 (TYPO3-6-2-6)

$overlayMode = $querySettings->getLanguageMode() === 'strict' ? 'hideNonTranslated' : '';

So, sys_language_mode would have to be set to strict to use “hideNonTranslated”

I can’t imagine this to be the way it is supposed to be…

By setting $query->getQuerySettings()->setLanguageMode('strict') you can emulate the behaviour without changing global configuration.

Please give me some feedback if this is the way its meant to be, so i can adopt configurations…

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.