Skip to content

chore(i18n): refresh native locales - #128759

Merged
roboclaw-bot merged 1 commit into
mainfrom
automation/native-app-locale-refresh
Aug 24, 2026
Merged

roboclaw-bot 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 b8d6e799a31d469f60277427472b87036b1f9be7 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 24, 2026 14:29
@clawsweeper

clawsweeper Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@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 24, 2026
@clawsweeper

clawsweeper Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 24, 2026, 11:00 AM ET / 15:00 UTC.

ClawSweeper review

What this changes

The PR refreshes generated Android, iOS, and macOS localization resources for existing native app messages across 21 supported locales.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open: current main contains the new native source messages but not the generated Android and Apple localization outputs supplied here. The generated diff is internally consistent and has no actionable defect.

Priority: P3
Reviewed head: 236c1723e4ab7245523afe739706e4672624de7e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is a consistent canonical generated update; exact-head native validation is the remaining merge-time evidence.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This bot-authored generated-resource update is appropriately assessed through the canonical repository validation path rather than a contributor runtime recording.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This bot-authored generated-resource update is appropriately assessed through the canonical repository validation path rather than a contributor runtime recording.
Evidence reviewed 5 items Current-main gap: Current main contains the Android source call for the expand/collapse label but no matching generated Android resource mappings; this branch adds both mappings and translated resources.
Generated-output contract: The canonical check validates source inventory and locale artifacts, then checks Android and Apple generated outputs.
Complete generated fan-out: The branch adds 27 translation entries to each of 21 locale JSON files, two Android resource entries across the base and localized resource sets, and Apple catalog entries; whitespace validation passed.
Findings None None.
Security None None.

Live Verification

Command: pnpm native:i18n:check

Result: PASS (completed)

d":"openclaw nodes approve REQUEST_ID"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.d8ba012f40567873","source":"OC","translated":"OC"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.df03ebb12a9184ac","source":"$emoji $name","translated":"$emoji $name"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.e07728e43baba950","source":"This gateway connection needs operator.admin
to update skills.","translated":"This gateway connection needs operator.admin to update skills."}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.e2172286605a30c7","source":"openclaw qr","translated":"openclaw qr"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.e2cf5d1f7e606365","source":"${item.count} message(s) need recovery. Re-en
ter anything you want to keep, then delete these rows.","translated":"${item.count} message(s) need recovery. Re-enter anything you want to keep, then delete th
ese rows."}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.e4cddc43d759d3dc","source":"Cron","translated":"Cron"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.ec588e920a1a3604","source":"bounds: $value","translated":"bounds: $value"
}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.eeaf3ed1cc218a9d","source":"${decimal(count / 1_000_000.0)}M","translated
":"${decimal(count / 1_000_000.0)}M"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.ef588ae9bf2170d3","source":"description: $value","translated":"descriptio
n: $value"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.f86f244deb05067b","source":"Not available to this agent","translated":"No
t available to this agent"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.fbd5bbaed33edded","source":"Ready on this gateway. Android can enable or
disable it globally; setup and configuration stay on desktop or CLI.","translated":"Ready on this gateway. Android can enable or disable it globally; setup and
configuration stay on desktop or CLI."}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.fc10972ab7f85dc1","source":"OpenClaw ${BuildConfig.VERSION_NAME} (${Build
Config.VERSION_CODE})","translated":"OpenClaw ${BuildConfig.VERSION_NAME} (${BuildConfig.VERSION_CODE})"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.android.fcf311bf7998ab36","source":"Version $it","translated":"Version $it"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.apple.0046510d99b81729","source":"Live","translated":"Live"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.apple.05f711cec069ec47","source":"Pairing required. In an already-paired OpenClaw
 client, run /pair approve, then check the connection again.","translated":"Pairing required. In an already-paired OpenClaw client, run /pair approve, then chec
k the connection again."}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.apple.067080f781ccd053","source":"wss://gateway.example.com","translated":"wss://
gateway.example.com"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.apple.06ced75261e8a242","source":"App PID","translated":"App PID"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.apple.07c07c9980f34756","source":"Clear session search","translated":"Clear sessi
on search"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.apple.07cdd110577f648e","source":"Realtime-2 (OpenAI)","translated":"Realtime-2 (
OpenAI)"}
native-app-i18n: advisory={"code":"source-equal","locale":"zh-TW","id":"native.app
… output truncated …

Assertions:

  • PASS expect_output: native-app-i18n: locale-artifacts=

How this fits together

Native app source strings are collected into an inventory, translated per locale, and rendered as Android XML plus Apple string catalogs. Those generated resources are consumed by the Android, iOS, and macOS interfaces.

flowchart LR
A[Native source strings] --> B[Source inventory]
B --> C[Locale translations]
C --> D[Android XML]
C --> E[Apple catalogs]
D --> F[Android app]
E --> G[iOS and macOS apps]
Loading

Before merge

  • Complete next step (P2) - No repair is indicated; the remaining action is normal exact-head validation and maintainer merge review.
Agent review details

Security

None.

PR surface

Other +4013. Total +4013 across 46 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 46 4059 46 +4013
Total 46 4059 46 +4013

Review metrics

Metric Value Why it matters
Production versus tests generated production +4,059/-46; tests 0 All changes are generated localization resources; the iOS churn is catalog reordering and source-refresh output, not application logic.
Locale coverage 21 locale catalogs +27 entries each; Android 23 resource sets +2 entries The refresh consistently propagates the current source inventory through every generated native locale surface.

Technical review

Best possible solution:

Merge the isolated generated artifacts after exact-head native platform checks finish, retaining the canonical generator rather than hand-maintained catalogs.

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

Not applicable: this PR synchronizes generated resources for existing source strings, and the canonical locale check is the relevant validation path.

Is this the best way to solve the issue?

Yes: it follows the repository’s canonical inventory-to-locale-to-platform generator flow and avoids a parallel hand-maintained translation path.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is a low-risk generated localization maintenance update with no reported runtime regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This bot-authored generated-resource update is appropriately assessed through the canonical repository validation path rather than a contributor runtime recording.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Authored the current content-hash identity refactor shaping the generator contract. (role: native i18n pipeline refactor contributor; confidence: high; commits: edf1777ddbd8; files: scripts/native-app-i18n.ts, scripts/apple-app-i18n.ts)
  • Vincent Koc: Recent history includes Android and macOS generated-locale repair work in this pipeline. (role: recent i18n pipeline contributor; confidence: high; commits: 6726404c18d9, 342816a58d25; files: scripts/apple-app-i18n.ts, scripts/android-app-i18n.ts)
  • Dallin Romney: Authored the most recent merged native locale refresh in this artifact set. (role: recent generated-locale contributor; confidence: medium; commits: d40cbfef4754; files: apps/ios/Resources/Localizable.xcstrings, apps/android/app/src/main/java/ai/openclaw/app/i18n/NativeStringResources.kt)

Rank-up moves

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

  • Confirm the pending exact-head native platform validations, including the canonical locale check, before merge.

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 (1 earlier review cycle)
  • reviewed 2026-08-24T14:39:43.304Z sha 236c172 :: needs maintainer review before merge. :: none

@roboclaw-bot
roboclaw-bot merged commit 61bc753 into main Aug 24, 2026
157 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Merged via squash.

@roboclaw-bot
roboclaw-bot deleted the automation/native-app-locale-refresh branch August 24, 2026 15:21
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 25, 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 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