Translations in the widget
Our widget is set to use English en strings by default. To use the default user language based on the browser preferences, you need to set the language: 'auto' parameter when initializing the widget.
Our support widget comes with a few translations available. As of now, we support the following languages:
French
frGerman
deDutch
nlItalian
itSpanish
esPortuguese
ptPolish
plSwedish
svDanish
dkTurkish
tr
All the static words in our widget have been translated, but we cannot anticipate and translate the custom text you set in the following parameters:
orgDescriptioncustomPromptcustomIdentPromptlabels.home/labels.chat/labels.articles/labels.contactlinks[].title
For all of these, instead of a string, you can pass an object with the language as the key - defined by two letters (ISO 639-1) - and the translated string as the text. In this case, the language "en" is required.
For example:
Fernand('init', {
appId: 'your-slug',
orgDescription: {
en: 'Hey! Do you need help?',
fr: 'Salut! Besoin d\'aide?',
de: 'Hallo! Brauchst du Hilfe?'
}
})
