Choosing the language for the Persistent Menu with

2019-07-14 06:32发布

I'm currently doing a bot for Facebook messenger. My bot is multi language but the problem is that I can't find a way to change the language in the bot menu according to the user.

Do you have any idea how to fix that issue?

I can't find any solution: https://developers.facebook.com/docs/messenger-platform/thread-settings/persistent-menu

3条回答
疯言疯语
2楼-- · 2019-07-14 07:26

As of March 2017 (Platform 1.4) this is now supported.

From the Facebook Docs...

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

查看更多
相关推荐>>
3楼-- · 2019-07-14 07:30

So facebook response:

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.

查看更多
家丑人穷心不美
4楼-- · 2019-07-14 07:32

If you're supporting 10 or less languages, one solution could be to at the beginning of each conversation, send a message and have them choose their language using quick replies

EDIT: The persistent menu can't be different for users, so I don't think multi-language is currently supported within the persistent menu.

查看更多
登录 后发表回答