Multilingual Booking Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
This page explains how to create multi language booking page | This page explains how to create multi language booking page | ||
__TOC__ | |||
=Activate Languages= | =Activate Languages= | ||
Go to in {{#fas:cog}} (SETTINGS) BOOKING ENGINE > INTERNATIONALISATION | Go to in {{#fas:cog}} (SETTINGS) BOOKING ENGINE > INTERNATIONALISATION | ||
| Line 17: | Line 17: | ||
<span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Make sure you enter descriptive texts for all languages you want to use. | <span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Make sure you enter descriptive texts for all languages you want to use. | ||
=Use Different Languages on your | =Use Different Languages on your Website= | ||
==Booking Page== | ==Booking Page== | ||
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: | 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: | ||
| Line 24: | Line 24: | ||
*Code for default language booking page: | *Code for default language booking page: | ||
<nowiki><iframe src ="https:// | <nowiki><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></nowiki> | ||
*For a French booking page you add the language parameter <nowiki>&lang=fr</nowiki> to the URL. Code for a French booking page: | *For a French booking page you add the language parameter <nowiki>&lang=fr</nowiki> to the URL. Code for a French booking page: | ||
<nowiki><iframe src ="https:// | <nowiki><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></nowiki> | ||
If you use RTL(Arabic, Hebrew) languages you will need to add custom CSS to your booking page to change the alignment. Please see [[Custom_CSS#Adjust_alignment_for_RTL_languages_.28Arabic.2C_Hebrew.29|here]]. | |||
See [[Developers| list of all language parameters]] | See [[Developers| list of all language parameters]] | ||
<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span> 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== | ==Widgets== | ||
In {{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS you can create widgets in multiple languages. | In {{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS you can create widgets in multiple languages. | ||
The widget designer allows you to choose a language. | 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 | 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== | ==Wordpress== | ||