 zoltanS-10
|
Doesn't seem to work on my side. All strings are set up as Hungarian and the changes I made don't appear in the string. I made the changes while the backend is set to English.
|
 zoltanS-10
|
I checked and for me the changes are appearing here. The changes are appearing in the Hungarian language even though I was editing the email when the setting were on English.
|
 Alejandro
WPML Supporter since 02/2018
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Rome (GMT+02:00)
|
I see, interesting. you know there are actually 3 mails that are created in the same way, the one when you make the booking, the one when you get it accepted and the one when you get it cancelled.
the first one, when you make the reservation is created in the same way as the other2 yet that one is always sent correctly, so this makes me wonder what difference the other 2 have with this one.
At this point, can you please upload the theme here: hidden link
- then: create a booking element and set the 3 different mails.
- Setup WPML with the languages of your site and let me know
Do not translate anyhing yet, i want to first check what's the "initial status" of the plugin when it comes to these mails and then run a few tests there with our devs, to try to figure out what's the "default" behaviour on a "clean" website and understand better how to fix it on yours.
Thanks in advance (don't worry about licenses and stuff, they usually are required only to update the plugins and themes. you can download the plugins from your website if needed by using a plugin like this one: https://wordpress.org/plugins/download-plugins-dashboard/ ).
|
 zoltanS-10
|
Ok, I added the theme and HB plugin and created one accommodation type.
I made sure to set the website to Hungarian as the default language before adding the HB plugin.
All emails were already set up in Hungarian so everything should be set up.
|
 Alejandro
WPML Supporter since 02/2018
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Rome (GMT+02:00)
|
I ran a simple test here, without translating anything but with WPML enabled and these were the results: hidden link
1) I didn't translate any mail and they were in English, not hungarian, yet you said the mails were already setup in hungarian, where did you see that?
2) Noticed, how, unlike on your website, when i switched languages in the language switcher, it did it correctly. this means that there's indeed a cache in your server or an issue in your database that is creating this. since the problem was in very specific pages, it looks more like a cache issue on the server level than anything else.
As i ask in the video, can you please tell me where did you translate the content but specially if i missed a step or did something different from what you usually do, and if that was the case, can you try to record yourself and show me how you run the steps so i can make sure i follow the same exact steps?
Let me know.
|
 Alejandro
WPML Supporter since 02/2018
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Rome (GMT+02:00)
|
Ok, let's try to do something:
- Check that the same version from the sandbox is in your site.
- Leave the original text, the ones in english on your site as well
- Delete the strings found in String translation about these mails.
- You can try to retrieve the strings from the author since it seems they have it already by following this guide: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#update-theme-plugin-translations
Then check if the problem disappears on your end as well but make sure that things like caches are turned off from the server or at least flushed constantly while following the steps from above.
|
 zoltanS-10
|
I don't know what is going on here:
hidden link
|
 zoltanS-10
|
I tried playing with it a bit more. I am even more confused. But anyway, it is somewhat working now, so I will go and write all the translations where I think they should go now so at least the customers will be getting the email in the right language until you guys figure out what is happening here:
hidden link
|
 zoltanS-10
|
Ok, last conclusion: hidden link
|
 Alejandro
WPML Supporter since 02/2018
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Rome (GMT+02:00)
|
I had given you a workaround before that turns out is the only way to make it work. however back then i didn't know all the steps i needed to actually give you a step by step instruction on how to follow the workaround.
Please follow this video to understand what to do in the meantime: hidden link
I recreated the same problem on the sandbox which suggests that there is indeed a bug somewhere, very likely on Motopress' compatibility code. our compatibility devs will take it from here and contact the motopress authors about this.
-----------------
In case you're interested here's the main problem:
- Motopress registers 2 strings but only one is needed, the one with the domain "Motopress Hotel Booking". it makes things confusing but it's not going to create any particular issue.
- The issue comes when you change the default language of the string (English), once you do that, motopress doesn't seem to catch the original string anymore and creates a lot of weird issues, one being that the mails are never shown in the correct mail but always in the one you created in the settings.
- In order to have it fixed, you need to make sure the string from the mail settings is ALWAYS in English and then translate it from WPML > String Translation, making sure the string there appears as English.
The best way to go here is to delete all its strings and then resave the mail settings so they are re-registered. then translate them from EN to the other languages and that will help you solve the problem, at least temporarily while we find a permanent solution 🙂
|
 zoltanS-10
|
Thank you, it seems to be working now. finally!
Do we keep this ticket open or you guys will continue investigating but there is no need for any further steps to be taken from my side?
|
 Alejandro
WPML Supporter since 02/2018
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Rome (GMT+02:00)
|
Yes, the ticket will remain open so i can inform you of the updates or a future fix as soon as we have one.
Things are a bit slow during the holidays, that's why i wanted to find a workaround for you, so you could move on in the meantime 🙂
I'm changing the status of the ticket so it doesn't get closed automatically and will keep you on the loop.
Regards.
|
 zoltanS-10
|
Thank you! That's very kind of you.
|
 Alejandro
WPML Supporter since 02/2018
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Rome (GMT+02:00)
|
I'm changing the status of the ticket to avoid it from getting closed. i'll keep you informed.
|