DeepLX nodes for ComfyUI, for translating prompts into other languages.
Powerful Free DeepL API, No Token Required. Used module DeepLX .
Languages supported:
Source Languages
- Arabic: AR
- Bulgarian: BG
- Czech: CS
- Danish: DA
- German: DE
- Greek: EL
- English: EN
- Spanish: ES
- Estonian: ET
- Finnish: FI
- French: FR
- Hungarian: HU
- Indonesian: ID
- Italian: IT
- Japanese: JA
- Korean: KO
- Lithuanian: LT
- Latvian: LV
- Norwegian Bokmål: NB
- Dutch: NL
- Polish: PL
- Portuguese: PT
- Romanian: RO
- Russian: RU
- Slovak: SK
- Slovenian: SL
- Swedish: SV
- Turkish: TR
- Ukrainian: UK
- Chinese: ZH
Target Languages
- Arabic: AR
- Bulgarian: BG
- Czech: CS
- Danish: DA
- German: DE
- Greek: EL
- English: EN
- English (British): EN-GB
- English (American): EN-US
- Spanish: ES
- Estonian: ET
- Finnish: FI
- French: FR
- Hungarian: HU
- Indonesian: ID
- Italian: IT
- Japanese: JA
- Korean: KO
- Lithuanian: LT
- Latvian: LV
- Norwegian Bokmål: NB
- Dutch: NL
- Polish: PL
- Portuguese: PT
- Portuguese (Brazilian): PT-BR
- Portuguese (all Portuguese variants excluding Brazilian Portuguese): PT-PT
- Romanian: RO
- Russian: RU
- Slovak: SK
- Slovenian: SL
- Swedish: SV
- Turkish: TR
- Ukrainian: UK
- Chinese (simplified): ZH-HANS
- Chinese (traditional): ZH-HANT
Autoinstaller
Golang (Go) and DeepLX installation occurs automatically if the Go or DeepLX directory is missing.
You can also call the automatic installer by running shell run_install_deeplx_windows.cmd or run_install_deeplx_linux.sh for your platform.
Note: If you encounter any problems, you can use manual installation.
Manual install and use:
- Install my custom nodes in ComfyUI, used HERE
- Download zip archive Golang (programming language) from your system (Widnows, Linux ...) Download Golang
- Extract archive (inside archive folder
go) in the folder\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet\DeepLXTranslateNode - Open shell in the folder
\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet\DeepLXTranslateNodeand run commandgit clone https://github.com/OwO-Network/DeepLX(you need install Git if not exists Git)
Structure folders:
- Run comfyui (see note after) and add node
DeepLXTranslateCLIPTextEncodeNodeorDeepLXTranslateTextNodecontext menu in the categoryCONDITIONING. - [Optional] If you are in CH, you need in the
\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet\DeepLXTranslateNode\go, edit file go.env, modify this lineGOPROXY=https://proxy.golang.org,directtoGOPROXY=https://goproxy.cn,directThanks tongpeng1988 .
Note: The first launch may fail, Golang is installing packages for DeepLX, just restart ComfyUI!
Note
On first launch, a config.json file will be created where you can specify the initial values from which language to translate and to which language.
Warning: DeepLX nodes are disabled by default. At the moment, the DeepLX module is not working and the executable file is being compiled. Use at your own risk.
If you still want to use these nodes, change the "run_deeplx" parameter to true in config.js.
Default config.json values:
{
"settings": {
"__commnet": "Please check the list of available languages before specifying, especially target_lang! Property run_deeplx disable DeepLXTranslate nodes. See README file",
"source_lang": "Russian",
"target_lang": "English",
"run_deeplx": false
}
}
Includes:
DeepLXTranslateCLIPTextEncodeNode - translate text, and return CONDITIONING
DeepLXTranslateTextNode - translate text and return text (STRING)

