FAQ Q164: How can I allow users to change the language of the reservation form when using advanced integration?
Sezione: Translations and language
By default, the reservation form contains a language selection drop-down, allowing users to choose their preferred language. If you already have language selection elsewhere on your webpage, you can remove this drop-down in the Reservation Form Template. To do this, go to Site Settings > Templates > Reservation Form Template.
There are two versions of the dropdown language selection: $(language_choice) and $(language_choice_narrow) (see Q221 for more about these tags).
You can also pass the
lang or
planyo_lang parameter to the URL containing the planyo module or to the attribute string. The value is a two-letter language code, e.g. EN, DE, FR, IT, ES (upper or lower case works fine). If you don't pass the language parameter, the default language specified in the settings of the planyo module will be used. Please note that some versions of the planyo module can detect the current language, whenever the CMS makes it possible for the module to get this information.