We have upgraded our bot to support French in addition to the original English. We have a welcome message “Hi how can we help?” trigger by the OnConnect event from the Web channel. We can switch language using the cheat code or detected from a user utterance, and our Welcome task works fine in both languages for existing users.
When a NEW user connects to our bot, Kore prompts for what language to use (English or French). This is unacceptable. We would prefer to use the Browser language by default for new users. How can we pass a language selection in the Webkit JS to Kore?
This problem can be easily demonstrated by connecting to a multi-lingual bot in Incognito mode in Chrome.
The documentation suggests the bot is using Kore’s in-house language detection algorithm. If so, what factors does this consider for new, never seen before, no utterance yet received, users?