GoogleCloudPlatform / node-red-contrib-google-cloud

Node-RED nodes for Google Cloud Platform
Apache License 2.0
90 stars 57 forks source link

Provide node to other langagues #28

Closed marianacastan closed 4 years ago

marianacastan commented 4 years ago

Can't change the default language en-US to another that is already supported by Google API. Only changing at .json and .js files at /node_modules from en-US to es-ES can't help...it just recognizes english. Creating a field with language option would be very helpfull for the community

kolban-google commented 4 years ago

Sorry for the delay. Apparently I hadn't set up my auto subscription correctly. Examining issue now. Thank you for raising. I'll post back as soon as possible.

kolban-google commented 4 years ago

I think I have coded the change correctly. The Speech to Text node now has a configuration property that allows us to specify a language code. The default becomes en-US but can now be changed. For example, changing en-US to en-ES should now work. I haven't tested it with a language other than English so if I can ask ... would you test and report back if it works? Releases of this node set at 0.0.7 or greater will contain the change.

marianacastan commented 4 years ago

Just tested and it works perfectly! Thank you a lot!

kolban-google commented 4 years ago

Thank you Mariana. Appreciate the report and sorry it too me so long. Don't hesitate to post anything else as you find ... especially if there are features you would like. I'll be quicker. Closing the issue for just now.