-->

Translation of content elements in tx_news shows d

2019-04-02 02:00发布

问题:

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

回答1:

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
}


标签: typo3 tx-news