• Resolved gillox

    (@gillox)


    hello, thank you very much for your plug in.
    I have a site with three languages,
    Italian (/), English (/en) and German (/de).
    I’ve created three newsletter popups, one per language but i cant show only the pop up of the language of interest.

    If I insert these two js codes in the popup in Italian in the other languages I do not see the popup in Italian, and it is correct.

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

    but in other languages doesn’t work, probably because the Italian is in the root and using this code below make some problems (?)

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

    how can I do?

    Many thanks to all

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

    May we know how you created a multilingual website?
    Have you used any multilingual plugins or something else so that we can advise accordingly?
    Please let us know at your earliest convenience.

    Regards,
    Popup Builder Team

    Thread Starter gillox

    (@gillox)

    Hello, thanks for your reply. The site is made with WPML.

    Changing the language of the site i see the same popups of the other languages, so i believe it is not possible for me to create different popups based on the selected language. I tried to insert the js as written above but i didn’t succeed.

    Thanks and let me know if you need anything else.

    Dear @gillox,

    Thank you for your response.
    We would like to let you know that our core/free plugin has an integration with WPML.
    Here is a complete article on WPML integration in Popup Builder
    Please keep in mind that for each language you need to create a separate popup.

    Regards,
    Popup Builder Team

    Thread Starter gillox

    (@gillox)

    thank you!
    I had not found the article.
    I’m sorry I wasted your time.

    Best regards and thanks for your quick support.

    Dear @gillox,

    You are most welcome and no worries at all.
    Contact us any time you need.
    We will be happy to advise.

    Regards,
    Popup Builder Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘show different popup on 3 languages website’ is closed to new replies.