Files
AlekPet-ComfyUI_Custom_Node…/DeepLXTranslateNode
AlekPet 5dde5446c7 update deeplxtranslatenode
Add in config.json ability to disable nodes startup, property 'run_deeplx'
2025-05-07 10:44:37 +03:00
..
2025-04-12 20:14:05 +03:00
2025-05-07 10:44:37 +03:00
2025-05-07 10:44:37 +03:00

DeepLX nodes for ComfyUI, for translating prompts into other languages.

Powerful Free DeepL API, No Token Required. Used module DeepLX .

Languages supported:

List 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:

  1. Install my custom nodes in ComfyUI, used HERE
  2. Download zip archive Golang (programming language) from your system (Widnows, Linux ...) Download Golang
  3. Extract archive (inside archive folder go) in the folder \ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet\DeepLXTranslateNode
  4. Open shell in the folder \ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet\DeepLXTranslateNode and run command git clone https://github.com/OwO-Network/DeepLX (you need install Git if not exists Git)

Structure folders:

DeepLXTranslateNode structures folders

  1. Run comfyui (see note after) and add node DeepLXTranslateCLIPTextEncodeNode or DeepLXTranslateTextNode context menu in the category CONDITIONING.
  2. [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 line GOPROXY=https://proxy.golang.org,direct to GOPROXY=https://goproxy.cn,direct Thanks 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. You can also disable DeepLXTranslate nodes using the 'run_deeplx' property. 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": true
  }
}

Includes:

DeepLXTranslateCLIPTextEncodeNode - translate text, and return CONDITIONING

DeepLXTranslateTextNode - translate text and return text (STRING)

Image:

DeepLXTranslateNode