I have a multilingual site in Drupal 8, and several node, some translated and others not. As I can programmatically get the translated field or by default they give it back from the original language.
I got this:
$service_entities = entity_load_multiple_by_properties('node', array('type' => 'service'));
$services = [];
foreach ($service_entities as $entity) {
$services[] = [
'title' => $entity->title->value,
];
}
This code work fine, but when the title is translated Drupal give back in the default language in which it was created.