[TYPO3-dev] method "getRecordOverlay" is overlaying records set to "all languages" - bug or feature?
Martin Kutschker
masi-no at spam-typo3.org
Wed Jan 14 18:27:18 CET 2009
Franz Koch schrieb:
> Hi,
>> Thinking again about it I see now that [ALL] just means "show it ALWAYS
>> in all languages, but use language override if possible".
>
> You're just describing the content fallback feature of Typo3 - which is
> exactly working like you described. But if I would need language
> fallback for a record, then there is no need to set any record to
> language [ALL] in order to achieve it. [ALL] really means ALL - no
> matter what - otherwise it could be dropped.
Let's assume we have default (English) and French. We don't have content
fallback enabled, but use language binding. So a French record is only
shown if there is an English record, and an English record without
translation is never shown on the French page.
You would need [ALL] to show the English record on the French page. No
need to overlay [ALL] so far.
Let's assume further we have a Spanish page. Now we get into a situation
where the [ALL] record is not good enough for the Spanish version. So we
create a Spanish (but no French) translation.
In this case we want the Spanish version to overlay the [ALL] record.
Thus the meaning of [ALL] is: show in all languages, but overlay if
possible.
Masi
More information about the TYPO3-dev
mailing list