# AIGODLIKE-COMFYUI-TRANSLATION **Repository Path**: xeval/AIGODLIKE-COMFYUI-TRANSLATION ## Basic Information - **Project Name**: AIGODLIKE-COMFYUI-TRANSLATION - **Description**: clone from https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2023-08-18 - **Last Updated**: 2023-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AIGODLIKE-ComfyUI-Translation A plugin for multilingual translation of [ComfyUI](https://github.com/comfyanonymous/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|zh-CN简体中文|zh-TW繁體中文|English|Japanese日本語|Korean한국어|Your language| |:----|:----|:----|:----|:----|:----|:----| |Menu|√|√|√|√|√|TODO| |NodeCategory|√|√|√|√|TODO|TODO| |Nodes|√|√|√|√|TODO|TODO| ## Function 1. Translate all UI of ComfyUI ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/323f3f84-e9c0-421e-9089-470e5a5ac350) ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/620d274a-3fb5-430e-8584-2705e9fbeb4c) ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/ab711245-c4f0-43ec-b22b-7191bbd66e40) 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|zh-CN|zh-TW|English|Japanese|Korean| |:----|:----|:----|:----|:----|:----| |[Advanced Encode](https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb)|√|√|√|TODO| |[Advanced ControlNet](https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet)|√|√|√|TODO|TODO| |[AGL-ComfyUI-Translation](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION)|√|√|√|√|TODO| |[AlekPet Nodes](https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet)|√|√|√|√|TODO| |[AnimateDiff](https://github.com/ArtVentureX/comfyui-animatediff)|√|√|√|√|TODO| |[AnimateDiff-Evolved](https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved.git)|√|√|√|TODO|TODO| |[CLIP Seg](https://github.com/biegert/ComfyUI-CLIPSeg)|√|√|√|√|TODO| |[ComfyRoll](https://github.com/RockOfFire/ComfyUI_Comfyroll_CustomNodes)|√|√|√|TODO|TODO| |[ControlNet LLLite](https://github.com/kohya-ss/ControlNet-LLLite-ComfyUI)|√|√|√|TODO|TODO| |[ControlNet Preprocessors](https://github.com/Fannovel16/comfy_controlnet_preprocessors)|√|√|√|√|TODO| |[ControlNet Preprocessors AUX](https://github.com/Fannovel16/comfyui_controlnet_aux)|√|√|√|√|TODO| |[Cutoff](https://github.com/BlenderNeko/ComfyUI_Cutoff)|√|√|√|√|TODO| |[Custom-Scripts](https://github.com/pythongosssss/ComfyUI-Custom-Scripts)|√|√|√|TODO|TODO| |[Davemane42 Nodes](https://github.com/Davemane42/ComfyUI_Dave_CustomNode)|√|√|√|√|TODO| |[Dagthomas Nodes](https://github.com/dagthomas/comfyui_dagthomas)|√|√|√|√|TODO| |[Dynamic Thresholding](https://github.com/mcmonkeyprojects/sd-dynamic-thresholding)|√|√|√|TODO|TODO| |[Efficiency Nodes](https://github.com/LucianoCirino/efficiency-nodes-comfyui)|√|√|√|√|TODO| |[EllangoK Postprocessing](https://github.com/EllangoK/ComfyUI-post-processing-nodes)|√|√|√|TODO|TODO| |[ExLlama nodes](https://github.com/Zuellni/ComfyUI-ExLlama-Nodes)|√|√|√|TODO|TODO| |[experiments](https://github.com/comfyanonymous/ComfyUI_experiments)|√|√|√|TODO|TODO| |[Fast Decode](https://github.com/nagolinc/ComfyUI_FastVAEDecorder_SDXL)|√|√|√|√|TODO| |[IPAdapter](https://github.com/laksjdjf/IPAdapter-ComfyUI)|√|√|√|TODO|TODO| |[IPAdapter_plus](https://github.com/cubiq/ComfyUI_IPAdapter_plus)|√|√|√|TODO|TODO| |[Image Grid](https://github.com/LEv145/images-grid-comfy-plugin)|√|√|√|TODO|TODO| |[Impact Pack](https://github.com/ltdrdata/ComfyUI-Impact-Pack)|√|√|√|TODO|TODO| |[Impact Subpack](https://github.com/ltdrdata/ComfyUI-Impact-Subpack)|√|√|√|TODO|TODO| |[Inspire Pack](https://github.com/ltdrdata/ComfyUI-Inspire-Pack)|√|√|√|TODO|TODO| |[Latent2RGB](https://github.com/bvhari/ComfyUI_LatentToRGB)|√|√|√|√|TODO| |[Manager](https://github.com/ltdrdata/ComfyUI-Manager)|√|√|√|TODO|TODO| |[Masquerade Nodes](https://github.com/BadCafeCode/masquerade-nodes-comfyui)|√|√|√|TODO|TODO| |[Noise](https://github.com/BlenderNeko/ComfyUI_Noise)|√|√|√|TODO|TODO| |[QR](https://github.com/coreyryanhanson/comfy-qr)|√|√|√|TODO|TODO| |[Restart-Sampling](https://github.com/ssitu/ComfyUI_restart_sampling)|√|√|√|TODO|TODO| |[SDXL_prompt_styler](https://github.com/twri/sdxl_prompt_styler.git)|√|√|√|TODO|TODO| |[SeargeSDXL](https://github.com/SeargeDP/SeargeSDXL)|√|√|√|TODO|TODO| |[StabilityNodes](https://github.com/Stability-AI/stability-ComfyUI-nodes)|√|√|√|TODO|TODO| |[TiledKSampler](https://github.com/BlenderNeko/ComfyUI_TiledKSampler)|√|√|√|√|TODO| |[UltimateSDUpscale](https://github.com/ssitu/ComfyUI_UltimateSDUpscale)|√|√|√|TODO|TODO| |[Vextra Nodes](https://github.com/diontimmer/ComfyUI-Vextra-Nodes)|√|√|√|TODO|TODO| |[WAS Suite](https://github.com/WASasquatch/was-node-suite-comfyui)|√|√|√|TODO|TODO| |[WD14-Tagger](https://github.com/pythongosssss/ComfyUI-WD14-Tagger)|√|√|√|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](https://github.com/WASasquatch/comfyui-plugins) 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: ```sh cd ComfyUI/custom_nodes git clone https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION.git ``` ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/44de967d-2611-4f07-a795-9b28169d51f5) ## How to use Launch ComfyUI and open the menu. Click on the language option to switch languages. ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/74d184ac-e7ef-4059-bd5e-dfb6fd4a64ac) ## How to add other languages(translator) 1. Create a new 'Language Name' folder in the plugin directory (e.g. example folder) ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/1288e2ca-aef2-4810-a718-2458261d9153) 2. Find the LocaleMap.js file and add the language code with the same name as the first step folder in it ![image](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/443f36f7-aeaf-4359-b55c-a6287d3ad1ef) ```js 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](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/f3ea8ab6-8626-4470-a6e0-d8eee50358aa) ## 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` 2. 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 ```json { "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 ```json { "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 ```json { "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](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION/assets/116185401/b9684863-4342-4cc8-a790-efd44d792c95)