Project

General

Profile

Actions

Bug #63031

closed

Weird Translation behaviour in extbase

Added by Philipp Wrann over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2014-11-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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...


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #72834: sys_language_mode = content_fallback ; 1,0 is not working with ExtbaseClosed2016-01-20

Actions
Related to TYPO3 Core - Bug #82363: Make Extbase translation handling consistent with typoscriptClosedTymoteusz Motylewski2017-09-07

Actions
Actions

Also available in: Atom PDF