Help in integrating Google translate API to node-red Dashboard

I am new to Node-red and dashboard.
I want to integrate Google translate API in node-red dashboard UI. As I am new to this, I am going rounds on internet but unable to find any help anywhere on this.

Please help here.

Hi Parth, what is it that you would like to do in the Dashboard itself?

Type in some text, and see a translated response? A little bit more information here would be useful.

There are some Google Translate API nodes available, but I haven’t tried any of them out myself, so can’t direct you too well there, but I would recommend building a flow in Node-RED first that has no Dashboard components, e.g.

Inject Node > API Call > Debug Node

Just to check you can interface with the API properly.

The “Inject” node will provide you with a button that you can press to “inject” some value to your flow, in this case hard-code a string you want to translate. The “Debug” node will print any content to the “Debug” window on the right-side of Node-RED.

For the “API Call” part of this, you have two options:

  1. A pre-existing Google Translate node. You can add third party nodes into Node-RED via “Manage Palette” > “Install”, there are a few nodes there, but cant vouch for how well they work.

  2. “HTTP Request” node. This is a built in node, and allows you take make API Calls to any URL you define, although be sure to include any appropriate API Keys, etc. Required for the Translate API

Once you have that in place, and working, building in Dashboard functionality should be a breeze!