Skip to content

feat(i18n): extract en translations — pages#1250

Open
johnnyshields wants to merge 3 commits intodifferent-ai:devfrom
johnnyshields:i18n-conversion-3
Open

feat(i18n): extract en translations — pages#1250
johnnyshields wants to merge 3 commits intodifferent-ai:devfrom
johnnyshields:i18n-conversion-3

Conversation

@johnnyshields
Copy link
Copy Markdown
Contributor

@johnnyshields johnnyshields commented Mar 31, 2026

Summary

  • Extract hardcoded English strings to i18n keys for all page components
  • Files: config, extensions, identities, plugins, automations (was scheduled), settings, skills
  • ~404 new en.ts translation keys added
  • Adds params interpolation support to t() function in i18n/index.ts

What changed

  • All user-facing strings replaced with t("key") calls across all 7 page files
  • settings.tsx (largest file) — full extraction of all settings sections
  • identities.tsx — agent status, time-ago strings, Telegram bot setup, routing overrides
  • skills.tsx — hub, install, share, capability sections
  • Adapted scheduled.tsxautomations.tsx (file was renamed/refactored on dev)
  • Second pass caught 43 additional strings (time-ago, capabilities, agent scope/status)

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

@johnnyshields is attempting to deploy a commit to the Different AI Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, Comment, Open in v0 Apr 2, 2026 9:12am

@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@src-opn
Copy link
Copy Markdown
Collaborator

src-opn commented Apr 1, 2026

would love to merge, plz rebase

johnnyshields and others added 3 commits April 2, 2026 18:11
Extract hardcoded English strings to i18n keys for:
- config, extensions, identities, plugins
- automations (was scheduled), settings, skills pages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Scanned all 7 PR3 page files for hardcoded English strings missed by
the reference diff. Converted to t() calls and added keys to en.ts:

- identities.tsx: 25 keys (time ago, dispatched messages, health status,
  Telegram bot setup strings, routing override, agent scope/status,
  peer ID placeholders)
- automations.tsx: 5 keys (scheduler install, prepare/remove job toasts,
  delete confirm description)
- settings.tsx: 12 keys (actor labels, cap labels, workspace fallback,
  deeplink hint, worker ID label, inbox/outbox cap labels)
- skills.tsx: 1 key (loading spinner text)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@johnnyshields
Copy link
Copy Markdown
Contributor Author

Rebased, please merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants