Whereas indicated in the code (includes/entity.inc at line 1257: "Process the four possible entity condition"), only the are supported : id, revision and bundle.
"Language" property, defined in the entity definition ("bundle keys") is not supported.
The main benefit is that entity itself knows the name of it's language column, so it can be done automaticaly.
It should be helpful for example to filter entities like this :
$query = new EntityFieldQuery();
$query->entityCondition('entity_type', 'node', '=')
->entityCondition('bundle', 'hebergement_publique', '=')
->entityCondition('language', $language->language, '=');
$nids = $query->execute();
Instead, currently, we have to do like this :
$query = new EntityFieldQuery();
$query->entityCondition('entity_type', 'node', '=')
->entityCondition('bundle', 'hebergement_publique', '=')
->propertyCondition('language', $language->language, '=');
$nids = $query->execute();
Comments
Comment #2
sebastien m. commentedHere is my patch.