diff --git a/includes/salsa_entity.entity.inc b/includes/salsa_entity.entity.inc index badddd7..524ab43 100644 --- a/includes/salsa_entity.entity.inc +++ b/includes/salsa_entity.entity.inc @@ -103,9 +103,9 @@ class SalsaEntity extends Entity { * Implements Entity::getTranslation(). */ public function getTranslation($property, $langcode = NULL) { - // The language code from salsa is in ISO-693-3, drupal language is in - // ISO-693 - this means we need to convert the 2-char drupal language - // into a 3-char language. + // The language code from salsa is in ISO-639-2, drupal language is in + // ISO-639-1 - this means we need to convert the 2-char drupal language + // code into a 3-char salsa language code. $iso639_2_langcode = SalsaEntityLanguageMapper::toIso639_2($langcode); if (!isset(self::$translations[$iso639_2_langcode][$this->getSalsaType()][$this->identifier()])) {