--- prompt: translate-a-page title: Translate a page description: Your agent translates a page into another language and saves it as a new draft, layout and all. category: Content products: WordPress mode: can make changes, asks first tools: pages.list, pages.get, pages.create url: https://jetpack.com/prompts/translate-a-page/ updated: 2026-10-25 --- # Translate a page Your agent translates a page into another language and saves it as a new draft, layout and all. ## Prompt > Translate my [About] page into [Spanish]. Keep the same blocks, images and layout, and translate the title too. Save it as a new draft page. Square brackets are placeholders. Ask the user to fill them in if they did not. ## Steps for your agent 1. Find the page with pages.list (search by title). Read it with pages.get, context "edit" and content_format "raw". 2. Translate only the text inside the blocks. Keep block markup, image URLs, links and attributes as they are. Translate alt text and the title too. 3. Ask before saving. On yes, call pages.create with the translated raw content, the translated title, the same template, status "draft" and user_confirmed true. 4. Check _content_warnings, then give the edit link. Suggest a native speaker checks it. ## Tools - `pages.list` (reads only, through `wpcom-mcp-content-authoring`): Find the page by its title. - `pages.get` (reads only, through `wpcom-mcp-content-authoring`): Read the page’s blocks. - `pages.create` (makes changes, through `wpcom-mcp-content-authoring`): Save the translation as a new draft page. Run each tool through the WordPress.com MCP server tool named next to it, with `action: "execute"`, `operation` set to the tool name, `wpcom_site` and `params`. Set `user_confirmed: true` only after the user approves a change. ## Before you start - Free. Works on any Jetpack site. - You need a role that can edit pages, like Editor or Administrator. ## Safety Saves the translation as a new draft. The original page doesn’t change.