-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localization Change Causes Publishing Problem (also not working on Emulator) #8673
Comments
@humak This is an emulator setting that needs to be changed to the locale that you want the bot to respond to. The current locale set on Composer does not get set on Emulator when we use the operation "Open in Emulator" from Composer. |
We tried your solution and it worked on Emulator. Thank you so much @srinaath ! We still couldn't reach the published bot from Azure Portal WebApp Chat. |
Hi @humak Are you referring to The locale of the browser should be the thing that is telling WebChat and the bot what locale should be used. For example, in Emulator, you can see what locale is being sent: {
"type": "conversationUpdate",
"membersAdded": [
{
"id": "______________________________",
"name": "Bot"
},
{
"id": "______________________________",
"name": "User"
}
],
"from": {
"id": "______________________________",
"name": "User",
"role": "user"
},
"locale": "de-de",
"serviceUrl": "http://localhost:64085"
} Are you able to test with a browser using both English and Turkish locales? |
Related: microsoft/BotFramework-Emulator#2268 |
Hi @dmvtech , maybe I can explain better with this example.
We got this error when we publish the bot to Azure as locale tr-TR (Turkish.) When the bot’s locale is en-us (english), it works. |
When you publish, it will publish all locales that you have created/configured. Just to confirm; you did not remove So, my assumption is that there is something wrong with the published bot, regardless of locale. The One thing you can do is use Ngrok and test your local running bot through the Otherwise:
|
Hi @humak. Have you tried any of the above? Any answers to the questions above? |
Closing due to lack of response. Please comment with answers to above questions if you still need assistance. |
Describe the bug
My bot is working properly on the composer web chat whether the default language is English or Turkish. But on Emulator, it is only working properly when the default language is English. When I change the language to Turkish, it is not working on the Emulator.
It also causes problems in the Publishing phase, if the bot is not working on the Emulator, it is not working after publishing too.
Version
Version: 2.1.0-nightly.266986.c355633
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
(experienced the same issue on the stable version too)
Emulator: 4.13.0
Browser
OS
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
We spend so much time trying to understand why it fails after publishing and not responds, thats how we discovered that, when it stays on English as default, it works after publishing too, and emulator of course.
The text was updated successfully, but these errors were encountered: