NiuTrans · emploidai Marketplace
emploidai Marketplace
Add-onsAppletsPlugins
Search tools, teams, and capabilitiesPublish
MarketplacePluginsNiuTrans
Plugin
Limited listing

NiuTrans

by jingfelix · v0.1.0

Text translation using NiuTrans API

136 installsUpdated Jul 29, 2025
Publisher information is incomplete

This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.

Capabilities

Tools

Available inside your emploidai workspace after installation.

Data sources

Available inside your emploidai workspace after installation.

Category

tool

Version

0.1.0jingfelix

Requirements

Maximum memory 256MB

Pricing

Not disclosed by publisher

Security & access

Review before installing

CompatibleRequires emploidai 1.0.0+

Permissions

  • Requires encrypted tool credentials

Dependencies

No additional dependencies

Resources

Privacy policy
emploidai Marketplace

Discover capabilities. Review access. Install inside your workspace.

DocumentationSecuritySupportPrivacyTerms

dify-plugin-niutrans

Author: jingfelix

Version: 0.1.0

Type: tool

Description

This plugin integrates with the NiuTrans API to provide high-quality text translation services. It supports translating text between various languages, offering automatic source language detection when the source language is not specified.

Tool: translate_text

Functionality:

The translate_text tool translates input text from a source language to a target language using the NiuTrans API.

Parameters:

  • text (string, required): The text content to be translated.
  • from_language (string, optional, default: "auto"): Source language code (e.g., en, zh, ja). If set to "auto", the plugin will auto-detect the source language.
  • to_language (string, required): Target language code (e.g., en, zh, ja).

Return Values: The tool returns a generator that yields:

  1. json: A dictionary with the following keys:
    • translated_text (string): The translated text.
    • source_language (string): The detected or specified source language code.
    • target_language (string): The specified target language code.
    • original_text (string): The original input text.
    • error_code (string): Error code if the translation fails (empty string if successful).
    • error_msg (string): Error message if the translation fails (empty string if successful).
  2. text: The translated text string.

Setup

  1. To use this plugin, you need to set up the NiuTrans API key. You can get your API key from the NiuTrans website at https://niutrans.com/cloud/api/list .

  2. Fill in the APPID and APIKEY in the plugin's configuration page.

  3. Enjoy using the plugin for text translation!



Privacy Policy

Please refer to the Privacy Policy for details on data collection, processing, and user rights.