JasonSmithSO's picture
Upload 211 files
af12fb4 verified

AIGODLIKE-ComfyUI-Translation

A plugin for multilingual translation of ComfyUI๏ผŒThis plugin implements translation of resident menu bar/search bar/right-click context menu/node, etc

ComfyUI users in other languages, I need your help

I hope ComfyUI can support more languages besides Chinese and English, such as French, German, Japanese, Korean, etc. However, I believe that translation should be done by native speakers of each language. So I need your help, let's go fight for ComfyUI together!

[Korean] Korean translation needs help~

[Japanese] Japanese translation needs help~

Language supported

COMFYUI Translation ็ฎ€ไฝ“ไธญๆ–‡ ็น้ซ”ไธญๆ–‡ English ๆ—ฅๆœฌ่ชž ํ•œ๊ตญ์–ด ะ ัƒััะบะธะน Your language
Menu โˆš โˆš โˆš โˆš โˆš โˆš TODO
NodeCategory โˆš โˆš โˆš โˆš โˆš โˆš TODO
Nodes โˆš โˆš โˆš โˆš โˆš โˆš TODO

Function

  1. Translate all UI of ComfyUI image image image
  2. Direct language switching (limitation: custom names will be removed) https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/e43182b7-8932-4358-bc65-ade7bddf27c5
  3. Support for adding other languages
  4. Support translation custom nodes
  5. (2023/8/16) Support one-click switching between English/currently set language
  6. (2023/8/19) Support for multilingual translation of custom nodes * (in production)
Custom Node Name ็ฎ€ไธญ ็นไธญ English ๆ—ฅๆœฌ่ชž ํ•œ๊ตญ์–ด ะ ัƒััะบะธะน
3D-Pack โˆš TODO โˆš TODO TODO TODO
Advanced Encode โˆš โˆš โˆš TODO TODO TODO
Advanced ControlNet โˆš โˆš โˆš TODO TODO TODO
AGL-ComfyUI-Translation โˆš โˆš โˆš โˆš TODO TODO
AlekPet Nodes โˆš โˆš โˆš โˆš TODO TODO
AnimateAnyone โˆš TODO โˆš TODO TODO TODO
AnimateDiff โˆš โˆš โˆš โˆš TODO TODO
AnimateDiff-Evolved โˆš โˆš โˆš TODO TODO TODO
AnyLine โˆš TODO โˆš TODO TODO TODO
Automatic CFG โˆš TODO โˆš TODO TODO TODO
BiRefNet โˆš TODO โˆš TODO TODO TODO
BrushNet (kijai) โˆš TODO โˆš TODO TODO TODO
BrushNet (nullquant) โˆš TODO โˆš TODO TODO TODO
CCSR โˆš TODO โˆš TODO TODO TODO
Champ โˆš TODO โˆš TODO TODO TODO
CLIP Seg โˆš โˆš โˆš โˆš TODO TODO
ComfyRoll โˆš โˆš โˆš TODO TODO TODO
ControlNet LLLite โˆš โˆš โˆš TODO TODO TODO
ControlNet Preprocessors โˆš โˆš โˆš โˆš TODO TODO
ControlNet Preprocessors AUX โˆš โˆš โˆš โˆš TODO TODO
Crystools โˆš TODO โˆš TODO TODO โˆš
Cutoff โˆš โˆš โˆš โˆš TODO TODO
Custom-Scripts โˆš โˆš โˆš TODO TODO TODO
cg-use-everywhere โˆš TODO โˆš TODO TODO TODO
cg-image-picker โˆš TODO โˆš TODO TODO TODO
Davemane42 Nodes โˆš โˆš โˆš โˆš TODO TODO
Dagthomas Nodes โˆš โˆš โˆš โˆš TODO TODO
DynamiCrafter (kijai) โˆš TODO โˆš TODO TODO TODO
DynamiCrafter (ExponentialML) โˆš TODO โˆš TODO TODO TODO
Dynamic Thresholding โˆš โˆš โˆš TODO TODO TODO
Easy Animate โˆš TODO โˆš TODO TODO TODO
Easy Tools โˆš TODO โˆš TODO TODO TODO
Easy Use โˆš TODO โˆš TODO TODO TODO
Efficiency Nodes โˆš โˆš โˆš โˆš TODO TODO
ELLA(ExponentialML) โˆš TODO โˆš TODO TODO TODO
ELLA(Tencent) โˆš TODO โˆš TODO TODO TODO
EllangoK Postprocessing โˆš โˆš โˆš TODO TODO TODO
Essentials โˆš TODO โˆš TODO TODO TODO
ExLlama nodes โˆš โˆš โˆš TODO TODO TODO
experiments โˆš โˆš โˆš TODO TODO TODO
Face Analysis โˆš TODO โˆš TODO TODO TODO
Fast Decode โˆš โˆš โˆš โˆš TODO TODO
Flowty CRM โˆš TODO โˆš TODO TODO TODO
Flowty TripoSR โˆš TODO โˆš TODO TODO TODO
Frame Interpolation โˆš TODO โˆš TODO TODO TODO
FreeU Advanced โˆš TODO โˆš TODO TODO TODO
IC-Light (kijai) โˆš TODO โˆš TODO TODO TODO
IC-Light-Wrapper (kijai) โˆš TODO โˆš TODO TODO TODO
IF AI tools โˆš TODO โˆš TODO TODO TODO
Image Resize โˆš TODO โˆš TODO TODO TODO
Instant Mesh โˆš TODO โˆš TODO TODO TODO
IPAdapter โˆš โˆš โˆš TODO TODO TODO
IPAdapter_plus โˆš โˆš โˆš TODO TODO TODO
Image Grid โˆš โˆš โˆš TODO TODO TODO
Impact Pack โˆš โˆš โˆš TODO TODO TODO
Impact Subpack โˆš โˆš โˆš TODO TODO TODO
Inpaint Nodes โˆš TODO โˆš TODO TODO TODO
Inspire Pack โˆš โˆš โˆš TODO TODO TODO
InstantID (cubiq) โˆš TODO โˆš TODO TODO TODO
InstantID (ZHO) โˆš TODO โˆš TODO TODO TODO
KJ Nodes โˆš TODO โˆš TODO TODO TODO
kkTranslator โˆš TODO โˆš TODO TODO TODO
LaMa Preprocessor โˆš TODO โˆš TODO TODO TODO
Latent2RGB โˆš โˆš โˆš โˆš TODO TODO
LayerDiffuse โˆš TODO โˆš TODO TODO TODO
LayerStyle โˆš TODO โˆš TODO TODO TODO
LCM โˆš TODO โˆš TODO TODO TODO
Literals โˆš TODO โˆš TODO TODO TODO
LoadLoraWithTags โˆš TODO โˆš TODO TODO TODO
Logic โˆš TODO โˆš TODO TODO TODO
LoraAutoTrigger โˆš TODO โˆš TODO TODO TODO
MagicClothing โˆš TODO โˆš TODO TODO TODO
Manager โˆš โˆš โˆš TODO TODO โˆš
Marigold โˆš TODO โˆš TODO TODO TODO
Masquerade Nodes โˆš โˆš โˆš TODO TODO TODO
Math โˆš TODO โˆš TODO TODO TODO
Mixlab Nodes โˆš TODO โˆš TODO TODO TODO
MoonDream โˆš TODO โˆš TODO TODO TODO
MotionCtrl โˆš TODO โˆš TODO TODO TODO
MotionCtrl-SVD โˆš TODO โˆš TODO TODO TODO
MTB โˆš TODO โˆš TODO TODO TODO
Noise โˆš โˆš โˆš TODO TODO TODO
NormalLighting โˆš TODO โˆš TODO TODO TODO
Perturbed-Attention โˆš TODO โˆš TODO TODO TODO
Portrai Master โˆš TODO โˆš TODO TODO TODO
Power Noise Suite โˆš TODO โˆš TODO TODO TODO
Prompt Composer โˆš TODO โˆš TODO TODO TODO
Prompt MZ โˆš TODO โˆš TODO TODO TODO
Prompt Reader โˆš TODO โˆš TODO TODO TODO
PuLID (cubiq) โˆš TODO โˆš TODO TODO TODO
QR โˆš โˆš โˆš TODO TODO TODO
OneButtonPrompt โˆš TODO โˆš TODO TODO TODO
ReActor โˆš TODO โˆš TODO TODO TODO
ResAdapter โˆš TODO โˆš TODO TODO TODO
Restart-Sampling โˆš โˆš โˆš TODO TODO TODO
Roop โˆš TODO โˆš TODO TODO TODO
rgthree โˆš TODO โˆš TODO TODO TODO
SD-Latent-Interposer โˆš TODO โˆš TODO TODO TODO
SDXL_prompt_styler โˆš โˆš โˆš TODO TODO TODO
SeargeSDXL โˆš โˆš โˆš TODO TODO TODO
Segment Anything โˆš TODO โˆš TODO TODO TODO
StabilityNodes โˆš โˆš โˆš TODO TODO TODO
SUPIR โˆš TODO โˆš TODO TODO TODO
TiledDiffusion โˆš TODO โˆš TODO TODO TODO
TiledKSampler โˆš โˆš โˆš โˆš TODO TODO
TinyTerra โˆš TODO โˆš TODO TODO TODO
ToonCrafter โˆš TODO โˆš TODO TODO TODO
TripoAPI โˆš TODO โˆš TODO TODO TODO
UltimateSDUpscale โˆš โˆš โˆš TODO TODO TODO
Vextra Nodes โˆš โˆš โˆš TODO TODO TODO
Video Matting โˆš TODO โˆš TODO TODO TODO
Visual Style Prompting โˆš TODO โˆš TODO TODO TODO
VLM Nodes โˆš TODO โˆš TODO TODO TODO
WAS Suite โˆš โˆš โˆš TODO TODO TODO
WD14-Tagger โˆš โˆš โˆš TODO TODO TODO
zfkun โˆš TODO โˆš TODO TODO TODO

The above only includes translations for the UI. If you are a developer and need me to help you translate your interface, you can go directly to the ComfyUI Plugins List to add your custom node project, or send an issue, as long as I can see it, I will translate it (it will take some time)

How to install

AIGODLIKE-COMFYUI-TRANSLATION is equivalent to a custom node, you can use any method you like, just put it in folder custom_nodes Then run:

cd ComfyUI/custom_nodes
git clone https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION.git

image

How to use

Launch ComfyUI and open the menu. Click on the language option to switch languages. image

How to add other languages๏ผˆtranslator๏ผ‰

  1. Create a new 'Language Name' folder in the plugin directory (e.g. example folder) image

  2. Find the LocaleMap.js file and add the language code with the same name as the first step folder in it image

    export const LOCALES = {
        "zh-CN": {
            "nativeName": "ไธญๆ–‡",
            "englishName": "Chinese Simplified"
        },
        "en-US": {
            "nativeName": "English (US)",
            "englishName": "English (US)"                    
        },
        "example": {
            "nativeName": "exampleDisplayName",
            "englishName": "enName"
        },
    }
    
  3. After completing the above two steps, restart the ComfyUI service to find the 'exampleDisplayName' language type in the 'AGLTranslation language' settings bar image

How to add custom node translations๏ผˆtranslator๏ผ‰

  1. Translation files are currently divided into three types
    1. Node information translation (including node name, node connector, node component) corresponding translation file Your language folder/Nodes/somenode.json
    2. Node classification information (used for right-click the new node menu) corresponds to the translation file Your language folder/NodeCategory.json
    3. Menu information (including resident menu, settings panel, right-click context menu, search menu, etc.) corresponds to translated files Your language folder/Menu.json
  2. Node information translation can be placed in multiple JSON files under 'Your language folder/Nodes/' based on different nodes
  3. All translation files are in JSON format, please fill in strictly according to the JSON file format

Translation examples

  1. Node Translation Format
    {
        "KSampler": {
            "title": "KSampler[example translation]",
            "inputs": {
                "model": "ๆจกๅž‹",
                "positive": "ๆญฃๅ‘ๆ็คบ่ฏ",
                "negative": "ๅๅ‘ๆ็คบ่ฏ",
                "latent_image": "ๆฝœ็ฉบ้—ด"
            },
            "widgets": {
                "seed": "้šๆœบ็ง",
                "control_after_generate": "่ฟ่กŒๅŽๆ“ไฝœ",
                "steps": "ๆญฅๆ•ฐ",
                "cfg": "CFG",
                "sampler_name": "้‡‡ๆ ทๅ™จ",
                "scheduler": "่ฐƒๅบฆๅ™จ",
                "denoise": "้™ๅ™ช"
            },
            "outputs": {
                "LATENT": "ๆฝœ็ฉบ้—ด",
            }
        },
        "Load VAE": {}
    }
    
  2. Node classification translation format
    {
        "Add Node": "Add Node[example]",
        "Add Group": "Add Group[example]",
        "Search": "Search[example]",
        "Queue size:": "Queue size[example]:",
        "Queue Prompt": "Queue Prompt[example]",
        "Extra options": "Extra options[example]"
    }
    
  3. Menu information translation format
    {
        "conditioning": "conditioning[example]",
        "latent": "latent[example]",
        "loaders": "loaders[example]",
        "image": "image[example]"
    }
    

Limitations

  1. Supports direct switching of any language node to the target language, but will lose custom names
  2. A small portion of options that use Enum type data cannot be translated image