Page 1 of 1
Booking Engine & browser's default language
Posted: Fri Nov 13, 2020 7:18 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
Re: Booking Engine & browser's default language
Posted: Fri Nov 13, 2020 11:47 am
by lesleywoermeijer
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.
Re: Booking Engine & browser's default language
Posted: Fri Nov 13, 2020 1:24 pm
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
Re: Booking Engine & browser's default language
Posted: Mon Nov 16, 2020 12:39 pm
by annettemorgenroth
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
Re: Booking Engine & browser's default language
Posted: Mon Nov 16, 2020 1:03 pm
Thank you annettemorgenroth, will take a look at the page!