• Resolved channeldoubler

    (@channeldoubler)


    Hi. The english popup shows fine when I visit the English version of the website. If I click on the flag and change language then the same English popup shows in the other language!!!!

    If I first visit the 2nd language version then the correct language popup shows. If I then click the flag to English, then again… the 2nd language version shows.

    Is there some setting needed?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dear @channeldoubler ,

    Thank you for reaching out to us.

    There are a few issues with WPML and some fixes will be implemented with those issues soon.

    However, for now, you can use the following code which will help with your problem.
    Please, insert it in the custom JS field, as shown in the following screenshot. https://prnt.sc/t6vny8

    var url = window.location.href;
    if (url.indexOf(‘/el’) > 0) {return false;}

    Let us know if this helps.

    Thread Starter channeldoubler

    (@channeldoubler)

    Hi. I want to show the greek one in greek and the English one in english.
    Now, if I paste this code in the English popup, when clicking to greek it shows no pop at all.

    Dear @channeldoubler ,

    Thanks for letting us know.

    As mentioned we’re working on improving the plugin compatibility, so everything will be fixed with the upcoming releases.

    As for the popup not opening: could you choose “all languages” from your admin side and then create a new popup which will open for all languages?
    And then, inside the popup, please, use the following code.

    var url = window.location.href;
    if (url.indexOf(‘/el’) <= 0) {return false;}

    Please, let us know if it works.

    Dear @channeldoubler ,

    Hope you’re fine.
    We are wondering if you tried the solution given and whether it helped you.

    Dear @channeldoubler ,

    We haven’t heard from you for 2 days.
    We’re marking this thread as resolved.
    Please, submit a new support thread if you need more help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with WPML’ is closed to new replies.