Title: wpml bug solution
Last modified: March 22, 2021

---

# wpml bug solution

 *  Resolved [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/)
 * according to this thread, you can have a simple solution to let WPML translate
   you
    [https://wpml.org/forums/topic/hustle-pop-up-sting-translation/](https://wpml.org/forums/topic/hustle-pop-up-sting-translation/)
 * can you fix this bug?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwpml-bug-solution%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/wpml-bug-solution/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wpml-bug-solution/page/2/?output_format=md)

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14218067)
 * Hi [@saveatrain](https://wordpress.org/support/users/saveatrain/),
 * Thank you for contacting us.
 * Our Plugin Team is currently working on making this improvement for compatibility
   with WPML. Currently, we do not have an ETA of when this feature will be added.
   For the time being, the workaround is to create one popup for each of the languages
   you’d like to have and set visibility rules so the popups only show on certain
   pages for those languages.
 * Best,
    Jonathan S
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14219412)
 * the problem with visibility,
    when i am prompted to choose a page, it only shows
   me the hebrew pages and no english pages, as hebrew is the default language and
   WPML handles the translation between the hebrew and english
 * so the question is, can i show visibility only if for example:
    THE URL HAS /
   HE/ in it?
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14233865)
 * Hi [@saveatrain](https://wordpress.org/support/users/saveatrain/),
 * Can you try adding “Specific URL” visibility rule and then as the URL use this:`
   YOURDOMAIN.COM/he/*`
 * Let us know if that did the trick for you.
 * Cheers,
    Predrag
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14236290)
 * Thank you, regarding WPML – did you see this fix that you can do in the short
   term until you are fully compatible
 * so people can translate hustle strings with wpml string translator?
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14240766)
 * where do i add this YOURDOMAIN.COM/he/*,
 * i want to create exit popup
    1. in hebrew 2. in english (this already works)
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14246136)
 * ok, i have made what you suggested, can you please verify i did it correctly
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14246823)
 * NOW for some reason i see the english popup also on the hebrew website….
 * [https://gofile.io/d/9Drx3t](https://gofile.io/d/9Drx3t)
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14249444)
 * Hi [@saveatrain](https://wordpress.org/support/users/saveatrain/)
 * > hank you, regarding WPML – did you see this fix that you can do in the short
   > term until you are fully compatible so people can translate hustle strings 
   > with wpml string translator?
 * Our developers are working on a compatibility fix but we cannot implement any“
   temporary fixes” like that. Our developers need to make sure that the fix not
   only really fixes the issue but also plays well with other parts of the plugin,
   including other fixes and new features that are being implemented at the same
   time and planned for future.
 * I understand that this is important but we really need to wait until official
   fix is released on our end and meanwhile stick to the proposed workaround.
 * > NOW for some reason i see the english popup also on the hebrew website….
 * I’ve imported both popups to my test site and checked them. Currently both popups
   have three visibility rules set each:
 * 1. English one is set to show on “kideno.com/en/*” and Hebrew one to show on “
   kideno.com/he/*”
 * 2. but both are also set to show on all Pages
    3. and both are set to show on
   all Posts
 * Note please that in both popups visibility is set to “Show when any of the following
   conditions match” which means that the relationship between these three rules
   is “OR”. This means that 2nd and 3rd point above is common for both popups and
   independent from the URL rule.
 * That said, please try either changing Visibility in both popups to “Show when
   all of the following conditions match” or try removing “Pages” and “posts” rules(
   p. 2 & 3 above) from both of them.
 * Best regards,
    Adam
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14250123)
 * just wondering
 * if i set it to:
    Show when all of the following conditions match
 * it will probably not work at all, since there is never a case where you load 
   both a page and product, correct me if i am wrong
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14250125)
 * IF i were you i would add
 * AND or OR option between rules
 *  Plugin Support [Dmytro – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport16/)
 * (@wpmudevsupport16)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14255972)
 * Hi there [@saveatrain](https://wordpress.org/support/users/saveatrain/)
 * > IF i were you i would add
   > AND or OR option between rules
 * As noted by Adam above, those options already exist in the Visibility rules.
 * If you select to Show/Hide when **Any** rules are met, that is equal to an **
   OR** condition between them.
 * If you select to Show/Hide when **All** rules are met, that is equal to an **
   AND** condition between them.
 * You can use the Condition Groups button to create new groups with different Any/
   All rule combinations too.
 * So you could have one Condition Group with rules to Show on your /en/ URL AND
   Posts (Show if All).
 * Then a 2nd Condition Group to show on post category “A” OR category “B” (Show
   in Any).
 * Then set up a similar combination for your Hebrew popup.
 * Cheers!
    Patrick
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14256362)
 * HONESTLY I AM LOOSING MY MIND
 * [https://gofile.io/d/Eo2pgg](https://gofile.io/d/Eo2pgg)
 * why now it is not working correctly
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14262976)
 * Hi [@saveatrain](https://wordpress.org/support/users/saveatrain/),
 * You would need to have separate conditions for pages with EN and posts with EN,
   and then same for HE as well.
    So the setup would look like this: [https://monosnap.com/file/zUy4JOlGFaEDh3GetpIkqEWJZ7GtLO](https://monosnap.com/file/zUy4JOlGFaEDh3GetpIkqEWJZ7GtLO)
 * I have made the changes to your settings already and uploaded the export of those
   edited Popups here:
    [https://www.dropbox.com/s/rmyjyqqz8g6bovz/hustle_exports.zip?dl=0](https://www.dropbox.com/s/rmyjyqqz8g6bovz/hustle_exports.zip?dl=0)
 * Cheers,
    Predrag
 *  Thread Starter [saveatrain](https://wordpress.org/support/users/saveatrain/)
 * (@saveatrain)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14263172)
 * your solution doesn’t work
    here are the files: [https://gofile.io/d/8NLvNs](https://gofile.io/d/8NLvNs)
 * it would be really nice if you test it before you send it to me OR potentially
   add the words OR/AND to where they should be in your plugin
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wpml-bug-solution/#post-14264598)
 * Hi [@saveatrain](https://wordpress.org/support/users/saveatrain/),
 * I did test the solution on my end and it did indeed work, but then I reimported
   your popups again to apply the changes directly there and I forgot to change 
   one of the ANY rules to ALL.
 * Basically what you would want is to have two sets of rules for each popup, and
   for all of them set SHOW when ALL conditions match.
 * In first set of conditions set Posts to all and Specific URL with your EN/HB 
   URL.
    In second set of conditions set Pages to all and Specific URL with your
   EN/HB URL.
 * All you would need to do to your existing popups is change the second set of 
   rules so it uses SHOW ALL instead of ANY which is currently set.
    [https://monosnap.com/file/xiPSoGFaXN6vJXLF3mUsyhPLm0Eslm](https://monosnap.com/file/xiPSoGFaXN6vJXLF3mUsyhPLm0Eslm)
 * Cheers,
    Predrag

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/wpml-bug-solution/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wpml-bug-solution/page/2/?output_format=md)

The topic ‘wpml bug solution’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

 * 24 replies
 * 6 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/wpml-bug-solution/page/2/#post-14334161)
 * Status: resolved