Skip to content

chore(i18n): refresh native locales - #124089

Merged
steipete merged 1 commit into
mainfrom
automation/native-app-locale-refresh
Aug 15, 2026
Merged

steipete merged 1 commit into
mainfrom
automation/native-app-locale-refresh

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Keeps generated native app locales synchronized without bypassing protected-branch checks.

Why This Change Was Made

The Native App Locale Refresh workflow generated current head 8bb09b9a204d3f4c779315b7aebf39a4a5d2a2bf on the preserved automation/native-app-locale-refresh branch from main 3ec40893502643dbf3bdddfd3c0cd53474220123.

GitHub could not reopen predecessor #123860 because automation had already created this successor PR for the same branch. No replacement PR was created manually.

User Impact

No direct user-facing change beyond refreshed translations.

Generated localization delta: +4,855/-245 across 67 declared generated artifact files. Production logic and tests: +0/-0.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) August 15, 2026 07:34
@openclaw-barnacle openclaw-barnacle Bot added app: android App: android app: ios App: ios app: macos App: macos app: wearos App: wearos size: XL labels Aug 15, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 15, 2026
@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 15, 2026, 4:39 AM ET / 08:39 UTC.

ClawSweeper review

What this changes

This PR refreshes generated Android, Wear OS, iOS, and macOS locale artifacts from the native localization inventory.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: current main has not superseded this generated refresh, and its recorded 67-path tree stays within the locale generator’s declared artifacts; no patch defect was found. Before merge, attach representative native visual proof and let the exact-head Android build finish.

Likely related people:

  • @steipete — high confidence; recent generator/workflow contributor.

Priority: P3
Reviewed head: 8bb09b9a204d3f4c779315b7aebf39a4a5d2a2bf

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) PR readiness rating was derived from proof quality, review findings, security review, and reviewer confidence.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
Evidence reviewed 6 items Exact PR tree is generated-only: The exact head records 67 modified paths: 21 locale JSON files, 23 Android artifacts, 21 Wear artifacts, and one catalog each for iOS and macOS; no other path class is present.
Canonical generator validates parity: The current command path checks the inventory and locale artifacts, then invokes Android and Apple verification/check routines; a full sync regenerates derived Android and Apple artifacts together.
Workflow owns the serialized refresh: The workflow combines independent locale translations, regenerates all derived artifacts once, validates with the strict check, and only then publishes the generated PR.
Findings None None.
Security None None.

How this fits together

Native UI strings feed a stable localization inventory and per-locale translations, which generate Android resource files and Apple string catalogs. The resulting artifacts are read by Android/Wear and iOS/macOS at runtime to display localized UI text.

flowchart LR
A[Native UI text] --> B[Stable string inventory]
B --> C[Per-locale translations]
C --> D[Native artifact generator]
D --> E[Android and Wear resources]
D --> F[iOS and macOS catalogs]
E --> G[Localized Android apps]
F --> H[Localized Apple apps]
Loading

Before merge

  • Resolve merge risk (P1) - The PR body supplies generator validation but no before/after native-app screenshot or recording; root policy requires visual evidence for UI-visible native changes.
  • Resolve merge risk (P1) - The exact-head Android build is still in progress, and this reviewer could not independently open GitHub workflow logs because GitHub DNS and promisor-object retrieval failed.
  • Complete next step (P2) - No code repair is indicated; the remaining work is contributor-supplied native visual proof and normal exact-head CI gating.
Agent review details

Security

None.

PR surface

Other +4610. Total +4610 across 67 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 67 4855 245 +4610
Total 67 4855 245 +4610

Review metrics

Metric Value Why it matters
Generated versus logic delta generated +4,855/-245; production logic +0/-0; tests +0/-0 The large change is derived localization output rather than new runtime logic, so generator parity and rendered native proof matter more than unit-test growth.

Root-cause cluster

Relationship: canonical
Canonical: #124089
Summary: This PR is the active generated locale refresh; its closed predecessor used the same automation branch and was replaced rather than merged.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Retain the serialized generator flow, add a redacted Android/Wear or Apple native-app visual showing a newly localized string, and merge only after the exact-head Android build is green.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Retain the serialized generator flow, add a redacted Android/Wear or Apple native-app visual showing a newly localized string, and merge only after the exact-head Android build is green.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is a generated artifact refresh rather than a reported defect. The generator and its artifact-validation tests define the relevant parity checks.

Is this the best way to solve the issue?

Yes for artifact correctness: the serialized generator is the canonical owner and avoids hand-maintained platform drift. The remaining gap is visual proof of rendered native text, not a different implementation path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against f4beff12cd5e.

Labels

Label justifications:

  • P3: This is a generated localization refresh with no identified runtime defect or elevated user-impact signal.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.

Evidence

What I checked:

  • Exact PR tree is generated-only: The exact head records 67 modified paths: 21 locale JSON files, 23 Android artifacts, 21 Wear artifacts, and one catalog each for iOS and macOS; no other path class is present. (8bb09b9a204d)
  • Canonical generator validates parity: The current command path checks the inventory and locale artifacts, then invokes Android and Apple verification/check routines; a full sync regenerates derived Android and Apple artifacts together. (scripts/native-app-i18n.ts:1711, f4beff12cd5e)
  • Workflow owns the serialized refresh: The workflow combines independent locale translations, regenerates all derived artifacts once, validates with the strict check, and only then publishes the generated PR. (.github/workflows/native-app-locale-refresh.yml:288, 2e90d6731212)
  • Regression coverage exercises artifact validation: The native i18n tests assert valid artifacts and reject structural and quality violations, including contradictory translations. (test/scripts/native-app-i18n.test.ts:853, f4beff12cd5e)
  • Current main does not supersede this artifact refresh: The PR base is an ancestor of current main, and the base-to-main tree delta contains no native locale, generator, or refresh-workflow paths. (f4beff12cd5e)
  • Review infrastructure limitation: GitHub DNS was unavailable and the partial clone could not hydrate PR-head blobs, so the supplied PR patches and exact commit tree were reviewed; attached workflow logs could not be independently opened.

Likely related people:

  • steipete: Current workflow finalization and generator orchestration are blamed to Peter Steinberger’s recent commit; the maintainer also requested this re-review. (role: recent generator and workflow contributor; confidence: high; commits: 2e90d6731212; files: .github/workflows/native-app-locale-refresh.yml, scripts/native-app-i18n.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Tighten the PR description with what changed, how it was validated, and any remaining risk.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-08-15T07:38:24.578Z sha 6683760 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-15T08:33:32.789Z sha 8bb09b9 :: needs maintainer review before merge. :: none

@steipete
steipete force-pushed the automation/native-app-locale-refresh branch from 6683760 to b52b2b8 Compare August 15, 2026 08:21
@steipete steipete self-assigned this Aug 15, 2026
@clawsweeper
clawsweeper Bot force-pushed the automation/native-app-locale-refresh branch from b52b2b8 to 8bb09b9 Compare August 15, 2026 08:27
@steipete

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

Please review current automation head 8bb09b9a204d3f4c779315b7aebf39a4a5d2a2bf. The canonical generator workflow 31873758359 passed; local native:i18n:verify and native:i18n:check pass with 4,233 identities across 21 locales, Android/Wear/iOS/macOS parity, 84 InfoPlist files, and zero translation contradictions. The 67-file diff is generated localization output only, and fresh two-pass Codex autoreview is clean.

@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor

ClawSweeper follow-up for exact head 8bb09b9a204d3f4c779315b7aebf39a4a5d2a2bf:

A synthetic before/after screenshot is intentionally skipped for this generated maintenance PR. The refresh changes no layout, screen, or source UI logic, and one capture cannot represent 4 native products across 21 locales. The exact-head screenshots prove current native rendering; multilingual correctness is covered by the canonical generator and strict 4,233-identity parity check across every locale and derived platform catalog.

@steipete
steipete merged commit 2d322d1 into main Aug 15, 2026
176 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

@steipete
steipete deleted the automation/native-app-locale-refresh branch August 15, 2026 08:55
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 16, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: ios App: ios app: macos App: macos app: wearos App: wearos P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant