Skip to content

feat: ship English and Spanish locales only - #15

Merged
quickbeard merged 1 commit into
mainfrom
i18n-en-es
Jul 9, 2026
Merged

quickbeard merged 1 commit into
mainfrom
i18n-en-es

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Replaces #14, which GitHub auto-closed when its base branch (sync-upstream-1.17.15, PR #13) was deleted on merge. The branch has been rebased onto main; the diff is identical.

Trims i18n to en + es across every surface. 650 files changed (639 deletions, 11 edits), ~218k lines removed.

Deleted

  • All locale dictionaries except en/es in packages/ui, packages/app, packages/desktop (renderer), packages/console/app, packages/stats/app
  • packages/app/src/i18n/parity.test.ts
  • Website UI strings packages/web/src/content/i18n/*.json except en/es
  • All 17 translated docs directories under packages/web/src/content/docs/ except es/

Updated

  • Locale registries trimmed to en+es: Locale types, LOCALES/label/tag/docs maps, dict loaders, accept-language matchers (packages/app/src/context/language.tsx, packages/desktop/src/renderer/i18n/index.ts, packages/console/app/src/{i18n/index.ts, lib/language.ts}, packages/stats/app/src/i18n.ts, packages/web/src/i18n/locales.ts) and the Starlight locales config (packages/web/astro.config.mjs)
  • zh special cases in packages/app/src/entry.tsx and packages/enterprise/src/app.tsx now use es; console footer always links Discord (Feishu was zh-only); dir() always returns ltr (Arabic gone)
  • DIVERGENCES.md: two new rows with the resolution strategy (keep deleted / re-trim new locale entries)

Verification

  • bun turbo typecheck: 30/30 packages pass
  • bun run lint: 0 errors
  • No remaining references to removed locale IDs (grepped imports and comparisons)

Note

This is the fork's largest divergence: weekly upstream syncs will hit modify/delete conflicts whenever upstream touches locale files. DIVERGENCES.md documents the resolution (re-delete / re-trim).

🤖 Generated with Claude Code

Delete all locale dictionaries, docs translations, and the i18n parity
test except en/es; trim every locale registry (app, desktop, console,
stats, web, enterprise, ui consumers) to the two locales. Recorded in
DIVERGENCES.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@quickbeard
quickbeard merged commit c9bef2c into main Jul 9, 2026
0 of 4 checks passed
@quickbeard
quickbeard deleted the i18n-en-es branch July 9, 2026 03:18
quickbeard added a commit that referenced this pull request Jul 9, 2026
Delete all locale dictionaries, docs translations, and the i18n parity
test except en/es; trim every locale registry (app, desktop, console,
stats, web, enterprise, ui consumers) to the two locales. Recorded in
DIVERGENCES.md.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
quickbeard added a commit that referenced this pull request Jul 9, 2026
Delete all locale dictionaries, docs translations, and the i18n parity
test except en/es; trim every locale registry (app, desktop, console,
stats, web, enterprise, ui consumers) to the two locales. Recorded in
DIVERGENCES.md.
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.

1 participant