Skip to content

feat(i18n): localize hardcoded application copy - #40377

Merged
Hona merged 1 commit into
devfrom
composer-copy
Aug 4, 2026
Merged

feat(i18n): localize hardcoded application copy#40377
Hona merged 1 commit into
devfrom
composer-copy

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace audited user-visible hardcoded English across App, Session UI, shared UI, and Desktop with i18n keys while preserving the existing English copy exactly
  • use complete parameterized keys for composer triggers, version labels, provider labels, numbered questions, and recovery details
  • localize composer placeholders, accessibility labels, menus, dialogs, toasts, Tabs help content, native Desktop menus/dialogs, picker labels, recovery copy, and app-authored WSL fallback errors
  • synchronize the renderer-selected locale to native Electron surfaces with an English startup fallback
  • add source-backed translations for every new key across all 27 non-English locales
  • add package guidance forbidding hardcoded user-visible English, protecting designer-written English copy, and requiring CLDR, Microsoft, Apple, Mozilla/Firefox, and locale-authority sources

Scope

  • localization only: key wiring, translated copy, and the minimum native translation bridge needed to render selected-locale strings
  • English text and existing English keys were not changed to facilitate translations
  • product/model/provider names, protocol tokens, raw external errors, code identifiers, and generated Default Project naming remain intentionally outside translation

Validation

  • App i18n parity: 27 locales × 1,103 keys; no missing/extra English keys or placeholder mismatches
  • UI i18n parity: 27 locales × 193 keys; no missing/extra English keys or placeholder mismatches
  • App migration tests: 21 passed
  • Desktop focused migration tests: 23 passed
  • Session UI tests: 78 passed
  • App browser tests: 41 passed
  • UI tests: 27 passed
  • App, Desktop, Session UI, and UI typechecks passed
  • final hardcoded-copy re-audit passed for the audited production scope
  • git diff --check

Requested by: @Hona (Luke Parker via Slack)

@opencode-agent
opencode-agent Bot force-pushed the composer-copy branch 3 times, most recently from 9e05481 to 09b5967 Compare August 4, 2026 06:25
@Hona
Hona merged commit e857350 into dev Aug 4, 2026
10 checks passed
@Hona
Hona deleted the composer-copy branch August 4, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant