Programatically get a list of node ids of a content type for a specified language From the following code I get all the node ids of content type 'blog'   

    $query = \Drupal::entityQuery('node');
    $query-&gt;condition('status', 1);
    $query-&gt;condition('type', 'blog');
    $query-&gt;sort('created', 'ASC');
    $entity_ids = $query-&gt;execute();


I want to retrieve all the node ids of specific language. 
Eg. Node ids of content type 'blog' for 'French' language.
You can just add langcode to the query:

$query-&gt;condition('langcode', 'fr');