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
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
Considerations
Files to audit
src/prompts/— All prompt handlerssrc/session/command-handler.ts— Channel notification format