fix(i18n): flow template labels and descriptions hardcoded in English #1152

Closed
opened 2026-05-14 11:51:59 +00:00 by claude-desktop · 0 comments
Collaborator

As an operator using a non-English locale, I want flow template names and descriptions to be translated, so that the template picker is fully localised.

Location

apps/web/src/features/flows/templates.ts:115–145

Template label and description fields (e.g. "Blank", "Reviewer dispatch on PR opened") are plain English string literals — not wrapped in m.xxx().

Acceptance criteria

Fix

  • Audit all label and description fields in templates.ts
  • Add Paraglide message keys for each (e.g. flow_template_blank_label, flow_template_blank_description, etc.)
  • Add English strings to messages/en.json
  • Add translations for all other locale files
  • Replace literal strings in templates.ts with m.xxx() calls
  • Paraglide compile passes with no missing-key warnings

Tests

  • No raw English template strings remain in templates.ts (grep check)
  • just qa passes

Out of scope

  • Template logic changes
  • Adding new templates
As an operator using a non-English locale, I want flow template names and descriptions to be translated, so that the template picker is fully localised. ## Location `apps/web/src/features/flows/templates.ts:115–145` Template `label` and `description` fields (e.g. `"Blank"`, `"Reviewer dispatch on PR opened"`) are plain English string literals — not wrapped in `m.xxx()`. ## Acceptance criteria ### Fix - [ ] Audit all `label` and `description` fields in `templates.ts` - [ ] Add Paraglide message keys for each (e.g. `flow_template_blank_label`, `flow_template_blank_description`, etc.) - [ ] Add English strings to `messages/en.json` - [ ] Add translations for all other locale files - [ ] Replace literal strings in `templates.ts` with `m.xxx()` calls - [ ] Paraglide compile passes with no missing-key warnings ### Tests - [ ] No raw English template strings remain in `templates.ts` (grep check) - [ ] `just qa` passes ## Out of scope - Template logic changes - Adding new templates
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/agent-hooks#1152
No description provided.