Translations in the widgetThis page walks you through the details of how the Solvemate widget decides which language to offer to your users.Language selection hierarchyThis is the hierarchy of how the languages in the widget are being selected:Language selection of the user always has the highest priority. This means, whenever a user selects a certain language, this language is stored in the local storage in the browser and the widget uses this language to start a conversation or to load older conversations.You can also proactively set a language by using solvemate('presetLanguage','de'); in the integration script for the Solvemate widget. The language you want to set, has to be referred using the according language code from the ISO-639-1 standard.In case neither the user did select a language nor you actively set a language, we use the language that is set as default language in the browser of the user.And last but not least: In case the Solvemate widget doesn't receive any information about the preferred language of the user, it starts the conversation in the default language of the bot.New conversation per languagePer language the widget starts a new conversation. In other words: When a user starts a conversation in English and then—in the middle of that conversation—switches the language to German, the widget starts a new conversation in German, instead of translating the existing conversation from English to German.This implies that one user can have multiple open conversations in different languages. Every time a user selects a language—the user had a conversation in already—the widget displays the latest conversation the user had in this language.