invoke-ai / invoke-ai/InvokeAI
[enhancement]: socket progress events should be handled by translation system
- Dominant language
- Python
- Stars
- 28.2k
- Forks
- 3k
- Avg merge
- 6d 5h
- Merged PRs (30d)
- 19
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Contact Details
_No response_
### What should this feature add?
When we emit progress events during graph execution, they can have a message attached.
In the UI, we display that message. Currently, the messages are displayed as-is, without any means to be translated.
We can improve on this:
- Core nodes should use translation keys for progress event messages.
- The frontend should render the messages using the translation function.
- If the message is a valid translation key, any translation will be used. We will ensure that the core nodes' progress messages have an English translation.
- If they message is not a valid translation key (i.e. it is just "normal" English words), the translation function will fall back to outputting the message as is.
### Alternatives
_No response_
### Additional Content
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.