Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Bug: Language is not respected #31

Open
vistainteractive opened this issue May 4, 2018 · 2 comments
Open

Bug: Language is not respected #31

vistainteractive opened this issue May 4, 2018 · 2 comments

Comments

@vistainteractive
Copy link

When we added a localization, the slider was showing images from both languages.

Setting $query->getQuerySettings()->setRespectSysLanguage(true) in the createQuery() in class ImageRepository seems to resolve this.

public function createQuery() { $query = parent::createQuery(); $query->getQuerySettings()->setRespectStoragePage(false); $query->getQuerySettings()->setRespectSysLanguage(true); return $query; }

@froemken
Copy link
Contributor

froemken commented Jul 3, 2018

If you translate the content element with ws_flexslider plugin, please keep the FlexSlider images as they are. Do not delete them. Else the relations to default language will be broken. Please only change the Image itself within the Flexslider image record.
While keeping the flexslider images you will see two radio boxes below each image: use custom and use value from default language. If you want to change an image, please switch that value to: use custom.
Because of an extbase translation bug you should install extension repair_translation 1.4.0.

Now you should see the images in correct language.

Stefan

@froemken
Copy link
Contributor

froemken commented Jul 3, 2018

If this workflow works for you, please confirm that here in that ticket. Maybe one of the contributers can add that workflow to their documentation, as I can see some more translation related issues here in github.

Stefan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants