Localization

The Meetings API supports localization for the UI of a meeting, allowing you to change the language used. This can be controlled in two ways:

  1. Predefined in the API Call - this allows the language to be predefined for all participants in the meeting via an option in the API call.
  2. Selection from the UI - this adds a language selection option to the UI allowing each participant in the meeting to select their preferred language.

Apply a language to all participants

This option allows the language to be pre-set in the API call; the selected language will be applied to all participants in the meeting. This is done by adding "ui_settings": {"language":"XX"} to the API call where you create your meeting, where XX is the language code of your selected language (see Available Languages below for a list of currently supported languages).

For example, this API call will create a room where the language is set to Spanish for all participants:

curl -X POST 'https://api-eu.vonage.com/v1/meetings/rooms' \ -H 'Authorization: Bearer '$JWT \ -H 'Content-Type: application/json' \ -d '{ "display_name":"New Meeting Room", "ui_settings": { "language": "ES" } }'

If no language is selected in the API call, English is selected by default.

Available Languages

LanguageLanguage Code
ArabicAR
Brazilian PortuguesePT-BR
CatalanCA
Chinese (Taiwan)ZH-TW
Chinese (Mainland)ZH-CN
EnglishEN
FrenchFR
GermanDE
HebrewHE
ItalianIT
SpanishES

Individual selection from the UI

This option will display a language setting in the UI, allowing each participant to choose what language they want. This is done by adding "is_locale_switcher_available": true to your API call within the available_features object:

curl -X POST 'https://api-eu.vonage.com/v1/meetings/rooms' \ -H 'Authorization: Bearer '$JWT \ -H 'Content-Type: application/json' \ -d '{ "display_name": "New Meeting Room", "available_features": { "is_locale_switcher_available": true } }'

With this option enabled, the participants will be able to see a globe icon in the top right toolbar within the meeting:

Meeting Options

Clicking on the globe will then present the user with a list of options to change the language of the UI:

Menu showing the different language options available