• Resolved bandisky

    (@bandisky)


    Hi,
    i’m having some issues with a multilanguage setup based on Polylang and MetaSlider, i have created a slider for each language and based on the language being used on the front end i render the right version…
    inside each slide i placed a link to a specific product in the specific language.
    The only difference in the links is the language shorthand…so the english version has ../en/.. and in the second case being the default language there is no language shorthand.
    my issue is that the default language links go to the english version although the link does not contain the language shorthand…. why is that ?
    i double checked the links i checked the sliders… and i see nothing wrong …so why are the links receiving the language code

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter bandisky

    (@bandisky)

    the issue is with this plugin…removing the polylang plugin does not influence the links … i have the same ling placed lower on the page in another container and that one works just fine .. it is only the link inside the slider that does not work properly… i tried creating a shortcode placing it in the slide caption along side the other link and still the same thing happens. Using the URL option under the caption also suffers from the same behaviour …

    Hi,

    Thanks for contact Redux support.

    I’m not able to replicate this issue. Here is what I did trying to replicate the issue in steps:

    • Installed Polylang and WooCommerce from www.remarpro.com
    • Added two languages: Arabic as the default language and English as the secondary language.
    • Created a product in Arabic and translated it to an English product.
    • Created a page in Arabic and translated it to an English page.
    • Created two sliders, one for each language.
    • Add a slide into the Arabic slider and added the Arabic product link in the slide URL
    • Add a slide into the English slider and added the English product link in the slide URL
    • Inserted the Arabic slider into the Arabic page and the English slider into the English page
    • Visited both of the pages and found that the slides hold the correct links

    Please correct me if I did something wrong or guide me on how to replicate the issue.

    Thanks.

    • This reply was modified 4 years, 1 month ago by mohammedeisa.
    • This reply was modified 4 years, 1 month ago by mohammedeisa.

    @bandisky Can you also open an issue on the PolyLang plugin? They typically know how to get this sort of stuff working as it requires knowledge as to how their plugin loads data.

    Thread Starter bandisky

    (@bandisky)

    Hi @mohammedeisa & @kbat82;
    I will answer one by one.
    @mohammedeisa
    what you did was correct…now place the links for en in the arabic slides hit save. check to see if it works properly and then copy the old ones back. Check to see if they work properly.
    @kbat82
    i think that is not needed as Polylang was not the issue. As mentioned…i took polylang down and the links were still behaving the same way… i also had the same links down the page and those worked but the ones inside the slide did not.

    Here are my findings from yesterday evening:
    I managed to make it work but it was only luck that helped me. What i did was the following:
    – created brand new slider + new slides …copied content from old slider..checked links on front end. Result: same weird behaviour.
    – created new slider + new slides + new content. Checked links on front-end: worked properly.
    – deleted all new sliders ….changed original slider -> added new slides -> new content – links did not want to work….
    – deleted all slides in the old slider …created new ones with new content (all the time i used the same links); now links work properly.

    what i remember from the previous version of my slider was that at one point the incorrect links were used… they worked at the beginning but after that they somehow stopped working…
    I am using Autoptimize in parallel with polylang and metaslider…but after removing the plugin i still had the same issue…so it could not have been that plugin…no other caching plugins are being used…
    – i would gladly upload a recording of my screen if i had the option or am allowed to add links… i think that would have been of great help to you.

    As a conclusion… i am closing down this thread but i might reopen it if the behaviour comes back…
    P.S.: @kbat82 @mohammedeisa is there some sort of caching being used in the plugin ? i did not have time to investigate the plugin so i hope maybe you guys can shed some light on this.

    Thread Starter bandisky

    (@bandisky)

    “what i remember from the previous version of my slider was that at one point the incorrect links were used… they worked at the beginning but after that they somehow stopped working…”

    what i meant is that after adding the correct links to the slides…the slider worked properly but only for a short while..

    • This reply was modified 4 years, 1 month ago by bandisky.

    Hi,

    I’m glad to hear it’s working now and of course, feel free to open a new ticket if you have any issues.

    Is there some sort of caching being used in the plugin?
    MetaSlider doesn’t add any caching.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘MetaSlider + Polylang’ is closed to new replies.