openclaw - 💡(How to fix) Fix Feature request: i18n/template support for exec approval prompts [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#81253Fetched 2026-05-14 03:34:05
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
2
Author
Timeline (top)
commented ×1mentioned ×1subscribed ×1

Root Cause

Exec approval is a safety feature. If the message is hard to understand, users may approve blindly or deny safe commands unnecessarily.

Code Example

Approval required.

Run:
/approve edea63c7-b415-4365-bc8c-855a1fe96b26 allow-once
Pending command:
date +%Y-%m-%d
Other options:
/approve edea63c7-b415-4365-bc8c-855a1fe96b26 allow-always
/approve edea63c7-b415-4365-bc8c-855a1fe96b26 deny

---

需要审批一个命令执行请求

请求编号:
{approvalId}

将要执行:
{command}

可选操作:
✅ 本次允许:/approve {approvalId} allow-once
♾️ 永久允许:/approve {approvalId} allow-always
❌ 拒绝执行:/approve {approvalId} deny

---

{
  "channels": {
    "telegram": {
      "execApprovals": {
        "locale": "zh-CN",
        "template": "..."
      }
    }
  }
}
RAW_BUFFERClick to expand / collapse

Feature request

Please add i18n/template support for exec approval prompts, especially for Telegram/native chat approval messages.

Problem

Current approval prompts are hard to understand for non-technical users.

Example:

Approval required.

Run:
/approve edea63c7-b415-4365-bc8c-855a1fe96b26 allow-once
Pending command:
date +%Y-%m-%d
Other options:
/approve edea63c7-b415-4365-bc8c-855a1fe96b26 allow-always
/approve edea63c7-b415-4365-bc8c-855a1fe96b26 deny

The approval ID, shell command, and action names are mixed together without explanation. Users may not understand what is safe to approve.

Suggested improvement

Allow operators to customize approval prompt templates or enable localized labels.

For example, in Chinese:

需要审批一个命令执行请求

请求编号:
{approvalId}

将要执行:
{command}

可选操作:
✅ 本次允许:/approve {approvalId} allow-once
♾️ 永久允许:/approve {approvalId} allow-always
❌ 拒绝执行:/approve {approvalId} deny

Desired config

Something like:

{
  "channels": {
    "telegram": {
      "execApprovals": {
        "locale": "zh-CN",
        "template": "..."
      }
    }
  }
}

Or a general gateway-level template for all chat approval clients.

Why this matters

Exec approval is a safety feature. If the message is hard to understand, users may approve blindly or deny safe commands unnecessarily.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Feature request: i18n/template support for exec approval prompts [1 comments, 2 participants]