Skip to content

chore(i18n): refresh native locales - #155571

Merged
openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/native-app-locale-refresh
Sep 22, 2026
Merged

openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/native-app-locale-refresh

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Sep 22, 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 this update from fbc540f147e53352a02773b29561093578a72c3d and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 22, 2026 07:45
@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 Sep 22, 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 Sep 22, 2026
@clawsweeper

clawsweeper Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed September 22, 2026, 11:15 AM ET / 15:15 UTC (Revision 4).

ClawSweeper review

What this changes

Adds translations for Android chat’s previous-image, next-image, and image-range labels in 21 languages and removes the obsolete hidden-image message.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this publisher-owned locale refresh open. The earlier inventory gap is resolved and no code defect was found, but the supplied screenshots cover the previous diff rather than the current pagination translations.

Priority: P3
Reviewed head: 5bd4171a55d8cc37876d15b47c9c871903486b36

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The generated patch is coherent and parity checks pass, but the visual evidence no longer covers the current change.
Proof confidence 🦐 gold shrimp (3/6) 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 8 items Reviewed introduced changes: The pinned base-to-head diff changes only translation artifacts, Android resource mappings, and XML strings. All three range arguments remain present, including correctly reordered positional arguments in Hindi.
Existing production consumer: Chat displays pagination when a message contains more than four images and passes first, last, and total counts to the localized range label. The existing resource resolver falls back to English when a mapping is absent; this PR supplies the missing mappings without changing pagination behavior.
Earlier parity concern resolved: Read-only JSON inspection found all 4,039 inventory IDs in each of the 21 locale artifacts, with zero missing or extra IDs; XML inspection found the three new resources in every language and the default resource file. The exact-head native-i18n check subsequently completed successfully. No repository code or tests were executed locally.
Findings None None.
Security None None.

How this fits together

The native localization pipeline turns the shared translation inventory into Android string resources. Android chat uses those resources to display image-pagination controls in the selected language.

flowchart LR
  A[Native source inventory] --> C[Locale generator]
  B[Language translations] --> C
  C --> D[Android string resources]
  E[Selected app language] --> F[Chat image pagination]
  D --> F
  F --> G[Translated controls and image range]
Loading

Before merge

  • Complete next step (P2) - Add matching before/after pagination screenshots, inspect and redact private information, and deliver them through the required chat and PR destinations with a PR-body link. Updating the body should trigger review; if it does not, ask a maintainer to comment @clawsweeper re-review.
Agent review details

Security

None.

PR surface

Other +88. Total +88 across 44 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 44 132 44 +88
Total 44 132 44 +88

Review metrics

Metric Value Why it matters
Locale inventory parity 4,039 IDs per locale; 0 missing or extra across 21 locales The current artifacts resolve the earlier review’s missing-entry concern, corroborated by the successful exact-head native-i18n check.

Technical review

Best possible solution:

Keep these translations generated from the canonical inventory and consumed through Android’s existing localization owner.

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

Not applicable as a standalone bug report; source inspection confirms that existing pagination controls consume the newly translated strings.

Is this the best way to solve the issue?

Yes. Updating the established generated resources is the narrowest solution, and the positional formatting matches the existing caller.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 94b9c471535b.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • remove proof: sufficient: Current real behavior proof status is not_applicable, not sufficient.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove proof: 📸 screenshot: Current real behavior proof evidence kind is not_applicable.

Label justifications:

  • P3: This is a bounded translation refresh for existing Android controls.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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:

  • Reviewed introduced changes: The pinned base-to-head diff changes only translation artifacts, Android resource mappings, and XML strings. All three range arguments remain present, including correctly reordered positional arguments in Hindi. (apps/android/app/src/main/res/values-hi/strings.xml:590, 5bd4171a55d8)
  • Existing production consumer: Chat displays pagination when a message contains more than four images and passes first, last, and total counts to the localized range label. The existing resource resolver falls back to English when a mapping is absent; this PR supplies the missing mappings without changing pagination behavior. (apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt:2326, 5bd4171a55d8)
  • Earlier parity concern resolved: Read-only JSON inspection found all 4,039 inventory IDs in each of the 21 locale artifacts, with zero missing or extra IDs; XML inspection found the three new resources in every language and the default resource file. The exact-head native-i18n check subsequently completed successfully. No repository code or tests were executed locally. (apps/.i18n/native-source.json, 5bd4171a55d8)
  • Screenshot coverage changed with the branch: Inspected all four downloaded images from the supplied screenshot comment. They show Thai Appearance and Stop-error text using the documented Robolectric native rendering harness with synthetic Gateway fixtures. They support the earlier changes, but none displays the previous-image, next-image, or image-range labels introduced by the current head.
  • Applicable visual evidence requirement: The root policy and contribution guide require inspected before/after screenshots for rendered UI changes. Bot authorship exempts ordinary external-contributor runtime proof, but does not exempt this explicit visual requirement. (AGENTS.md:91, 5bd4171a55d8)
  • Still useful on fetched main: Fetched main still contains the obsolete hidden-image mapping and lacks the three pagination mappings. GitHub confirms improve(android): keep chat photos outside text bubbles #155338 merged the underlying image-pagination UI; that feature does not supply this PR’s translations. The local release-blob read failed, so no shipped-release claim is made. (apps/android/app/src/main/java/ai/openclaw/app/i18n/NativeStringResources.kt, 94b9c471535b)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Provide inspected, sanitized before/after Android screenshots showing the translated image-pagination controls and formatted range, and link them from the PR body.

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 (3 earlier review cycles)
  • reviewed 2026-09-22T07:51:23.196Z sha 621a5c82a0f652f62499e745efaaf3ae694bd82e :: needs changes before merge. :: none
  • reviewed 2026-09-22T08:49:31.090Z sha 621a5c82a0f652f62499e745efaaf3ae694bd82e :: needs maintainer review before merge. :: none
  • reviewed 2026-09-22T10:08:47.647Z sha 2321a91 :: blocked before merge. :: none

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Native locale screenshots

Inspected before/after captures from the production Android Appearance and Chat screens, rendered by the existing Robolectric NATIVE graphics harness in Thai. These are native rendering-harness captures, not device/emulator evidence; Gateway traffic uses synthetic fixtures.

Before: 2668ec7cc28cd0d7eb0fd961ca54907ebec0bd58. After: 56910c26b284cab9de238f1b0eba1524c90ae5df, adopting the exact generated locale outputs from 621a5c82a0f652f62499e745efaaf3ae694bd82e.

The Stop comparison clicks the real control and exercises the controller’s fallback after a synthetic transport failure without an error message. The before image shows English fallback; the after image shows Thai. All four images were inspected for readable text, clipping, and private information.

Screen Before After
Thai Appearance Thai Appearance before Thai Appearance after
Thai Stop error Thai Stop error before Thai Stop error after

Validation: both intended before captures and both after captures passed. The initial Stop capture needed the existing harness’s Android Main-looper synchronization; no timeout or assertion was weakened. No production code was changed for capture.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 22, 2026
@clawsweeper
clawsweeper Bot force-pushed the automation/native-app-locale-refresh branch from 621a5c8 to 2321a91 Compare September 22, 2026 10:01
@openclaw-mantis
openclaw-mantis Bot disabled auto-merge September 22, 2026 10:01
@clawsweeper
clawsweeper Bot force-pushed the automation/native-app-locale-refresh branch from 2321a91 to 5bd4171 Compare September 22, 2026 15:08
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 22, 2026 15:08
@openclaw-barnacle openclaw-barnacle Bot added size: S and removed app: ios App: ios app: macos App: macos app: wearos App: wearos size: XL labels Sep 22, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 22, 2026
@openclaw-mantis
openclaw-mantis Bot merged commit 9c1b487 into main Sep 22, 2026
125 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/native-app-locale-refresh branch September 22, 2026 15:36
vincentkoc added a commit that referenced this pull request Sep 22, 2026
* commit 'f3327bde3c6052a4ed6d487bb09fbe1e11c0cd35': (25 commits)
  fix(test): pass the fixture lifetime to launcher fixtures (#155825)
  fix(test): prepare history benchmark before child deadlines (#155780)
  refactor(config): derive tool contracts from schemas (#155484)
  chore(deps): update fs-safe to 0.18.1 (#155771)
  fix(doctor): allow repair with retained deleted-agent sessions (#155752)
  fix(setup): await inference probe cleanup (#155407)
  fix(mcp): recover expired SSE sessions and speed up parsing (#155497)
  fix(release): forward the stable soak waiver through the candidate helper (#155798)
  feat: calibrate Gateway plugin resources through retirement (#155792)
  fix: preserve the invoked launcher when restarting Node (#147621)
  fix(sessions): stop repeated failed worker exit cleanup (#154720)
  fix(ui): preserve active replies and tools after failed steering (#155746)
  fix(ci): retain missing-load-path baseline diagnostics (#154861)
  fix(gateway): keep session lists responsive during activity updates (#155767)
  fix: keep plugin queues bound to their selected session (#155714)
  chore(i18n): refresh native locales (#155571)
  fix(ci): wait for reset hook entry and join fixture cleanup (#155770)
  test: move subagent fixtures to module boundaries (#155727)
  fix(gateway): retain question requester authority through settlement (#155335)
  perf(gateway): move progress-card reads off the main thread (#153857)
  ...
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Sep 23, 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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S 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