Automatic language recognition Browser

Created by Calenso Support, Modified on Mon, 10 Jun at 10:48 AM by Calenso Support

TABLE OF CONTENTS


At Calenso, your customers can choose from 4 languages. When integrating your widget into your website, for example, you can choose between two options:

  1. Define default language
  2. Automatic language recognition by the browser


Define default language

Click on "Setup Assistant" → "Integration" in your navigation menu. 



Then click on "Own website". Now you see the two options to integrate your widget.



The following code shows it to you e.g. for dates:

<iframe src="https://widget.calenso.com/?partner=demo-account&type=appointment&isFrame=true&lang="de_CH" frameborder="0"style="height: 700px; width: 100%; max-width: 840px;"
scrolling="yes"></iframe>

The place marked in bold shows you which language is set as default. The language that is set for you is automatically used.

If you want to use a different language, you must make the following changes:

  1. Delete "de_CH" at the integration in your CMS (where you maintain your website and want to insert the code. NOT in the Calenso Dashboard)
  2. Change this part to :
    1. "it_CH" - for Italian
    2. "fr_CH" - for French
    3. "en_US" - for English

With this setting, your widget will always be displayed first in the appropriate language.

 

Automatic language recognition by the browser

You can automatically display your widget in the language your customer has set their browser to. In other words, if a customer has set everything to English, the English widget will be displayed. The other languages are similar. 

For this to work, you need to make the following change:

  1. Delete &lang="de_CH" when integrating into your CMS (where you maintain your website and want to insert the code. NOT in the Calenso Dashboard)

That's all there is to it. Now your widget will always be displayed in the language of your browser.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article