openclaw - 💡(How to fix) Fix Feature Request: Add language/locale config for Dream Diary [1 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#69825Fetched 2026-04-22 07:47:53
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0

Code Example

{
  "plugins": {
    "entries": {
      "memory-core": {
        "config": {
          "dreaming": {
            "enabled": true,
            "diaryLanguage": "zh"
          }
        }
      }
    }
  }
}
RAW_BUFFERClick to expand / collapse

Feature Request: Add language/locale configuration for Dream Diary entries

Problem

The Dream Diary (梦境日记) entries generated by memory-core dreaming are always in English, regardless of the user's language preference. For non-English users (e.g., Chinese), the dream diary narrative feels disconnected from their daily context.

Current Behavior

Dream diary entries are generated by a subagent using hardcoded English prompts, producing English narratives like:

"A messenger arrives at my door at three in the morning, breathless, clutching a scroll of commands..."

Desired Behavior

Support a diaryLanguage configuration option under plugins.entries.memory-core.config.dreaming to allow users to specify the output language for dream diary entries.

Proposed Configuration

{
  "plugins": {
    "entries": {
      "memory-core": {
        "config": {
          "dreaming": {
            "enabled": true,
            "diaryLanguage": "zh"
          }
        }
      }
    }
  }
}

Use Case

  • Chinese-speaking users want dream diary entries in Chinese (中文)
  • Japanese-speaking users want entries in Japanese
  • The subagent prompt should include the language preference so the model generates narratives in the target language

Additional Context

  • Current dreaming config only supports enabled and frequency
  • The dream diary is generated by a background subagent turn
  • Language setting should affect only the narrative diary entries, not machine-state artifacts or MEMORY.md promotions

Environment

  • OpenClaw version: 2026.4.16
  • OS: Windows 10
  • Model: xiaomi-coding/mimo-v2-pro

extent analysis

TL;DR

To support multiple languages for Dream Diary entries, add a diaryLanguage configuration option under plugins.entries.memory-core.config.dreaming and modify the subagent prompt to include the language preference.

Guidance

  • Review the current memory-core configuration to understand how the dreaming feature is implemented and how language settings can be integrated.
  • Modify the subagent prompt to accept a language parameter, allowing it to generate narratives in the target language.
  • Update the configuration schema to include the diaryLanguage option and ensure it is properly validated and applied to the subagent prompt.
  • Test the new configuration with different language settings to verify that the dream diary entries are generated in the correct language.

Example

{
  "plugins": {
    "entries": {
      "memory-core": {
        "config": {
          "dreaming": {
            "enabled": true,
            "diaryLanguage": "zh",
            "prompt": "Generate a dream diary entry in {{diaryLanguage}}"
          }
        }
      }
    }
  }
}

Notes

The implementation details of the subagent and the dreaming feature are not provided, so the exact steps to modify the subagent prompt and integrate the language setting may vary. Additionally, the support for different languages may depend on the capabilities of the underlying model and the availability of language-specific prompts.

Recommendation

Apply the proposed configuration change and modify the subagent prompt to include the language preference, as this will allow users to specify the output language for dream diary entries and improve the overall user experience for non-English users.

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: Add language/locale config for Dream Diary [1 participants]