update_translations
Update or overwrite translations for a specific language in POEditor projects. Provide term translations with optional context, plural forms, and fuzzy matching to maintain translation accuracy.
Instructions
Update/overwrite translations for a language. Important: if a term was created with a context, you must provide the same context value to match that term.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | ||
language | Yes | ||
project_id | No |
Input Schema (JSON Schema)
{
"properties": {
"items": {
"items": {
"additionalProperties": false,
"properties": {
"content": {
"default": "",
"type": "string"
},
"context": {
"type": "string"
},
"fuzzy": {
"type": "boolean"
},
"plural": {
"additionalProperties": false,
"properties": {
"few": {
"type": "string"
},
"many": {
"type": "string"
},
"one": {
"type": "string"
},
"other": {
"type": "string"
}
},
"type": "object"
},
"term": {
"minLength": 1,
"type": "string"
}
},
"required": [
"term"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"language": {
"minLength": 2,
"type": "string"
},
"project_id": {
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"language",
"items"
],
"type": "object"
}