@acedatacloud/node-red-localization 1.0.0

Translate Markdown and JSON into a target language with Ace Data Cloud Localization in Node-RED.

npm install @acedatacloud/node-red-localization

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

  1. Import Translate Markdown from Import โ†’ Examples โ†’ @acedatacloud/node-red-localization.
  2. 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.
  3. 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.

Public OpenAPI ยท Localization guide

Node Info

Version: 1.0.0
Updated 4 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • acedatacloud-localization-account
  • acedatacloud-localization-translate

Keywords

  • node-red
  • localization
  • translation
  • acedatacloud

Maintainers