or, more specifically, I have added information for a second language on the console, but now I cannot use "gactions test..." to deploy it because I get the error:
Pushing the app for the Assistant for testing...
ERROR: Failed to test the app for the Assistant
ERROR: Request contains an invalid argument.
Field Violations:
# Field Description
1 agent_version_content.action Your app must have at least one action for locale fr
2017/10/11 18:11:04 Server did not return HTTP 200
Consequently I must either
Neither of which I can do because
Please somebody help here. Thanks
Information about adding the locale info is at https://developers.google.com/actions/localization/action-packages
They're still updating the documentation for the gactions
command and the action package format itself but, in short, you need to do two things:
First, create an action package for each locale. They suggest names like "action.fr.json" and "action.en.json". The first parameter in the json for each will be:
"locale": "en"
(or "fr" or whatever locale)
Then, specify multiple action files using multiple --action_package
parameters:
./gactions update --project my-project-id --action_package action.de.json --action_package action.en.json --action_package action.fr.json --action_package action.ja.json --action_package action.ko.json