887e28acb24b83fba508dcd8d2eb9dc0c3774af6
SimpleGoogleTranslate for ComfyUI
A minimal and easy-to-use Google Translate text node for ComfyUI. This extension provides a simple interface to translate text directly inside your workflow using Google Translate.
🌟 Features- Lightweight & Simple: Only one node — clean and easy to use.
- Google Translate API (unofficial): Uses the
googletranslibrary. - Automatic Language Detection: Set
source_langtoauto. - Full Language List Support: All languages supported by
googletrans.LANGUAGES. - Multiline Input: Ideal for prompts, captions, or large text blocks.
- Inputs:
source_lang: original language (orauto)target_lang: translation output languagetext: content to translate
- Outputs:
translated(STRING): translated text
-
Clone or copy this folder into your ComfyUI
custom_nodesdirectory:cd ComfyUI/custom_nodes
git clone https://github.com/yourname/ComfyUI-SimpleGoogleTranslate.git -
Or manually create the folder:
ComfyUI/custom_nodes/ComfyUI_SimpleGoogleTranslate/ -
Restart ComfyUI
googletrans==4.0.0-rc1
This package will auto-install when ComfyUI loads the extension, as long as your folder contains:
requirements.txt📁 File Structure
ComfyUI_SimpleGoogleTranslate/
│
├── __init__.py
├── simple_google_translate.py
└── requirements.txt
📝 Example Workflow
⚠️ Notes- This extension uses
googletrans, an unofficial Google Translate API. - If translation stops working, Google may have updated their service.
- For production use, consider official APIs such as DeepL or Google Cloud Translate.
Free to use, modify, and integrate into your own projects. Attribution is not required but appreciated. 🙂
Languages
Python
100%
