GoogleCloudPlatform / dialogflow-integrations

Dialogflow integrations with multiple platforms including KIK, Skype, Spark, Twlio, Twitter and Viber
https://cloud.google.com/dialogflow/
Apache License 2.0
248 stars 501 forks source link

How to change "language_code" for the Twilio (Text Messaging) Integration #49

Closed JulianSansat closed 3 years ago

JulianSansat commented 3 years ago

I have a Dialogflow agent in pt-br, but Twilio is sending the query text with the "language_code": "en", so my agent can't find any intent. I just made the default integration using the gcloud sdk, and I was wondering, when or where I can change the language for this integration, so Twilio can send the "language_code" being "pt-br".

JulianSansat commented 3 years ago

I deleted all the other languages of my agent, leaving only one, it was already marked as default. But still, my agent was receiving the language_code in "en".