@acedatacloud/node-red-localization 1.0.0
Translate Markdown and JSON into a target language with Ace Data Cloud Localization in Node-RED.
Localization for Node-RED
Translate Markdown and JSON with Ace Data Cloud Localization in a Node-RED flow.
Install
Search for @acedatacloud/node-red-localization in Manage palette โ Install. Alternatively, run npm install @acedatacloud/node-red-localization in the Node-RED user directory and restart it. Use Node.js 22 or later with Node-RED 4 or 5.
Translate a document
- Import Translate Markdown from Import โ Examples โ @acedatacloud/node-red-localization.
- In Localization translate, configure an application token with access to Localization. Copy the raw token from Ace Data Cloud Applications. Node-RED stores the token as a password credential outside the exported flow.
- Deploy the flow and click the Inject button once. Each request may use Credits.
For Markdown, send {"input":"# Welcome","locale":"fr","extension":"md"} in msg.payload. For JSON, send {"input":{"hello":"Welcome"},"locale":"fr","extension":"json"}. The public API reference lists supported locales and the optional model.
The node returns the response in msg.payload, with translated content in msg.payload.data. Connect a Catch node to route HTTP, request, or format errors. Each input sends one request.