Skip to content

chore(i18n): refresh native locales - #131987

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

openclaw-mantis[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 5b6ef55fc796c291469cd5b301270b87506c76b0 and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 28, 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 28, 2026 17:50
@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 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 1:55 PM ET / 17:55 UTC.

ClawSweeper review

What this changes

The PR refreshes generated native-language JSON catalogs and the iOS/macOS Apple string catalogs for recently added and removed native app text.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open. This is a necessary generated refresh: current main still lacks these derived locale entries, and the reviewed artifacts are structurally consistent with the native localization inventory. Normal exact-head CI remains the landing gate.

Priority: P3
Reviewed head: 9b9b828e50e56e527da70cd8dba1ccf2841fba14

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The generated patch is structurally consistent with its inventory and catalog pipeline, with normal exact-head CI still pending.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-generated maintenance PR changes derived localization catalogs; the repository workflow owns synchronization and validation, and the external-contributor proof gate does not apply.
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 maintenance PR changes derived localization catalogs; the repository workflow owns synchronization and validation, and the external-contributor proof gate does not apply.
Evidence reviewed 7 items Introduced surface: The verified PR-introduced delta changes only 21 locale artifacts and the two Apple-derived catalogs; it introduces no runtime, dependency, workflow, or permission change.
Generation owner: The refresh workflow performs one combined native-artifact sync, validates it with the check command, and then publishes the generated PR.
Validation boundary: The checker enumerates every required locale artifact and validates each against the source inventory; the check command also checks the derived Apple catalogs.
Findings None None.
Security None None.

How this fits together

Native app source strings are collected into a stable inventory, translated into per-language JSON artifacts, then compiled into the iOS and macOS string catalogs. Those catalogs supply localized text to the native app UI.

flowchart LR
  A[Native app source text] --> B[Stable string inventory]
  B --> C[Locale JSON catalogs]
  C --> D[Localization generator]
  D --> E[iOS string catalog]
  D --> F[macOS string catalog]
  E --> G[Localized native UI]
  F --> G
Loading

Before merge

  • Complete next step (P2) - No repair work is needed; wait for normal exact-head CI and branch-protection gates.
Agent review details

Security

None.

PR surface

Other +365. Total +365 across 23 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 23 388 23 +365
Total 23 388 23 +365

Review metrics

Metric Value Why it matters
Generated localization delta production +388/−23 generated lines; tests 0 The change is entirely generated runtime localization data, with no new executable production or test code.

Technical review

Best possible solution:

Land the generated artifacts unchanged after the required checks pass, preserving the single workflow-owned synchronization path.

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

Not applicable: this PR refreshes generated localization artifacts rather than reporting a defect. Static inspection confirms inventory coverage and preserved interpolation tokens across every locale.

Is this the best way to solve the issue?

Yes. The existing workflow owns the canonical flow: it combines translations once, regenerates derived Apple catalogs, and checks the resulting artifacts together.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is routine generated localization maintenance with no demonstrated regression or security impact.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This bot-generated maintenance PR changes derived localization catalogs; the repository workflow owns synchronization and validation, and the external-contributor proof gate does not apply.

Label justifications:

  • P3: This is routine generated localization maintenance with no demonstrated regression or security impact.
  • 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: This bot-generated maintenance PR changes derived localization catalogs; the repository workflow owns synchronization and validation, and the external-contributor proof gate does not apply.

Evidence

What I checked:

  • Introduced surface: The verified PR-introduced delta changes only 21 locale artifacts and the two Apple-derived catalogs; it introduces no runtime, dependency, workflow, or permission change. (apps/.i18n/native/ar.json:1909, 9b9b828e50e5)
  • Generation owner: The refresh workflow performs one combined native-artifact sync, validates it with the check command, and then publishes the generated PR. (.github/workflows/native-app-locale-refresh.yml:291, 9b9b828e50e5)
  • Validation boundary: The checker enumerates every required locale artifact and validates each against the source inventory; the check command also checks the derived Apple catalogs. (scripts/native-app-i18n.ts:1509, 9b9b828e50e5)
  • Apple catalog callee: Apple validation verifies runtime localization paths and checks both generated catalogs against their derived builds. (scripts/apple-app-i18n.ts:970, 9b9b828e50e5)
  • Static artifact check: All 21 locale JSON files contain all 4,301 inventory entries with zero missing or unknown IDs and zero structural-token mismatches; iOS and macOS catalogs parse with no missing localized values. (apps/.i18n/native-source.json:3, 9b9b828e50e5)
  • Current-main necessity and mergeability: Current main differs from this head on precisely the same 23 derived locale/catalog files, so it has not superseded the refresh; a three-way merge against current main reports a merged result. (apps/ios/Resources/Localizable.xcstrings:55, f7c5bd30730c)

Likely related people:

  • Peter Steinberger: Authored the native chat search source that introduced these strings and the workflow lines that generate and validate the localization refresh. (role: native chat and localization pipeline author; confidence: high; commits: 95f9d86444ea, 343f8c75a69e; files: apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatTranscriptSearch.swift, .github/workflows/native-app-locale-refresh.yml, scripts/native-app-i18n.ts)

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.

@openclaw-mantis
openclaw-mantis Bot merged commit 97e3f84 into main Aug 28, 2026
160 of 161 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/native-app-locale-refresh branch August 28, 2026 18:17
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 29, 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: 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: M 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.

0 participants