What locales are supported in Facebook Messenger Platform? - locale

I was wondering what locales are actually supported in Messenger Platform.
I'm currently developing an Airline bot and I would like set up the locale depending on the user location.
I can't find anything in the documentation.

We have a Facebook bot that uses locales and it seems they are the same supported by the Facebook API in general. See:
https://developers.facebook.com/docs/internationalization
https://www.facebook.com/translations/FacebookLocales.xml

The new messenger profile API allows you to add localization to the persistent menu and greeting text
https://developers.facebook.com/docs/messenger-platform/messenger-profile/

Related

Google Dialog Flow: Change Design/Colours

I use Google Dialog Flow and I still created a Agent. I want to customize the appeareance of the chat window and I do not know how to do it. It seems like there is no options to do this in the DialogFlow Console. I have seen that there are products like Botcopy, but I want to do it by myself. Do I need to use the API to integrate the bot into my website if I want to change the looks?
the DialogFlow web widget is mean to be used for testing, you can hack the CSS and override the way it looks but it is not a recommended approach.
In order to integrate your DialogFlow chatbot on a website you can indeed use Botcopy or Kommunicate (both provide a Widget to add to the web site with some customisation options).
If you are a UI guru you want to build something yourself you can use the DialogFlow SDK https://github.com/googleapis/nodejs-dialogflow

dialogflow, google action and webdemo

Can you like with the Test Simulator have an embedded Google Action or use a Live chat style bot on a website with Google Actions responses? Are there any code labs or third party platforms that do this?
Yes, some of the 3rd party chat windows I know of:
- Smooch
- Kommunicate
You will have to use the Payload response to send specific components (such as cards, quick replies or images)
There's also this Github repository which allows you to set Google Actions replies and it will display it in chat:
https://github.com/mishushakov/dialogflow-web-v2
Or you can write your own in React or Vue.
Actions on Google is the platform for Google Assistant developers and have own library and components. You can use these features and components only on Google Assistant projects, since every platform has different features and capability. If you need to create a chatbot with these kind of features, you should check platform's docs eg. Facebook, Telegram...
If you want to create a chatbot which has some rich responses, Dialogflow has own attributes such as Card, Suggestion. So, you can build your agent and integrate Dialogflow (not Google Action).
You can check here for platform and Dialogflow's response and payload ability.

How to test DialogFlow FB Messenger integration in different languages outside the DialogFlow simulator?

Is there a way to test DialogFlow agent in a non-default language in Facebook Messenger or using another way that is not the DialogFlow's own simulator (console.dialogflow.com)?
Facebook Messenger integration works great in a default language, but when I try to talk in a non-default language DialogFlow keeps responding in a default language. I tried changing Facebook interface language to a non-default language and it is still the same problem.
I also tried using DialogFlow's Web Demo, but it looks like that support only the default language too. Response about that from Google representative is here:
https://productforums.google.com/forum/#!topic/dialogflow/RPVrna1_Yoc

explore voice capability in Microsoft chat bot

I have chat bot developed using Microsoft bot frame work in , in chat bot we have a option for customer to ask a question for that we need to make it voice enabled as of now we are using node.js and azure for development . i wanted to know how we can achieve it ?
On google chrome, mic can be enabled easily. Google chrome will also translate the voice for you. First follow below link, see if you are using same framework : https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-webchat-speech?view=azure-bot-service-3.0
Post that following link can also help enabling the voice. Can't Chrome's speechSynthesis work offline?
You can enable voice on Firefox as well using bing translate. This link will help you: https://github.com/Microsoft/BotFramework-WebChat/issues/1141

Possible to return an image in the Google Actions webhook response?

From the docs it seems like SpeechResponse is the only documented type of response you can return:
https://developers.google.com/actions/reference/conversation#SpeechResponse
Is it be possible to load an image or some other type of media in the assistant conversation via API.AI or the Actions SDK? Seems like this is supported with api.ai for FB, other messengers:
https://docs.api.ai/docs/rich-messages#image
Thanks!
As of today, Google Actions SDK supports Conversation Actions, by building a better Voice UI, which is integrated with Google Home.
Even API.AI integrations with Google Actions can be checked out here, which shows currently no support for images in the response.
When they provide integrations with Google Allo, then in the messaging interface, they might start supporting images, videos etc.
That feature seems to be present now. You can look it up in the docs at https://developers.google.com/actions/assistant/responses
Note: But images would be supported only on devices with a visual output. So Google Home would obviously not be able to do it. But the devices with screen do support a card with an image.
Pro Tip: Yes you can
What you want to do is represent your (image/video) as a URL within API.AI and render the URL as a (image/video) within your app
see working example

Resources