We are adding translations to our site. We have a number of views that are using Flexslider to make a slideshow. The english / default view is fine and works as expected. The change of behavior is because the Multiple Field Settings will only display all values in the same row for translations.
When the language is switched the slideshow is no longer a slideshow but a list of the content. The field is a paragraph that is a rendered entity. We have the translation properly configured within the paragraph field so that it is translated. I am not receiving any errors from the chrome inspector console or watchdog and the jquery.flexslider-min.js and flexslider.load.js are loaded for both pages.
The expected behavior is that when switching languages the slideshow would continue to be a slideshow.
Here is the view setup:
Here is the expected behavior:
Here is the unexpected behavior:
Comment | File | Size | Author |
---|---|---|---|
#2 | translated_view.png | 201.21 KB | oheller |
#2 | source_view.png | 146.6 KB | oheller |
German.png | 925.19 KB | oheller | |
English.png | 427.51 KB | oheller | |
view.png | 380.72 KB | oheller |
Comments
Comment #2
oheller CreditAttribution: oheller commentedUpdating this issue. When I unselect the "Display all values in the same row", I expect a new row for each item for the source language and for translated languages. The current behavior is that the source language acts correctly but the translated languages are put inside a row.
Here's the html output:
Comment #3
oheller CreditAttribution: oheller commentedComment #4
LendudeThanks for the very clear bug report!
Views is in Drupal core now, moving to the right queue.
Not sure if this is a Views or Paragraphs issue (or a bit of both). Will leave it in Views for now, but some steps to reproduce this issue without any Paragraphs or Flexslider would really help narrow down where we should be looking for this.
Comment #6
eastdrive CreditAttribution: eastdrive commentedI can confirm this behaviour WITHOUT paragraphs.
Drupal 8.3.7
Flexslider 8.x-2.0-beta1
Using an entity reference field to >1 content items.
English works fine but any other language shows items in the same row, despite check box to the contrary.
Could still be a flexslider issue?
Comment #7
eastdrive CreditAttribution: eastdrive commentedComment #8
eastdrive CreditAttribution: eastdrive commentedHere's the output for English:
And the output for Spanish:
Note the 2 extra
<span>
tags and the comma separating the 2 articles.