Skip to content

i18n: wire the Agent page to next-intl #441

Closed

Description

@gkhngyk

Summary

Split from #384 so each page is one small PR.

Scope note: web/messages/ currently ships only en.json, so this is a consistency + infra cleanup following the audit / reports pattern.

Task

web/src/app/[locale]/(dashboard)/dashboard/agent/page.tsx:

  • No useTranslations; hardcoded strings include confirm('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), plus toast.success('Copied') and aria-labels.
  • No agent page namespace exists ("agent" in en.json is only the nav label) — add an agent namespace to web/messages/en.json and wire the page.

Acceptance criteria

  • All user-visible strings go through useTranslations('agent') with matching en.json keys.
  • English renders identically to today; no behavior change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions