Skip to content

chore(i18n): refresh native locales - #120352

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

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

Conversation

@openclaw-mantis

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 this update from 588d8bb853883121ddd3a2c5d50550bfb8433be4 and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) August 7, 2026 21:01
@clawsweeper

clawsweeper Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 7, 2026, 5:52 PM ET / 21:52 UTC.

ClawSweeper review

What this changes

The PR regenerates Android and iOS locale artifacts, removes obsolete iOS permission/onboarding translations, and corrects three Android translations.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: this is the canonical generated-native-locale refresh, and source, workflow, and parity-test evidence found no actionable defect in the deletion of obsolete Apple strings.

Priority: P3
Reviewed head: 6d57a88a69ffef0992644b5f71c1ffbc5ed912b6

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The generated patch matches the repository’s canonical localization pipeline and has relevant native CI coverage.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-generated artifact refresh is covered by the native locale parity workflow and native build checks; contributor real-setup proof is not applicable.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This bot-generated artifact refresh is covered by the native locale parity workflow and native build checks; contributor real-setup proof is not applicable.
Evidence reviewed 6 items Canonical generation path: The native locale refresh workflow regenerates the exact Android, iOS, and locale-artifact paths in this PR, then runs a strict native i18n check before publishing the automation branch.
Projection contract: The generator derives Apple catalog entries only from the current iOS inventory and rejects stale catalog output; obsolete translation records are intentionally excluded from a full sync.
Existing coverage: Existing tests cover catalog derivation from the inventory, stale generated catalog rejection, and Android resource/runtime/locale alignment.
Findings None None.
Security None None.

How this fits together

Native application strings are collected into a stable inventory, then projected into Android XML, the iOS string catalog, and per-language translation artifacts. The mobile apps consume those generated resources at runtime.

flowchart LR
A[Native app source strings] --> B[Stable locale inventory]
B --> C[Native locale generator]
C --> D[Android XML resources]
C --> E[iOS string catalog]
C --> F[Language artifacts]
D --> G[Android app]
E --> H[iOS app]
Loading

Before merge

  • Resolve merge risk (P1) - The latest ClawSweeper comment was filtered from the supplied context; its existing rank-up moves should be read before an actual merge decision.
  • Complete next step (P2) - No mechanical repair is indicated; this PR should follow the normal exact-head merge review rather than a ClawSweeper repair lane.
Agent review details

Security

None.

PR surface

Other -3596. Total -3596 across 25 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 25 66 3662 -3596
Total 25 66 3662 -3596

Review metrics

Metric Value Why it matters
Production vs test LOC production +66/-3,662; tests 0/0 The large net deletion is generated locale cleanup; strict generator parity and native build checks are the relevant safeguards.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep native locale artifacts generator-owned and merge this refresh only after the normal exact-head review/check gates confirm the queued automation result.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep native locale artifacts generator-owned and merge this refresh only after the normal exact-head review/check gates confirm the queued automation result.

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

Not applicable: this PR refreshes generated locale artifacts rather than fixing a reported runtime failure; the relevant verification is generator parity plus native builds.

Is this the best way to solve the issue?

Yes. Regenerating from the current stable inventory is the maintainable solution; manually preserving obsolete Android or iOS catalog entries would recreate drift.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is routine generated translation maintenance with no demonstrated runtime regression.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Label justifications:

  • P3: This is routine generated translation maintenance with no demonstrated runtime regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Evidence

What I checked:

Likely related people:

  • joshavant: Authored the iOS changes that removed the pre-prompts whose stale translations this generator refresh prunes. (role: recent iOS permission-flow contributor; confidence: high; commits: 0bcbaf2edaf9, ac2994a0e2be; files: apps/ios/Sources/Permissions/DevicePermissionRow.swift)
  • Vincent Koc: Path history shows substantial contribution to the Apple locale generator and its catalog contract. (role: native i18n generator contributor; confidence: medium; files: scripts/apple-app-i18n.ts, scripts/native-app-i18n.ts)
  • Peter Steinberger: Recent history connects this area to the locale refresh workflow and generated catalog maintenance. (role: recent native locale automation contributor; confidence: medium; commits: 74500f334ed; files: .github/workflows/native-app-locale-refresh.yml, apps/ios/Resources/Localizable.xcstrings)

Rank-up moves

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

  • Before merge, read the latest ClawSweeper comment and confirm any existing rank-up moves against the exact head.

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.

@vincentkoc vincentkoc self-assigned this Aug 7, 2026
@vincentkoc
vincentkoc merged commit a8f314d into main Aug 7, 2026
101 checks passed
@vincentkoc
vincentkoc deleted the automation/native-app-locale-refresh branch August 7, 2026 23:42
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 8, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant