WebHotelier supports a method to pre-set the booking engine language in order to be called from multi-lingual websites directly to the native language of the visitor.
|NAME||TYPE||RANGE / SET||REQUIRED||DEFAULT||EXAMPLE||NOTES|
Can be language code (ISO 639-1) or
specific language locale (case-insensitive)
If only language code is specified, the first locale supported for that language will be used (for example: en=en_GB). The lang parameter can be combined with the Check Rates method.
The hotelier may choose not to support some of the languages (English is the default and is always available). Please visit the booking engine to find out which languages are supported.
We strongly recommend of using the POST method whenever possible in order to avoid appending query keys on the booking engine URL. If the property's site supports multiple languages, the links or forms leading to the booking engine should set the lang parameter to match the site's language.
Do not forget to replace
example.reserve-online.net in the examples below with the real booking engine
If you don't know the hostname yet, please contact WebHotelier support.
<form action="https://example.reserve-online.net/" method="post"> <input type="hidden" name="lang" value="de"> <button type="submit">Launch Booking Engine</button> </form>