Issue Bug Closed

#78639Localizing Records with language "All" impossible

Andreas Kießling 11/10/16, 13:28 updated 03/24/20, 12:40

Description

With TYPO3 6.2 it was possible to localize records that have the language field set to -1
This behaviour was changed with #38940, but it made total sense to allow that, and even better, it worked…

My usecase:

config {
    sys_language_overlay = hideNonTranslated
    sys_language_mode = strict
...

So all records need to translated to show up or be set to [All]

I have some records, that should show up for all languages, but sometimes i need to adjust some fields for some languages. The previous behaviour allowed just that: set the default for all, override for specific languages.
Now i need to translate that record for all languages that i need them to show up, even if nothing changes in that language.

The code in getRecordOverlay clearly stated the desired behaviour: fetch the overlay if language is set to -1 or 0. If no result is found and $OLmode is set hideNonTranslated, then just use the default record if set to -1 or unset the row otherwise

Reviews 0

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