I'm the author of the Use Everywhere nodes, and they include a couple of nodes which transmit data to inputs that match a certain string pattern or regex. So this is a non-visual element which needs to be translated in order to match visual elements...
I'm wondering if it is possible for a third party node to access the translations in this node - it looks like it would be a case of accessing the static T object, but wanted to do it cleanly!
My thought would be to add a new entry to cg-use-everywhere.json which isn't a node - like:
"Use Everywhere extra translations" : { "seed-regex" : ".*seed.*" }
which could be accessed something like
T.Nodes["Use Everywhere extra translations"]["seed-regex"]
I'm happy to do the PR, but want to check if you are comfortable with this slight misuse of the json structure!
I'm the author of the Use Everywhere nodes, and they include a couple of nodes which transmit data to inputs that match a certain string pattern or regex. So this is a non-visual element which needs to be translated in order to match visual elements...
https://github.com/chrisgoringe/cg-use-everywhere/issues/81
I'm wondering if it is possible for a third party node to access the translations in this node - it looks like it would be a case of accessing the
static T
object, but wanted to do it cleanly!My thought would be to add a new entry to
cg-use-everywhere.json
which isn't a node - like:which could be accessed something like
I'm happy to do the PR, but want to check if you are comfortable with this slight misuse of the json structure!