georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
265 stars 355 forks source link

Localisation - Duplicated content at frontend in fallback mode #2492

Closed KarstenSommerDE closed 4 months ago

KarstenSommerDE commented 5 months ago

Bug Report

Current Behavior I have a website with multiple languages: 0 - default: German 2 - english 3 - german simplified

I have the following modes for these languages: 2: fallbackType: Fallback: Show default language if no translation exists 3: fallbackType: Strict: Show only translated content, based on overlays

I have multiple news articles, every single article exists in german, some are also translated to english or simplified german, but not all.

The problem is at the english page version. The news list shows me the article list with english artices and additional the german ones, if no translation exists, as expected fo far, BUT: the list is rendered twice. First the content element from my enlish page version and directly followed by the content element of my german page version (checked by uid of the content elements). The detail view also renders the news details twice, first the english content element, directly followed by the german content element (checked by uid of the content elements) both in english language or german, if no translation exists.

So it seems that the articles are rendered correctly but the content elements of the fallback language are rendered additionally to the desired english ones.

Expected behavior/output I expect to see all news articles at the german page version (0), all english articles and additional the missing ones in german at the english page version (2) just the simplyfied german articles at the page version for simplified german (3)

Environment

German list view (rendered once as expected) Example1

English list view (rendered twice) Example2

English detail view (rendered twice) Expmple3

The german detail view ist rendered once as expected

KarstenSommerDE commented 4 months ago

The problem no longer occurs, the reason for this is unknown.