Repository navigation
chore(i18n): refresh native locales - #138372
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 4, 2026, 7:46 PM ET / 23:46 UTC. ClawSweeper reviewWhat this changesRefreshes translations for 21 native-app languages and regenerates Android, Wear OS, iOS, watchOS, and macOS localization resources. Merge readiness⛔ Blocked before merge - 2 items remain Keep open as useful locale maintenance that is not yet on main. Both prior Wear findings are resolved, the source inventory matches pinned main, and no blocking correctness finding remains. Priority: P3 Review scores
Verification
How this fits togetherThe native localization pipeline turns source strings and canonical translations into Android resources and Apple catalogs. Native controls load these resources to display localized labels, instructions, and permission descriptions. flowchart LR
A[Native source strings] --> B[Source inventory]
B --> C[Canonical locale translations]
C --> D[Android resource generation]
C --> E[Apple catalog generation]
F[Reviewed Apple translations] --> E
D --> G[Native app text]
E --> G
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Use the existing native-localization pipeline with corrected canonical action labels, preserved Apple overrides, and no parallel runtime or translation-policy changes. Do we have a high-confidence way to reproduce the issue? Not applicable to the locale refresh itself. The prior Wear defects are no longer present in the inspected canonical values and generated resources; this review performed read-only comparisons, not a native-app reproduction. Is this the best way to solve the issue? Yes: correcting canonical translations and regenerating their platform resources addresses the wording defects at their owner. Changing runtime selection APIs or generator policy would unnecessarily broaden this data-only rollout. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 66fa0bd2be4f. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Reconcile the completed full refresh across 21 native locales, preserve differing Apple translation units, and restore the Traditional Chinese Gateway password recovery message found during review. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
@clawsweeper re-review This PR now includes the completed full native locale refresh, reconciled against current source inputs while preserving the original automation commit. The body records the full data review, the corrected password-recovery message, preservation proofs, and validation scope. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Translate the newly added dashboard reconnection instruction across all 21 native locales and regenerate its macOS catalog entry. Preserve every previously reviewed native value and Apple catalog entry.
|
@clawsweeper re-review The native inventory finding is addressed. Follow-up Android validation found French and Japanese filter-label collisions; the existing distinct translations are restored, and the locale test now reads its connection-status expectation from an explicitly French packaged resource. The focused correction passed Codex review and local guards. Exact-head CI is running before landing. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
* chore(i18n): refresh native locales * chore(i18n): refresh native app translations Reconcile the completed full refresh across 21 native locales, preserve differing Apple translation units, and restore the Traditional Chinese Gateway password recovery message found during review. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(i18n): catch up native dashboard recovery copy Translate the newly added dashboard reconnection instruction across all 21 native locales and regenerate its macOS catalog entry. Preserve every previously reviewed native value and Apple catalog entry. * fix(i18n): keep native filter labels distinct * fix(i18n): distinguish Apple proposal filter labels * chore(i18n): catch up native icon picker translations * fix(i18n): restore French duration spacing * fix(i18n): preserve Wear gesture and text-entry labels --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Refreshes 21 native app languages from the completed full translation run, covering Android phone and Wear resources, iOS/watchOS usage descriptions, and iOS/macOS catalogs. Users receive updated copy and translations for the 47 strings added since the full run began.
Why This Change Was Made
The full run succeeded, but its publisher correctly deferred output after source inputs advanced. This candidate preserves the existing automation ancestry, reconciles only those 47 new strings per locale, and retains 94,108 translations for unchanged sources, including the reviewed CJK punctuation corrections. Fifty-six canonical values receive deliberate review corrections: one Traditional Chinese password-recovery instruction, five filter labels, eleven French duration templates, and 39 Wear action labels.
The password instruction restores the complete existing recovery message. French and Japanese Android “Held” labels restore their distinct existing translations because the control reverse-maps display labels and otherwise selects the wrong proposal state. Arabic, Italian, and Japanese Apple “Held” labels are also made distinct from “Pending”; the Apple picker already uses separate canonical tags, so this fixes visible ambiguity. Each correction updates the canonical native input and regenerates its platform resource. French duration templates restore their exact existing number/unit spacing after the unchanged Android test exposed
1minin place of1 min; the related day/hour and relative-time templates retain all words, units and placeholders.Wear “Hold” and “Type” labels restore the existing press-and-hold and text-entry meanings across all 21 locales. Both inventory keys belong only to Wear resources. The correction restores 39 canonical values and their generated XML bindings; three already-correct “Hold” values remain identical. Voice/text-entry callbacks and accessibility action wiring are unchanged.
Apple catalogs preserve completed translations during ordinary generation. The initial one-time refresh replaces only complete units exactly matching canonical output from the old native inputs. All 1,405 differing units remain untouched, including explicitly completed source-equal labels. The three subsequently corrected Apple labels are proven generated units, outside that preserved set. The generator preservation policy remains unchanged.
User Impact
Native catalogs cover 4,531 entries per locale. Derived resources contain 1,793 iOS keys, 1,579 macOS keys, 1,675 Android phone keys, 122 Wear keys, and four flavor-specific keys. Source-owned generation adds current keys and retires obsolete ones.
Evidence
.stringsresources across 22 bundles: the 110 selector labels reproduced exactly three collisions before the Apple correction and none afterward. This proves resource lookup, not Xcode catalog compilation or native-screen layout.AppLanguageTest. The exact two-file repair restores 11 baseline templates and their generated resources, preserves 95,140 other native values and 133 other files, and passes before/after resource-formatting proof. Both unchanged Android test variants passed on the spacing-corrected and final commits.Localized native-screen review remains unavailable locally: the simulator requires host-wide initialization, and no Android emulator or device is available. Hosted English screenshot checks passed; they and the resource-loading checks above do not establish visual coverage of all translated languages. Local Swift linting was unavailable because the host lacks the SourceKit framework; hosted platform CI passed on the final commit.
Generated data: +61,510/-59,145 lines across 135 files. Runtime implementation and tests: +0/-0.
Follow-ups: enrich ambiguous native action strings with their resource/control context; reject resource identifiers in native translation output validation; use stable selection keys instead of translated labels in Android segmented controls; add permanent selector-label uniqueness coverage at the native control owners. This data rollout includes failing/passing resource-level selector proof; permanent test changes remain separate to preserve generated-artifact isolation. No translation prompt, engine, or selection API changes are included.