Skip to content
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

Multilingual bot works in web chat but not emulator #8524

Closed
7 tasks
dinobrago opened this issue Aug 4, 2021 · 1 comment
Closed
7 tasks

Multilingual bot works in web chat but not emulator #8524

dinobrago opened this issue Aug 4, 2021 · 1 comment
Assignees
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. Type: Bug Something isn't working

Comments

@dinobrago
Copy link

dinobrago commented Aug 4, 2021

Describe the bug

I created a multilingual bot in English and Spanish in Composer

Version

Version: 2.1.0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Emulator: v:4.13.0

Browser

  • Electron distribution
  • [X ] Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

Create a multilingual bot as described in https://docs.microsoft.com/en-us/composer/how-to-use-multiple-language.
I created a bot in English and Spanish.
Select the added language as the default.
Start the bot.
In the web-chat (launched from Composer), the bot matches the language selected in Composer.

In the emulator (launched from Composer), the bot is always in English and does not switch between languages.
Restarting the bot after setting the language does not change the outcome.

Expected behavior

A default language is selected in Composer. The emulator should match the selected language set in Composer.

Screenshots

Additional context

@dinobrago dinobrago added Needs-triage A new issue that require triage Type: Bug Something isn't working labels Aug 4, 2021
@dmvtech
Copy link
Collaborator

dmvtech commented Aug 5, 2021

To test the bot in Spanish with Emulator, you will need to change the Local in the Emulator's settings. Composer does not set the locale for the bot when it is opened in (sent to) Emulator.

If you need to test both locales in Emulator, you can open the bot with one locale, then open another instance of Emulator, change the locale, then open the bot.

FYI, there is a feature request created to have the option to set locale, per open bot, in Emulator.

@dmvtech dmvtech self-assigned this Aug 5, 2021
@dmvtech dmvtech added 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. labels Aug 5, 2021
@srinaath srinaath removed the Needs-triage A new issue that require triage label Aug 5, 2021
@srinaath srinaath closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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. Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants