Multilingual Bot - Greeting Trigger - Conversation Update Activity showing english, not the language selected #8659
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-replied-to
Required for internal reporting. Do not delete.
customer-reported
Required for internal Azure reporting. Do not delete.
Support
Type: Bug
Something isn't working
Describe the bug
Multilingual Bot - Greeting Trigger - Conversation Update Activity showing english, not the language selected
I am using en-US and hi-IN, when I send hi-IN from webchat - directline, it shows greeting trigger/ actions in english and rest all in triggers in hindi
Version
Version: 2.1.1-nightly.267886.6a6a24a
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser
OS
To Reproduce
Steps to reproduce the behavior:
window.WebChat.renderWebChat(
{
directLine: window.WebChat.createDirectLine({
token: 'xxxxxx'
}),
userID: 'WebChat_UserId',
locale: 'hi-IN',
username: 'Web Chat User',
// locale: 'en-US',
// Passing 'styleSet' when rendering Web Chat
styleSet
},
document.getElementById('webchat')
Expected behavior
Greeting should show in english if locale is english and else hindi
But it always shows english irrespective of the locale selected
Screenshots
Additional context
It happens only with Directline webchat , if you test through emulator it works fine
The text was updated successfully, but these errors were encountered: