Hi, I am trying to translate the status of my node, which worked fine so far until I tried to add some changing information into the status. I am counting sth. in the status of my node and want to display the corresponding count as well as the translation. However, when I switch to another language, the status with the changing information is not translated and stays in english.
const layer = RED._("pelleting.status.executed_layer");
const column = RED._("pelleting.status.column");
const row = RED._("pelleting.status.row");
node.status({fill:"green", shape:"dot", text:layer + ": " + layerCount + " "
+ (columns?column + ": " + columnCount + " ":"")
+ (rows?row + ": " + rowCount + " ":"")});