Michael Brokmann
Michael Brokmann

Reputation: 1

Watson Machine Translation in Node Red Flow

It seems there have been some changes in the usage of the Machine Translation service from within a Node Red flow. There was the capability to configure from within the node from which into which other language to translate. This has been changed. Can you help me in understanding where to set exactly this when having identified the language already before (msg.lang) Thanks

Upvotes: 0

Views: 128

Answers (1)

James Thomas
James Thomas

Reputation: 4339

There are two ways to set the translation language for the Machine Translation node.

You can either...

  • Select the language from the dropdown menu in the node configuration dialog.

node configuration

  • Pass the language translation type as the "lang" parameter on the "msg" object.

Supported language types for the Machine Translation node are automatically registered at runtime. You must have the Watson Machine Translation Service bound to your Node-RED instance running on Bluemix.

Upvotes: 2

Related Questions