Pilot: Adding additional languages to the Booking Engine (Booking Website for Lite users)

You can translate the content of the Booking Engine into different languages, addressing it to a wider audience. You can choose from our built-in translations (Pro users only), or a 3rd party translation.

Adding built-in translations to the Booking Engine (Pro users)

When creating a Booking Engine, configure the languages in which the Booking Engine site can be displayed. We offer built-in translations for generic words we use on the site (such as "Contact" and "Term", etc.) See below the supported languages you can add to the Booking Engine.

The default language in which the Booking Engine will appear is English. English will function as the "fallback" language. If you have a Guesty Advanced Website or are embedding the Booking Engine in an external website, we recommend setting the supported languages in these websites to be the same as the languages you define in the Booking Engine. For example, If your external website or a Guesty Advanced Website supports Serbian, when guests navigate to the embedded Booking Engine, it will appear in the fallback language, English, as Serbian is not supported for the Booking Engine. Learn how to configure multiple languages to your Guesty Advanced Website.

We support the following languages:

  • German
  • Greek
  • English
  • Italian
  • Japanese
  • Korean
  • Polish
  • Portuguese
  • Mandarin
  • Romanian
  • Indonesian
  • Spanish
  • French
  • Dutch

In addition to selecting the languages, set the following:

Third-party supported languages (Pro and Lite users)

If you want to add a language that doesn't appear in the list above, you can use a third-party translation on your Booking Engine as a workaround. Follow the instructions below to embed a custom code snippet into the Booking Engine.

Important:

Using this advanced feature without a developer may cause technical issues. Guesty does not offer support for technical difficulties associated with custom code snippets. 

Pro users Lite users

Step by step:

  1. Sign in to your Guesty account.
  2. In the top navigation bar, click the mode selector and select Growth mode.
  3. Click Distribution.
  4. Click the Guesty Booking Engine thumbnail.
  5. Click Edit next to the relevant Engine (Pilot users: click , and select Edit Booking Engine).
  6. Navigate to the custom code snippet section, and turn the toggle on.
  7. Add the custom code below to the text field.
<script type="text/javascript">
  var GOOGLE_ID = 'google_translate_element';

  function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en'}, GOOGLE_ID);
  }

  if (!document.getElementById(GOOGLE_ID)) {
    var div = document.createElement('div');
    div.id = GOOGLE_ID;
    div.style.marginLeft ='20px';
    div.style.textAlign ='center';

    var navbar = document.querySelector('#root > div > header') || document.querySelector('#root > div > nav');
    navbar.appendChild(div);

    var script = document.createElement('script');
    script.src = '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit';
    document.body.appendChild(script);
  }
</script>

Note:

This code is powered by Google Translate. Translation errors are not supported by Guesty. Once the code has been embedded, guests can navigate to the top right corner of the Booking Engine and change the language.

Was this article helpful?
0 out of 0 found this helpful