Convert machine to human readable node type on page–node–add.html.twig (twig template variables)

I tried to create a variable on hook_preprocess_page to achieve it, but I’m only getting the machine readable name so far. $variables[‘node_type’] = FALSE; if ($current_path = \Drupal::service(‘path.current’)->getPath()) { $path_args = explode(‘/’, $current_path); $node_type = $path_args[3]; $variables[‘node_type’] = $node_type;