translation_update
Write translations for translatable fields in Odoo records, supporting single or batch updates with per-field and per-language content.
Instructions
💡 Before multi-step work, check find_skill / list_workflows for canonical recipes. Write translations for translatable field(s). Two forms: (1) Single/same-map — pass record_id (a number or an array of ids), field_name and translations; the same translations map is applied to every id. (2) Batch — pass updates: [{record_id, field_name, translations}, ...] to write different content per record and per field in one call (e.g. name + html_content for many records). For char fields (translate=True): translations = {"fr_FR": "Bonjour", "ar_001": "Ù…Ø±ØØ¨Ø§"}. For html / arch_db fields (callable translate): translations = {"fr_FR": {"English source term": "French translation"}}. The target language must be installed in Odoo (Settings → Languages). Single id (number) form returns {success: true}; id-array and batch forms return {results: [{record_id, field_name, success: true} | {record_id, field_name, error}]}. Returns the above or {error}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| updates | No | ||
| record_id | No | ||
| field_name | No | ||
| translations | No |