Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Problems with the DIVI theme and WPML
- This topic has 3 replies, 3 voices, and was last updated 1 year, 10 months ago by Andre Flores.
- March 23, 2021 at 2:43 am #1093872Borghetto VacanzeParticipant
I created a site with the DIVI theme and as a WPML translator as you suggested.
The availability of accommodation is not synchronized: if the availability is correctly scaled in Italian for each booking, then entering in English the availability is not updated and consistent with Italian
Can you help me?
ThankMarch 26, 2021 at 4:40 am #1095693Andre FloresModerator
The issue most likely occurred because you have translated Accommodations. By default Accommodations are not translated, as they affect availability directly. When you translate Accommodations, they have different ID’s for different languages, thus once and accommodation is booked in one language, it will still be available in other language since its ID is different.
Check this article to learn more how to use WPML to translate Hotel Booking plugin.
AndreJuly 17, 2021 at 5:56 am #1157686Carla OrriolsParticipant
Hi, but in the article says that accomodation types must be translated to each language with an ID different.
so, will the plugin control the total availability of rooms if i need 4 languages? will the total be according to my number of rooms avaliable?
Thank youJuly 19, 2021 at 5:02 am #1158150Andre FloresModerator
Accommodation Types must be translated, however, not Accommodations. Accommodation Type ID’s will indeed be different when translating, however, Accommodation – is a physical property, which means its ID should remain the same for all the languages. If someone books a room in English, the same room should not be available in other languages anymore, as it is still the same room. Regardless of the number of languages, Accommodations should not be translated, however, Accommodation Types – should.
Let me know if this makes sense.
- You must be logged in to reply to this topic.