# Translation - Translation Module Data Models Reference

This documentation provides a reference to the Translation data model. It belongs to the Translation Module.

[Source code](https://github.com/medusajs/medusa/blob/87b5b454afdf7533a167fcb48e069f8c28e4b7e9/packages/modules/translation/src/models/translation.ts#L3)

- id: (PrimaryKeyModifier\&#60;IdProperty\&#62;) The ID of the translation.
- reference\_id: (\`TextProperty\`) The ID of the entity that the translation belongs to. For example, the ID of a product or a product variant.The ID of the resource that this translation belongs to. For example, the product ID.
- reference: (\`TextProperty\`) The name of the table that the translation belongs to. For example, "product" or "product\\\_variant".The name of the table that the resource belongs to. For example, \`product\`.
- locale\_code: (\`TextProperty\`) The BCP 47 language tag code of the localeThe translation's locale code in BCP 47 format. For example, \`en-US\`.
- translations: (\`JSONProperty\`) The translations of the entity.
  The object's keys are the field names of the entity, and its value is the translated value.The key-value pairs of the translated fields. The key is a property in the referenced resource, and the value is the translated value for that property.
- translated\_field\_count: (\`NumberProperty\`) Precomputed count of translated fields of a resource.
  Useful for optimization purposes.The translated field count of the translation
