Repository navigation
fix(ios): localize native app and watch surfaces - #105372
Conversation
|
Codex review: needs changes before merge. Reviewed July 12, 2026, 10:04 AM ET / 14:04 UTC. Summary Reproducibility: yes. The Apple runtime-localization gap is clear from current-main source and catalogs, while exact-head CI directly reproduces this branch's compile, lint, and generated-catalog failures. Review metrics: 3 noteworthy metrics.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Fix the Swift compile and scoped lint blockers, regenerate every platform catalog affected by the final shared inventory, remove the root changelog entry, and land only after exact-head Apple builds and native, Apple, and Android generator checks are clean. Do we have a high-confidence way to reproduce the issue? Yes. The Apple runtime-localization gap is clear from current-main source and catalogs, while exact-head CI directly reproduces this branch's compile, lint, and generated-catalog failures. Is this the best way to solve the issue? The semantic boundary—localize app-owned presentation while preserving backend, user, and technical values verbatim—is the right design, but this implementation is incomplete because it does not compile and breaks the shared generator contract. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against de5e15efc336. Label changesLabel changes:
Label justifications:
Evidence reviewedAcceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Land-ready proof for exact head
The Linux Testbox cannot compile the Apple-only Swift package dependency path because |
|
Merged via rebase.
|
Part of #104979.
Android runtime wiring landed separately in #105049.
What Problem This Solves
Fixes an issue where iOS and watchOS users selecting a supported non-English locale would still see English across setup, gateway, settings, chat, voice, notifications, Live Activities, Watch inbox, approval, and direct-connection surfaces.
Why This Change Was Made
Routes app-owned presentation copy through native localization, preserves backend/user/technical values verbatim, and generates deterministic runtime catalogs from the checked-in 21-locale translation inventory. Semantic Watch status payloads keep shipped text fields for staggered iPhone/watchOS updates, while generator checks reject new runtime interpolation and catalog drift.
AI-assisted: yes. The branch was reviewed in bounded semantic, Watch protocol, Watch UI, and generator slices, with every accepted finding addressed before publication.
User Impact
iOS and watchOS surfaces now resolve translated app copy at runtime across all supported locales. Locale changes also re-render persisted Watch status and approval state instead of retaining sender-language strings.
Evidence
node --import tsx scripts/apple-app-i18n.ts checknode --import tsx scripts/native-app-i18n.ts checknode --import tsx scripts/android-app-i18n.ts checktbx_01kxbh9tq40qnx99hn4h4s90ggcorepack pnpm test:serial test/scripts/android-app-i18n.test.ts test/scripts/apple-app-i18n.test.ts test/scripts/native-app-i18n.test.tspnpm check:changed -- <touched paths>passed after restoring sparse-checkout omissions./scripts/lint-swift.sh ios: 0 violations across 288 files./scripts/format-swift.sh ios: 0 of 288 files require formattingxcodegen generate --spec apps/ios/project.yml --project /tmp/openclaw-xcodegen-finalgit diff --check origin/main...HEAD4aa9adde55767d9aef9dde1b2f01e2d90af3150d4aa9adde55767d9aef9dde1b2f01e2d90af3150din CI run29200015823and Periphery run29200015834.The Linux Testbox cannot compile
apps/shared/OpenClawKitbecause itsSwiftMathdependency imports Apple-onlyCoreGraphics; exact-head macOS CI covers the Swift package and Apple application builds.