diff --git a/application/Espo/Core/Htmlizer/Htmlizer.php b/application/Espo/Core/Htmlizer/Htmlizer.php index d5c8bd224f..9b5efac47d 100644 --- a/application/Espo/Core/Htmlizer/Htmlizer.php +++ b/application/Espo/Core/Htmlizer/Htmlizer.php @@ -391,7 +391,7 @@ class Htmlizer ->get(['entityDefs', $entity->getEntityType(), 'fields', $attribute, 'translation']); if ($translationPath) { - $data[$attribute] = $this->language->get($translationPath . '.' . $attribute, $data[$attribute]); + $data[$attribute] = $this->language->get($translationPath . '.' . $data[$keyRaw], $data[$attribute]); } }