-
Notifications
You must be signed in to change notification settings - Fork 1.6k
First Message language preference #5618
Copy link
Copy link
Open
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.questionFurther information is requested. Stack Overflow candidateFurther information is requested. Stack Overflow candidate
Metadata
Metadata
Assignees
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.questionFurther information is requested. Stack Overflow candidateFurther information is requested. Stack Overflow candidate
I have a question
In our bot implementation using Web Chat, we have a default welcome card that is triggered via the ConversationUpdate activity. However, even when we pass the user's locale to Web Chat during initialization, this first welcome card always shows in English.
Only after the user sends a message or performs an action that includes the locale, the bot starts responding in the user's preferred language. The issue is that the locale is not being set early enough, so the initial welcome card does not respect the language preference.
Requirement:
We need the bot to send the first welcome card in the correct locale, based on the user's language preference — without requiring any user activity first. The locale should be correctly applied right from the start of the conversation.
Could someone guide me here on how can I get over this issue?