Booking Engine & browser's default language

Everything related to your website and the Beds24 widgets
Post Reply
[email protected]
Posts: 21
Joined: Tue Jan 15, 2019 8:45 am

Hi, thanks for your help as always.

I see there's "default language" settings on Booking Engine Internationalization. I'd like to set 2 different default language according to their browsers language i.e. if the browser language is set to Japanese the default is Japanese, if else, the default is English.

How can I make this possible?

Regards,
Mayumi
lesleywoermeijer
Posts: 180
Joined: Wed Dec 28, 2016 2:20 pm

Set Default Language = English.

Then select the various languages you want to provide language specific text for, this will be used with the guest language otherwise English will be used.
[email protected]
Posts: 21
Joined: Tue Jan 15, 2019 8:45 am

Hi lesleywoermeijer,

Thanks for your reply.
When default = English and I visit the booking page with my Japanese-set browser, the English page is shown. I need to use language switcher to make Japanese text available.

I would like Booking Engine to detect the browser's default language automatically.

Regards,
Mayumi
annettemorgenroth
Posts: 1148
Joined: Sun Jun 30, 2013 8:44 am

Do you use a script to detect the language? You will need to add another script in which you specify the language parameter as well. You can find all parameters here: https://wiki.beds24.com/index.php/Categ ... Parameters
[email protected]
Posts: 21
Joined: Tue Jan 15, 2019 8:45 am

Thank you annettemorgenroth, will take a look at the page! :D
Post Reply