Environment:
- TYPO3: 8LTS
- News: 6.3.0 (also checked with 7.x)
- News List View (Page) is translated
- News Detail View (Page) is translated
- News Record translated
Problem:
When i visit the page on language UID 1 the news record itself is translated (For example headline
). In the Detail view we render the content element. This is always shown in the default language
The Problem could be fixed by switching sys_language_overlay
from 0
to 1
config {
sys_language_mode = content_fallback
sys_language_overlay = 1
}
To prevent that the content elements are hidden by default you could also set
TCEMAIN.table.tt_content {
disablePrependAtCopy = 1
disableHideAtCopy = 1
}
来源:https://stackoverflow.com/questions/50871787/translation-of-content-elements-in-tx-news-shows-default-language