使用 facebook messenger bot 选择持久菜单的语言
Choosing the language for the Persistent Menu with facebook messenger bot
我目前正在为 Facebook Messenger 开发一个机器人。
我的机器人是多语言的,但问题是我找不到根据用户更改机器人菜单中语言的方法。
你知道如何解决这个问题吗?
我找不到任何解决方案:https://developers.facebook.com/docs/messenger-platform/thread-settings/persistent-menu
如果您支持 10 种或更少的语言,一种解决方案是在每次对话开始时发送一条消息,让他们使用快速回复选择他们的语言
编辑:持久菜单对用户来说不能不同,所以我认为持久菜单目前不支持多语言。
因此 facebook 回复:
Unfortunately, there is no way to set local for now. This is working
as intended but the team will keep your feedback in mind for their
next milestones. Hope this helps.
截至 2017 年 3 月(平台 1.4),现在支持此功能。
来自 Facebook 文档...
Localization: Developers can now provide text in multiple languages
(or entirely different menus) for each local your bot's users may come
from.
https://developers.facebook.com/docs/messenger-platform/messenger-profile/persistent-menu
我目前正在为 Facebook Messenger 开发一个机器人。 我的机器人是多语言的,但问题是我找不到根据用户更改机器人菜单中语言的方法。
你知道如何解决这个问题吗?
我找不到任何解决方案:https://developers.facebook.com/docs/messenger-platform/thread-settings/persistent-menu
如果您支持 10 种或更少的语言,一种解决方案是在每次对话开始时发送一条消息,让他们使用快速回复选择他们的语言
编辑:持久菜单对用户来说不能不同,所以我认为持久菜单目前不支持多语言。
因此 facebook 回复:
Unfortunately, there is no way to set local for now. This is working as intended but the team will keep your feedback in mind for their next milestones. Hope this helps.
截至 2017 年 3 月(平台 1.4),现在支持此功能。
来自 Facebook 文档...
Localization: Developers can now provide text in multiple languages (or entirely different menus) for each local your bot's users may come from.
https://developers.facebook.com/docs/messenger-platform/messenger-profile/persistent-menu