mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #1713] [Feature Request]: Make installation error dialogs translatable (hardcoded English strings) #521
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#521
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1713
Problem Statement
During the ComfyUI Desktop installation process (v0.8.36), several error messages and confirmation dialogs are hardcoded in English, making them difficult to understand for non-English-speaking users.
After clicking "Install" and during the installation flow, the following dialog messages appear in English:
Git missing dialog: "We were unable to find git on this device. Please download and install git before continuing with the installation of ComfyUI Desktop."
Failed to create virtual environment dialog: "Failed to create virtual environment" + detail "ComfyUI Desktop was unable to set up the Python environment required to run..."
Venv reinstall prompt: "Would you like to remove your .venv directory and reinstall it?"
NVIDIA driver too old dialog: "Your NVIDIA driver may be too old for PyTorch..."
Critical error dialog: "An error was detected with your installation..."
The validation error message prefix: "Validation error: {error}"
These
dialog.showMessageBox()/dialog.showErrorBox()calls bypass the vue-i18n locale system used by the rest of the app, so they always show in English regardless of the user's language setting.Proposed Solution
Replace the hardcoded English strings in installation dialogs with locale-aware lookups. Since these dialogs are rendered via Electron's native
dialog.showMessageBox()in the main process (not in the Vue renderer), the approach could be:Alternatively, if the dialogs can be moved from native
dialog.showMessageBox()to Vue-based custom dialogs in the renderer process, they would automatically use the existing vue-i18n locale system.Potential workflow
Impact Level
High (Major improvement)
Alternatives Considered
Version: ComfyUI Desktop v0.8.36 (latest release)
@ghost commented on GitHub (May 5, 2026):
Closing this and resubmitting via the proper feature request template.