ComfyUI > Nodes > ComfyUI_Text_Translation > Text Translation

ComfyUI Node: Text Translation

Class Name

Text_Translation

Category
Text Translation
Author
TFL-TFL (Account age: 2213days)
Extension
ComfyUI_Text_Translation
Latest Updated
2025-05-25
Github Stars
0.12K

How to Install ComfyUI_Text_Translation

Install this extension via the ComfyUI Manager by searching for ComfyUI_Text_Translation
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Text_Translation in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Text Translation Description

Facilitates multilingual text translation using various services for seamless and efficient use.

Text Translation:

The Text_Translation node is designed to facilitate the translation of text from one language to another, leveraging a variety of translation services. This node is particularly beneficial for AI artists and creators who work with multilingual content, allowing them to seamlessly translate text without needing to manually switch between different translation platforms. By integrating multiple translation services, the node provides flexibility and choice, enabling users to select the most suitable service for their specific needs. The primary goal of this node is to streamline the translation process, making it more efficient and accessible for users who may not have a technical background.

Text Translation Input Parameters:

trans_switch

The trans_switch parameter is a boolean toggle that determines whether the translation functionality is active. When set to True, the node will perform the translation using the specified settings; when set to False, the node will simply return the input text without any translation. This parameter allows users to easily enable or disable translation as needed, providing flexibility in workflow management. The default value is True.

trans_text

The trans_text parameter is a string input that accepts the text you wish to translate. This parameter supports multiline text, allowing for the translation of longer passages or documents. The content of this parameter directly influences the output, as it is the text that will be processed by the translation service.

Text Translation Output Parameters:

string

The string output parameter provides the translated text if the trans_switch is enabled, or the original input text if the translation is disabled. This output is crucial for users who need to obtain the final translated content for further use in their projects. The output reflects the effectiveness of the translation service selected and the accuracy of the language conversion.

Text Translation Usage Tips:

  • Ensure that the trans_switch is set to True when you want to perform translations, and switch it to False if you only need to pass the text through without changes.
  • Choose the appropriate translation service based on your specific language needs and the quality of translation required. Some services may offer better translations for certain language pairs.

Text Translation Common Errors and Solutions:

Translation service not responding

  • Explanation: This error may occur if the selected translation service is temporarily unavailable or experiencing connectivity issues.
  • Solution: Try switching to a different translation service or check your internet connection to ensure it is stable.

Unsupported language pair

  • Explanation: The selected translation service may not support the specific language pair you are trying to translate.
  • Solution: Verify the language pair compatibility with the chosen service and consider selecting a different service that supports your desired languages.

Text Translation Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Text_Translation
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Text Translation