Edit a translation
update_phraseUse this when someone asks to fix or change the text of one key in one language. Returns the previous and new text and the projects sharing that string; the change applies in all of them and marks the text as human-edited. Not for adding a new key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Exact existing key | |
| value | Yes | New text for that language, 1 to 2,000 characters | |
| project | Yes | Project name; an id matches nothing | |
| language | Yes | Locale code of the translation to change, such as en or it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| status | Yes | ||
| project | Yes | ||
| language | Yes | ||
| previousValue | Yes | ||
| sharedProjects | Yes | Every project using this string; the change applies to all of them |