how to use EntityFieldQuery by language? global $language;

$query = new EntityFieldQuery();
$result = $query-&gt;entityCondition('entity_type', 'node')
-&gt;propertyCondition('type', 'events')
-&gt;propertyCondition('language', $language-&gt;language)
-&gt;propertyCondition('tnid', $output)
-&gt;execute();


I tried using this code and it is showing me empty page, any help on using EntityFieldQuery?
$language variable  is better to be in the function as:

 function getListNode(){
   global $language;
   $query = new EntityFieldQuery();
   $query-&gt;entityCondition('entity_type', 'node', '=')
         -&gt;entityCondition('bundle', 'content_type', '=')
         -&gt;propertyCondition('language', $language-&gt;language, '=');
   $nids = $query-&gt;execute();
   return entity_load('node', array_keys($nids['node']));
 }


it works for me
good luck