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?'
}
})