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
fr
German
de
Dutch
nl
Italian
it
Spanish
es
Portuguese
pt
Polish
pl
Swedish
sv
Danish
dk
Turkish
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:
orgDescription
customPrompt
customIdentPrompt
labels.home
/labels.chat
/labels.articles
/labels.contact
links[].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?'
}
})