Crocoblock / suggestions

The suggestions for CrocoBlock project
195 stars 78 forks source link

JetEngine 3.5 + Polylang: Components are not rendered on pages other than the main language. #7591

Open vovkasolovev opened 4 months ago

vovkasolovev commented 4 months ago

Describe the bug JetEngine 3.5 Components has a problem with the Polylang plugin (one of the popular plugins for creating multi-language sites). Components are simply not displayed on pages of languages other than the main language. An error appears if you try to create a component for another language. (It is worth mentioning that Listings works fine with Polylang).

To Reproduce

  1. Add two Polylang languages
  2. Add a component to the page
  3. Add page translation
  4. Switch to a page in the main language: component is present. Switch to another language: the component is missing.

Expected behavior The component is rendered on a page of any language, on a template of any language.

If there are translations of the component, the component corresponding to the selected language is rendered, otherwise the component corresponding to the main language is rendered.

Crocoblock commented 4 months ago

Hi @vovkasolovev

We've tried to reproduce your issue and everything works fine on our side. Could you please provide us with more detailed information about this issue with screenshots or video? Also have you contacted our support team regarding this case - https://crocoblock.com/help-center/ If not, please create a ticket including access details for your site where the issue occurred to make sure we can help you.

vovkasolovev commented 4 months ago

@Crocoblock

I think it's worth clarifying that posts with Component and Polylang in CPT and using the decorative widget.

Video

https://github.com/Crocoblock/suggestions/assets/1765916/9762be1a-e72d-4f43-8033-910e8b6a3c24

+

Component

elementor-10531-2024-07-04.json

Thanks for the suggestion, I don't see the need to contact support, I was interested in trying out a great new feature, but am quite getting around to using it in this particular case.