Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send proper locale to Dialogflow based on facebook locale #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heedrox
Copy link
Contributor

@heedrox heedrox commented Jan 25, 2018

Recovers facebook locale from facebook before ApiAi Request
Compares the locale among the ones defined in ApiAi (requires ApiAi to send the user locales from the Dialogflow console through process.env).
Stores the Id in a map for caching
Injects the locale into ApiAiRequest (there was no public method, not sure if this way was the best)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant