Support » Plugin: Hustle - Email Marketing, Lead Generation, Optins, Popups » wpml bug solution
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/can you fix this bug?
The page I need help with: [log in to see the link]
-
Hi @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 Sthe 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 englishso the question is, can i show visibility only if for example:
THE URL HAS /HE/ in it?Hi @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,
PredragThank 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?
where do i add this YOURDOMAIN.COM/he/*,
i want to create exit popup
1. in hebrew
2. in english (this already works)ok, i have made what you suggested, can you please verify i did it correctly
NOW for some reason i see the english popup also on the hebrew website….
Hi @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 PostsNote 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,
Adamjust wondering
if i set it to:
Show when all of the following conditions matchit 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
IF i were you i would add
AND or OR option between rules
Hi there @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!
PatrickHi @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/zUy4JOlGFaEDh3GetpIkqEWJZ7GtLOI 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=0Cheers,
Predragyour solution doesn’t work
here are the files:
https://gofile.io/d/8NLvNsit 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
Hi @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/xiPSoGFaXN6vJXLF3mUsyhPLm0EslmCheers,
Predrag
- The topic ‘wpml bug solution’ is closed to new replies.