Hi Brodie,
I haven’t encountered an issue where the notification email wasn’t sent because of WPML. Usually the issue is that the follow-up emails are sent in the wrong language.
Does the booking appear in the bookings list? If so, then the first thing to check is whether the email request is hitting the email server and, if so, why it isn’t getting delivered.
If you contact your web host with the date and time of an email that should have been received but wasn’t, they should be able to look at their email logs to see if an email was sent. If it was, but it was blocked by the recipient server, they’ll often receive a return notice with more details about why it was blocked.
Hi Nate, thanks for your reply.
The booking does not appear in the recipients list, so it is getting lost before that (and only on the French form). All other emails send fine. I think that the emails are not even being generated for this case. I can get the site functioning by not using a thankyou page and just reverting to the thankyou message displayed in place of the submitted form, then, everything works as it should.
HI @brodiebrodie,
Hmm, that sounds like there is a conflict going on. What are you using to redirect to a thank you page? That’s not part of the core plugin so maybe there’s something happening with the redirect.
Hi Nate,
Sorry, I didn’t really mean re-direct, I am setting a booking page in the plug in settings to display the confirmation message. (this isn’t the page that I am using for the booking form which is displayed by shortcode in a widget). When I set this to a blank box, then the form works just fine.
I believe with WPML you need to use a feature they have called String Translation (or something like that). I think there you can take the Booking Page setting value (which will be the page ID) and make a French translation (which will be the French version’s page ID).
Maybe that will help solve the problem?
Thank you so much, I will give that a go.. and report back.
Hi Nate,
No go on that one I am afraid. The string translation doesn’t show the Booking page setting value.
Hi @brodiebrodie,
This message in the WPML forums suggests that you may need to open a section to “Translate texts in admin screens”:
https://wpml.org/forums/topic/how-to-translate-custom-made-fields-in-restaurant-reservations/#post-934410
Have you tried that?
Hi Nate, I tried that, but still can’t change anything, I can change the string, but nowhere does it show the booking page setting value.
Hmm, sorry I’m not that familiar with WPML myself so I’m afraid I can’t be much help! The WPML forums do seem responsive to questions like this so you may be able to get some help there.