Skip to content

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

Merged
src-opn merged 4 commits intodifferent-ai:devfrom
johnnyshields:i18n-conversion-3
Apr 3, 2026
Merged

feat(i18n): extract en translations — pages#1250
src-opn merged 4 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
Contributor

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
Contributor

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 3, 2026 5:32pm

@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
Copy link
Copy Markdown
Contributor Author

Rebased, please merge.

johnnyshields and others added 4 commits April 3, 2026 10:29
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>
@src-opn src-opn force-pushed the i18n-conversion-3 branch from 6d96d5d to 8338631 Compare April 3, 2026 17:31
@src-opn src-opn merged commit e006aca into different-ai:dev Apr 3, 2026
9 of 13 checks passed
benjaminshafii added a commit that referenced this pull request Apr 4, 2026
benjaminshafii added a commit that referenced this pull request Apr 4, 2026
* Revert "fix(i18n/zh): cleanups to Chinese translations (#1341)"

This reverts commit 03ee1f2.

* Revert "feat(i18n): add Thai language + missing translations for all other locales (#1339)"

This reverts commit db0f94e.

* Revert "feat(i18n): extract en translations — session area (#1249)"

This reverts commit 3271af4.

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

This reverts commit e006aca.

* Revert "feat(i18n): extract en translations — context/lib/misc (#1251)"

This reverts commit c349413.
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