File size: 17,936 Bytes
af12fb4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
# 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|็ฎ€ไฝ“ไธญๆ–‡|็น้ซ”ไธญๆ–‡|English|ๆ—ฅๆœฌ่ชž|ํ•œ๊ตญ์–ด|ะ ัƒััะบะธะน|Your language|
|:----|:----|:----|:----|:----|:----|:----|:----|
|Menu|โˆš|โˆš|โˆš|โˆš|โˆš|โˆš|TODO|
|NodeCategory|โˆš|โˆš|โˆš|โˆš|โˆš|โˆš|TODO|
|Nodes|โˆš|โˆš|โˆš|โˆš|โˆš|โˆš|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|็ฎ€ไธญ|็นไธญ|English|ๆ—ฅๆœฌ่ชž|ํ•œ๊ตญ์–ด|ะ ัƒััะบะธะน|
|:----|:----|:----|:----|:----|:----|:----|
|[3D-Pack](https://github.com/MrForExample/ComfyUI-3D-Pack)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Advanced Encode](https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Advanced ControlNet](https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[AGL-ComfyUI-Translation](https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[AlekPet Nodes](https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[AnimateAnyone](https://github.com/MrForExample/ComfyUI-AnimateAnyone-Evolved.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[AnimateDiff](https://github.com/ArtVentureX/comfyui-animatediff)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[AnimateDiff-Evolved](https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved.git)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[AnyLine](https://github.com/TheMistoAI/ComfyUI-Anyline.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Automatic CFG](https://github.com/Extraltodeus/ComfyUI-AutomaticCFG.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[BiRefNet](https://github.com/viperyl/ComfyUI-BiRefNet.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[BrushNet (kijai)](https://github.com/kijai/ComfyUI-BrushNet-Wrapper.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[BrushNet (nullquant)](https://github.com/nullquant/ComfyUI-BrushNet.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[CCSR](https://github.com/kijai/ComfyUI-CCSR.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Champ](https://github.com/chaojie/ComfyUI-Champ.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[CLIP Seg](https://github.com/biegert/ComfyUI-CLIPSeg)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[ComfyRoll](https://github.com/RockOfFire/ComfyUI_Comfyroll_CustomNodes)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[ControlNet LLLite](https://github.com/kohya-ss/ControlNet-LLLite-ComfyUI)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[ControlNet Preprocessors](https://github.com/Fannovel16/comfy_controlnet_preprocessors)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[ControlNet Preprocessors AUX](https://github.com/Fannovel16/comfyui_controlnet_aux)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[Crystools](https://github.com/crystian/ComfyUI-Crystools.git)|โˆš|TODO|โˆš|TODO|TODO|โˆš|
|[Cutoff](https://github.com/BlenderNeko/ComfyUI_Cutoff)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[Custom-Scripts](https://github.com/pythongosssss/ComfyUI-Custom-Scripts)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[cg-use-everywhere](https://github.com/chrisgoringe/cg-use-everywhere.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[cg-image-picker](https://github.com/chrisgoringe/cg-image-picker.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Davemane42 Nodes](https://github.com/Davemane42/ComfyUI_Dave_CustomNode)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[Dagthomas Nodes](https://github.com/dagthomas/comfyui_dagthomas)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[DynamiCrafter (kijai)](https://github.com/kijai/ComfyUI-DynamiCrafterWrapper.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[DynamiCrafter (ExponentialML)](https://github.com/ExponentialML/ComfyUI_Native_DynamiCrafter.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Dynamic Thresholding](https://github.com/mcmonkeyprojects/sd-dynamic-thresholding)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Easy Animate](https://github.com/chaojie/ComfyUI-EasyAnimate.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Easy Tools](https://github.com/jafshare/ComfyUI-Easy-Tools)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Easy Use](https://github.com/yolain/ComfyUI-Easy-Use)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Efficiency Nodes](https://github.com/LucianoCirino/efficiency-nodes-comfyui)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[ELLA(ExponentialML)](https://github.com/ExponentialML/ComfyUI_ELLA.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[ELLA(Tencent)](https://github.com/TencentQQGYLab/ComfyUI-ELLA.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[EllangoK Postprocessing](https://github.com/EllangoK/ComfyUI-post-processing-nodes)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Essentials](https://github.com/cubiq/ComfyUI_essentials.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[ExLlama nodes](https://github.com/Zuellni/ComfyUI-ExLlama-Nodes)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[experiments](https://github.com/comfyanonymous/ComfyUI_experiments)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Face Analysis](https://github.com/cubiq/ComfyUI_FaceAnalysis.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Fast Decode](https://github.com/nagolinc/ComfyUI_FastVAEDecorder_SDXL)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[Flowty CRM](https://github.com/flowtyone/ComfyUI-Flowty-CRM.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Flowty TripoSR](https://github.com/flowtyone/ComfyUI-Flowty-TripoSR.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Frame Interpolation](https://github.com/Fannovel16/ComfyUI-Frame-Interpolation.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[FreeU Advanced](https://github.com/WASasquatch/FreeU_Advanced)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[IC-Light (kijai)](https://github.com/kijai/ComfyUI-IC-Light.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[IC-Light-Wrapper (kijai)](https://github.com/kijai/ComfyUI-IC-Light-Wrapper.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[IF AI tools](https://github.com/if-ai/ComfyUI-IF_AI_tools.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Image Resize](https://github.com/palant/image-resize-comfyui.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Instant Mesh](https://github.com/jtydhr88/ComfyUI-InstantMesh.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[IPAdapter](https://github.com/laksjdjf/IPAdapter-ComfyUI)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[IPAdapter_plus](https://github.com/cubiq/ComfyUI_IPAdapter_plus)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Image Grid](https://github.com/LEv145/images-grid-comfy-plugin)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Impact Pack](https://github.com/ltdrdata/ComfyUI-Impact-Pack)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Impact Subpack](https://github.com/ltdrdata/ComfyUI-Impact-Subpack)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Inpaint Nodes](https://github.com/Acly/comfyui-inpaint-nodes.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Inspire Pack](https://github.com/ltdrdata/ComfyUI-Inspire-Pack)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[InstantID (cubiq)](https://github.com/cubiq/ComfyUI_InstantID.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[InstantID (ZHO)](https://github.com/ZHO-ZHO-ZHO/ComfyUI-InstantID.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[KJ Nodes](https://github.com/kijai/ComfyUI-KJNodes.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[kkTranslator](https://github.com/AIGCTeam/ComfyUI_kkTranslator_nodes.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[LaMa Preprocessor](https://github.com/mlinmg/ComfyUI-LaMA-Preprocessor)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Latent2RGB](https://github.com/bvhari/ComfyUI_LatentToRGB)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[LayerDiffuse](https://github.com/huchenlei/ComfyUI-layerdiffuse)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[LayerStyle](https://github.com/chflame163/ComfyUI_LayerStyle)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[LCM](https://github.com/0xbitches/ComfyUI-LCM)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Literals](https://github.com/M1kep/ComfyLiterals.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[LoadLoraWithTags](https://github.com/Extraltodeus/LoadLoraWithTags.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Logic](https://github.com/theUpsider/ComfyUI-Logic.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[LoraAutoTrigger](https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[MagicClothing](https://github.com/frankchieng/ComfyUI_MagicClothing.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Manager](https://github.com/ltdrdata/ComfyUI-Manager)|โˆš|โˆš|โˆš|TODO|TODO|โˆš|
|[Marigold](https://github.com/kijai/ComfyUI-Marigold.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Masquerade Nodes](https://github.com/BadCafeCode/masquerade-nodes-comfyui)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Math](https://github.com/evanspearman/ComfyMath.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Mixlab Nodes](https://github.com/shadowcz007/comfyui-mixlab-nodes.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[MoonDream](https://github.com/kijai/ComfyUI-moondream.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[MotionCtrl](https://github.com/chaojie/ComfyUI-MotionCtrl)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[MotionCtrl-SVD](https://github.com/chaojie/ComfyUI-MotionCtrl-SVD)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[MTB](https://github.com/melMass/comfy_mtb.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Noise](https://github.com/BlenderNeko/ComfyUI_Noise)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[NormalLighting](https://github.com/TJ16th/comfyUI_TJ_NormalLighting.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Perturbed-Attention](https://github.com/pamparamm/sd-perturbed-attention.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Portrai Master](https://github.com/florestefano1975/comfyui-portrait-master.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Power Noise Suite](https://github.com/WASasquatch/PowerNoiseSuite)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Prompt Composer](https://github.com/florestefano1975/comfyui-prompt-composer.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Prompt MZ](https://github.com/MinusZoneAI/ComfyUI-Prompt-MZ.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Prompt Reader](https://github.com/receyuki/comfyui-prompt-reader-node)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[PuLID (cubiq)](https://github.com/cubiq/PuLID_ComfyUI.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[QR](https://github.com/coreyryanhanson/comfy-qr)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[OneButtonPrompt](https://github.com/AIrjen/OneButtonPrompt)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[ReActor](https://github.com/Gourieff/comfyui-reactor-node)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[ResAdapter](https://github.com/jiaxiangc/ComfyUI-ResAdapter.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Restart-Sampling](https://github.com/ssitu/ComfyUI_restart_sampling)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Roop](https://github.com/Navezjt/ComfyUI_roop.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|TODO|
|[rgthree](https://github.com/rgthree/rgthree-comfy.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[SD-Latent-Interposer](https://github.com/city96/SD-Latent-Interposer)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[SDXL_prompt_styler](https://github.com/twri/sdxl_prompt_styler)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[SeargeSDXL](https://github.com/SeargeDP/SeargeSDXL)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Segment Anything](https://github.com/storyicon/comfyui_segment_anything.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[StabilityNodes](https://github.com/Stability-AI/stability-ComfyUI-nodes)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[SUPIR](https://github.com/kijai/ComfyUI-SUPIR.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[TiledDiffusion](https://github.com/shiimizu/ComfyUI-TiledDiffusion)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[TiledKSampler](https://github.com/BlenderNeko/ComfyUI_TiledKSampler)|โˆš|โˆš|โˆš|โˆš|TODO|TODO|
|[TinyTerra](https://github.com/TinyTerra/ComfyUI_tinyterraNodes.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|TODO|
|[ToonCrafter](https://github.com/AIGODLIKE/ComfyUI-ToonCrafter.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|TODO|
|[TripoAPI](https://github.com/VAST-AI-Research/ComfyUI-Tripo.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[UltimateSDUpscale](https://github.com/ssitu/ComfyUI_UltimateSDUpscale)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Vextra Nodes](https://github.com/diontimmer/ComfyUI-Vextra-Nodes)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[Video Matting](https://github.com/Fannovel16/ComfyUI-Video-Matting.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[Visual Style Prompting](https://github.com/ExponentialML/ComfyUI_VisualStylePrompting.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[VLM Nodes](https://github.com/gokayfem/ComfyUI_VLM_nodes.git)|โˆš|TODO|โˆš|TODO|TODO|TODO|
|[WAS Suite](https://github.com/WASasquatch/was-node-suite-comfyui)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[WD14-Tagger](https://github.com/pythongosssss/ComfyUI-WD14-Tagger)|โˆš|โˆš|โˆš|TODO|TODO|TODO|
|[zfkun](https://github.com/zfkun/ComfyUI_zfkun.git)|โˆš|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](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)