translation_get
Retrieve language translations for any translatable field on an Odoo record. Supports batch read by record ID and field name, with optional language filter.
Instructions
Read all language translations for a translatable field on a record. Works on any field with translate=True (char fields: returns one entry per language) or callable translate (html / arch_db: returns one entry per translatable term per language). record_id and field_name each accept a single value OR an array (batch read in one call). langs: optional list of language codes to filter (e.g. ["fr_FR", "ar_001"]); omit to return all installed languages. Single record_id AND single field_name → {translations: [{lang, source, value}], translation_type, translation_show_source}. Any array argument → {results: [{record_id, field_name, translations, translation_type, translation_show_source} | {record_id, field_name, error}]}. Returns the above or {error}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| langs | No | ||
| model | Yes | ||
| record_id | Yes | ||
| field_name | Yes |