Translate blog post
Tool ID: kocodesk_blog_post_translate
Summary
Create a translation of a blog post in one of your site's other languages, optionally pre-filled with the original text.
When to use it
- Before writing a post in a second language.
- When rolling out an existing article to your other language versions.
What you need
| Requirement | Required? |
|---|---|
| Metraclick connection | Yes |
| Tool enabled for your account | Yes |
| KocoDesk credentials | Yes |
| Blog plugin enabled for the site | Yes |
| A second language configured for the site | Yes |
Parameters
| Parameter | Required? | Description |
|---|---|---|
post_id |
Yes | The main post to translate. |
language |
Yes | The target language, which must be set up for your site. |
confirm |
Yes | Must be true; nothing is created without it. |
copy |
No | Start from a copy of the original text (default yes). |
What you get back
The post as it now appears in the target language.
Example prompts
Create a German version of my latest blog post, then confirm with me.
Set up a French translation of blog post 42 starting from a copy of the English text, after I confirm.
Tips
- Mutating — you must confirm.
- This only creates the translation. Write the translated title and teaser afterwards with Update blog post, passing the same language.
- Only main posts can be translated — you cannot translate a translation.
- The publish date, lead image and categories stay shared with the original.