WPML Übersetzung erstellen
wpml_create_translationCreates a translation for a WordPress post by specifying the original post ID, target language, translated title, and content.
Instructions
Erstellt eine Übersetzung für einen Post
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"postId": "<postId>",
"targetLanguage": "<targetLanguage>",
"title": "<title>",
"content": "<content>"
},
"name": "wpml_create_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Übersetzter Titel | |
| postId | Yes | Original Post-ID | |
| status | No | Status | draft |
| content | Yes | Übersetzter Inhalt | |
| targetLanguage | Yes | Zielsprache (z.B. de, en, fr) |