Split items into objects to use Google Translate node and return the .json file to its original format

Hi @dcbn, so you’d like to translate each of your object properties? This is a bit tricky if the properties themselves aren’t predictable. I’d probably approach it by first converting each property into its own n8n item with one property holding the original name and one property holding the respective value.

You can then send each item to Google Translate and afterwards convert your items into a single object again. I tried to build the full workflow, but it seems Google won’t let me use the Translate API with my free account.

It should work as shown below though. Make sure to enable the Translate node and add a suitable expression in the Set node and you should be good to go.