Multilingual Booking Page
This page explains how to create multi language booking page
Activate Languages[editar]
Go to in (SETTINGS) BOOKING ENGINE > INTERNATIONALISATION
- Activate the languages you want to use on your booking page
- Set the default language for your booking page is
After you have done this you will see a tab for each activated language wherever you can enter your own descriptions.
Make sure you enter descriptive texts for all languages you want to use.
Use Different Languages on your Website[editar]
Booking Page[editar]
If you are using an embedded booking page on a multilingual web site you can embed your booking page with a different default language for each language version adding a language parameter:
Example
- Code for default language booking page:
<iframe src ="https://beds24.com/booking2.php?propid=3103&numdisplayed=5&numnight=1&numadult=2-1&referer=iframe/" width="800" height="2000" style="max-width:100%;border:none;overflow:auto;"><p><a href="https://beds24.com/booking2.php?propid=3103&referer=iframe/" title="Book Now">Book Now</a></p></iframe>
- For a French booking page you add the language parameter &lang=fr to the URL. Code for a French booking page:
<iframe src ="https://beds24.com/booking2.php?propid=3103&numdisplayed=5&numnight=1&numadult=2-1&referer=iframe&lang=fr/" width="800" height="2000" style="max-width:100%;border:none;overflow:auto;"><p><a href="https://beds24.com/booking2.php?propid=3103&referer=iframe/" title="Book Now">Book Now</a></p></iframe>
If you use RTL(Arabic, Hebrew) languages you will need to add custom CSS to your booking page to change the alignment. Please see here.
See list of all language parameters
If you use a script to detect the language you will need to add another script in which you specify the language parameter as well.
Widgets[editar]
In (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS you can create widgets in multiple languages.
The widget designer allows you to choose a language.
If you are using Wordpress you can do this in the shortcode. For detailed information please log into Wordpress and go to SETTINGS-> BEDS24 ONLINE BOOKINGS,
Wordpress[editar]
If you are using Wordpress you can add the language parameter to the shortcode.
Example:
- Default language shortcode: [beds24-embed]
- French language shortcode: [beds24-embed lang="fr"]
For detailed information please log into Wordpress and go to SETTINGS-> Beds24 Online Bookings
Availability Calendar[editar]
The translation options for the availability calendar widget are limited. To translate "Click your arrival date" add the following script to the source code of the page which displays the widget:
<script> $( document ).ready(function() { $('.b24calendarclickinstruction').html("the new text"); }); </script>
For WordPress use this:
<script> jQuery( document ).ready(function() { jQuery('.b24calendarclickinstruction').html("the new text"); }); </script>