[FEATURE] Re-introduce mixed overlay mode for content fallback
This "feature" solves a lot of issues, but I really wanted to make sure to cover the generic issues around this topic. In order to understand this, we need to understand the different logic when talking about "language fallbacks", but I don't want to warm up how it was before. This is how it works: - fallbackChain: defines which page translation should be checked when linking or resolving a page in a specific language - fallbackType: Now that we covered all relevant cases, the naming could be better, but here we go, it's actually defining the logic for fetching content. - fallbackType="strict" -> only show the content that is viable in the target language but this is based on "overlays". Fetch all "language=0" records, do overlays and remove the ones that have no overlays. However, take the ones that have no language parent and render them as well ("includeWithoutDefaultTranlsation") This is what we call "do overlays with floating". ...
Showing
- typo3/sysext/backend/Configuration/SiteConfiguration/site_language.php 4 additions, 3 deletions...backend/Configuration/SiteConfiguration/site_language.php
- typo3/sysext/core/Classes/Context/LanguageAspectFactory.php 25 additions, 8 deletionstypo3/sysext/core/Classes/Context/LanguageAspectFactory.php
- typo3/sysext/core/Classes/Routing/PageRouter.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Routing/PageRouter.php
- typo3/sysext/core/Documentation/Changelog/9.5.x/Feature-86762-EnhancedFallbackModesForTranslatedContent.rst 66 additions, 0 deletions...ature-86762-EnhancedFallbackModesForTranslatedContent.rst
- typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php 937 additions, 0 deletions...unctional/Rendering/LocalizedSiteContentRenderingTest.php
Please register or sign in to comment