Difference between revisions of "Multilingual Booking Page"
Line 17: | Line 17: | ||
See [[Developers| list of all language parameters]] | See [[Developers| list of all language parameters]] | ||
+ | |||
+ | Widgets are by default supplied in English. If you want another language you can translate the words in the code. | ||
Revision as of 18:41, 4 November 2015
This page explains how to create multi language booking page
You can activate the languages you want to use in SETTINGS->ACCOUNT->LANGUAGES. Make sure you enter descriptive texts for all languages you want to use. The default language for your booking page is the one set in SETTINGS->ACCOUNT->LANGUAGES. If you are using an embedded booking page on a multilingual web site you can embed you 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://www.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://www.beds24.com/booking2.php?propid=3103&referer=iframe/" title="Book Now">Book Now</a></p></iframe>
- Code for a French booking page:
<iframe src ="https://www.beds24.com/booking2.php?propid=235&numdisplayed=5&numnight=1&numadult=2-1&&lang=fr&referer=iframe/" width="800" height="2000" style="max-width:100%;border:none;overflow:auto;"><p><a href="https://www.beds24.com/booking2.php?propid=3103&referer=iframe/" title="Book Now">Book Now</a></p></iframe>
See list of all language parameters
Widgets are by default supplied in English. If you want another language you can translate the words in the code.
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
Booking Widgets
If you want different language versions of the booking widgets you will need to search the code for the words you want to translate and replace them. Make sure you do not change only word and not any code because this will cause the widget to break.
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
Note: The translation option for the availability calendar widget are limited.