botpressWebChat locale ignored

The botpress Web Chat ignore my locale configuration
Do I need to set something else?

window.botpressWebChat.init({ 
...
    locale: 'fr', 
...
})

But the text is still in english, it seems the locale is always configured as browser, therefore, the browser’s language is used