Translation of content elements in tx_news shows d

2019-04-02 02:25发布

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

标签: typo3 tx-news
1条回答
戒情不戒烟
2楼-- · 2019-04-02 02:53

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
}
查看更多
登录 后发表回答