Repository navigation
Description
Is there an existing issue for this?
- I have searched the existing issues
Related: #9089 (umbrella "hardcoded UI surfaces"), #10248 (undefined i18n keys). This one is specific: the rich filter bar and the power-k command input never call t() for several strings, so they stay English in every locale.
Current behavior
With the interface language set to a non-English locale (reproduced on es), the rich filters row and the command input still render English, while the rest of the same screen — including the properties sidebar next to them — is translated:
- Applied filter chips read
Assignees is <user>,Start date is Nov 12, 2026 Clear all,Save view,Update viewbuttonsRemove filter/Invalid filteraria-labels and labels- Command menu placeholder
Search commands... - Filter property placeholders
Assignees,Start date
These are missed t() call sites, not missing translations: packages/i18n already ships the strings for es (common.json contains limpiar, asignados, fecha de inicio), and other components on the same view use them correctly.
Verified on preview (2026-11-12):
-
apps/web/components/rich-filters/filters-row.tsx:95label={filter.clearFilterOptions?.label ?? "Clear all"}
The fallback is a hardcoded English literal and nothing in
apps/websuppliesclearFilterOptions.label, so the fallback is what users always see. -
apps/web/components/rich-filters/filter-item/close-button.tsx:30return <IconPill onClick={handleRemoveFilter} aria-label="Remove filter" icon={...} />;
-
apps/web/components/rich-filters/filter-item/invalid.tsx:29and:36—label="Invalid filter". -
apps/web/components/navigation/top-nav-power-k.tsx:242—placeholder="Search commands...". The same file already imports and callsuseTranslation()(:15,:28) and translates the clear-search label at:251, so only the placeholder was missed.
The filter property placeholders (Assignees, Start date) live in the same rich-filters components, which do not call useTranslation at all (filter-item/*, filter-value-input/date/*).
Expected
Every string above is resolved through t() with keys that exist in all locale files under packages/i18n/src/locales/*/, with no English literal as a fallback path. In es, the filter bar should read Asignados es …, Fecha de inicio es …, Limpiar, Quitar filtro, Filtro inválido.
Steps to reproduce
- Set Profile → Language to Español (any non-English locale shows the same).
- Open Work items and add an
Assigneeand aStart datefilter. - Compare the filter chips and buttons with the properties sidebar on the right: the sidebar is Spanish, the filter bar is English.
- Open the command input in the top navigation: the placeholder is English.
Environment
Self-hosted instance. Confirmed by inspecting the shipped bundles rather than the UI only: the deployed es namespace chunks are present and translated (common-*.js has Nuevo elemento de trabajo, Asignados, Fecha de inicio), and the failing strings are literals in the untranslated chunks (base-*.js, filters-*.js, navigation-*.js), none of which reference useTranslation.
Browser
Google Chrome
Edition
Community
Activity
fix(web): translate rich filter property and operator labels (makepla…
fix(web): translate rich filter labels and Power K placeholder (#10273)