Hello @mstudioil,
Sorry for the late response. Have you figured out the issue or still facing the problem with the latest version? Please provide us with some more information on how to reproduce; maybe we can help you better.
It would be great to make a short video and indicate the issue you faced on your end.
I anticipate hearing from you.
-
This reply was modified 1 month, 3 weeks ago by
Fahim Murshed. Reason: "Latest" word missing
Hey, I fixed it with JS, I checking the “lang” attribute and adding the country code
It is as I wrote, the search URL is always the same
Thank you for responding! We are pleased to hear that the issue has been resolved and that you are now able to continue work.
Please take precautions to protect yourself, and I wish you and your loved ones good health!
Don’t forget to mark the topic as “Resolved” from the right sidebar.
Have a beautiful day ahead. 🙂
Did you added this to the plugin or do I still need to add the JS myself?
Hello @mstudioil,
Thanks for getting back. We didn’t add anything. I think you must add the JS by yourself. I was curious as to how you handled the situation. Please provide us with an explanation.
I anticipate hearing from you.
I don’t remember the site I used the plugin, but the code is something like this
jQuery( document ).ready( function( $ ) {
theLanguage = $('html').attr('lang');
if(theLanguage == "es-ES"){
$('.some-form-class').attr({"action":"https://site-name.com/es"});
}
if(theLanguage == "pt-PT"){
$('.some-form-class').attr({"action":"https://site-name.com/pt"});
}
});
English is the main, so I don’t check for it.
Thanbks for sharing the code.
Happy to share, hope it will help somehow to the plugin
That’s awesome. I am sharing this to our developers.
Have a wonderful day ahead of you.