Microsoft webchat in french - botframework

I have embed the Microsoft web chat channel into my site using the iFrame methode :
https://webchat.botframework.com/embed/mybot?s=YOUR_SECRET_HERE'>
The web chat interface is in english, what parameters do I need to get the french version ? (the microsoft framework says french is supported).

French is supported in the Framework yes, it does not mean everything will be in French everywhere.
It is supported because you can use French language to talk to the bot. For example in the Prompt class, when you use a PromptConfirm will understand when you reply with oui or non.
For the Webchat interface, if you need to customize anything, have a look to the github project about webchat here: https://github.com/Microsoft/BotFramework-WebChat
You will find all the necessary items to search if you can setup what you want to change.

To localize the content of your bot you need to configure the default locale in your bot code, and provide resource files that define the default messaging in your language. All of this happens in your bot code and not in WebChat. The WebChat control is just the delivery mechanism for your bot's messages.
For more information on localization in Bot Framework:
.NET SDK: https://learn.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-formflow-localize
Node SDK: https://learn.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-localization
Code Examples:
.NET SDK: https://github.com/Microsoft/BotBuilder/tree/master/CSharp/Samples/AnnotatedSandwichBot
Node SDK: https://github.com/Microsoft/BotBuilder/tree/master/Node/examples/basics-localization

Related

3D Avatar Implementation on Botframework V4

I'm searching for knowledge sharing on how to connect a 3D avatar with a bot.
Something like done on Bot Libre https://www.botlibre.com/forum-post?id=682689 .
The implementation can be on WPF, UWP or web.
I'm currently working with Botframework V4.7 and C#.
Thanks in advance,
Amintas
This will likely require you to build a custom connector to pass your bot's incoming and outgoing activities thru to the Bot Libre system. There are examples out there of connectors/adapters that have been built by 3rd parties, such as this Twilio WhatsApp adapter, this Twitter adapter, or this Alexa adapter if you are planning on building in C#.
Any adapter you build won't need to be as full fledged as these are as you are only designing for what you know you need, and not for the masses.
You will also need to research Bot Libre to see which API endpoints might be relevant to you. You can see a listing of APIs here. Really, this holds true for any service like Bot Libre that you decide to land on.
Hope of help!
It depends on the Channel your bot is deployed on and what does the channel supports. For example if your bot is deployed in Facebook Messenger, you can achieve this by creating a web page that renders a 3D Avatar and using Bot Framework you can send a web_url button from which the user will press and the web page will open up inside of messenger with the rendered avatar.

Skype ChatBot Bubble - Different message colors

So I've been using MS Bot Framework to build some chatbots and I'm trying to integrate one of them with Skype.
The thing is, it seems that the "Skype Bubbles" don't support different color messages to distinguish between the user & the bot.
Even the default Skype bot has all messages in grey.
Is it possible to change this?
Thank you all.
Example of Skype's Test Bot Color Scheme
What you are looking at on the https://dev.skype.com website (aka Skype Dev Buddy bot) is actually the Skype Web Chat component. You can achieve some degree of customization using the chat control customization tool here.
If you would like full control over the styling of the chat control, you can fork and customize the Bot Framework official WebChat module (which is different than the Skype Web Chat (SWC).
For more information on customizing the Bot Framework WebChat component, see: Customizing WebChat > Styling
It seems that it's not possible to do that with Skype Web Control as #Nils W said.
One should use the Bot Framework WebChat Module.

Can we use Markdown with Bot Framework for Skype for Business?

Can we use Markdown with Bot Framework for Skype for Business?
We implemented a code to send an image following the document below.
https://learn.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-connector-create-messages
But it didn’t work. So we though Skype for Business may not be able to use Markdown feature.
Markdown is not currently a supported text format for Bot Framework bots on the Skype for Business channel.
For more information on supported message formats see: Skype for Business Bot Framework (Preview) > Feature Support
Messages : Your bot can send plain text, HTML, and emoticons to a user or group. Users can send rich text, HTML, and emoticons to your bot.
Note: HTML support is planned for mid-to-late June release.

Bot Framework Language Translation

The first version of the Bot Framework advertised automatic language translation as a major Bot Connector feature as outlined in the v1 Bot Framework Overview page.
However, the v3 documentation doesn't mention it. I was wondering if this feature is no longer available or should we use the Cognitive Services Text APIs instead?
Here's what I tried with a Skype Bot:
I would like to speak in German
May I speak in French
fr-FR
Everything I've tried hasn't worked.
This is something which I've looked into while building my own bot as well. The feature is no longer available in V3 and will have to call the Translator API directly. https://github.com/Microsoft/BotBuilder/issues/1156
In V4, you can use the code as below
Resources.Global.Culture = new System.Globalization.CultureInfo("en-US");

Microsoft Bot Framework Client sdk

I am looking to use Microsoft Bot Framework in my application. However, I have a custom UI chat control (designed according to my requirements) where I need to hook up this bot.(instead of having pre-configured channels like slack or skype).
Is there a client sdk for web (preferably in angular) and/or mobile available for this purpose?
Take a look at DirectLine.
The Direct Line API is a simple REST API for connecting directly to a single bot. This API is intended for developers writing their own client applications, web chat controls, or mobile apps that will talk to their bot.
DirectLine is always a good option to add chat functionality in your custom UI. Otherwise you can just turn on Web Chat channel and embed iframe in your webpage. This will make your job easy with very less errors.
I have seen directline causing many issues while sending requests. Web Chat is always a better option.

Resources