View node counter (statistics) not work in translated content display

Created on 31 March 2020, about 5 years ago
Updated 7 June 2024, 10 months ago

I am using Drupal 8.8.3 with statistics module in the core. I have two languages in my site. When I create a View, using Format - Show - Fields, add "Content statistics: Total views" and add a filter for language, the number of views (page hits) works well with both pages of two languages. However, when I use the Format - Content - Teaser (Full page) in the View, the the number of views (page hits) only shows in the English language. In the other language, it shows "1 view" all the time.

How can I configure "statistics" to show the number of page hits in both languages in teaser or full content which use the display from the content type, not individual fields.

Thank you.

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇻🇳Vietnam datati

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024