Skip to content

chore(i18n): refresh native locales - #117948

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

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

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Aug 2, 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 247278262234e7396772411b07f3276873671594 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 2, 2026 10:12
@clawsweeper clawsweeper Bot added 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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 2, 2026
@clawsweeper

clawsweeper Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 7:36 AM ET / 11:36 UTC.

ClawSweeper review

What this changes

The PR refreshes generated macOS localization strings and the matching per-language native translation artifacts from the current native app source inventory.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

This PR appears to be a valid repository-generated synchronization of macOS locale artifacts with the current native-string inventory. No discrete patch defect was found; keep it open while the remaining macOS and build checks complete, then merge the exact reviewed head if they stay green.

Likely related people: clawsweeper[bot] is the automation-history routing candidate (medium confidence).

Priority: P3
Reviewed head: 205bd2f4eaf118c939aef0dcab7e734ad8f7c792

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused automation-generated update with matching source-inventory evidence and successful native-i18n CI; remaining required macOS/build checks are ordinary merge gating.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This is a repository automation-generated locale refresh; the supplied exact-head native-i18n and Real behavior proof checks passed, so external-contributor proof is not required.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This is a repository automation-generated locale refresh; the supplied exact-head native-i18n and Real behavior proof checks passed, so external-contributor proof is not required.
Evidence reviewed 6 items Current source inventory needs the added strings: Current main's canonical inventory includes both “Choose a different AI…” and “Authenticate with your Gateway”; their Swift call sites are present in the macOS onboarding flow, while the stale catalog still contains a removed provider-plan message that is no longer found in source.
Generator owns catalog and locale-artifact parity: The native i18n generator compares the rendered source inventory to the committed inventory and validates that every locale file has matching entry ids, source strings, and non-empty structurally compatible translations.
Workflow validates generated output before publishing its PR: The repository workflow regenerates native locales, runs the native i18n check, and publishes only generated native locale/catalog paths on the automation branch.
Findings None None.
Security None None.

How this fits together

Native Swift UI strings are collected into a canonical inventory, then the locale-refresh workflow updates each language artifact and the macOS string catalog. The macOS app consumes the catalog at runtime to display localized onboarding and setup text.

flowchart LR
  A[macOS Swift UI strings] --> B[Native string inventory]
  B --> C[Locale refresh workflow]
  C --> D[Per-language translation artifacts]
  C --> E[macOS string catalog]
  D --> F[Native i18n validation]
  E --> F
  F --> G[Localized macOS onboarding UI]
Loading

Before merge

  • Complete next step (P2) - No repair is needed; this PR only awaits normal exact-head CI completion and maintainer merge review.
Agent review details

Security

None.

PR surface

Other -4350. Total -4350 across 22 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 22 511 4861 -4350
Total 22 511 4861 -4350

Review metrics

None.

Technical review

Best possible solution:

Preserve the single generator-owned locale flow and merge this exact generated refresh after the remaining required macOS/build checks confirm the catalog remains synchronized with the current source inventory.

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

Not applicable: this PR maintains generated translation artifacts rather than repairing a user-reported runtime failure. Its relevant verification path is the generator’s inventory/parity check, which the supplied exact-head CI status reports as successful.

Is this the best way to solve the issue?

Yes. Updating the generator-owned locale artifacts is the narrowest maintainable solution because current source inventory already contains the added strings and the workflow is the canonical producer for the catalog and translations.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: The PR is low-risk generated localization maintenance with no runtime, configuration, provider, or security-boundary code change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 is a repository automation-generated locale refresh; the supplied exact-head native-i18n and Real behavior proof checks passed, so external-contributor proof is not required.

Evidence

What I checked:

  • Current source inventory needs the added strings: Current main's canonical inventory includes both “Choose a different AI…” and “Authenticate with your Gateway”; their Swift call sites are present in the macOS onboarding flow, while the stale catalog still contains a removed provider-plan message that is no longer found in source. (apps/.i18n/native-source.json:35128, a530a7bd70d4)
  • Generator owns catalog and locale-artifact parity: The native i18n generator compares the rendered source inventory to the committed inventory and validates that every locale file has matching entry ids, source strings, and non-empty structurally compatible translations. (scripts/native-app-i18n.ts:1292, a530a7bd70d4)
  • Workflow validates generated output before publishing its PR: The repository workflow regenerates native locales, runs the native i18n check, and publishes only generated native locale/catalog paths on the automation branch. (.github/workflows/native-app-locale-refresh.yml:291, a530a7bd70d4)
  • Branch scope is limited to generated locale artifacts: The exact base-to-head name-status comparison reports 21 per-language files under apps/.i18n/native plus the macOS Localizable.xcstrings catalog, with no runtime, dependency, workflow, or configuration code change. (apps/macos/Sources/OpenClaw/Resources/Localizable.xcstrings:1, 205bd2f4eaf1)
  • Exact-head automation provenance: The reviewed commit is a github-actions-generated locale refresh whose sole parent is the current main SHA; the supplied PR checks show native-i18n, macos-node, security-fast, and real-behavior-proof completed successfully, while broader build/macOS checks remain in progress. (.github/workflows/native-app-locale-refresh.yml:342, 205bd2f4eaf1)
  • Automation ownership provenance: Blame attributes the current generator’s source-root and locale-output contract, plus the workflow’s generated-PR body, to the current automation lineage; deeper history was unavailable because this partial checkout could not fetch missing promisor objects while DNS to GitHub was unavailable. (scripts/native-app-i18n.ts:57, c8688051ed67)

Likely related people:

  • clawsweeper[bot]: The available blame and shallow history tie the canonical native-i18n output contract and generated-PR workflow block to the repository automation lineage. (role: generated-locale automation owner; confidence: medium; commits: c8688051ed67, 205bd2f4eaf1; files: scripts/native-app-i18n.ts, .github/workflows/native-app-locale-refresh.yml)

Rank-up moves

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

  • Wait for the remaining macOS and build checks on the exact current head to complete successfully.

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-02T10:19:41.926Z sha 5a6a8783efd826428e4f08628cad784aee749414 :: needs maintainer review before merge. :: none
  • reviewed August 2, 2026, 6:39 AM ET / 10:39 UTC sha unknown :: needs maintainer review before merge. :: none

@clawsweeper
clawsweeper Bot force-pushed the automation/native-app-locale-refresh branch from 5a6a878 to 205bd2f Compare August 2, 2026 11:31
@vincentkoc vincentkoc self-assigned this Aug 2, 2026
@vincentkoc
vincentkoc merged commit c1e31f1 into main Aug 2, 2026
93 checks passed
@vincentkoc
vincentkoc deleted the automation/native-app-locale-refresh branch August 2, 2026 15:04
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 2, 2026
* origin/main:
  fix(install): reject commit-less git checkouts (#113809)
  chore(i18n): refresh native locales (#117948)
  fix(release): validate MiniMax M3 in stable lanes (#118017)
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 3, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 3, 2026
* origin/main:
  fix(install): reject commit-less git checkouts (openclaw#113809)
  chore(i18n): refresh native locales (openclaw#117948)
  fix(release): validate MiniMax M3 in stable lanes (openclaw#118017)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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