GithubHelp home page GithubHelp logo

aigodlike / aigodlike-comfyui-translation Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 101.0 1.21 MB

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

Home Page: https://www.aigodlike.com/

JavaScript 89.27% Python 10.73%
comfyui translation

aigodlike-comfyui-translation's Issues

能否汉化comfyroll

目前只是汉化了一级二目录,不知道是否可以汉化最后的子目录。

一些小建议

pipe应该翻译成管线,unclip翻译成逆clip太出戏了建议保持原样

开启中文后,ComfyUI-Manager插件管理器编译失败

报告一个“BUG”,开启中文后,ComfyUI-Manager插件管理器没有翻译,而且会编译失败,特征是点插件管理器的Install Custom Nodes后,后台提示: File "L:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager_init_.py", line 330, in get_data
json_text = f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 6223: illegal multibyte sequence
更新插件管理器、更新翻译插件、重启软件,都无法恢复插件管理器的功能

KR translation!

I don't know why, but the poll creation failed. Too difficult. Collaborator? It doesn't work when it pops up. I don't know... I translated about 35kb more. custom node.

2023-12-13 19 00 09

Menu.json
NodeCategory.json

How to access translations from another node

I'm the author of the Use Everywhere nodes, and they include a couple of nodes which transmit data to inputs that match a certain string pattern or regex. So this is a non-visual element which needs to be translated in order to match visual elements...

chrisgoringe/cg-use-everywhere#81

I'm wondering if it is possible for a third party node to access the translations in this node - it looks like it would be a case of accessing the static T object, but wanted to do it cleanly!

My thought would be to add a new entry to cg-use-everywhere.json which isn't a node - like:

 "Use Everywhere extra translations" : { "seed-regex" : ".*seed.*" }

which could be accessed something like

T.Nodes["Use Everywhere extra translations"]["seed-regex"]

I'm happy to do the PR, but want to check if you are comfortable with this slight misuse of the json structure!

issue: category error

en
kr

When applying the locale, there's an issue where the categories don't appear consistently and get distorted.

右键点击不能加载节点菜单

ComfyUI Revision: 1759 [c97be4db] | Released on '2023-11-30'

comfyui更新到最新版本后,鼠标右键不能弹出菜单。切换成英语可以。

在节点右键切换为输入时,会有严重延迟和意外情况

image
image

我不知道怎么发视频,情况是这样的:
ComfyUI版本:b935bea3a0201221eca7b0337bc60a329871300a
AIGODLIKE-COMFYUI-TRANSLATION:18e1079c6d872c8f4aa0706e2f1f7ccc7223df46
如果是在英文、韩语模式下,右键把节点中的组件、选项转为输入接口,是很快速的,转换也不会有什么问题;
切换为中文、繁体中文、日语等模式之后,切换为输入接口会有严重延迟,出现如上图的情况。有时要刷新页面才能正常显示,有时因为延迟,多点了几下菜单,就变成了多个输入接口了,刷新也不会恢复正常。

我想这应该是插件的问题,因为英语和韩语都是正常的,也只是一个小问题。

I can not switch language

在中文界面点击 切换语言 可以正常切换英文,但在英文界面点击 Switch Locale没反应,不能正常切换,重装后也没用

切换语言时,丢失原来设置的title内容

现象:当设置过title后再切换语言,会将组件的title设置成配置的文本,担切回来时却无法还原丢失了。

期望:两种结果均可 A:语言设置不改变自定义的title B:语言切换时将源语言内容进行存档还原

右键菜单出不来了

更新到最新的comfyui后,中文模式下右键菜单出不来,切换到英文可以出来,是不是哪里出了问题?

启用插件后,输入框的选项不能通过点击来选择了

        环境:win10, 最新版 comfyui,chrome浏览器 
        问题描述:启用插件后,输入框的选项不能通过点击来选择了(不管切换中文还是英文,都还存在问题 )。
        比如采样器里的选择项如下—— 
        "control_after_generate": "运行后操作",
            "fixed": "固定",
            "increment": "增加",
            "decrement": "减少",
            "randomize": "随机",

节点搜索框双语显示问题

根据视频演示,当初次开启节点搜索框的时候,事实上显示的双语还是中文的,必须要随便输入点什么后,在删除输入内容,才能正确的显示双语,这个问题能修复吗?

2024-02-03.063137.mp4

【功能】是否可以增加中间缓存文件,来保留用户自定义的节点名称

这是我的思路,不知道是否方便实现。
1、增加一个按钮,选择是否保留自定义节点名称。
2、如果选择保留自定义节点名称,程序先读取加载的工作流文件,保留自定义节点名称的记录缓存文件。
3、然后切换语言时,最后用自定义节点名称的记录缓存文件覆盖。

感谢作者提供的插件!

Cannot import H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-CN module for custom nodes: [Errno 2] No such file or directory: 'H:\\ai\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\zh-CN\\__init__.py'

why????

Total VRAM 6144 MB, total RAM 16236 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 Laptop GPU : native
VAE dtype: torch.bfloat16
Using pytorch cross attention
Adding extra search path checkpoints H:\ai\novelai-webui-aki-v2_2\models/Stable-diffusion
Adding extra search path configs H:\ai\novelai-webui-aki-v2_2\models/Stable-diffusion
Adding extra search path vae H:\ai\novelai-webui-aki-v2_2\models/VAE
Adding extra search path loras H:\ai\novelai-webui-aki-v2_2\models/Lora
Adding extra search path loras H:\ai\novelai-webui-aki-v2_2\models/LyCORIS
Adding extra search path upscale_models H:\ai\novelai-webui-aki-v2_2\models/ESRGAN
Adding extra search path upscale_models H:\ai\novelai-webui-aki-v2_2\models/RealESRGAN
Adding extra search path upscale_models H:\ai\novelai-webui-aki-v2_2\models/SwinIR
Adding extra search path embeddings H:\ai\novelai-webui-aki-v2_2\embeddings
Adding extra search path hypernetworks H:\ai\novelai-webui-aki-v2_2\models/hypernetworks
Adding extra search path controlnet H:\ai\novelai-webui-aki-v2_2\models/ControlNet
Traceback (most recent call last):
File "H:\ai\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1800, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 936, in exec_module
File "", line 1073, in get_code
File "", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-TW\init.py'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Cannot import H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-TW module for custom nodes: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-TW\init.py'
[agl/register error]: [WinError 1] 函数不正确。
Traceback (most recent call last):
File "H:\ai\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1800, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 936, in exec_module
File "", line 1073, in get_code
File "", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\example\init.py'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Cannot import H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\example module for custom nodes: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\example\init.py'
Traceback (most recent call last):
File "H:\ai\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1800, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 936, in exec_module
File "", line 1073, in get_code
File "", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ja-JP\init.py'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Cannot import H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ja-JP module for custom nodes: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ja-JP\init.py'
Traceback (most recent call last):
File "H:\ai\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1800, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 936, in exec_module
File "", line 1073, in get_code
File "", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ko-KR\init.py'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Cannot import H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ko-KR module for custom nodes: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ko-KR\init.py'
Traceback (most recent call last):
File "H:\ai\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1800, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 936, in exec_module
File "", line 1073, in get_code
File "", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-CN\init.py'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Cannot import H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-CN module for custom nodes: [Errno 2] No such file or directory: 'H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-CN\init.py'

Import times for custom nodes:
0.0 seconds (IMPORT FAILED): H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-CN
0.0 seconds (IMPORT FAILED): H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ja-JP
0.0 seconds (IMPORT FAILED): H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ko-KR
0.0 seconds (IMPORT FAILED): H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\example
0.0 seconds (IMPORT FAILED): H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\zh-TW
0.1 seconds: H:\ai\ComfyUI_windows_portable\ComfyUI\custom_nodes_init_.py

Starting server

To see the GUI go to: http://127.0.0.1:8188

求翻译https://github.com/florestefano1975/comfyui-portrait-master

这个插件相当于一个提示词生成插件,主要用来画肖像,其他的也没问题。它作用于CLIP文本编码器之前,通过插件上面的滑条来控制提示词。然后把提示词写入文本编码器,一个非常简单但是特别实用的插件,对于很多不会写提示词的人来说。这个插件可以做到让他精细控制画面中某些元素,而且是简简单单的通过拉动可视化的滑条来实现。恳求大佬汉化此插件,
可以参考这个作者的汉化https://github.com/ZHO-ZHO-ZHO/comfyui-portrait-master-zh-cn
我有强迫症。不愿意安装第三方插件包裹住的这个插件。所以。恳请作者汉化。谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.