diff --git a/README.md b/README.md index 236f738..2b3272b 100644 --- a/README.md +++ b/README.md @@ -1,81 +1,26 @@ -ComfyUI-SimpleGoogleTranslate - -A lightweight text-translation node for ComfyUI. -It provides an easy way to translate any text inside your workflow using Google Translate (googletrans). -Useful for prompt translation, multilingual workflows, script generation, and automations. - -โจ Features - -Translate text directly inside ComfyUI - -Supports all languages available in googletrans - -Automatic source language detection (auto) - -Very small & fast โ no API keys, no external setup - -Ideal for: - -translating prompts - -converting captions into another language - -combining with text-processing nodes - -workflows that require multilingual output - -๐ฆ Installation - -Clone this repository into your ComfyUI custom_nodes directory: - -cd ComfyUI/custom_nodes -git clone https://github.com/yourusername/ComfyUI-SimpleGoogleTranslate.git - - -Install dependency: - -pip install googletrans==4.0.0-rc1 - - -Restart ComfyUI. - -๐งฉ Node Description +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 +googletrans library.source_lang to auto.googletrans.LANGUAGES.source_lang: original language (or auto)target_lang: translation output languagetext: content to translatetranslated (STRING): translated textClone or copy this folder into your ComfyUI custom_nodes directory:
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-rc1This package will auto-install when ComfyUI loads the extension, as long as your folder contains:
+requirements.txt -Output: - -Output Type Description -translated STRING Translated result -๐ Repository Structure -ComfyUI-SimpleGoogleTranslate/ +๐ File Structure +ComfyUI_SimpleGoogleTranslate/ โ -โโโ simple_google_translate.py โโโ __init__.py -โโโ requirements.txt -โโโ README.md +โโโ simple_google_translate.py +โโโ requirements.txt -๐ Requirements - -ComfyUI - -googletrans==4.0.0-rc1 - -โ๏ธ Notes - -googletrans ใฏ API ใญใผไธ่ฆใงไฝฟใใพใใใGoogle ๅดใฎไปๆงๅคๆดใซใใไธๆ็ใซไธๅฎๅฎใซใชใใใจใใใใพใใใใฎๅ ดๅใฏๅ่ฉฆ่กใใฆใใ ใใใ - -ใใผใใฏ utils/Text ใซใใดใชใซ่ฟฝๅ ใใใพใใ - -๐ธ Example - -๏ผใใชใใ่ฒผใฃใฆใใใในใฏใทใงใฎใใใซใ็ฟป่จณๅๅพใ Show Text ใงใคใชใใ็ปๅใๆฎใใพใใ๏ผ - -๐ License - -Free to use, modify, and include in any workflow. - -Happy translating! +๐ Example Workflow +
googletrans, an unofficial Google Translate API.Free to use, modify, and integrate into your own projects. Attribution is not required but appreciated. ๐