Get role label instead of "database value" I want to know how to show role label in twig view.

I have this 

{% set roles = user.getroles(TRUE) %}
{{ dump(roles) }}


It's giving me my role, but instead of showing "Directeur (CR)" this is showing "directeur_cr_".

How can I display "Directeur (CR)" ?
You can try like below:

function MYMODULE_field_template_preprocess_default_variables_alter(&amp;$variables) {
  $variables['user_roles'] = user_role_names();
}


and in .twig file you can use as {{user_roles['ROLE_NAME']}}