Skip to content

[BUG] Hardcoded English labels in the UI are not translated #2425

Description

@rrewll

Describe the bug
Some UI labels are hardcoded in English. These labels do not change when the user selects a different language.

To Reproduce
Write the steps that show the bug:

  1. Go to Settings > Language and select a language other than English (for example, Deutsch).
  2. Open the chat view.
  3. Click the auto-approve button below the chat input. The auto-approve dropdown opens.
  4. Look at the label next to the toggle switch at the bottom of the dropdown. The label shows "Enabled" in English. The other text in the dropdown shows in the selected language.

Expected behavior
The label next to the toggle shows in the selected language.

Screenshots

Screenshot 2026-11-11 at 04 33 05

Video

What version of zoo are you running
3.96.0

Additional context
The cause is in webview-ui/src/components/chat/AutoApproveDropdown.tsx:276. The label is a string literal. It does not use t():

<span className={cn("text-sm font-bold select-none")}>Enabled</span>

The aria-label="Toggle auto-approval" on the toggle at line 273 has the same problem. Screen readers read it in English.

This is not the only case. More hardcoded labels, aria-label, title, placeholder, and alt values are in the webview code. A search of the code can find them.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions