How can I change the "Edit" tab name to something more meaningful? I would like to change the Edit tab from Edit to Edit Client.  The content type is Client.

I tried using the following code in the bartik.theme file in the web/core/themes directory (running drupal 8.5.4).  

function bartik_preprocess_menu_local_task(&amp;$variables) {
  if (isset($variables['element']['#link']['title']) &amp;&amp; $variables['element']['#link']['title'] == 'Edit') {
    $node = \Drupal::request()-&gt;attributes-&gt;get('node');
    if ($node &amp;&amp; $node-&gt;getType() == 'client') {
      $variables['link']['#title'] = t('Edit Client');
    }
  }
}
Use hook_menu_local_tasks_alter see the docs. You can get a dynamic title combining tokens and the translation API.