Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to add multilanguage intent through Dialogflow api

I am having issues with creating an intent with more than 1 language through the Dialogflow api.

When creating an intent, i can only supply 1 language, which seems a bit strange but led me to try to use 1 language to create the intent, then use the id (name) of that created intent to update all other languages.

This results for me in the intent not being valid when i open it in the browser on the Dialogflow site (just creating the intent for 1 language works fine) with a message about the parameters not being correct.

My question: if this is indeed the intended approach (use 1 language to create an intent, then update that intent with the other languages), how should i deal with sending the parameters (the parameters prop)? Should i for every languageCode always send all parameters (even if they are not used in that language)? Or should i only send them if a certain languageCode uses that actual parameters (in which case they might overlap, and already exist in the intent)?

Comments