I've created a number of local nodes in my /nodes folder. They're grouped as modules with a number of included child nodes. I've added a locales/en-US/my-node.json file. I see it registered with the resourceCache as 'node-red/my-node': { 'en-US': { 'node-name': [Object] } },
my dir structure is
/nodes
/nodes/my-nodes
/nodes/my-nodes/package.json
/nodes/my-nodes/my-node/my-node.js
/nodes/my-nodes/my-node/locales/en-US/node-name.json
node-name.json has the contents { "labels": { "userTopic" : "User Topic" } }
I've tried all sorts of variants for data-i18n...
my-node.labels.userTopic
node-red/my-node:my-node.labels.userTopic
my-node:my-node.labels.userTopic
my-node.my-node.labels.userTopic
Any advice on how to get translations working for these local node types?