1
votes

Node-RED on Bluemix, using the language translator node, documentation as follows;

Source and destination language parameters can be configured through the editor panel or set dynamically using the language codes in the following properties, msg.srclang and msg.destlang.

Setting msg.srclang & msg.destlang doesn't appear to work however. Regardless of the values assigned to these properties, the values defined in the editor are applied when translating.

Is it possible to dynamically set the source/target language values using the language translator node on Bluemix?

Thanks,

Ronan

2

2 Answers

0
votes

Message properties passed in only normally apply if the values are left blank in the config editor dialogue

0
votes

This is a bug introduced in a recent revamp of the node. I have raised a bug report and hope to get this fixed soon.