Screenshots

Version
CDN 4.7.1
Describe the bug
Locale property is set to null for conversationUpdate activity being sent to the bot. This results in welcome message being displayed in default language, instead of the language being passed to WebChat.createDirectLine:
window.WebChat.renderWebChat({
directLine: window.WebChat.createDirectLine({ token }),
styleOptions: {
hideUploadButton: true
},
locale: "es-ES",
store
},
document.getElementById('webchat')
);
Steps to reproduce
- Deploy VA bot with WebChat
- Change locale in the WebChat to es-ES
- Open chat page
Welcome message is displayed in English, all subsequent communication switches to Spanish.
Expected behavior
Welcome message is displayed in Spanish
Additional context
Note, this works as expected with BF Emulator and corresponding property is set to correct locale on the conversationUpdate activity.
[Bug]
Screenshots
Version
CDN 4.7.1
Describe the bug
Locale property is set to null for conversationUpdate activity being sent to the bot. This results in welcome message being displayed in default language, instead of the language being passed to WebChat.createDirectLine:
Steps to reproduce
Welcome message is displayed in English, all subsequent communication switches to Spanish.
Expected behavior
Welcome message is displayed in Spanish
Additional context
Note, this works as expected with BF Emulator and corresponding property is set to correct locale on the conversationUpdate activity.
[Bug]