Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1226665
    Tomaz Kavcic
    Guest

    Hello,

    I’m developing a new page for our partner and it seems I found a nasty bug inside the Enfold theme with Polylang. I created one page “Sample Page” and included a simple Layer Slider (with only one slide) which was created as new from scratch, without copying or duplicating anything. I added only one slide and wrote a single line of text there. Then I added a few languages (ita, deu, eng, slo), and translated the strings in Polylang as instructed.

    The slider is shown and translated ok in multiple languages as long as I’m logged in as admin! When I log out or visit the page from another computer, always only one language is shown on all pages. Meaning, if you’re logged-in as admin, it translates everything ok, but when you’re not logged-in, only one language is always shown. Why this happens? This happens on all versions of Enfold Theme and also on various WordPress versions. Currently it’s installed the latest WordPress, with latest Enfold theme.

    I’m writing this as a presale question as I don’t have direct access to the client’s Envato account so I can’t login to your forums. However, this is quite urgent situation as I can’t finish the site without LayerSlider proper multi-language functionality.

    Thank you in advance for your help and possible fix!

    Kind regards, Tomaz Kavcic.

    #1226674

    Hi Tomaz,

    Thanks for contacting us!

    How did you translate the text in slider? Maybe you could duplicate slider for each language and choose to display that slider on corresponding page? :)

    Cheers!
    Yigit

    #1226676
    Tomaz Kavcic
    Guest

    Hi Yigit,

    thank you for a quick response. I also tried creating different sliders for each language, but this was multiple time discouraged in the pase as I read through your forums support. If I’m not mistaken, it was always suggested to create just one single Layer Slider and use PolyLang strings translations to translate it to multiple languages. Also, if I’m not mistaken, it wasn’t an option to choose different layer-sliders on polylang-translated pages at all in the past. Was this fixed and it works now as it should maybe? Can you please try to login and test the behaviour for yourself?

    As said, all translations work ok as soon as you’re logged in. When you log out, it always shosn just one single language.

    Kind regards, Tomaz.

    #1226678
    Tomaz Kavcic
    Guest

    Hi,

    jut a quick follow-up to my previous post. I tried to create a different slider for each language meanwhile and it doesn’t work as expected at all. It always shows just the slider that you select for one page on all pages. I still think the only option to get this to work is to use “strings translations” and a slider in one single language.

    So, the wrong behaviour is simply said still the same. Please try to login with the credentials provided and see for yourself. If you’re logged-in, you’ll see on Sample-Page nice translations for each language (i.e. ITA, ENG, DEU, SLO), but when you’re not logged-in, you’ll just see one text (i.e. ITA) on all translated “Sample Page” pages.

    This (issues with PolyLang and Layer Slider) was reported multiple times in the past on your forums in various combinations and it seems the issue still isn’t resolved.

    Kind regards, Tomaz.

    #1227443
    Tomaz Kavcic
    Guest

    Hello,

    I’m just curious if you had time to check the demo page and maybe find a solution to polylang & layer slider issues described above? If not, should I maby turn to Polylang or Layer Slider developer directly? However, I still think it would be better if you can communicate with them as you probably know better how to describe the issue and what could be the potential fix.

    The issue however is present for quite a while throughout all the Enfold versions and was never actually resolved. I still think the best option would be, not to use “strings translations” but to fix the template so you can create and use a different layer slider for any polylang-translated page. Now this isn’t possible as when you select a single layer slider on one page, that same slider is then displayed on all other translated pages.

    Kind regards, Tomaz.

    #1227713

    Hi,

    Thank you for the update.

    It seems to be a cache issue. The translations work — even when not logged in — when we deactivate the Layer Slider > Options > Advanced > Use slider markup caching option.

    Best regards,
    Ismael

    #1227729
    Tomaz Kavcic
    Guest

    Hi Ismael,

    thank you for your answer. This was a great find indeed! As you suggested, this fixes the issue with translations for all users, even if they’re not logged in. Just out of curiosity, is this something that would need a fix or is it just an (in this case unwanted) feature and it will stay like this in the future?

    Also, as I was asking above, is there maybe an option to fix the enfold so it would support multiple layer sliders on various translated pages? Sometimes using just “strings translation” isn’t a good option as some translated strings can become wider than original one and you just can’t fit them nicely into the slider at all. Also some languages would sometimes need completely different structure than others on the same page and this simply can’t be done just using strings translations functionality.

    Kind regards, Tomaz.

    #1228696

    Hi,

    Are you sure that you’re on the right page when selecting the slider? We created two sliders on our installation, one for EN and another for ES and they both show up on their designated pages.

    Please check these screenshots.

    ES: https://imgur.com/dcwg6FV
    EN: https://imgur.com/h5FJMMO

    When editing a translated page, try to go directly to the Pages panel after switching to a different language, then select the page from there.

    Best regards,
    Ismael

    #1228804
    Tomaz Kavcic
    Guest

    Hi Ismael,

    thank you again for your fine response. I indeed tried to create four different sliders on our demo installation and assign each of them to one single “Sample Page” which was polylang-translated into four different languages. You were right, this works fine, but I also found what was actually the issue on my side.

    When creating new slides, you should always use “Add New” option inside Layer Slider so it generates a unique “Name” string inside Polylang’s Strings translations. If you just use “Duplicate” option, then it actually duplicates Layer Slider Name’s string and for all different slides, there’s only one string translation available. Of course, if you translate it, it messes up all other strings as well and that’s the issue I was having for the whole time.

    Would it be maybe possible to fix the Layer Slider so even if you use “Duplicate” option, each time different unique string name is generated? That would then fix all the potential issues.

    Other than that, everything is ok now, thank you again for your help!

    Kind regards, Tomaz.

    #1229377

    Hi,

    Thank you for that info. Glad that you managed to make it work properly now.

    Would it be maybe possible to fix the Layer Slider so even if you use “Duplicate” option,

    The theme doesn’t really generate those strings, so we might have to contact the plugin developers and report the issue to them. And since you’re already familiar with what is actually causing the issue, then reporting it to them (plugin developers) will really help.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.