Skip to content

[BUG] [alpha] Image viewer error message “Failed to load image” remains in English and breaks language consistency #39509

@herdsman012

Description

@herdsman012

Project

ide

Description

When an image fails to load in the editor, the viewer displays a centered error message “Failed to load image”. This message appears only after the loading process fails and is shown prominently in the main content area. However, the text is always presented in English, even when the surrounding UI is expected to follow a different language. This creates a noticeable inconsistency in the error state, where critical feedback is not aligned with the rest of the interface language.

Error Message

Debug Logs

System Information

OS: Ubuntu 22.04.5 LTS
CPU: 13th Gen Intel(R) Core(TM) i9-13900K
RAM: 16 GB

Screenshots

Image

Steps to Reproduce

Open an image file in the editor
Trigger a failure scenario (e.g., corrupted image or interrupted load)
Observe the message displayed in the center of the viewer

Expected Behavior

The error message should appear in the same language as the rest of the UI, ensuring consistent and understandable feedback.

Actual Behavior

The message “Failed to load image” is always displayed in English, regardless of language context.

Additional Context

Because this message appears during a failure state, the lack of localization can reduce clarity and increase confusion for users relying on non-English interfaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions