Skip to content

Audit prompts for correct language handling in multilingual content #53

@pento

Description

@pento

Summary

Audit MCP prompts to ensure actions and responses use the appropriate language depending on context. Currently there is no distinction between the document language and the user's language.

Expected behavior

  • Content edits (proofreading fixes, new text, translations): Should be in the document's language.
  • Notes/comments left on blocks: Should be in the document's language (they are editorial feedback on the content).
  • Command status messages (toast responses back to the browser): Should be in the user's language.

Considerations

  • How to detect/determine the document language (post locale, site locale, content heuristics?)
  • How to detect/determine the user's language (WordPress user locale, browser locale via plugin?)
  • Whether to pass language hints from the WordPress plugin via command arguments

Files to audit

  • src/prompts/ — All prompt handlers
  • src/session/command-handler.ts — Channel notification format

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions