Repository navigation
Closed
Labels
Description
Summary
Most of the dashboard already localizes its UI via next-intl (useTranslations(...) + web/messages/en.json namespaces — e.g. audit, reports). A few pages still render hardcoded English and never call useTranslations. This is a consistency / infrastructure tracking issue to bring them in line with the rest of the dashboard.
Scope note:
web/messages/currently ships onlyen.json(no second locale yet), so this is a consistency + infra cleanup, not an immediately visible translation win. It makes every dashboard page follow the samet('…')pattern so a future locale drop-in "just works". Each page below can be its own small PR.
Pages to wire
1. Insights — web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx
- No
useTranslationsimport; all text hardcoded. - An
insightsnamespace already exists inweb/messages/en.json(≈14 keys:title,description,runPrompts,promptResults,platform,mentions,citations,sentiment,score,positive,neutral,negative) but is unused. - Wire the page to the existing
insightsnamespace. - Note: the namespace only covers ~14 strings; the page has far more text without keys. Wiring the existing keys is in scope; adding keys for the rest is a follow-up (out of scope here).
2. Topics — web/src/app/[locale]/(dashboard)/dashboard/topics/page.tsx
- No
useTranslations; header (~265–268), KPI labels/subs (~305–335), and empty state (~361–366) are hardcoded. - No
topicspage namespace exists yet ("topics"inen.jsonis the nav label). Must add a page namespace and wire the page — follow the existingaudit/reportspattern. - Add a
topicspage namespace toen.json+ wire the page.
3. Agent — web/src/app/[locale]/(dashboard)/dashboard/agent/page.tsx
- No
useTranslations; hardcoded strings includeconfirm('Delete this conversation?')(~248), "New chat" (~292), "No conversations yet." (~296), the input placeholder (~373), "Add your Anthropic API key" / "Go to Settings" (~674–685), plustoast.success('Copied')and aria-labels. - No
agentpage namespace ("agent"inen.jsonis the nav label). Must add anagentnamespace and wire the page. - Add an
agentpage namespace toen.json+ wire the page.
Acceptance criteria (per page)
- All user-visible strings go through
useTranslations(...)with matchingen.jsonkeys. - Behavior is unchanged; English copy renders identically to today.
- Follows the existing dashboard pattern (
audit/reports).
Notes
- Supersedes i18n(agent): the AI Agent page is fully hardcoded — no useTranslations, no agent namespace #382 (Agent) and i18n(topics): Topics page is fully hardcoded English — extract strings into a translation namespace #383 (Topics), which were opened separately — consolidated here so the whole cleanup is tracked in one place.
- Good first issue territory; each checkbox is a self-contained PR.
Activity
Sam-syntax35 commentedon Jul 9, 2026
hey @gkhngyk !plz assign this to me
Sam-syntax35 commentedon Jul 9, 2026
Hi @gkhngyk, could you please assign these issues to me? I've already started working on them, and assigning them will help avoid duplicate PRs. Thanks!
gkhngyk commentedon Jul 15, 2026
Split into one issue per page so each is a single-PR good first issue: #439 (Insights), #440 (Topics), #441 (Agent). Closing this tracker in their favor.