|
1
|
{"slug":"/references/translation/interfaces/translation.UpdateTranslationDTO","title":"UpdateTranslationDTO","frontmatter":{"displayed_sidebar":"translationReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The attributes to update in the translation."},{"kind":"typeList","sectionTitle":"UpdateTranslationDTO","types":[{"name":"reference_id","type":"`string`","description":"The ID of the data model being translated.","optional":true,"defaultValue":"","example":"\"prod_123\"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The name of the table that the translation belongs to.","optional":true,"defaultValue":"","example":"\"product\"","expandable":false,"children":[]},{"name":"locale_code","type":"`string`","description":"The BCP 47 language tag code for this translation.","optional":true,"defaultValue":"","example":"\"en-US\"","expandable":false,"children":[]},{"name":"translations","type":"`Record<string, unknown>`","description":"The translated fields as key-value pairs.","optional":true,"defaultValue":"","example":"{ * \"title\": \"Product Title\", * \"description\": \"Product Description\", * }","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the translation to update.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} |